Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
package com.adif.elcanomovil.uiStations.entities;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u000e\u0010\u0002\u001a\n\u0012\u0004\u0012\u00020\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0005J\u0011\u0010\b\u001a\n\u0012\u0004\u0012\u00020\u0004\u0018\u00010\u0003HÆ\u0003J\u001b\u0010\t\u001a\u00020\u00002\u0010\b\u0002\u0010\u0002\u001a\n\u0012\u0004\u0012\u00020\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010\n\u001a\u00020\u000b2\b\u0010\f\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001R\u0019\u0010\u0002\u001a\n\u0012\u0004\u0012\u00020\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/uiStations/entities/ActivitiesTabViewData;", "", "activities", "", "Lcom/adif/elcanomovil/uiStations/entities/Activity;", "(Ljava/util/List;)V", "getActivities", "()Ljava/util/List;", "component1", "copy", "equals", "", "other", "hashCode", "", "toString", "", "ui-stations_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes2.dex */
|
||||
public final /* data */ class ActivitiesTabViewData {
|
||||
private final List<Activity> activities;
|
||||
|
||||
public ActivitiesTabViewData(List<Activity> list) {
|
||||
this.activities = list;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ ActivitiesTabViewData copy$default(ActivitiesTabViewData activitiesTabViewData, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
list = activitiesTabViewData.activities;
|
||||
}
|
||||
return activitiesTabViewData.copy(list);
|
||||
}
|
||||
|
||||
public final List<Activity> component1() {
|
||||
return this.activities;
|
||||
}
|
||||
|
||||
public final ActivitiesTabViewData copy(List<Activity> activities) {
|
||||
return new ActivitiesTabViewData(activities);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof ActivitiesTabViewData) && Intrinsics.areEqual(this.activities, ((ActivitiesTabViewData) other).activities);
|
||||
}
|
||||
|
||||
public final List<Activity> getActivities() {
|
||||
return this.activities;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
List<Activity> list = this.activities;
|
||||
if (list == null) {
|
||||
return 0;
|
||||
}
|
||||
return list.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return a.o(new StringBuilder("ActivitiesTabViewData(activities="), this.activities, ')');
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,199 @@
|
||||
package com.adif.elcanomovil.uiStations.entities;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u001e\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u008f\u0001\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u000e\u0010\u0004\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005\u0012\u000e\u0010\u0007\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005\u0012\u000e\u0010\b\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005\u0012\u000e\u0010\t\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005\u0012\u000e\u0010\n\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005\u0012\u000e\u0010\u000b\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005\u0012\u000e\u0010\f\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005\u0012\u000e\u0010\r\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005¢\u0006\u0002\u0010\u000eJ\u000b\u0010\u001a\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0011\u0010\u001b\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005HÆ\u0003J\u0011\u0010\u001c\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005HÆ\u0003J\u0011\u0010\u001d\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005HÆ\u0003J\u0011\u0010\u001e\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005HÆ\u0003J\u0011\u0010\u001f\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005HÆ\u0003J\u0011\u0010 \u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005HÆ\u0003J\u0011\u0010!\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005HÆ\u0003J\u0011\u0010\"\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005HÆ\u0003J¥\u0001\u0010#\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\u0010\b\u0002\u0010\u0004\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u00052\u0010\b\u0002\u0010\u0007\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u00052\u0010\b\u0002\u0010\b\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u00052\u0010\b\u0002\u0010\t\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u00052\u0010\b\u0002\u0010\n\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u00052\u0010\b\u0002\u0010\u000b\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u00052\u0010\b\u0002\u0010\f\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u00052\u0010\b\u0002\u0010\r\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005HÆ\u0001J\u0013\u0010$\u001a\u00020%2\b\u0010&\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010'\u001a\u00020(HÖ\u0001J\t\u0010)\u001a\u00020\u0003HÖ\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0019\u0010\u0007\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0019\u0010\b\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0012R\u0019\u0010\u0004\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0012R\u0019\u0010\t\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0012R\u0019\u0010\n\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0012R\u0019\u0010\u000b\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0012R\u0019\u0010\f\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0012R\u0019\u0010\r\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0012¨\u0006*"}, d2 = {"Lcom/adif/elcanomovil/uiStations/entities/CommercialTabViewData;", "", "commercialZoneType", "", "offers", "", "Lcom/adif/elcanomovil/uiStations/entities/Services;", "groceryStore", "leisure", "others", "rentACar", "restaurant", "shop", "souvenir", "(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V", "getCommercialZoneType", "()Ljava/lang/String;", "getGroceryStore", "()Ljava/util/List;", "getLeisure", "getOffers", "getOthers", "getRentACar", "getRestaurant", "getShop", "getSouvenir", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "equals", "", "other", "hashCode", "", "toString", "ui-stations_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes2.dex */
|
||||
public final /* data */ class CommercialTabViewData {
|
||||
private final String commercialZoneType;
|
||||
private final List<Services> groceryStore;
|
||||
private final List<Services> leisure;
|
||||
private final List<Services> offers;
|
||||
private final List<Services> others;
|
||||
private final List<Services> rentACar;
|
||||
private final List<Services> restaurant;
|
||||
private final List<Services> shop;
|
||||
private final List<Services> souvenir;
|
||||
|
||||
public CommercialTabViewData(String str, List<Services> list, List<Services> list2, List<Services> list3, List<Services> list4, List<Services> list5, List<Services> list6, List<Services> list7, List<Services> list8) {
|
||||
this.commercialZoneType = str;
|
||||
this.offers = list;
|
||||
this.groceryStore = list2;
|
||||
this.leisure = list3;
|
||||
this.others = list4;
|
||||
this.rentACar = list5;
|
||||
this.restaurant = list6;
|
||||
this.shop = list7;
|
||||
this.souvenir = list8;
|
||||
}
|
||||
|
||||
public static /* synthetic */ CommercialTabViewData copy$default(CommercialTabViewData commercialTabViewData, String str, List list, List list2, List list3, List list4, List list5, List list6, List list7, List list8, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = commercialTabViewData.commercialZoneType;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
list = commercialTabViewData.offers;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
list2 = commercialTabViewData.groceryStore;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
list3 = commercialTabViewData.leisure;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
list4 = commercialTabViewData.others;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
list5 = commercialTabViewData.rentACar;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
list6 = commercialTabViewData.restaurant;
|
||||
}
|
||||
if ((i & 128) != 0) {
|
||||
list7 = commercialTabViewData.shop;
|
||||
}
|
||||
if ((i & 256) != 0) {
|
||||
list8 = commercialTabViewData.souvenir;
|
||||
}
|
||||
List list9 = list7;
|
||||
List list10 = list8;
|
||||
List list11 = list5;
|
||||
List list12 = list6;
|
||||
List list13 = list4;
|
||||
List list14 = list2;
|
||||
return commercialTabViewData.copy(str, list, list14, list3, list13, list11, list12, list9, list10);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCommercialZoneType() {
|
||||
return this.commercialZoneType;
|
||||
}
|
||||
|
||||
public final List<Services> component2() {
|
||||
return this.offers;
|
||||
}
|
||||
|
||||
public final List<Services> component3() {
|
||||
return this.groceryStore;
|
||||
}
|
||||
|
||||
public final List<Services> component4() {
|
||||
return this.leisure;
|
||||
}
|
||||
|
||||
public final List<Services> component5() {
|
||||
return this.others;
|
||||
}
|
||||
|
||||
public final List<Services> component6() {
|
||||
return this.rentACar;
|
||||
}
|
||||
|
||||
public final List<Services> component7() {
|
||||
return this.restaurant;
|
||||
}
|
||||
|
||||
public final List<Services> component8() {
|
||||
return this.shop;
|
||||
}
|
||||
|
||||
public final List<Services> component9() {
|
||||
return this.souvenir;
|
||||
}
|
||||
|
||||
public final CommercialTabViewData copy(String commercialZoneType, List<Services> offers, List<Services> groceryStore, List<Services> leisure, List<Services> others, List<Services> rentACar, List<Services> restaurant, List<Services> shop, List<Services> souvenir) {
|
||||
return new CommercialTabViewData(commercialZoneType, offers, groceryStore, leisure, others, rentACar, restaurant, shop, souvenir);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof CommercialTabViewData)) {
|
||||
return false;
|
||||
}
|
||||
CommercialTabViewData commercialTabViewData = (CommercialTabViewData) other;
|
||||
return Intrinsics.areEqual(this.commercialZoneType, commercialTabViewData.commercialZoneType) && Intrinsics.areEqual(this.offers, commercialTabViewData.offers) && Intrinsics.areEqual(this.groceryStore, commercialTabViewData.groceryStore) && Intrinsics.areEqual(this.leisure, commercialTabViewData.leisure) && Intrinsics.areEqual(this.others, commercialTabViewData.others) && Intrinsics.areEqual(this.rentACar, commercialTabViewData.rentACar) && Intrinsics.areEqual(this.restaurant, commercialTabViewData.restaurant) && Intrinsics.areEqual(this.shop, commercialTabViewData.shop) && Intrinsics.areEqual(this.souvenir, commercialTabViewData.souvenir);
|
||||
}
|
||||
|
||||
public final String getCommercialZoneType() {
|
||||
return this.commercialZoneType;
|
||||
}
|
||||
|
||||
public final List<Services> getGroceryStore() {
|
||||
return this.groceryStore;
|
||||
}
|
||||
|
||||
public final List<Services> getLeisure() {
|
||||
return this.leisure;
|
||||
}
|
||||
|
||||
public final List<Services> getOffers() {
|
||||
return this.offers;
|
||||
}
|
||||
|
||||
public final List<Services> getOthers() {
|
||||
return this.others;
|
||||
}
|
||||
|
||||
public final List<Services> getRentACar() {
|
||||
return this.rentACar;
|
||||
}
|
||||
|
||||
public final List<Services> getRestaurant() {
|
||||
return this.restaurant;
|
||||
}
|
||||
|
||||
public final List<Services> getShop() {
|
||||
return this.shop;
|
||||
}
|
||||
|
||||
public final List<Services> getSouvenir() {
|
||||
return this.souvenir;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
String str = this.commercialZoneType;
|
||||
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
|
||||
List<Services> list = this.offers;
|
||||
int hashCode2 = (hashCode + (list == null ? 0 : list.hashCode())) * 31;
|
||||
List<Services> list2 = this.groceryStore;
|
||||
int hashCode3 = (hashCode2 + (list2 == null ? 0 : list2.hashCode())) * 31;
|
||||
List<Services> list3 = this.leisure;
|
||||
int hashCode4 = (hashCode3 + (list3 == null ? 0 : list3.hashCode())) * 31;
|
||||
List<Services> list4 = this.others;
|
||||
int hashCode5 = (hashCode4 + (list4 == null ? 0 : list4.hashCode())) * 31;
|
||||
List<Services> list5 = this.rentACar;
|
||||
int hashCode6 = (hashCode5 + (list5 == null ? 0 : list5.hashCode())) * 31;
|
||||
List<Services> list6 = this.restaurant;
|
||||
int hashCode7 = (hashCode6 + (list6 == null ? 0 : list6.hashCode())) * 31;
|
||||
List<Services> list7 = this.shop;
|
||||
int hashCode8 = (hashCode7 + (list7 == null ? 0 : list7.hashCode())) * 31;
|
||||
List<Services> list8 = this.souvenir;
|
||||
return hashCode8 + (list8 != null ? list8.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("CommercialTabViewData(commercialZoneType=");
|
||||
sb.append(this.commercialZoneType);
|
||||
sb.append(", offers=");
|
||||
sb.append(this.offers);
|
||||
sb.append(", groceryStore=");
|
||||
sb.append(this.groceryStore);
|
||||
sb.append(", leisure=");
|
||||
sb.append(this.leisure);
|
||||
sb.append(", others=");
|
||||
sb.append(this.others);
|
||||
sb.append(", rentACar=");
|
||||
sb.append(this.rentACar);
|
||||
sb.append(", restaurant=");
|
||||
sb.append(this.restaurant);
|
||||
sb.append(", shop=");
|
||||
sb.append(this.shop);
|
||||
sb.append(", souvenir=");
|
||||
return a.o(sb, this.souvenir, ')');
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,102 @@
|
||||
package com.adif.elcanomovil.uiStations.entities;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B#\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0003¢\u0006\u0002\u0010\u0006J\t\u0010\u000b\u001a\u00020\u0003HÆ\u0003J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\t\u0010\r\u001a\u00020\u0003HÆ\u0003J'\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0012\u001a\u00020\u0013HÖ\u0001J\t\u0010\u0014\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\bR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\b¨\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/uiStations/entities/StationHeaderData;", "", "stationCode", "", "stationName", "stationLongName", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getStationCode", "()Ljava/lang/String;", "getStationLongName", "getStationName", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "ui-stations_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes2.dex */
|
||||
public final /* data */ class StationHeaderData {
|
||||
private final String stationCode;
|
||||
private final String stationLongName;
|
||||
private final String stationName;
|
||||
|
||||
public StationHeaderData() {
|
||||
this(null, null, null, 7, null);
|
||||
}
|
||||
|
||||
public static /* synthetic */ StationHeaderData copy$default(StationHeaderData stationHeaderData, String str, String str2, String str3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = stationHeaderData.stationCode;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = stationHeaderData.stationName;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = stationHeaderData.stationLongName;
|
||||
}
|
||||
return stationHeaderData.copy(str, str2, str3);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getStationName() {
|
||||
return this.stationName;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getStationLongName() {
|
||||
return this.stationLongName;
|
||||
}
|
||||
|
||||
public final StationHeaderData copy(String stationCode, String stationName, String stationLongName) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(stationName, "stationName");
|
||||
Intrinsics.checkNotNullParameter(stationLongName, "stationLongName");
|
||||
return new StationHeaderData(stationCode, stationName, stationLongName);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof StationHeaderData)) {
|
||||
return false;
|
||||
}
|
||||
StationHeaderData stationHeaderData = (StationHeaderData) other;
|
||||
return Intrinsics.areEqual(this.stationCode, stationHeaderData.stationCode) && Intrinsics.areEqual(this.stationName, stationHeaderData.stationName) && Intrinsics.areEqual(this.stationLongName, stationHeaderData.stationLongName);
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public final String getStationLongName() {
|
||||
return this.stationLongName;
|
||||
}
|
||||
|
||||
public final String getStationName() {
|
||||
return this.stationName;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.stationLongName.hashCode() + a.d(this.stationName, this.stationCode.hashCode() * 31, 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("StationHeaderData(stationCode=");
|
||||
sb.append(this.stationCode);
|
||||
sb.append(", stationName=");
|
||||
sb.append(this.stationName);
|
||||
sb.append(", stationLongName=");
|
||||
return a.n(sb, this.stationLongName, ')');
|
||||
}
|
||||
|
||||
public StationHeaderData(String stationCode, String stationName, String stationLongName) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(stationName, "stationName");
|
||||
Intrinsics.checkNotNullParameter(stationLongName, "stationLongName");
|
||||
this.stationCode = stationCode;
|
||||
this.stationName = stationName;
|
||||
this.stationLongName = stationLongName;
|
||||
}
|
||||
|
||||
public /* synthetic */ StationHeaderData(String str, String str2, String str3, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i & 1) != 0 ? "" : str, (i & 2) != 0 ? "" : str2, (i & 4) != 0 ? "" : str3);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.adif.elcanomovil.uiStations.entities;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Bitmap;
|
||||
import com.adif.elcanomovil.resources.ResourcesUtils;
|
||||
import com.adif.elcanomovil.uiStations.R;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptor;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001B\u001f\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\u0010\u0010\u000b\u001a\u0004\u0018\u00010\f2\u0006\u0010\r\u001a\u00020\u000eR\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004¢\u0006\u0002\n\u0000R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\t¨\u0006\u000f"}, d2 = {"Lcom/adif/elcanomovil/uiStations/entities/StationMarker;", "", "latitude", "", "longitude", "icon", "", "(DDI)V", "getLatitude", "()D", "getLongitude", "markerIcon", "Lcom/google/android/gms/maps/model/BitmapDescriptor;", "context", "Landroid/content/Context;", "ui-stations_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nStationMarker.kt\nKotlin\n*S Kotlin\n*F\n+ 1 StationMarker.kt\ncom/adif/elcanomovil/uiStations/entities/StationMarker\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,20:1\n1#2:21\n*E\n"})
|
||||
/* loaded from: classes2.dex */
|
||||
public final class StationMarker {
|
||||
private final int icon;
|
||||
private final double latitude;
|
||||
private final double longitude;
|
||||
|
||||
public StationMarker(double d4, double d5, int i) {
|
||||
this.latitude = d4;
|
||||
this.longitude = d5;
|
||||
this.icon = i;
|
||||
}
|
||||
|
||||
public final double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
public final double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
public final BitmapDescriptor markerIcon(Context context) {
|
||||
BitmapDescriptor fromBitmap;
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Bitmap vectorToBitmap = ResourcesUtils.INSTANCE.vectorToBitmap(context, this.icon);
|
||||
if (vectorToBitmap == null || (fromBitmap = BitmapDescriptorFactory.fromBitmap(vectorToBitmap)) == null) {
|
||||
return null;
|
||||
}
|
||||
return fromBitmap;
|
||||
}
|
||||
|
||||
public /* synthetic */ StationMarker(double d4, double d5, int i, int i4, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(d4, d5, (i4 & 4) != 0 ? R.drawable.ic_marker_selected : i);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user