Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.adif.elcanomovil.domain;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class BuildConfig {
|
||||
public static final String BUILD_TYPE = "release";
|
||||
public static final boolean DEBUG = false;
|
||||
public static final String FLAVOR = "proNon_corporate";
|
||||
public static final String FLAVOR_is_corporate = "non_corporate";
|
||||
public static final String FLAVOR_version = "pro";
|
||||
public static final String LIBRARY_PACKAGE_NAME = "com.adif.elcanomovil.domain";
|
||||
public static final String REGISTRATION_TOKEN = "Bearer b9034774-c6e4-4663-a1a8-74bf7102651b";
|
||||
public static final String dynamicLinkUrl = "https://adif.page.link";
|
||||
public static final String operatorLogoUrl = "https://firebasestorage.googleapis.com/v0/b/elcanopro.appspot.com/o/logos%%2Fcolor%%2Foperators%%2F%s_%s.png?alt=media";
|
||||
}
|
||||
2326
apk_decompiled/sources/com/adif/elcanomovil/domain/R.java
Normal file
2326
apk_decompiled/sources/com/adif/elcanomovil/domain/R.java
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,42 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/AnnounceState;", "", "(Ljava/lang/String;I)V", "NORMAL", "MUTED", "DISABLED", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class AnnounceState {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ AnnounceState[] $VALUES;
|
||||
public static final AnnounceState NORMAL = new AnnounceState("NORMAL", 0);
|
||||
public static final AnnounceState MUTED = new AnnounceState("MUTED", 1);
|
||||
public static final AnnounceState DISABLED = new AnnounceState("DISABLED", 2);
|
||||
|
||||
private static final /* synthetic */ AnnounceState[] $values() {
|
||||
return new AnnounceState[]{NORMAL, MUTED, DISABLED};
|
||||
}
|
||||
|
||||
static {
|
||||
AnnounceState[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
}
|
||||
|
||||
private AnnounceState(String str, int i) {
|
||||
}
|
||||
|
||||
public static EnumEntries<AnnounceState> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static AnnounceState valueOf(String str) {
|
||||
return (AnnounceState) Enum.valueOf(AnnounceState.class, str);
|
||||
}
|
||||
|
||||
public static AnnounceState[] values() {
|
||||
return (AnnounceState[]) $VALUES.clone();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0005\b\u0086\u0081\u0002\u0018\u0000 \f2\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\fB\u000f\b\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\u0006\u0010\u0007\u001a\u00020\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006j\u0002\b\tj\u0002\b\nj\u0002\b\u000b¨\u0006\r"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/CirculationType;", "", "tabPosition", "", "(Ljava/lang/String;II)V", "getTabPosition", "()I", "isDeparture", "", "DEPARTURE", "ARRIVAL", "BETWEEN_STATIONS", "Companion", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class CirculationType {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ CirculationType[] $VALUES;
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE;
|
||||
private final int tabPosition;
|
||||
public static final CirculationType DEPARTURE = new CirculationType("DEPARTURE", 0, 0);
|
||||
public static final CirculationType ARRIVAL = new CirculationType("ARRIVAL", 1, 1);
|
||||
public static final CirculationType BETWEEN_STATIONS = new CirculationType("BETWEEN_STATIONS", 2, 2);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/CirculationType$Companion;", "", "()V", "fromInt", "Lcom/adif/elcanomovil/domain/entities/CirculationType;", "value", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nCirculationType.kt\nKotlin\n*S Kotlin\n*F\n+ 1 CirculationType.kt\ncom/adif/elcanomovil/domain/entities/CirculationType$Companion\n+ 2 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n*L\n1#1,30:1\n1282#2,2:31\n*S KotlinDebug\n*F\n+ 1 CirculationType.kt\ncom/adif/elcanomovil/domain/entities/CirculationType$Companion\n*L\n16#1:31,2\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final CirculationType fromInt(int value) {
|
||||
for (CirculationType circulationType : CirculationType.values()) {
|
||||
if (circulationType.getTabPosition() == value) {
|
||||
return circulationType;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
private static final /* synthetic */ CirculationType[] $values() {
|
||||
return new CirculationType[]{DEPARTURE, ARRIVAL, BETWEEN_STATIONS};
|
||||
}
|
||||
|
||||
static {
|
||||
CirculationType[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
INSTANCE = new Companion(null);
|
||||
}
|
||||
|
||||
private CirculationType(String str, int i, int i4) {
|
||||
this.tabPosition = i4;
|
||||
}
|
||||
|
||||
public static EnumEntries<CirculationType> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static CirculationType valueOf(String str) {
|
||||
return (CirculationType) Enum.valueOf(CirculationType.class, str);
|
||||
}
|
||||
|
||||
public static CirculationType[] values() {
|
||||
return (CirculationType[]) $VALUES.clone();
|
||||
}
|
||||
|
||||
public final int getTabPosition() {
|
||||
return this.tabPosition;
|
||||
}
|
||||
|
||||
public final boolean isDeparture() {
|
||||
return this == DEPARTURE || this == BETWEEN_STATIONS;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0002\u001a\u00020\u0001X\u0082T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0003\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0004\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0005\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000¨\u0006\u0006"}, d2 = {"ARRIVAL_PAGE", "", "BETWEEN_STATIONS_PAGE", "COMMERCIAL_PAGE", "DEPARTURE_PAGE", "SERVICES_PAGE", "domain_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class CirculationTypeKt {
|
||||
public static final int ARRIVAL_PAGE = 1;
|
||||
private static final int BETWEEN_STATIONS_PAGE = 2;
|
||||
public static final int COMMERCIAL_PAGE = 1;
|
||||
public static final int DEPARTURE_PAGE = 0;
|
||||
public static final int SERVICES_PAGE = 0;
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
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\t\n\u0002\b\u000f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B%\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003¢\u0006\u0002\u0010\bJ\t\u0010\u000f\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0010\u001a\u00020\u0005HÆ\u0003J\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J1\u0010\u0013\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00032\b\b\u0002\u0010\u0007\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0014\u001a\u00020\u00152\b\u0010\u0016\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0017\u001a\u00020\u0018HÖ\u0001J\t\u0010\u0019\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\nR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\n¨\u0006\u001a"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/ComercialPathKey;", "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, "", NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "", NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, "(Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;)V", "getCommercialNumber", "()Ljava/lang/String;", "getDestinationStationCode", "getLaunchingDate", "()J", "getOriginStationCode", "component1", "component2", "component3", "component4", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class ComercialPathKey {
|
||||
private final String commercialNumber;
|
||||
private final String destinationStationCode;
|
||||
private final long launchingDate;
|
||||
private final String originStationCode;
|
||||
|
||||
public ComercialPathKey(String commercialNumber, long j4, String originStationCode, String destinationStationCode) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
this.commercialNumber = commercialNumber;
|
||||
this.launchingDate = j4;
|
||||
this.originStationCode = originStationCode;
|
||||
this.destinationStationCode = destinationStationCode;
|
||||
}
|
||||
|
||||
public static /* synthetic */ ComercialPathKey copy$default(ComercialPathKey comercialPathKey, String str, long j4, String str2, String str3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = comercialPathKey.commercialNumber;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
j4 = comercialPathKey.launchingDate;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str2 = comercialPathKey.originStationCode;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str3 = comercialPathKey.destinationStationCode;
|
||||
}
|
||||
return comercialPathKey.copy(str, j4, str2, str3);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
public final ComercialPathKey copy(String commercialNumber, long launchingDate, String originStationCode, String destinationStationCode) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
return new ComercialPathKey(commercialNumber, launchingDate, originStationCode, destinationStationCode);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof ComercialPathKey)) {
|
||||
return false;
|
||||
}
|
||||
ComercialPathKey comercialPathKey = (ComercialPathKey) other;
|
||||
return Intrinsics.areEqual(this.commercialNumber, comercialPathKey.commercialNumber) && this.launchingDate == comercialPathKey.launchingDate && Intrinsics.areEqual(this.originStationCode, comercialPathKey.originStationCode) && Intrinsics.areEqual(this.destinationStationCode, comercialPathKey.destinationStationCode);
|
||||
}
|
||||
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
public final String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
public final String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.destinationStationCode.hashCode() + a.d(this.originStationCode, a.b(this.launchingDate, this.commercialNumber.hashCode() * 31, 31), 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("ComercialPathKey(commercialNumber=");
|
||||
sb.append(this.commercialNumber);
|
||||
sb.append(", launchingDate=");
|
||||
sb.append(this.launchingDate);
|
||||
sb.append(", originStationCode=");
|
||||
sb.append(this.originStationCode);
|
||||
sb.append(", destinationStationCode=");
|
||||
return a.n(sb, this.destinationStationCode, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.Date;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0019\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B=\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005\u0012\u0006\u0010\u0007\u001a\u00020\b\u0012\u0006\u0010\t\u001a\u00020\b\u0012\u0006\u0010\n\u001a\u00020\u000b\u0012\u0006\u0010\f\u001a\u00020\r¢\u0006\u0002\u0010\u000eJ\t\u0010\u001c\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001d\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001e\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001f\u001a\u00020\bHÆ\u0003J\t\u0010 \u001a\u00020\bHÆ\u0003J\t\u0010!\u001a\u00020\u000bHÆ\u0003J\t\u0010\"\u001a\u00020\rHÆ\u0003JO\u0010#\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00052\b\b\u0002\u0010\u0007\u001a\u00020\b2\b\b\u0002\u0010\t\u001a\u00020\b2\b\b\u0002\u0010\n\u001a\u00020\u000b2\b\b\u0002\u0010\f\u001a\u00020\rHÆ\u0001J\u0013\u0010$\u001a\u00020\b2\b\u0010%\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010&\u001a\u00020'HÖ\u0001J\t\u0010(\u001a\u00020\u0005HÖ\u0001R\u0011\u0010\u0007\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\n\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0011\u0010\t\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\u0010R\u001a\u0010\u0004\u001a\u00020\u0005X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0013\u0010\u0014\"\u0004\b\u0015\u0010\u0016R\u0011\u0010\f\u001a\u00020\r¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u001aR\u0011\u0010\u0006\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0014¨\u0006)"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/CommercialPathInfo;", "", "timestamp", "Ljava/util/Date;", "line", "", NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC, "accessible", "", "isShortTrain", "comercialPathKey", "Lcom/adif/elcanomovil/domain/entities/ComercialPathKey;", "opeProComPro", "Lcom/adif/elcanomovil/domain/entities/OpeProComPro;", "(Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;ZZLcom/adif/elcanomovil/domain/entities/ComercialPathKey;Lcom/adif/elcanomovil/domain/entities/OpeProComPro;)V", "getAccessible", "()Z", "getComercialPathKey", "()Lcom/adif/elcanomovil/domain/entities/ComercialPathKey;", "getLine", "()Ljava/lang/String;", "setLine", "(Ljava/lang/String;)V", "getOpeProComPro", "()Lcom/adif/elcanomovil/domain/entities/OpeProComPro;", "getTimestamp", "()Ljava/util/Date;", "getTrafficType", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "equals", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class CommercialPathInfo {
|
||||
private final boolean accessible;
|
||||
private final ComercialPathKey comercialPathKey;
|
||||
private final boolean isShortTrain;
|
||||
private String line;
|
||||
private final OpeProComPro opeProComPro;
|
||||
private final Date timestamp;
|
||||
private final String trafficType;
|
||||
|
||||
public CommercialPathInfo(Date timestamp, String line, String trafficType, boolean z3, boolean z4, ComercialPathKey comercialPathKey, OpeProComPro opeProComPro) {
|
||||
Intrinsics.checkNotNullParameter(timestamp, "timestamp");
|
||||
Intrinsics.checkNotNullParameter(line, "line");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
Intrinsics.checkNotNullParameter(comercialPathKey, "comercialPathKey");
|
||||
Intrinsics.checkNotNullParameter(opeProComPro, "opeProComPro");
|
||||
this.timestamp = timestamp;
|
||||
this.line = line;
|
||||
this.trafficType = trafficType;
|
||||
this.accessible = z3;
|
||||
this.isShortTrain = z4;
|
||||
this.comercialPathKey = comercialPathKey;
|
||||
this.opeProComPro = opeProComPro;
|
||||
}
|
||||
|
||||
public static /* synthetic */ CommercialPathInfo copy$default(CommercialPathInfo commercialPathInfo, Date date, String str, String str2, boolean z3, boolean z4, ComercialPathKey comercialPathKey, OpeProComPro opeProComPro, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
date = commercialPathInfo.timestamp;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str = commercialPathInfo.line;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str2 = commercialPathInfo.trafficType;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
z3 = commercialPathInfo.accessible;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
z4 = commercialPathInfo.isShortTrain;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
comercialPathKey = commercialPathInfo.comercialPathKey;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
opeProComPro = commercialPathInfo.opeProComPro;
|
||||
}
|
||||
ComercialPathKey comercialPathKey2 = comercialPathKey;
|
||||
OpeProComPro opeProComPro2 = opeProComPro;
|
||||
boolean z5 = z4;
|
||||
String str3 = str2;
|
||||
return commercialPathInfo.copy(date, str, str3, z3, z5, comercialPathKey2, opeProComPro2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Date getTimestamp() {
|
||||
return this.timestamp;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getLine() {
|
||||
return this.line;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final boolean getAccessible() {
|
||||
return this.accessible;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final boolean getIsShortTrain() {
|
||||
return this.isShortTrain;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final ComercialPathKey getComercialPathKey() {
|
||||
return this.comercialPathKey;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final OpeProComPro getOpeProComPro() {
|
||||
return this.opeProComPro;
|
||||
}
|
||||
|
||||
public final CommercialPathInfo copy(Date timestamp, String line, String trafficType, boolean accessible, boolean isShortTrain, ComercialPathKey comercialPathKey, OpeProComPro opeProComPro) {
|
||||
Intrinsics.checkNotNullParameter(timestamp, "timestamp");
|
||||
Intrinsics.checkNotNullParameter(line, "line");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
Intrinsics.checkNotNullParameter(comercialPathKey, "comercialPathKey");
|
||||
Intrinsics.checkNotNullParameter(opeProComPro, "opeProComPro");
|
||||
return new CommercialPathInfo(timestamp, line, trafficType, accessible, isShortTrain, comercialPathKey, opeProComPro);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof CommercialPathInfo)) {
|
||||
return false;
|
||||
}
|
||||
CommercialPathInfo commercialPathInfo = (CommercialPathInfo) other;
|
||||
return Intrinsics.areEqual(this.timestamp, commercialPathInfo.timestamp) && Intrinsics.areEqual(this.line, commercialPathInfo.line) && Intrinsics.areEqual(this.trafficType, commercialPathInfo.trafficType) && this.accessible == commercialPathInfo.accessible && this.isShortTrain == commercialPathInfo.isShortTrain && Intrinsics.areEqual(this.comercialPathKey, commercialPathInfo.comercialPathKey) && Intrinsics.areEqual(this.opeProComPro, commercialPathInfo.opeProComPro);
|
||||
}
|
||||
|
||||
public final boolean getAccessible() {
|
||||
return this.accessible;
|
||||
}
|
||||
|
||||
public final ComercialPathKey getComercialPathKey() {
|
||||
return this.comercialPathKey;
|
||||
}
|
||||
|
||||
public final String getLine() {
|
||||
return this.line;
|
||||
}
|
||||
|
||||
public final OpeProComPro getOpeProComPro() {
|
||||
return this.opeProComPro;
|
||||
}
|
||||
|
||||
public final Date getTimestamp() {
|
||||
return this.timestamp;
|
||||
}
|
||||
|
||||
public final String getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.opeProComPro.hashCode() + ((this.comercialPathKey.hashCode() + w.c(w.c(a.d(this.trafficType, a.d(this.line, this.timestamp.hashCode() * 31, 31), 31), 31, this.accessible), 31, this.isShortTrain)) * 31);
|
||||
}
|
||||
|
||||
public final boolean isShortTrain() {
|
||||
return this.isShortTrain;
|
||||
}
|
||||
|
||||
public final void setLine(String str) {
|
||||
Intrinsics.checkNotNullParameter(str, "<set-?>");
|
||||
this.line = str;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "CommercialPathInfo(timestamp=" + this.timestamp + ", line=" + this.line + ", trafficType=" + this.trafficType + ", accessible=" + this.accessible + ", isShortTrain=" + this.isShortTrain + ", comercialPathKey=" + this.comercialPathKey + ", opeProComPro=" + this.opeProComPro + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\b\u0086\b\u0018\u00002\u00020\u0001B\u001b\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\u0002\u0010\u0007J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0003J#\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0001J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0012\u001a\u00020\u0013HÖ\u0001J\u000e\u0010\u0014\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\u0013J\t\u0010\u0017\u001a\u00020\u0015HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u0018"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/CommercialPathStepListSideInfo;", "", "commercialPathInfo", "Lcom/adif/elcanomovil/domain/entities/CommercialPathInfo;", "passthroughStep", "", "Lcom/adif/elcanomovil/domain/entities/PassthroughStep;", "(Lcom/adif/elcanomovil/domain/entities/CommercialPathInfo;Ljava/util/List;)V", "getCommercialPathInfo", "()Lcom/adif/elcanomovil/domain/entities/CommercialPathInfo;", "getPassthroughStep", "()Ljava/util/List;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "platform", "", "stepNumber", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class CommercialPathStepListSideInfo {
|
||||
private final CommercialPathInfo commercialPathInfo;
|
||||
private final List<PassthroughStep> passthroughStep;
|
||||
|
||||
public CommercialPathStepListSideInfo(CommercialPathInfo commercialPathInfo, List<PassthroughStep> passthroughStep) {
|
||||
Intrinsics.checkNotNullParameter(commercialPathInfo, "commercialPathInfo");
|
||||
Intrinsics.checkNotNullParameter(passthroughStep, "passthroughStep");
|
||||
this.commercialPathInfo = commercialPathInfo;
|
||||
this.passthroughStep = passthroughStep;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ CommercialPathStepListSideInfo copy$default(CommercialPathStepListSideInfo commercialPathStepListSideInfo, CommercialPathInfo commercialPathInfo, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
commercialPathInfo = commercialPathStepListSideInfo.commercialPathInfo;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
list = commercialPathStepListSideInfo.passthroughStep;
|
||||
}
|
||||
return commercialPathStepListSideInfo.copy(commercialPathInfo, list);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final CommercialPathInfo getCommercialPathInfo() {
|
||||
return this.commercialPathInfo;
|
||||
}
|
||||
|
||||
public final List<PassthroughStep> component2() {
|
||||
return this.passthroughStep;
|
||||
}
|
||||
|
||||
public final CommercialPathStepListSideInfo copy(CommercialPathInfo commercialPathInfo, List<PassthroughStep> passthroughStep) {
|
||||
Intrinsics.checkNotNullParameter(commercialPathInfo, "commercialPathInfo");
|
||||
Intrinsics.checkNotNullParameter(passthroughStep, "passthroughStep");
|
||||
return new CommercialPathStepListSideInfo(commercialPathInfo, passthroughStep);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof CommercialPathStepListSideInfo)) {
|
||||
return false;
|
||||
}
|
||||
CommercialPathStepListSideInfo commercialPathStepListSideInfo = (CommercialPathStepListSideInfo) other;
|
||||
return Intrinsics.areEqual(this.commercialPathInfo, commercialPathStepListSideInfo.commercialPathInfo) && Intrinsics.areEqual(this.passthroughStep, commercialPathStepListSideInfo.passthroughStep);
|
||||
}
|
||||
|
||||
public final CommercialPathInfo getCommercialPathInfo() {
|
||||
return this.commercialPathInfo;
|
||||
}
|
||||
|
||||
public final List<PassthroughStep> getPassthroughStep() {
|
||||
return this.passthroughStep;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.passthroughStep.hashCode() + (this.commercialPathInfo.hashCode() * 31);
|
||||
}
|
||||
|
||||
public final String platform(int stepNumber) {
|
||||
PassthroughStepSides departurePassthroughStepSides = stepNumber == 0 ? this.passthroughStep.get(stepNumber).getDeparturePassthroughStepSides() : this.passthroughStep.get(stepNumber).getArrivalPassthroughStepSides();
|
||||
return (departurePassthroughStepSides.getAnnounceState() != AnnounceState.NORMAL || departurePassthroughStepSides.isSuppressed()) ? "" : departurePassthroughStepSides.getPlatform();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("CommercialPathStepListSideInfo(commercialPathInfo=");
|
||||
sb.append(this.commercialPathInfo);
|
||||
sb.append(", passthroughStep=");
|
||||
return a.o(sb, this.passthroughStep, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlinx.android.parcel.Parcelize;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Parcelize
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\f\b\u0087\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u00012\u00020\u0002B\u0007\b\u0002¢\u0006\u0002\u0010\u0003J\t\u0010\u0004\u001a\u00020\u0005HÖ\u0001J\u0019\u0010\u0006\u001a\u00020\u00072\u0006\u0010\b\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u0005HÖ\u0001j\u0002\b\u000bj\u0002\b\fj\u0002\b\rj\u0002\b\u000ej\u0002\b\u000fj\u0002\b\u0010j\u0002\b\u0011j\u0002\b\u0012j\u0002\b\u0013j\u0002\b\u0014¨\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/DataType;", "", "Landroid/os/Parcelable;", "(Ljava/lang/String;I)V", "describeContents", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "STATION", "HOME", "WORK", "NEAR", "DEPARTURES", "ARRIVALS", "INFO", "COMMERCIAL", "FAVORITE", "ROUTE", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class DataType implements Parcelable {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ DataType[] $VALUES;
|
||||
public static final Parcelable.Creator<DataType> CREATOR;
|
||||
public static final DataType STATION = new DataType("STATION", 0);
|
||||
public static final DataType HOME = new DataType("HOME", 1);
|
||||
public static final DataType WORK = new DataType("WORK", 2);
|
||||
public static final DataType NEAR = new DataType("NEAR", 3);
|
||||
public static final DataType DEPARTURES = new DataType("DEPARTURES", 4);
|
||||
public static final DataType ARRIVALS = new DataType("ARRIVALS", 5);
|
||||
public static final DataType INFO = new DataType("INFO", 6);
|
||||
public static final DataType COMMERCIAL = new DataType("COMMERCIAL", 7);
|
||||
public static final DataType FAVORITE = new DataType("FAVORITE", 8);
|
||||
public static final DataType ROUTE = new DataType("ROUTE", 9);
|
||||
|
||||
private static final /* synthetic */ DataType[] $values() {
|
||||
return new DataType[]{STATION, HOME, WORK, NEAR, DEPARTURES, ARRIVALS, INFO, COMMERCIAL, FAVORITE, ROUTE};
|
||||
}
|
||||
|
||||
static {
|
||||
DataType[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
CREATOR = new Parcelable.Creator<DataType>() { // from class: com.adif.elcanomovil.domain.entities.DataType.Creator
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // android.os.Parcelable.Creator
|
||||
public final DataType createFromParcel(Parcel parcel) {
|
||||
Intrinsics.checkNotNullParameter(parcel, "parcel");
|
||||
return DataType.valueOf(parcel.readString());
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // android.os.Parcelable.Creator
|
||||
public final DataType[] newArray(int i) {
|
||||
return new DataType[i];
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
private DataType(String str, int i) {
|
||||
}
|
||||
|
||||
public static EnumEntries<DataType> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static DataType valueOf(String str) {
|
||||
return (DataType) Enum.valueOf(DataType.class, str);
|
||||
}
|
||||
|
||||
public static DataType[] values() {
|
||||
return (DataType[]) $VALUES.clone();
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public void writeToParcel(Parcel parcel, int flags) {
|
||||
Intrinsics.checkNotNullParameter(parcel, "out");
|
||||
parcel.writeString(name());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,155 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0019\b\u0086\b\u0018\u00002\u00020\u0001BG\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0005\u0012\u0006\u0010\t\u001a\u00020\u0005\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u000b¢\u0006\u0002\u0010\fJ\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0018\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010\u0019\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010\u001a\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010\u001b\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\t\u0010\u001c\u001a\u00020\u0005HÆ\u0003J\u0010\u0010\u001d\u001a\u0004\u0018\u00010\u000bHÆ\u0003¢\u0006\u0002\u0010\u0012J^\u0010\u001e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00052\b\b\u0002\u0010\t\u001a\u00020\u00052\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u000bHÆ\u0001¢\u0006\u0002\u0010\u001fJ\u0013\u0010 \u001a\u00020\u000b2\b\u0010!\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\"\u001a\u00020\u0003HÖ\u0001J\t\u0010#\u001a\u00020\u0005HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0013\u0010\u0007\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0010R\u0015\u0010\n\u001a\u0004\u0018\u00010\u000b¢\u0006\n\n\u0002\u0010\u0013\u001a\u0004\b\n\u0010\u0012R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0010R\u0013\u0010\b\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0010R\u0011\u0010\t\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0010¨\u0006$"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/FavouriteStation;", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "", "identifierStation", "", "stationName", "identifierToStation", "stationToName", "type", "isCercanias", "", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;)V", "getId", "()I", "getIdentifierStation", "()Ljava/lang/String;", "getIdentifierToStation", "()Ljava/lang/Boolean;", "Ljava/lang/Boolean;", "getStationName", "getStationToName", "getType", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;)Lcom/adif/elcanomovil/domain/entities/FavouriteStation;", "equals", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class FavouriteStation {
|
||||
private final int id;
|
||||
private final String identifierStation;
|
||||
private final String identifierToStation;
|
||||
private final Boolean isCercanias;
|
||||
private final String stationName;
|
||||
private final String stationToName;
|
||||
private final String type;
|
||||
|
||||
public FavouriteStation(int i, String str, String str2, String str3, String str4, String type, Boolean bool) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
this.id = i;
|
||||
this.identifierStation = str;
|
||||
this.stationName = str2;
|
||||
this.identifierToStation = str3;
|
||||
this.stationToName = str4;
|
||||
this.type = type;
|
||||
this.isCercanias = bool;
|
||||
}
|
||||
|
||||
public static /* synthetic */ FavouriteStation copy$default(FavouriteStation favouriteStation, int i, String str, String str2, String str3, String str4, String str5, Boolean bool, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
i = favouriteStation.id;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
str = favouriteStation.identifierStation;
|
||||
}
|
||||
if ((i4 & 4) != 0) {
|
||||
str2 = favouriteStation.stationName;
|
||||
}
|
||||
if ((i4 & 8) != 0) {
|
||||
str3 = favouriteStation.identifierToStation;
|
||||
}
|
||||
if ((i4 & 16) != 0) {
|
||||
str4 = favouriteStation.stationToName;
|
||||
}
|
||||
if ((i4 & 32) != 0) {
|
||||
str5 = favouriteStation.type;
|
||||
}
|
||||
if ((i4 & 64) != 0) {
|
||||
bool = favouriteStation.isCercanias;
|
||||
}
|
||||
String str6 = str5;
|
||||
Boolean bool2 = bool;
|
||||
String str7 = str4;
|
||||
String str8 = str2;
|
||||
return favouriteStation.copy(i, str, str8, str3, str7, str6, bool2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getIdentifierStation() {
|
||||
return this.identifierStation;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getStationName() {
|
||||
return this.stationName;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getIdentifierToStation() {
|
||||
return this.identifierToStation;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getStationToName() {
|
||||
return this.stationToName;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final Boolean getIsCercanias() {
|
||||
return this.isCercanias;
|
||||
}
|
||||
|
||||
public final FavouriteStation copy(int id, String identifierStation, String stationName, String identifierToStation, String stationToName, String type, Boolean isCercanias) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
return new FavouriteStation(id, identifierStation, stationName, identifierToStation, stationToName, type, isCercanias);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof FavouriteStation)) {
|
||||
return false;
|
||||
}
|
||||
FavouriteStation favouriteStation = (FavouriteStation) other;
|
||||
return this.id == favouriteStation.id && Intrinsics.areEqual(this.identifierStation, favouriteStation.identifierStation) && Intrinsics.areEqual(this.stationName, favouriteStation.stationName) && Intrinsics.areEqual(this.identifierToStation, favouriteStation.identifierToStation) && Intrinsics.areEqual(this.stationToName, favouriteStation.stationToName) && Intrinsics.areEqual(this.type, favouriteStation.type) && Intrinsics.areEqual(this.isCercanias, favouriteStation.isCercanias);
|
||||
}
|
||||
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final String getIdentifierStation() {
|
||||
return this.identifierStation;
|
||||
}
|
||||
|
||||
public final String getIdentifierToStation() {
|
||||
return this.identifierToStation;
|
||||
}
|
||||
|
||||
public final String getStationName() {
|
||||
return this.stationName;
|
||||
}
|
||||
|
||||
public final String getStationToName() {
|
||||
return this.stationToName;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int hashCode = Integer.hashCode(this.id) * 31;
|
||||
String str = this.identifierStation;
|
||||
int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
|
||||
String str2 = this.stationName;
|
||||
int hashCode3 = (hashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
String str3 = this.identifierToStation;
|
||||
int hashCode4 = (hashCode3 + (str3 == null ? 0 : str3.hashCode())) * 31;
|
||||
String str4 = this.stationToName;
|
||||
int d4 = a.d(this.type, (hashCode4 + (str4 == null ? 0 : str4.hashCode())) * 31, 31);
|
||||
Boolean bool = this.isCercanias;
|
||||
return d4 + (bool != null ? bool.hashCode() : 0);
|
||||
}
|
||||
|
||||
public final Boolean isCercanias() {
|
||||
return this.isCercanias;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "FavouriteStation(id=" + this.id + ", identifierStation=" + this.identifierStation + ", stationName=" + this.stationName + ", identifierToStation=" + this.identifierToStation + ", stationToName=" + this.stationToName + ", type=" + this.type + ", isCercanias=" + this.isCercanias + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,184 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
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\u0002\b\u0003\n\u0002\u0010\t\n\u0002\b\u0019\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001BM\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\fJ\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0019\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001a\u001a\u00020\u0007HÆ\u0003J\u000b\u0010\u001b\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001c\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001d\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001e\u001a\u0004\u0018\u00010\u0003HÆ\u0003Ja\u0010\u001f\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\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u0003HÆ\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\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0013\u0010\t\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000eR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000eR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u000eR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u000eR\u0013\u0010\n\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u000eR\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u000e¨\u0006&"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/FavouriteTrain;", "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, "", NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "", NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, "timeStationFrom", "timeStationTo", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCommercialNumber", "()Ljava/lang/String;", "getCommercialProduct", "getDestinationStationCode", "getLaunchingDate", "()J", "getOperator", "getOriginStationCode", "getTimeStationFrom", "getTimeStationTo", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class FavouriteTrain {
|
||||
private final String commercialNumber;
|
||||
private final String commercialProduct;
|
||||
private final String destinationStationCode;
|
||||
private final long launchingDate;
|
||||
private final String operator;
|
||||
private final String originStationCode;
|
||||
private final String timeStationFrom;
|
||||
private final String timeStationTo;
|
||||
|
||||
public FavouriteTrain(String commercialNumber, String originStationCode, String destinationStationCode, long j4, String str, String str2, String str3, String str4) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
this.commercialNumber = commercialNumber;
|
||||
this.originStationCode = originStationCode;
|
||||
this.destinationStationCode = destinationStationCode;
|
||||
this.launchingDate = j4;
|
||||
this.operator = str;
|
||||
this.commercialProduct = str2;
|
||||
this.timeStationFrom = str3;
|
||||
this.timeStationTo = str4;
|
||||
}
|
||||
|
||||
public static /* synthetic */ FavouriteTrain copy$default(FavouriteTrain favouriteTrain, String str, String str2, String str3, long j4, String str4, String str5, String str6, String str7, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = favouriteTrain.commercialNumber;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = favouriteTrain.originStationCode;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = favouriteTrain.destinationStationCode;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
j4 = favouriteTrain.launchingDate;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str4 = favouriteTrain.operator;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
str5 = favouriteTrain.commercialProduct;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
str6 = favouriteTrain.timeStationFrom;
|
||||
}
|
||||
if ((i & 128) != 0) {
|
||||
str7 = favouriteTrain.timeStationTo;
|
||||
}
|
||||
long j5 = j4;
|
||||
String str8 = str3;
|
||||
return favouriteTrain.copy(str, str2, str8, j5, str4, str5, str6, str7);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getTimeStationFrom() {
|
||||
return this.timeStationFrom;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getTimeStationTo() {
|
||||
return this.timeStationTo;
|
||||
}
|
||||
|
||||
public final FavouriteTrain copy(String commercialNumber, String originStationCode, String destinationStationCode, long launchingDate, String operator, String commercialProduct, String timeStationFrom, String timeStationTo) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
return new FavouriteTrain(commercialNumber, originStationCode, destinationStationCode, launchingDate, operator, commercialProduct, timeStationFrom, timeStationTo);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof FavouriteTrain)) {
|
||||
return false;
|
||||
}
|
||||
FavouriteTrain favouriteTrain = (FavouriteTrain) other;
|
||||
return Intrinsics.areEqual(this.commercialNumber, favouriteTrain.commercialNumber) && Intrinsics.areEqual(this.originStationCode, favouriteTrain.originStationCode) && Intrinsics.areEqual(this.destinationStationCode, favouriteTrain.destinationStationCode) && this.launchingDate == favouriteTrain.launchingDate && Intrinsics.areEqual(this.operator, favouriteTrain.operator) && Intrinsics.areEqual(this.commercialProduct, favouriteTrain.commercialProduct) && Intrinsics.areEqual(this.timeStationFrom, favouriteTrain.timeStationFrom) && Intrinsics.areEqual(this.timeStationTo, favouriteTrain.timeStationTo);
|
||||
}
|
||||
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
public final String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
public final String getTimeStationFrom() {
|
||||
return this.timeStationFrom;
|
||||
}
|
||||
|
||||
public final String getTimeStationTo() {
|
||||
return this.timeStationTo;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int b4 = a.b(this.launchingDate, a.d(this.destinationStationCode, a.d(this.originStationCode, this.commercialNumber.hashCode() * 31, 31), 31), 31);
|
||||
String str = this.operator;
|
||||
int hashCode = (b4 + (str == null ? 0 : str.hashCode())) * 31;
|
||||
String str2 = this.commercialProduct;
|
||||
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
String str3 = this.timeStationFrom;
|
||||
int hashCode3 = (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
|
||||
String str4 = this.timeStationTo;
|
||||
return hashCode3 + (str4 != null ? str4.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("FavouriteTrain(commercialNumber=");
|
||||
sb.append(this.commercialNumber);
|
||||
sb.append(", originStationCode=");
|
||||
sb.append(this.originStationCode);
|
||||
sb.append(", destinationStationCode=");
|
||||
sb.append(this.destinationStationCode);
|
||||
sb.append(", launchingDate=");
|
||||
sb.append(this.launchingDate);
|
||||
sb.append(", operator=");
|
||||
sb.append(this.operator);
|
||||
sb.append(", commercialProduct=");
|
||||
sb.append(this.commercialProduct);
|
||||
sb.append(", timeStationFrom=");
|
||||
sb.append(this.timeStationFrom);
|
||||
sb.append(", timeStationTo=");
|
||||
return a.n(sb, this.timeStationTo, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import Q2.j;
|
||||
import Z2.AbstractC0104l;
|
||||
import Z2.G;
|
||||
import Z2.L;
|
||||
import Z2.p;
|
||||
import Z2.r;
|
||||
import Z2.x;
|
||||
import b3.f;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.SetsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u000f\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0004\b\u0005\u0010\u0006J\u000f\u0010\b\u001a\u00020\u0007H\u0016¢\u0006\u0004\b\b\u0010\tJ\u0017\u0010\f\u001a\u00020\u00022\u0006\u0010\u000b\u001a\u00020\nH\u0016¢\u0006\u0004\b\f\u0010\rJ!\u0010\u0012\u001a\u00020\u00112\u0006\u0010\u000f\u001a\u00020\u000e2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0002H\u0016¢\u0006\u0004\b\u0012\u0010\u0013R\u0014\u0010\u0015\u001a\u00020\u00148\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0015\u0010\u0016R\u001a\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00070\u00018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0017\u0010\u0018R \u0010\u001b\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u001a0\u00190\u00018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001b\u0010\u0018¨\u0006\u001c"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/LineColoursForNetworkJsonAdapter;", "LZ2/l;", "Lcom/adif/elcanomovil/domain/entities/LineColoursForNetwork;", "LZ2/G;", "moshi", "<init>", "(LZ2/G;)V", "", "toString", "()Ljava/lang/String;", "LZ2/r;", "reader", "fromJson", "(LZ2/r;)Lcom/adif/elcanomovil/domain/entities/LineColoursForNetwork;", "LZ2/x;", "writer", "value_", "", "toJson", "(LZ2/x;Lcom/adif/elcanomovil/domain/entities/LineColoursForNetwork;)V", "LZ2/p;", "options", "LZ2/p;", "stringAdapter", "LZ2/l;", "", "Lcom/adif/elcanomovil/domain/entities/LineColor;", "listOfLineColorAdapter", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* renamed from: com.adif.elcanomovil.domain.entities.LineColoursForNetworkJsonAdapter, reason: from toString */
|
||||
/* loaded from: classes.dex */
|
||||
public final class GeneratedJsonAdapter extends AbstractC0104l {
|
||||
private final AbstractC0104l listOfLineColorAdapter;
|
||||
private final p options;
|
||||
private final AbstractC0104l stringAdapter;
|
||||
|
||||
public GeneratedJsonAdapter(G moshi) {
|
||||
Intrinsics.checkNotNullParameter(moshi, "moshi");
|
||||
p a2 = p.a("commuterNetwork", "lines");
|
||||
Intrinsics.checkNotNullExpressionValue(a2, "of(...)");
|
||||
this.options = a2;
|
||||
AbstractC0104l c4 = moshi.c(String.class, SetsKt.emptySet(), "commuterNetwork");
|
||||
Intrinsics.checkNotNullExpressionValue(c4, "adapter(...)");
|
||||
this.stringAdapter = c4;
|
||||
AbstractC0104l c5 = moshi.c(L.f(List.class, LineColor.class), SetsKt.emptySet(), "lines");
|
||||
Intrinsics.checkNotNullExpressionValue(c5, "adapter(...)");
|
||||
this.listOfLineColorAdapter = c5;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder(43);
|
||||
sb.append("GeneratedJsonAdapter(LineColoursForNetwork)");
|
||||
String sb2 = sb.toString();
|
||||
Intrinsics.checkNotNullExpressionValue(sb2, "toString(...)");
|
||||
return sb2;
|
||||
}
|
||||
|
||||
@Override // Z2.AbstractC0104l
|
||||
public LineColoursForNetwork fromJson(r reader) {
|
||||
Intrinsics.checkNotNullParameter(reader, "reader");
|
||||
reader.e();
|
||||
String str = null;
|
||||
List list = null;
|
||||
while (reader.Y()) {
|
||||
int j02 = reader.j0(this.options);
|
||||
if (j02 == -1) {
|
||||
reader.l0();
|
||||
reader.m0();
|
||||
} else if (j02 == 0) {
|
||||
str = (String) this.stringAdapter.fromJson(reader);
|
||||
if (str == null) {
|
||||
j l4 = f.l("commuterNetwork", "commuterNetwork", reader);
|
||||
Intrinsics.checkNotNullExpressionValue(l4, "unexpectedNull(...)");
|
||||
throw l4;
|
||||
}
|
||||
} else if (j02 == 1 && (list = (List) this.listOfLineColorAdapter.fromJson(reader)) == null) {
|
||||
j l5 = f.l("lines", "lines", reader);
|
||||
Intrinsics.checkNotNullExpressionValue(l5, "unexpectedNull(...)");
|
||||
throw l5;
|
||||
}
|
||||
}
|
||||
reader.x();
|
||||
if (str == null) {
|
||||
j g4 = f.g("commuterNetwork", "commuterNetwork", reader);
|
||||
Intrinsics.checkNotNullExpressionValue(g4, "missingProperty(...)");
|
||||
throw g4;
|
||||
}
|
||||
if (list != null) {
|
||||
return new LineColoursForNetwork(str, list);
|
||||
}
|
||||
j g5 = f.g("lines", "lines", reader);
|
||||
Intrinsics.checkNotNullExpressionValue(g5, "missingProperty(...)");
|
||||
throw g5;
|
||||
}
|
||||
|
||||
@Override // Z2.AbstractC0104l
|
||||
public void toJson(x writer, LineColoursForNetwork value_) {
|
||||
Intrinsics.checkNotNullParameter(writer, "writer");
|
||||
if (value_ != null) {
|
||||
writer.e();
|
||||
writer.Z("commuterNetwork");
|
||||
this.stringAdapter.toJson(writer, value_.getCommuterNetwork());
|
||||
writer.Z("lines");
|
||||
this.listOfLineColorAdapter.toJson(writer, value_.getLines());
|
||||
writer.O();
|
||||
return;
|
||||
}
|
||||
throw new NullPointerException("value_ was null! Wrap in .nullSafe() to write nullable values.");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import Z2.m;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@m(generateAdapter = true)
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/LineColor;", "", "line", "", "colourRGB", "(Ljava/lang/String;Ljava/lang/String;)V", "getColourRGB", "()Ljava/lang/String;", "getLine", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class LineColor {
|
||||
private final String colourRGB;
|
||||
private final String line;
|
||||
|
||||
public LineColor(String line, String colourRGB) {
|
||||
Intrinsics.checkNotNullParameter(line, "line");
|
||||
Intrinsics.checkNotNullParameter(colourRGB, "colourRGB");
|
||||
this.line = line;
|
||||
this.colourRGB = colourRGB;
|
||||
}
|
||||
|
||||
public static /* synthetic */ LineColor copy$default(LineColor lineColor, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = lineColor.line;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = lineColor.colourRGB;
|
||||
}
|
||||
return lineColor.copy(str, str2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getLine() {
|
||||
return this.line;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getColourRGB() {
|
||||
return this.colourRGB;
|
||||
}
|
||||
|
||||
public final LineColor copy(String line, String colourRGB) {
|
||||
Intrinsics.checkNotNullParameter(line, "line");
|
||||
Intrinsics.checkNotNullParameter(colourRGB, "colourRGB");
|
||||
return new LineColor(line, colourRGB);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof LineColor)) {
|
||||
return false;
|
||||
}
|
||||
LineColor lineColor = (LineColor) other;
|
||||
return Intrinsics.areEqual(this.line, lineColor.line) && Intrinsics.areEqual(this.colourRGB, lineColor.colourRGB);
|
||||
}
|
||||
|
||||
public final String getColourRGB() {
|
||||
return this.colourRGB;
|
||||
}
|
||||
|
||||
public final String getLine() {
|
||||
return this.line;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.colourRGB.hashCode() + (this.line.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("LineColor(line=");
|
||||
sb.append(this.line);
|
||||
sb.append(", colourRGB=");
|
||||
return a.n(sb, this.colourRGB, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import Z2.m;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@m(generateAdapter = true)
|
||||
@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\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u001b\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\u0002\u0010\u0007J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0003J#\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\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\b\u0010\tR\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/LineColoursForNetwork;", "", "commuterNetwork", "", "lines", "", "Lcom/adif/elcanomovil/domain/entities/LineColor;", "(Ljava/lang/String;Ljava/util/List;)V", "getCommuterNetwork", "()Ljava/lang/String;", "getLines", "()Ljava/util/List;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class LineColoursForNetwork {
|
||||
private final String commuterNetwork;
|
||||
private final List<LineColor> lines;
|
||||
|
||||
public LineColoursForNetwork(String commuterNetwork, List<LineColor> lines) {
|
||||
Intrinsics.checkNotNullParameter(commuterNetwork, "commuterNetwork");
|
||||
Intrinsics.checkNotNullParameter(lines, "lines");
|
||||
this.commuterNetwork = commuterNetwork;
|
||||
this.lines = lines;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ LineColoursForNetwork copy$default(LineColoursForNetwork lineColoursForNetwork, String str, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = lineColoursForNetwork.commuterNetwork;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
list = lineColoursForNetwork.lines;
|
||||
}
|
||||
return lineColoursForNetwork.copy(str, list);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCommuterNetwork() {
|
||||
return this.commuterNetwork;
|
||||
}
|
||||
|
||||
public final List<LineColor> component2() {
|
||||
return this.lines;
|
||||
}
|
||||
|
||||
public final LineColoursForNetwork copy(String commuterNetwork, List<LineColor> lines) {
|
||||
Intrinsics.checkNotNullParameter(commuterNetwork, "commuterNetwork");
|
||||
Intrinsics.checkNotNullParameter(lines, "lines");
|
||||
return new LineColoursForNetwork(commuterNetwork, lines);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof LineColoursForNetwork)) {
|
||||
return false;
|
||||
}
|
||||
LineColoursForNetwork lineColoursForNetwork = (LineColoursForNetwork) other;
|
||||
return Intrinsics.areEqual(this.commuterNetwork, lineColoursForNetwork.commuterNetwork) && Intrinsics.areEqual(this.lines, lineColoursForNetwork.lines);
|
||||
}
|
||||
|
||||
public final String getCommuterNetwork() {
|
||||
return this.commuterNetwork;
|
||||
}
|
||||
|
||||
public final List<LineColor> getLines() {
|
||||
return this.lines;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.lines.hashCode() + (this.commuterNetwork.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("LineColoursForNetwork(commuterNetwork=");
|
||||
sb.append(this.commuterNetwork);
|
||||
sb.append(", lines=");
|
||||
return a.o(sb, this.lines, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import android.location.Location;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\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\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0013"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/MapRegion;", "", "southwest", "Landroid/location/Location;", "northeast", "(Landroid/location/Location;Landroid/location/Location;)V", "getNortheast", "()Landroid/location/Location;", "getSouthwest", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class MapRegion {
|
||||
private final Location northeast;
|
||||
private final Location southwest;
|
||||
|
||||
public MapRegion(Location southwest, Location northeast) {
|
||||
Intrinsics.checkNotNullParameter(southwest, "southwest");
|
||||
Intrinsics.checkNotNullParameter(northeast, "northeast");
|
||||
this.southwest = southwest;
|
||||
this.northeast = northeast;
|
||||
}
|
||||
|
||||
public static /* synthetic */ MapRegion copy$default(MapRegion mapRegion, Location location, Location location2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
location = mapRegion.southwest;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
location2 = mapRegion.northeast;
|
||||
}
|
||||
return mapRegion.copy(location, location2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Location getSouthwest() {
|
||||
return this.southwest;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final Location getNortheast() {
|
||||
return this.northeast;
|
||||
}
|
||||
|
||||
public final MapRegion copy(Location southwest, Location northeast) {
|
||||
Intrinsics.checkNotNullParameter(southwest, "southwest");
|
||||
Intrinsics.checkNotNullParameter(northeast, "northeast");
|
||||
return new MapRegion(southwest, northeast);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof MapRegion)) {
|
||||
return false;
|
||||
}
|
||||
MapRegion mapRegion = (MapRegion) other;
|
||||
return Intrinsics.areEqual(this.southwest, mapRegion.southwest) && Intrinsics.areEqual(this.northeast, mapRegion.northeast);
|
||||
}
|
||||
|
||||
public final Location getNortheast() {
|
||||
return this.northeast;
|
||||
}
|
||||
|
||||
public final Location getSouthwest() {
|
||||
return this.southwest;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.northeast.hashCode() + (this.southwest.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "MapRegion(southwest=" + this.southwest + ", northeast=" + this.northeast + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\u000b\u001a\u00020\u0003HÆ\u0003J\t\u0010\f\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\r\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\u000e\u0010\u0013\u001a\u00020\u00142\u0006\u0010\u0015\u001a\u00020\u000fJ\t\u0010\u0016\u001a\u00020\u0014HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/Old_CommercialPathStepSideInfo;", "", "commercialPathInfo", "Lcom/adif/elcanomovil/domain/entities/CommercialPathInfo;", "passthroughStep", "Lcom/adif/elcanomovil/domain/entities/PassthroughStep;", "(Lcom/adif/elcanomovil/domain/entities/CommercialPathInfo;Lcom/adif/elcanomovil/domain/entities/PassthroughStep;)V", "getCommercialPathInfo", "()Lcom/adif/elcanomovil/domain/entities/CommercialPathInfo;", "getPassthroughStep", "()Lcom/adif/elcanomovil/domain/entities/PassthroughStep;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "platform", "", "isDeparture", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Old_CommercialPathStepSideInfo {
|
||||
private final CommercialPathInfo commercialPathInfo;
|
||||
private final PassthroughStep passthroughStep;
|
||||
|
||||
public Old_CommercialPathStepSideInfo(CommercialPathInfo commercialPathInfo, PassthroughStep passthroughStep) {
|
||||
Intrinsics.checkNotNullParameter(commercialPathInfo, "commercialPathInfo");
|
||||
Intrinsics.checkNotNullParameter(passthroughStep, "passthroughStep");
|
||||
this.commercialPathInfo = commercialPathInfo;
|
||||
this.passthroughStep = passthroughStep;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Old_CommercialPathStepSideInfo copy$default(Old_CommercialPathStepSideInfo old_CommercialPathStepSideInfo, CommercialPathInfo commercialPathInfo, PassthroughStep passthroughStep, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
commercialPathInfo = old_CommercialPathStepSideInfo.commercialPathInfo;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
passthroughStep = old_CommercialPathStepSideInfo.passthroughStep;
|
||||
}
|
||||
return old_CommercialPathStepSideInfo.copy(commercialPathInfo, passthroughStep);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final CommercialPathInfo getCommercialPathInfo() {
|
||||
return this.commercialPathInfo;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final PassthroughStep getPassthroughStep() {
|
||||
return this.passthroughStep;
|
||||
}
|
||||
|
||||
public final Old_CommercialPathStepSideInfo copy(CommercialPathInfo commercialPathInfo, PassthroughStep passthroughStep) {
|
||||
Intrinsics.checkNotNullParameter(commercialPathInfo, "commercialPathInfo");
|
||||
Intrinsics.checkNotNullParameter(passthroughStep, "passthroughStep");
|
||||
return new Old_CommercialPathStepSideInfo(commercialPathInfo, passthroughStep);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Old_CommercialPathStepSideInfo)) {
|
||||
return false;
|
||||
}
|
||||
Old_CommercialPathStepSideInfo old_CommercialPathStepSideInfo = (Old_CommercialPathStepSideInfo) other;
|
||||
return Intrinsics.areEqual(this.commercialPathInfo, old_CommercialPathStepSideInfo.commercialPathInfo) && Intrinsics.areEqual(this.passthroughStep, old_CommercialPathStepSideInfo.passthroughStep);
|
||||
}
|
||||
|
||||
public final CommercialPathInfo getCommercialPathInfo() {
|
||||
return this.commercialPathInfo;
|
||||
}
|
||||
|
||||
public final PassthroughStep getPassthroughStep() {
|
||||
return this.passthroughStep;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.passthroughStep.hashCode() + (this.commercialPathInfo.hashCode() * 31);
|
||||
}
|
||||
|
||||
public final String platform(boolean isDeparture) {
|
||||
return (isDeparture ? this.passthroughStep.getDeparturePassthroughStepSides() : this.passthroughStep.getArrivalPassthroughStepSides()).getPlatform();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "Old_CommercialPathStepSideInfo(commercialPathInfo=" + this.commercialPathInfo + ", passthroughStep=" + this.passthroughStep + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
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\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/OpeProComPro;", "", NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, "(Ljava/lang/String;Ljava/lang/String;)V", "getCommercialProduct", "()Ljava/lang/String;", "getOperator", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class OpeProComPro {
|
||||
private final String commercialProduct;
|
||||
private final String operator;
|
||||
|
||||
public OpeProComPro(String operator, String commercialProduct) {
|
||||
Intrinsics.checkNotNullParameter(operator, "operator");
|
||||
Intrinsics.checkNotNullParameter(commercialProduct, "commercialProduct");
|
||||
this.operator = operator;
|
||||
this.commercialProduct = commercialProduct;
|
||||
}
|
||||
|
||||
public static /* synthetic */ OpeProComPro copy$default(OpeProComPro opeProComPro, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = opeProComPro.operator;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = opeProComPro.commercialProduct;
|
||||
}
|
||||
return opeProComPro.copy(str, str2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final OpeProComPro copy(String operator, String commercialProduct) {
|
||||
Intrinsics.checkNotNullParameter(operator, "operator");
|
||||
Intrinsics.checkNotNullParameter(commercialProduct, "commercialProduct");
|
||||
return new OpeProComPro(operator, commercialProduct);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof OpeProComPro)) {
|
||||
return false;
|
||||
}
|
||||
OpeProComPro opeProComPro = (OpeProComPro) other;
|
||||
return Intrinsics.areEqual(this.operator, opeProComPro.operator) && Intrinsics.areEqual(this.commercialProduct, opeProComPro.commercialProduct);
|
||||
}
|
||||
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.commercialProduct.hashCode() + (this.operator.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("OpeProComPro(operator=");
|
||||
sb.append(this.operator);
|
||||
sb.append(", commercialProduct=");
|
||||
return a.n(sb, this.commercialProduct, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0014\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B)\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\u0007¢\u0006\u0002\u0010\tJ\u0010\u0010\u0012\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\rJ\u0010\u0010\u0013\u001a\u0004\u0018\u00010\u0005HÆ\u0003¢\u0006\u0002\u0010\u0010J\t\u0010\u0014\u001a\u00020\u0007HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0007HÆ\u0003J:\u0010\u0016\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\u0007HÆ\u0001¢\u0006\u0002\u0010\u0017J\u0013\u0010\u0018\u001a\u00020\u00032\b\u0010\u0019\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001a\u001a\u00020\u0005HÖ\u0001J\t\u0010\u001b\u001a\u00020\u001cHÖ\u0001R\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\b\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u000bR\u0015\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\u0002\u0010\rR\u0015\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u000f\u0010\u0010¨\u0006\u001d"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/PassthroughStep;", "", "isCommercial", "", "stationCode", "", "arrivalPassthroughStepSides", "Lcom/adif/elcanomovil/domain/entities/PassthroughStepSides;", "departurePassthroughStepSides", "(Ljava/lang/Boolean;Ljava/lang/Integer;Lcom/adif/elcanomovil/domain/entities/PassthroughStepSides;Lcom/adif/elcanomovil/domain/entities/PassthroughStepSides;)V", "getArrivalPassthroughStepSides", "()Lcom/adif/elcanomovil/domain/entities/PassthroughStepSides;", "getDeparturePassthroughStepSides", "()Ljava/lang/Boolean;", "Ljava/lang/Boolean;", "getStationCode", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "component1", "component2", "component3", "component4", "copy", "(Ljava/lang/Boolean;Ljava/lang/Integer;Lcom/adif/elcanomovil/domain/entities/PassthroughStepSides;Lcom/adif/elcanomovil/domain/entities/PassthroughStepSides;)Lcom/adif/elcanomovil/domain/entities/PassthroughStep;", "equals", "other", "hashCode", "toString", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class PassthroughStep {
|
||||
private final PassthroughStepSides arrivalPassthroughStepSides;
|
||||
private final PassthroughStepSides departurePassthroughStepSides;
|
||||
private final Boolean isCommercial;
|
||||
private final Integer stationCode;
|
||||
|
||||
public PassthroughStep(Boolean bool, Integer num, PassthroughStepSides arrivalPassthroughStepSides, PassthroughStepSides departurePassthroughStepSides) {
|
||||
Intrinsics.checkNotNullParameter(arrivalPassthroughStepSides, "arrivalPassthroughStepSides");
|
||||
Intrinsics.checkNotNullParameter(departurePassthroughStepSides, "departurePassthroughStepSides");
|
||||
this.isCommercial = bool;
|
||||
this.stationCode = num;
|
||||
this.arrivalPassthroughStepSides = arrivalPassthroughStepSides;
|
||||
this.departurePassthroughStepSides = departurePassthroughStepSides;
|
||||
}
|
||||
|
||||
public static /* synthetic */ PassthroughStep copy$default(PassthroughStep passthroughStep, Boolean bool, Integer num, PassthroughStepSides passthroughStepSides, PassthroughStepSides passthroughStepSides2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
bool = passthroughStep.isCommercial;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
num = passthroughStep.stationCode;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
passthroughStepSides = passthroughStep.arrivalPassthroughStepSides;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
passthroughStepSides2 = passthroughStep.departurePassthroughStepSides;
|
||||
}
|
||||
return passthroughStep.copy(bool, num, passthroughStepSides, passthroughStepSides2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Boolean getIsCommercial() {
|
||||
return this.isCommercial;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final Integer getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final PassthroughStepSides getArrivalPassthroughStepSides() {
|
||||
return this.arrivalPassthroughStepSides;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final PassthroughStepSides getDeparturePassthroughStepSides() {
|
||||
return this.departurePassthroughStepSides;
|
||||
}
|
||||
|
||||
public final PassthroughStep copy(Boolean isCommercial, Integer stationCode, PassthroughStepSides arrivalPassthroughStepSides, PassthroughStepSides departurePassthroughStepSides) {
|
||||
Intrinsics.checkNotNullParameter(arrivalPassthroughStepSides, "arrivalPassthroughStepSides");
|
||||
Intrinsics.checkNotNullParameter(departurePassthroughStepSides, "departurePassthroughStepSides");
|
||||
return new PassthroughStep(isCommercial, stationCode, arrivalPassthroughStepSides, departurePassthroughStepSides);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof PassthroughStep)) {
|
||||
return false;
|
||||
}
|
||||
PassthroughStep passthroughStep = (PassthroughStep) other;
|
||||
return Intrinsics.areEqual(this.isCommercial, passthroughStep.isCommercial) && Intrinsics.areEqual(this.stationCode, passthroughStep.stationCode) && Intrinsics.areEqual(this.arrivalPassthroughStepSides, passthroughStep.arrivalPassthroughStepSides) && Intrinsics.areEqual(this.departurePassthroughStepSides, passthroughStep.departurePassthroughStepSides);
|
||||
}
|
||||
|
||||
public final PassthroughStepSides getArrivalPassthroughStepSides() {
|
||||
return this.arrivalPassthroughStepSides;
|
||||
}
|
||||
|
||||
public final PassthroughStepSides getDeparturePassthroughStepSides() {
|
||||
return this.departurePassthroughStepSides;
|
||||
}
|
||||
|
||||
public final Integer getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
Boolean bool = this.isCommercial;
|
||||
int hashCode = (bool == null ? 0 : bool.hashCode()) * 31;
|
||||
Integer num = this.stationCode;
|
||||
return this.departurePassthroughStepSides.hashCode() + ((this.arrivalPassthroughStepSides.hashCode() + ((hashCode + (num != null ? num.hashCode() : 0)) * 31)) * 31);
|
||||
}
|
||||
|
||||
public final Boolean isCommercial() {
|
||||
return this.isCommercial;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PassthroughStep(isCommercial=" + this.isCommercial + ", stationCode=" + this.stationCode + ", arrivalPassthroughStepSides=" + this.arrivalPassthroughStepSides + ", departurePassthroughStepSides=" + this.departurePassthroughStepSides + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import C.w;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.io.ConstantsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b&\b\u0086\b\u0018\u00002\u00020\u0001Bi\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\u0005\u0012\u0006\u0010\t\u001a\u00020\n\u0012\u0006\u0010\u000b\u001a\u00020\n\u0012\u0006\u0010\f\u001a\u00020\u0003\u0012\u0006\u0010\r\u001a\u00020\u0003\u0012\u0006\u0010\u000e\u001a\u00020\u0003\u0012\u0006\u0010\u000f\u001a\u00020\u0003\u0012\u0006\u0010\u0010\u001a\u00020\u0003\u0012\u0006\u0010\u0011\u001a\u00020\u0012¢\u0006\u0002\u0010\u0013J\u0010\u0010&\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\u001bJ\t\u0010'\u001a\u00020\u0003HÆ\u0003J\t\u0010(\u001a\u00020\u0003HÆ\u0003J\t\u0010)\u001a\u00020\u0012HÆ\u0003J\u0010\u0010*\u001a\u0004\u0018\u00010\u0005HÆ\u0003¢\u0006\u0002\u0010$J\t\u0010+\u001a\u00020\u0007HÆ\u0003J\t\u0010,\u001a\u00020\u0005HÆ\u0003J\t\u0010-\u001a\u00020\nHÆ\u0003J\t\u0010.\u001a\u00020\nHÆ\u0003J\t\u0010/\u001a\u00020\u0003HÆ\u0003J\t\u00100\u001a\u00020\u0003HÆ\u0003J\t\u00101\u001a\u00020\u0003HÆ\u0003J\u008a\u0001\u00102\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\u00052\b\b\u0002\u0010\t\u001a\u00020\n2\b\b\u0002\u0010\u000b\u001a\u00020\n2\b\b\u0002\u0010\f\u001a\u00020\u00032\b\b\u0002\u0010\r\u001a\u00020\u00032\b\b\u0002\u0010\u000e\u001a\u00020\u00032\b\b\u0002\u0010\u000f\u001a\u00020\u00032\b\b\u0002\u0010\u0010\u001a\u00020\u00032\b\b\u0002\u0010\u0011\u001a\u00020\u0012HÆ\u0001¢\u0006\u0002\u00103J\u0013\u00104\u001a\u00020\u00032\b\u00105\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00106\u001a\u00020\u0005HÖ\u0001J\t\u00107\u001a\u00020\nHÖ\u0001R\u0011\u0010\u0011\u001a\u00020\u0012¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0011\u0010\r\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0017R\u0011\u0010\b\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0019R\u0011\u0010\f\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0017R\u0011\u0010\u0010\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0017R\u0015\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\n\n\u0002\u0010\u001c\u001a\u0004\b\u0002\u0010\u001bR\u0011\u0010\u000f\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0017R\u0011\u0010\u000b\u001a\u00020\n¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001eR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010 R\u0011\u0010\t\u001a\u00020\n¢\u0006\b\n\u0000\u001a\u0004\b!\u0010\u001eR\u0011\u0010\u000e\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\"\u0010\u0017R\u0015\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\n\n\u0002\u0010%\u001a\u0004\b#\u0010$¨\u00068"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/PassthroughStepSides;", "", "isCommercial", "", "stationCode", "", "plannedTime", "", "forecatedOrAuditedDelay", "platform", "", "observation", "immediateDeparture", "countDown", "showDelay", "isSuppressed", "isAudited", "announceState", "Lcom/adif/elcanomovil/domain/entities/AnnounceState;", "(Ljava/lang/Boolean;Ljava/lang/Integer;JILjava/lang/String;Ljava/lang/String;ZZZZZLcom/adif/elcanomovil/domain/entities/AnnounceState;)V", "getAnnounceState", "()Lcom/adif/elcanomovil/domain/entities/AnnounceState;", "getCountDown", "()Z", "getForecatedOrAuditedDelay", "()I", "getImmediateDeparture", "()Ljava/lang/Boolean;", "Ljava/lang/Boolean;", "getObservation", "()Ljava/lang/String;", "getPlannedTime", "()J", "getPlatform", "getShowDelay", "getStationCode", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "component1", "component10", "component11", "component12", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "(Ljava/lang/Boolean;Ljava/lang/Integer;JILjava/lang/String;Ljava/lang/String;ZZZZZLcom/adif/elcanomovil/domain/entities/AnnounceState;)Lcom/adif/elcanomovil/domain/entities/PassthroughStepSides;", "equals", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class PassthroughStepSides {
|
||||
private final AnnounceState announceState;
|
||||
private final boolean countDown;
|
||||
private final int forecatedOrAuditedDelay;
|
||||
private final boolean immediateDeparture;
|
||||
private final boolean isAudited;
|
||||
private final Boolean isCommercial;
|
||||
private final boolean isSuppressed;
|
||||
private final String observation;
|
||||
private final long plannedTime;
|
||||
private final String platform;
|
||||
private final boolean showDelay;
|
||||
private final Integer stationCode;
|
||||
|
||||
public PassthroughStepSides(Boolean bool, Integer num, long j4, int i, String platform, String observation, boolean z3, boolean z4, boolean z5, boolean z6, boolean z7, AnnounceState announceState) {
|
||||
Intrinsics.checkNotNullParameter(platform, "platform");
|
||||
Intrinsics.checkNotNullParameter(observation, "observation");
|
||||
Intrinsics.checkNotNullParameter(announceState, "announceState");
|
||||
this.isCommercial = bool;
|
||||
this.stationCode = num;
|
||||
this.plannedTime = j4;
|
||||
this.forecatedOrAuditedDelay = i;
|
||||
this.platform = platform;
|
||||
this.observation = observation;
|
||||
this.immediateDeparture = z3;
|
||||
this.countDown = z4;
|
||||
this.showDelay = z5;
|
||||
this.isSuppressed = z6;
|
||||
this.isAudited = z7;
|
||||
this.announceState = announceState;
|
||||
}
|
||||
|
||||
public static /* synthetic */ PassthroughStepSides copy$default(PassthroughStepSides passthroughStepSides, Boolean bool, Integer num, long j4, int i, String str, String str2, boolean z3, boolean z4, boolean z5, boolean z6, boolean z7, AnnounceState announceState, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
bool = passthroughStepSides.isCommercial;
|
||||
}
|
||||
return passthroughStepSides.copy(bool, (i4 & 2) != 0 ? passthroughStepSides.stationCode : num, (i4 & 4) != 0 ? passthroughStepSides.plannedTime : j4, (i4 & 8) != 0 ? passthroughStepSides.forecatedOrAuditedDelay : i, (i4 & 16) != 0 ? passthroughStepSides.platform : str, (i4 & 32) != 0 ? passthroughStepSides.observation : str2, (i4 & 64) != 0 ? passthroughStepSides.immediateDeparture : z3, (i4 & 128) != 0 ? passthroughStepSides.countDown : z4, (i4 & 256) != 0 ? passthroughStepSides.showDelay : z5, (i4 & ConstantsKt.MINIMUM_BLOCK_SIZE) != 0 ? passthroughStepSides.isSuppressed : z6, (i4 & 1024) != 0 ? passthroughStepSides.isAudited : z7, (i4 & 2048) != 0 ? passthroughStepSides.announceState : announceState);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Boolean getIsCommercial() {
|
||||
return this.isCommercial;
|
||||
}
|
||||
|
||||
/* renamed from: component10, reason: from getter */
|
||||
public final boolean getIsSuppressed() {
|
||||
return this.isSuppressed;
|
||||
}
|
||||
|
||||
/* renamed from: component11, reason: from getter */
|
||||
public final boolean getIsAudited() {
|
||||
return this.isAudited;
|
||||
}
|
||||
|
||||
/* renamed from: component12, reason: from getter */
|
||||
public final AnnounceState getAnnounceState() {
|
||||
return this.announceState;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final Integer getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final long getPlannedTime() {
|
||||
return this.plannedTime;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final int getForecatedOrAuditedDelay() {
|
||||
return this.forecatedOrAuditedDelay;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getPlatform() {
|
||||
return this.platform;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final boolean getImmediateDeparture() {
|
||||
return this.immediateDeparture;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final boolean getCountDown() {
|
||||
return this.countDown;
|
||||
}
|
||||
|
||||
/* renamed from: component9, reason: from getter */
|
||||
public final boolean getShowDelay() {
|
||||
return this.showDelay;
|
||||
}
|
||||
|
||||
public final PassthroughStepSides copy(Boolean isCommercial, Integer stationCode, long plannedTime, int forecatedOrAuditedDelay, String platform, String observation, boolean immediateDeparture, boolean countDown, boolean showDelay, boolean isSuppressed, boolean isAudited, AnnounceState announceState) {
|
||||
Intrinsics.checkNotNullParameter(platform, "platform");
|
||||
Intrinsics.checkNotNullParameter(observation, "observation");
|
||||
Intrinsics.checkNotNullParameter(announceState, "announceState");
|
||||
return new PassthroughStepSides(isCommercial, stationCode, plannedTime, forecatedOrAuditedDelay, platform, observation, immediateDeparture, countDown, showDelay, isSuppressed, isAudited, announceState);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof PassthroughStepSides)) {
|
||||
return false;
|
||||
}
|
||||
PassthroughStepSides passthroughStepSides = (PassthroughStepSides) other;
|
||||
return Intrinsics.areEqual(this.isCommercial, passthroughStepSides.isCommercial) && Intrinsics.areEqual(this.stationCode, passthroughStepSides.stationCode) && this.plannedTime == passthroughStepSides.plannedTime && this.forecatedOrAuditedDelay == passthroughStepSides.forecatedOrAuditedDelay && Intrinsics.areEqual(this.platform, passthroughStepSides.platform) && Intrinsics.areEqual(this.observation, passthroughStepSides.observation) && this.immediateDeparture == passthroughStepSides.immediateDeparture && this.countDown == passthroughStepSides.countDown && this.showDelay == passthroughStepSides.showDelay && this.isSuppressed == passthroughStepSides.isSuppressed && this.isAudited == passthroughStepSides.isAudited && this.announceState == passthroughStepSides.announceState;
|
||||
}
|
||||
|
||||
public final AnnounceState getAnnounceState() {
|
||||
return this.announceState;
|
||||
}
|
||||
|
||||
public final boolean getCountDown() {
|
||||
return this.countDown;
|
||||
}
|
||||
|
||||
public final int getForecatedOrAuditedDelay() {
|
||||
return this.forecatedOrAuditedDelay;
|
||||
}
|
||||
|
||||
public final boolean getImmediateDeparture() {
|
||||
return this.immediateDeparture;
|
||||
}
|
||||
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public final long getPlannedTime() {
|
||||
return this.plannedTime;
|
||||
}
|
||||
|
||||
public final String getPlatform() {
|
||||
return this.platform;
|
||||
}
|
||||
|
||||
public final boolean getShowDelay() {
|
||||
return this.showDelay;
|
||||
}
|
||||
|
||||
public final Integer getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
Boolean bool = this.isCommercial;
|
||||
int hashCode = (bool == null ? 0 : bool.hashCode()) * 31;
|
||||
Integer num = this.stationCode;
|
||||
return this.announceState.hashCode() + w.c(w.c(w.c(w.c(w.c(a.d(this.observation, a.d(this.platform, w.x(this.forecatedOrAuditedDelay, a.b(this.plannedTime, (hashCode + (num != null ? num.hashCode() : 0)) * 31, 31), 31), 31), 31), 31, this.immediateDeparture), 31, this.countDown), 31, this.showDelay), 31, this.isSuppressed), 31, this.isAudited);
|
||||
}
|
||||
|
||||
public final boolean isAudited() {
|
||||
return this.isAudited;
|
||||
}
|
||||
|
||||
public final Boolean isCommercial() {
|
||||
return this.isCommercial;
|
||||
}
|
||||
|
||||
public final boolean isSuppressed() {
|
||||
return this.isSuppressed;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PassthroughStepSides(isCommercial=" + this.isCommercial + ", stationCode=" + this.stationCode + ", plannedTime=" + this.plannedTime + ", forecatedOrAuditedDelay=" + this.forecatedOrAuditedDelay + ", platform=" + this.platform + ", observation=" + this.observation + ", immediateDeparture=" + this.immediateDeparture + ", countDown=" + this.countDown + ", showDelay=" + this.showDelay + ", isSuppressed=" + this.isSuppressed + ", isAudited=" + this.isAudited + ", announceState=" + this.announceState + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\bf\u0018\u00002\u00020\u0001R\u0012\u0010\u0002\u001a\u00020\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005R\u0014\u0010\u0006\u001a\u0004\u0018\u00010\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0007\u0010\u0005¨\u0006\b"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/PlatformProvider;", "", "platform", "", "getPlatform", "()Ljava/lang/String;", "preassignedPlatform", "getPreassignedPlatform", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface PlatformProvider {
|
||||
String getPlatform();
|
||||
|
||||
String getPreassignedPlatform();
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
package com.adif.elcanomovil.domain.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\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\bR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\b¨\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/RemoteConfiguration;", "", "latestReleasedVersion", "", "latestPermittedVersion", "urlStore", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getLatestPermittedVersion", "()Ljava/lang/String;", "getLatestReleasedVersion", "getUrlStore", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class RemoteConfiguration {
|
||||
private final String latestPermittedVersion;
|
||||
private final String latestReleasedVersion;
|
||||
private final String urlStore;
|
||||
|
||||
public RemoteConfiguration() {
|
||||
this(null, null, null, 7, null);
|
||||
}
|
||||
|
||||
public static /* synthetic */ RemoteConfiguration copy$default(RemoteConfiguration remoteConfiguration, String str, String str2, String str3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = remoteConfiguration.latestReleasedVersion;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = remoteConfiguration.latestPermittedVersion;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = remoteConfiguration.urlStore;
|
||||
}
|
||||
return remoteConfiguration.copy(str, str2, str3);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getLatestReleasedVersion() {
|
||||
return this.latestReleasedVersion;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getLatestPermittedVersion() {
|
||||
return this.latestPermittedVersion;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getUrlStore() {
|
||||
return this.urlStore;
|
||||
}
|
||||
|
||||
public final RemoteConfiguration copy(String latestReleasedVersion, String latestPermittedVersion, String urlStore) {
|
||||
Intrinsics.checkNotNullParameter(latestReleasedVersion, "latestReleasedVersion");
|
||||
Intrinsics.checkNotNullParameter(latestPermittedVersion, "latestPermittedVersion");
|
||||
Intrinsics.checkNotNullParameter(urlStore, "urlStore");
|
||||
return new RemoteConfiguration(latestReleasedVersion, latestPermittedVersion, urlStore);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof RemoteConfiguration)) {
|
||||
return false;
|
||||
}
|
||||
RemoteConfiguration remoteConfiguration = (RemoteConfiguration) other;
|
||||
return Intrinsics.areEqual(this.latestReleasedVersion, remoteConfiguration.latestReleasedVersion) && Intrinsics.areEqual(this.latestPermittedVersion, remoteConfiguration.latestPermittedVersion) && Intrinsics.areEqual(this.urlStore, remoteConfiguration.urlStore);
|
||||
}
|
||||
|
||||
public final String getLatestPermittedVersion() {
|
||||
return this.latestPermittedVersion;
|
||||
}
|
||||
|
||||
public final String getLatestReleasedVersion() {
|
||||
return this.latestReleasedVersion;
|
||||
}
|
||||
|
||||
public final String getUrlStore() {
|
||||
return this.urlStore;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.urlStore.hashCode() + a.d(this.latestPermittedVersion, this.latestReleasedVersion.hashCode() * 31, 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("RemoteConfiguration(latestReleasedVersion=");
|
||||
sb.append(this.latestReleasedVersion);
|
||||
sb.append(", latestPermittedVersion=");
|
||||
sb.append(this.latestPermittedVersion);
|
||||
sb.append(", urlStore=");
|
||||
return a.n(sb, this.urlStore, ')');
|
||||
}
|
||||
|
||||
public RemoteConfiguration(String latestReleasedVersion, String latestPermittedVersion, String urlStore) {
|
||||
Intrinsics.checkNotNullParameter(latestReleasedVersion, "latestReleasedVersion");
|
||||
Intrinsics.checkNotNullParameter(latestPermittedVersion, "latestPermittedVersion");
|
||||
Intrinsics.checkNotNullParameter(urlStore, "urlStore");
|
||||
this.latestReleasedVersion = latestReleasedVersion;
|
||||
this.latestPermittedVersion = latestPermittedVersion;
|
||||
this.urlStore = urlStore;
|
||||
}
|
||||
|
||||
public /* synthetic */ RemoteConfiguration(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,78 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.station.Station;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\t\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\u001b\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\u0002\u0010\u0007J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0003J#\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\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\u0015HÖ\u0001R\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u0016"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/StationFavourites;", "", "station", "Lcom/adif/elcanomovil/domain/entities/station/Station;", "favourites", "", "Lcom/adif/elcanomovil/domain/entities/DataType;", "(Lcom/adif/elcanomovil/domain/entities/station/Station;Ljava/util/List;)V", "getFavourites", "()Ljava/util/List;", "getStation", "()Lcom/adif/elcanomovil/domain/entities/station/Station;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class StationFavourites {
|
||||
private final List<DataType> favourites;
|
||||
private final Station station;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public StationFavourites(Station station, List<? extends DataType> favourites) {
|
||||
Intrinsics.checkNotNullParameter(station, "station");
|
||||
Intrinsics.checkNotNullParameter(favourites, "favourites");
|
||||
this.station = station;
|
||||
this.favourites = favourites;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ StationFavourites copy$default(StationFavourites stationFavourites, Station station, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
station = stationFavourites.station;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
list = stationFavourites.favourites;
|
||||
}
|
||||
return stationFavourites.copy(station, list);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Station getStation() {
|
||||
return this.station;
|
||||
}
|
||||
|
||||
public final List<DataType> component2() {
|
||||
return this.favourites;
|
||||
}
|
||||
|
||||
public final StationFavourites copy(Station station, List<? extends DataType> favourites) {
|
||||
Intrinsics.checkNotNullParameter(station, "station");
|
||||
Intrinsics.checkNotNullParameter(favourites, "favourites");
|
||||
return new StationFavourites(station, favourites);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof StationFavourites)) {
|
||||
return false;
|
||||
}
|
||||
StationFavourites stationFavourites = (StationFavourites) other;
|
||||
return Intrinsics.areEqual(this.station, stationFavourites.station) && Intrinsics.areEqual(this.favourites, stationFavourites.favourites);
|
||||
}
|
||||
|
||||
public final List<DataType> getFavourites() {
|
||||
return this.favourites;
|
||||
}
|
||||
|
||||
public final Station getStation() {
|
||||
return this.station;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.favourites.hashCode() + (this.station.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("StationFavourites(station=");
|
||||
sb.append(this.station);
|
||||
sb.append(", favourites=");
|
||||
return a.o(sb, this.favourites, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\u0007\b\u0086\u0081\u0002\u0018\u0000 \t2\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\tB\u000f\b\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006j\u0002\b\u0007j\u0002\b\b¨\u0006\n"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/StationServiceType;", "", FirebaseAnalytics.Param.INDEX, "", "(Ljava/lang/String;II)V", "getIndex", "()I", "SERVICES", "COMMERCIAL", "Companion", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class StationServiceType {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ StationServiceType[] $VALUES;
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE;
|
||||
private final int index;
|
||||
public static final StationServiceType SERVICES = new StationServiceType("SERVICES", 0, 0);
|
||||
public static final StationServiceType COMMERCIAL = new StationServiceType("COMMERCIAL", 1, 1);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/StationServiceType$Companion;", "", "()V", "fromInt", "Lcom/adif/elcanomovil/domain/entities/StationServiceType;", "value", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nCirculationType.kt\nKotlin\n*S Kotlin\n*F\n+ 1 CirculationType.kt\ncom/adif/elcanomovil/domain/entities/StationServiceType$Companion\n+ 2 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n*L\n1#1,30:1\n1282#2,2:31\n*S KotlinDebug\n*F\n+ 1 CirculationType.kt\ncom/adif/elcanomovil/domain/entities/StationServiceType$Companion\n*L\n27#1:31,2\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final StationServiceType fromInt(int value) {
|
||||
for (StationServiceType stationServiceType : StationServiceType.values()) {
|
||||
if (stationServiceType.getIndex() == value) {
|
||||
return stationServiceType;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
private static final /* synthetic */ StationServiceType[] $values() {
|
||||
return new StationServiceType[]{SERVICES, COMMERCIAL};
|
||||
}
|
||||
|
||||
static {
|
||||
StationServiceType[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
INSTANCE = new Companion(null);
|
||||
}
|
||||
|
||||
private StationServiceType(String str, int i, int i4) {
|
||||
this.index = i4;
|
||||
}
|
||||
|
||||
public static EnumEntries<StationServiceType> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static StationServiceType valueOf(String str) {
|
||||
return (StationServiceType) Enum.valueOf(StationServiceType.class, str);
|
||||
}
|
||||
|
||||
public static StationServiceType[] values() {
|
||||
return (StationServiceType[]) $VALUES.clone();
|
||||
}
|
||||
|
||||
public final int getIndex() {
|
||||
return this.index;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001R\u0012\u0010\u0002\u001a\u00020\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/StorableData;", "", "identifier", "", "getIdentifier", "()Ljava/lang/String;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface StorableData {
|
||||
String getIdentifier();
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\b\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\n\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eHÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0014\u0010\u0005\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/StorableStation;", "Lcom/adif/elcanomovil/domain/entities/StorableData;", "stationCode", "", "(Ljava/lang/String;)V", "identifier", "getIdentifier", "()Ljava/lang/String;", "getStationCode", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class StorableStation implements StorableData {
|
||||
private final String stationCode;
|
||||
|
||||
public StorableStation(String stationCode) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
this.stationCode = stationCode;
|
||||
}
|
||||
|
||||
public static /* synthetic */ StorableStation copy$default(StorableStation storableStation, String str, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = storableStation.stationCode;
|
||||
}
|
||||
return storableStation.copy(str);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public final StorableStation copy(String stationCode) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
return new StorableStation(stationCode);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof StorableStation) && Intrinsics.areEqual(this.stationCode, ((StorableStation) other).stationCode);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.domain.entities.StorableData
|
||||
public String getIdentifier() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.stationCode.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return a.n(new StringBuilder("StorableStation(stationCode="), this.stationCode, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import Z2.m;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@m(generateAdapter = true)
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\t\n\u0002\b\u0019\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001BG\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\b\u001a\u00020\t\u0012\u0006\u0010\n\u001a\u00020\t\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\fJ\t\u0010\u0019\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001a\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001c\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001d\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001e\u001a\u00020\tHÆ\u0003J\t\u0010\u001f\u001a\u00020\tHÆ\u0003J\u000b\u0010 \u001a\u0004\u0018\u00010\u0003HÆ\u0003J[\u0010!\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\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00032\b\b\u0002\u0010\u0007\u001a\u00020\u00032\b\b\u0002\u0010\b\u001a\u00020\t2\b\b\u0002\u0010\n\u001a\u00020\t2\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010\"\u001a\u00020#2\b\u0010$\u001a\u0004\u0018\u00010%HÖ\u0003J\t\u0010&\u001a\u00020'HÖ\u0001J\t\u0010(\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000eR\u0011\u0010\b\u001a\u00020\t¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u000eR\u0014\u0010\u0013\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u0014\u0010\u000eR\u0011\u0010\n\u001a\u00020\t¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0011R\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u000eR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u000eR\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u000e¨\u0006)"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/StorableTrain;", "Lcom/adif/elcanomovil/domain/entities/StorableData;", NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, "date", "", NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "observation", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJLjava/lang/String;)V", "getCommercialNumber", "()Ljava/lang/String;", "getCommercialProduct", "getDate", "()J", "getDestinationStationCode", "identifier", "getIdentifier", "getLaunchingDate", "getObservation", "getOperator", "getOriginStationCode", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "equals", "", "other", "", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class StorableTrain implements StorableData {
|
||||
private final String commercialNumber;
|
||||
private final String commercialProduct;
|
||||
private final long date;
|
||||
private final String destinationStationCode;
|
||||
private final long launchingDate;
|
||||
private final String observation;
|
||||
private final String operator;
|
||||
private final String originStationCode;
|
||||
|
||||
public StorableTrain(String operator, String commercialProduct, String commercialNumber, String originStationCode, String destinationStationCode, long j4, long j5, String str) {
|
||||
Intrinsics.checkNotNullParameter(operator, "operator");
|
||||
Intrinsics.checkNotNullParameter(commercialProduct, "commercialProduct");
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
this.operator = operator;
|
||||
this.commercialProduct = commercialProduct;
|
||||
this.commercialNumber = commercialNumber;
|
||||
this.originStationCode = originStationCode;
|
||||
this.destinationStationCode = destinationStationCode;
|
||||
this.date = j4;
|
||||
this.launchingDate = j5;
|
||||
this.observation = str;
|
||||
}
|
||||
|
||||
public static /* synthetic */ StorableTrain copy$default(StorableTrain storableTrain, String str, String str2, String str3, String str4, String str5, long j4, long j5, String str6, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = storableTrain.operator;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = storableTrain.commercialProduct;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = storableTrain.commercialNumber;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str4 = storableTrain.originStationCode;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str5 = storableTrain.destinationStationCode;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
j4 = storableTrain.date;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
j5 = storableTrain.launchingDate;
|
||||
}
|
||||
if ((i & 128) != 0) {
|
||||
str6 = storableTrain.observation;
|
||||
}
|
||||
String str7 = str6;
|
||||
long j6 = j5;
|
||||
long j7 = j4;
|
||||
String str8 = str5;
|
||||
String str9 = str3;
|
||||
return storableTrain.copy(str, str2, str9, str4, str8, j7, j6, str7);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final long getDate() {
|
||||
return this.date;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public final StorableTrain copy(String operator, String commercialProduct, String commercialNumber, String originStationCode, String destinationStationCode, long date, long launchingDate, String observation) {
|
||||
Intrinsics.checkNotNullParameter(operator, "operator");
|
||||
Intrinsics.checkNotNullParameter(commercialProduct, "commercialProduct");
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
return new StorableTrain(operator, commercialProduct, commercialNumber, originStationCode, destinationStationCode, date, launchingDate, observation);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof StorableTrain)) {
|
||||
return false;
|
||||
}
|
||||
StorableTrain storableTrain = (StorableTrain) other;
|
||||
return Intrinsics.areEqual(this.operator, storableTrain.operator) && Intrinsics.areEqual(this.commercialProduct, storableTrain.commercialProduct) && Intrinsics.areEqual(this.commercialNumber, storableTrain.commercialNumber) && Intrinsics.areEqual(this.originStationCode, storableTrain.originStationCode) && Intrinsics.areEqual(this.destinationStationCode, storableTrain.destinationStationCode) && this.date == storableTrain.date && this.launchingDate == storableTrain.launchingDate && Intrinsics.areEqual(this.observation, storableTrain.observation);
|
||||
}
|
||||
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final long getDate() {
|
||||
return this.date;
|
||||
}
|
||||
|
||||
public final String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.domain.entities.StorableData
|
||||
public String getIdentifier() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
public final String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int b4 = a.b(this.launchingDate, a.b(this.date, a.d(this.destinationStationCode, a.d(this.originStationCode, a.d(this.commercialNumber, a.d(this.commercialProduct, this.operator.hashCode() * 31, 31), 31), 31), 31), 31), 31);
|
||||
String str = this.observation;
|
||||
return b4 + (str == null ? 0 : str.hashCode());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("StorableTrain(operator=");
|
||||
sb.append(this.operator);
|
||||
sb.append(", commercialProduct=");
|
||||
sb.append(this.commercialProduct);
|
||||
sb.append(", commercialNumber=");
|
||||
sb.append(this.commercialNumber);
|
||||
sb.append(", originStationCode=");
|
||||
sb.append(this.originStationCode);
|
||||
sb.append(", destinationStationCode=");
|
||||
sb.append(this.destinationStationCode);
|
||||
sb.append(", date=");
|
||||
sb.append(this.date);
|
||||
sb.append(", launchingDate=");
|
||||
sb.append(this.launchingDate);
|
||||
sb.append(", observation=");
|
||||
return a.n(sb, this.observation, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import com.adif.elcanomovil.uiTrain.entities.TrainInfoMapperKt;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/TrainType;", "", "(Ljava/lang/String;I)V", TrainInfoMapperKt.CERCANIAS, "AVELDMD", "CORPORATE_OTHERS", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class TrainType {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ TrainType[] $VALUES;
|
||||
public static final TrainType CERCANIAS = new TrainType(TrainInfoMapperKt.CERCANIAS, 0);
|
||||
public static final TrainType AVELDMD = new TrainType("AVELDMD", 1);
|
||||
public static final TrainType CORPORATE_OTHERS = new TrainType("CORPORATE_OTHERS", 2);
|
||||
|
||||
private static final /* synthetic */ TrainType[] $values() {
|
||||
return new TrainType[]{CERCANIAS, AVELDMD, CORPORATE_OTHERS};
|
||||
}
|
||||
|
||||
static {
|
||||
TrainType[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
}
|
||||
|
||||
private TrainType(String str, int i) {
|
||||
}
|
||||
|
||||
public static EnumEntries<TrainType> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static TrainType valueOf(String str) {
|
||||
return (TrainType) Enum.valueOf(TrainType.class, str);
|
||||
}
|
||||
|
||||
public static TrainType[] values() {
|
||||
return (TrainType[]) $VALUES.clone();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.adif.elcanomovil.domain.entities;
|
||||
|
||||
import com.google.android.gms.common.internal.ImagesContract;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001:\u0003\u0003\u0004\u0005B\u0007\b\u0004¢\u0006\u0002\u0010\u0002\u0082\u0001\u0003\u0006\u0007\b¨\u0006\t"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/VersionUpdateStatus;", "", "()V", "Forced", "Optional", "Valid", "Lcom/adif/elcanomovil/domain/entities/VersionUpdateStatus$Forced;", "Lcom/adif/elcanomovil/domain/entities/VersionUpdateStatus$Optional;", "Lcom/adif/elcanomovil/domain/entities/VersionUpdateStatus$Valid;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class VersionUpdateStatus {
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/VersionUpdateStatus$Forced;", "Lcom/adif/elcanomovil/domain/entities/VersionUpdateStatus;", ImagesContract.URL, "", "(Ljava/lang/String;)V", "getUrl", "()Ljava/lang/String;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Forced extends VersionUpdateStatus {
|
||||
private final String url;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public Forced(String url) {
|
||||
super(null);
|
||||
Intrinsics.checkNotNullParameter(url, "url");
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public final String getUrl() {
|
||||
return this.url;
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/VersionUpdateStatus$Optional;", "Lcom/adif/elcanomovil/domain/entities/VersionUpdateStatus;", ImagesContract.URL, "", "(Ljava/lang/String;)V", "getUrl", "()Ljava/lang/String;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Optional extends VersionUpdateStatus {
|
||||
private final String url;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public Optional(String url) {
|
||||
super(null);
|
||||
Intrinsics.checkNotNullParameter(url, "url");
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public final String getUrl() {
|
||||
return this.url;
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/VersionUpdateStatus$Valid;", "Lcom/adif/elcanomovil/domain/entities/VersionUpdateStatus;", "()V", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Valid extends VersionUpdateStatus {
|
||||
public static final Valid INSTANCE = new Valid();
|
||||
|
||||
private Valid() {
|
||||
super(null);
|
||||
}
|
||||
}
|
||||
|
||||
public /* synthetic */ VersionUpdateStatus(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
private VersionUpdateStatus() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,171 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa;
|
||||
|
||||
import android.location.Location;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
|
||||
import java.io.Serializable;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u0006\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u000f\n\u0002\u0010\u0007\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B5\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\u0002\u0010\tJ\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\u0018\u001a\u0004\u0018\u00010\u0007HÆ\u0003¢\u0006\u0002\u0010\u0010J\u0010\u0010\u0019\u001a\u0004\u0018\u00010\u0007HÆ\u0003¢\u0006\u0002\u0010\u0010JD\u0010\u001a\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\u00032\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007HÆ\u0001¢\u0006\u0002\u0010\u001bJ\u000e\u0010\u001c\u001a\u00020\u001d2\u0006\u0010\u001e\u001a\u00020\u001fJ\u0013\u0010 \u001a\u00020\r2\b\u0010!\u001a\u0004\u0018\u00010\"HÖ\u0003J\t\u0010#\u001a\u00020$HÖ\u0001J\t\u0010%\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\f\u001a\u00020\r8F¢\u0006\u0006\u001a\u0004\b\f\u0010\u000eR\u0015\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u000f\u0010\u0010R\u0015\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u0012\u0010\u0010R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u000bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u000b¨\u0006&"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStation;", "Ljava/io/Serializable;", "stId", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "code", "latitude", "", "longitude", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)V", "getCode", "()Ljava/lang/String;", "isLocated", "", "()Z", "getLatitude", "()Ljava/lang/Double;", "Ljava/lang/Double;", "getLongitude", "getName", "getStId", "component1", "component2", "component3", "component4", "component5", "copy", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStation;", "distanceTo", "", FirebaseAnalytics.Param.LOCATION, "Landroid/location/Location;", "equals", "other", "", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class AvisaStation implements Serializable {
|
||||
private final String code;
|
||||
private final Double latitude;
|
||||
private final Double longitude;
|
||||
private final String name;
|
||||
private final String stId;
|
||||
|
||||
public AvisaStation(String stId, String name, String code, Double d4, Double d5) {
|
||||
Intrinsics.checkNotNullParameter(stId, "stId");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(code, "code");
|
||||
this.stId = stId;
|
||||
this.name = name;
|
||||
this.code = code;
|
||||
this.latitude = d4;
|
||||
this.longitude = d5;
|
||||
}
|
||||
|
||||
public static /* synthetic */ AvisaStation copy$default(AvisaStation avisaStation, String str, String str2, String str3, Double d4, Double d5, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = avisaStation.stId;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = avisaStation.name;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = avisaStation.code;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
d4 = avisaStation.latitude;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
d5 = avisaStation.longitude;
|
||||
}
|
||||
Double d6 = d5;
|
||||
String str4 = str3;
|
||||
return avisaStation.copy(str, str2, str4, d4, d6);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getStId() {
|
||||
return this.stId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final Double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final Double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
public final AvisaStation copy(String stId, String name, String code, Double latitude, Double longitude) {
|
||||
Intrinsics.checkNotNullParameter(stId, "stId");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(code, "code");
|
||||
return new AvisaStation(stId, name, code, latitude, longitude);
|
||||
}
|
||||
|
||||
public final float distanceTo(Location location) {
|
||||
Intrinsics.checkNotNullParameter(location, "location");
|
||||
Location location2 = new Location(FirebaseAnalytics.Param.LOCATION);
|
||||
if (isLocated()) {
|
||||
Double d4 = this.latitude;
|
||||
if (d4 != null) {
|
||||
location2.setLatitude(d4.doubleValue());
|
||||
}
|
||||
Double d5 = this.longitude;
|
||||
if (d5 != null) {
|
||||
location2.setLongitude(d5.doubleValue());
|
||||
}
|
||||
}
|
||||
return location2.distanceTo(location);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AvisaStation)) {
|
||||
return false;
|
||||
}
|
||||
AvisaStation avisaStation = (AvisaStation) other;
|
||||
return Intrinsics.areEqual(this.stId, avisaStation.stId) && Intrinsics.areEqual(this.name, avisaStation.name) && Intrinsics.areEqual(this.code, avisaStation.code) && Intrinsics.areEqual((Object) this.latitude, (Object) avisaStation.latitude) && Intrinsics.areEqual((Object) this.longitude, (Object) avisaStation.longitude);
|
||||
}
|
||||
|
||||
public final String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public final Double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
public final Double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public final String getStId() {
|
||||
return this.stId;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.code, a.d(this.name, this.stId.hashCode() * 31, 31), 31);
|
||||
Double d5 = this.latitude;
|
||||
int hashCode = (d4 + (d5 == null ? 0 : d5.hashCode())) * 31;
|
||||
Double d6 = this.longitude;
|
||||
return hashCode + (d6 != null ? d6.hashCode() : 0);
|
||||
}
|
||||
|
||||
public final boolean isLocated() {
|
||||
return (Intrinsics.areEqual(this.latitude, FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE) && Intrinsics.areEqual(this.longitude, FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE)) ? false : true;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AvisaStation(stId=" + this.stId + ", name=" + this.name + ", code=" + this.code + ", latitude=" + this.latitude + ", longitude=" + this.longitude + ')';
|
||||
}
|
||||
|
||||
/* JADX WARN: Illegal instructions before constructor call */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public /* synthetic */ AvisaStation(java.lang.String r3, java.lang.String r4, java.lang.String r5, java.lang.Double r6, java.lang.Double r7, int r8, kotlin.jvm.internal.DefaultConstructorMarker r9) {
|
||||
/*
|
||||
r2 = this;
|
||||
r9 = r8 & 8
|
||||
r0 = 0
|
||||
java.lang.Double r0 = java.lang.Double.valueOf(r0)
|
||||
if (r9 == 0) goto Lb
|
||||
r6 = r0
|
||||
Lb:
|
||||
r8 = r8 & 16
|
||||
if (r8 == 0) goto L10
|
||||
r7 = r0
|
||||
L10:
|
||||
r2.<init>(r3, r4, r5, r6, r7)
|
||||
return
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.domain.entities.avisa.AvisaStation.<init>(java.lang.String, java.lang.String, java.lang.String, java.lang.Double, java.lang.Double, int, kotlin.jvm.internal.DefaultConstructorMarker):void");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
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\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStationCategory;", "", "catId", "", "title", "(Ljava/lang/String;Ljava/lang/String;)V", "getCatId", "()Ljava/lang/String;", "getTitle", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class AvisaStationCategory {
|
||||
private final String catId;
|
||||
private final String title;
|
||||
|
||||
public AvisaStationCategory(String catId, String title) {
|
||||
Intrinsics.checkNotNullParameter(catId, "catId");
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
this.catId = catId;
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public static /* synthetic */ AvisaStationCategory copy$default(AvisaStationCategory avisaStationCategory, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = avisaStationCategory.catId;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = avisaStationCategory.title;
|
||||
}
|
||||
return avisaStationCategory.copy(str, str2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCatId() {
|
||||
return this.catId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public final AvisaStationCategory copy(String catId, String title) {
|
||||
Intrinsics.checkNotNullParameter(catId, "catId");
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
return new AvisaStationCategory(catId, title);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AvisaStationCategory)) {
|
||||
return false;
|
||||
}
|
||||
AvisaStationCategory avisaStationCategory = (AvisaStationCategory) other;
|
||||
return Intrinsics.areEqual(this.catId, avisaStationCategory.catId) && Intrinsics.areEqual(this.title, avisaStationCategory.title);
|
||||
}
|
||||
|
||||
public final String getCatId() {
|
||||
return this.catId;
|
||||
}
|
||||
|
||||
public final String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.title.hashCode() + (this.catId.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("AvisaStationCategory(catId=");
|
||||
sb.append(this.catId);
|
||||
sb.append(", title=");
|
||||
return a.n(sb, this.title, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,264 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.io.ConstantsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b!\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B}\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\b\u001a\u00020\u0005\u0012\u0006\u0010\t\u001a\u00020\u0003\u0012\u0006\u0010\n\u001a\u00020\u000b\u0012\b\u0010\f\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010\r\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010\u000e\u001a\u0004\u0018\u00010\u0005\u0012\u000e\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u0010\u0012\u000e\u0010\u0012\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010¢\u0006\u0002\u0010\u0014J\t\u0010'\u001a\u00020\u0003HÆ\u0003J\u000b\u0010(\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u0011\u0010)\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u0010HÆ\u0003J\u0011\u0010*\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010HÆ\u0003J\t\u0010+\u001a\u00020\u0005HÆ\u0003J\u000b\u0010,\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\t\u0010-\u001a\u00020\u0003HÆ\u0003J\t\u0010.\u001a\u00020\u0005HÆ\u0003J\t\u0010/\u001a\u00020\u0003HÆ\u0003J\t\u00100\u001a\u00020\u000bHÆ\u0003J\u000b\u00101\u001a\u0004\u0018\u00010\u000bHÆ\u0003J\u000b\u00102\u001a\u0004\u0018\u00010\u000bHÆ\u0003J\u0099\u0001\u00103\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00052\b\b\u0002\u0010\u0007\u001a\u00020\u00032\b\b\u0002\u0010\b\u001a\u00020\u00052\b\b\u0002\u0010\t\u001a\u00020\u00032\b\b\u0002\u0010\n\u001a\u00020\u000b2\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\u00052\u0010\b\u0002\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u00102\u0010\b\u0002\u0010\u0012\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010HÆ\u0001J\u0013\u00104\u001a\u0002052\b\u00106\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00107\u001a\u00020\u0003HÖ\u0001J\t\u00108\u001a\u00020\u0005HÖ\u0001R\u0013\u0010\u000e\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0019\u0010\u0012\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018R\u0011\u0010\n\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u001aR\u0011\u0010\b\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0016R\u0013\u0010\f\u001a\u0004\u0018\u00010\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u001aR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001eR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010\u0016R\u0011\u0010\t\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b \u0010\u001eR\u0019\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u0010¢\u0006\b\n\u0000\u001a\u0004\b!\u0010\u0018R\u0013\u0010\r\u001a\u0004\u0018\u00010\u000b¢\u0006\b\n\u0000\u001a\u0004\b\"\u0010\u001aR\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b#\u0010\u0016R\u001a\u0010\u0007\u001a\u00020\u0003X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b$\u0010\u001e\"\u0004\b%\u0010&¨\u00069"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/Incidence;", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "", "incidenceCode", "", "stationId", "statusTypeId", "description", "notificationTypeId", "createdTime", "Ljava/util/Date;", "estimatedDateTo", "solvedDate", "categoryId", "photos", "", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidencePicture;", "comments", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceComment;", "(ILjava/lang/String;Ljava/lang/String;ILjava/lang/String;ILjava/util/Date;Ljava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/util/List;Ljava/util/List;)V", "getCategoryId", "()Ljava/lang/String;", "getComments", "()Ljava/util/List;", "getCreatedTime", "()Ljava/util/Date;", "getDescription", "getEstimatedDateTo", "getId", "()I", "getIncidenceCode", "getNotificationTypeId", "getPhotos", "getSolvedDate", "getStationId", "getStatusTypeId", "setStatusTypeId", "(I)V", "component1", "component10", "component11", "component12", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "equals", "", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Incidence {
|
||||
private final String categoryId;
|
||||
private final List<IncidenceComment> comments;
|
||||
private final Date createdTime;
|
||||
private final String description;
|
||||
private final Date estimatedDateTo;
|
||||
private final int id;
|
||||
private final String incidenceCode;
|
||||
private final int notificationTypeId;
|
||||
private final List<IncidencePicture> photos;
|
||||
private final Date solvedDate;
|
||||
private final String stationId;
|
||||
private int statusTypeId;
|
||||
|
||||
public Incidence(int i, String incidenceCode, String str, int i4, String description, int i5, Date createdTime, Date date, Date date2, String str2, List<IncidencePicture> list, List<IncidenceComment> list2) {
|
||||
Intrinsics.checkNotNullParameter(incidenceCode, "incidenceCode");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(createdTime, "createdTime");
|
||||
this.id = i;
|
||||
this.incidenceCode = incidenceCode;
|
||||
this.stationId = str;
|
||||
this.statusTypeId = i4;
|
||||
this.description = description;
|
||||
this.notificationTypeId = i5;
|
||||
this.createdTime = createdTime;
|
||||
this.estimatedDateTo = date;
|
||||
this.solvedDate = date2;
|
||||
this.categoryId = str2;
|
||||
this.photos = list;
|
||||
this.comments = list2;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Incidence copy$default(Incidence incidence, int i, String str, String str2, int i4, String str3, int i5, Date date, Date date2, Date date3, String str4, List list, List list2, int i6, Object obj) {
|
||||
if ((i6 & 1) != 0) {
|
||||
i = incidence.id;
|
||||
}
|
||||
if ((i6 & 2) != 0) {
|
||||
str = incidence.incidenceCode;
|
||||
}
|
||||
if ((i6 & 4) != 0) {
|
||||
str2 = incidence.stationId;
|
||||
}
|
||||
if ((i6 & 8) != 0) {
|
||||
i4 = incidence.statusTypeId;
|
||||
}
|
||||
if ((i6 & 16) != 0) {
|
||||
str3 = incidence.description;
|
||||
}
|
||||
if ((i6 & 32) != 0) {
|
||||
i5 = incidence.notificationTypeId;
|
||||
}
|
||||
if ((i6 & 64) != 0) {
|
||||
date = incidence.createdTime;
|
||||
}
|
||||
if ((i6 & 128) != 0) {
|
||||
date2 = incidence.estimatedDateTo;
|
||||
}
|
||||
if ((i6 & 256) != 0) {
|
||||
date3 = incidence.solvedDate;
|
||||
}
|
||||
if ((i6 & ConstantsKt.MINIMUM_BLOCK_SIZE) != 0) {
|
||||
str4 = incidence.categoryId;
|
||||
}
|
||||
if ((i6 & 1024) != 0) {
|
||||
list = incidence.photos;
|
||||
}
|
||||
if ((i6 & 2048) != 0) {
|
||||
list2 = incidence.comments;
|
||||
}
|
||||
List list3 = list;
|
||||
List list4 = list2;
|
||||
Date date4 = date3;
|
||||
String str5 = str4;
|
||||
Date date5 = date;
|
||||
Date date6 = date2;
|
||||
String str6 = str3;
|
||||
int i7 = i5;
|
||||
return incidence.copy(i, str, str2, i4, str6, i7, date5, date6, date4, str5, list3, list4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
/* renamed from: component10, reason: from getter */
|
||||
public final String getCategoryId() {
|
||||
return this.categoryId;
|
||||
}
|
||||
|
||||
public final List<IncidencePicture> component11() {
|
||||
return this.photos;
|
||||
}
|
||||
|
||||
public final List<IncidenceComment> component12() {
|
||||
return this.comments;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getIncidenceCode() {
|
||||
return this.incidenceCode;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final int getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final int getNotificationTypeId() {
|
||||
return this.notificationTypeId;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final Date getCreatedTime() {
|
||||
return this.createdTime;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final Date getEstimatedDateTo() {
|
||||
return this.estimatedDateTo;
|
||||
}
|
||||
|
||||
/* renamed from: component9, reason: from getter */
|
||||
public final Date getSolvedDate() {
|
||||
return this.solvedDate;
|
||||
}
|
||||
|
||||
public final Incidence copy(int id, String incidenceCode, String stationId, int statusTypeId, String description, int notificationTypeId, Date createdTime, Date estimatedDateTo, Date solvedDate, String categoryId, List<IncidencePicture> photos, List<IncidenceComment> comments) {
|
||||
Intrinsics.checkNotNullParameter(incidenceCode, "incidenceCode");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(createdTime, "createdTime");
|
||||
return new Incidence(id, incidenceCode, stationId, statusTypeId, description, notificationTypeId, createdTime, estimatedDateTo, solvedDate, categoryId, photos, comments);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Incidence)) {
|
||||
return false;
|
||||
}
|
||||
Incidence incidence = (Incidence) other;
|
||||
return this.id == incidence.id && Intrinsics.areEqual(this.incidenceCode, incidence.incidenceCode) && Intrinsics.areEqual(this.stationId, incidence.stationId) && this.statusTypeId == incidence.statusTypeId && Intrinsics.areEqual(this.description, incidence.description) && this.notificationTypeId == incidence.notificationTypeId && Intrinsics.areEqual(this.createdTime, incidence.createdTime) && Intrinsics.areEqual(this.estimatedDateTo, incidence.estimatedDateTo) && Intrinsics.areEqual(this.solvedDate, incidence.solvedDate) && Intrinsics.areEqual(this.categoryId, incidence.categoryId) && Intrinsics.areEqual(this.photos, incidence.photos) && Intrinsics.areEqual(this.comments, incidence.comments);
|
||||
}
|
||||
|
||||
public final String getCategoryId() {
|
||||
return this.categoryId;
|
||||
}
|
||||
|
||||
public final List<IncidenceComment> getComments() {
|
||||
return this.comments;
|
||||
}
|
||||
|
||||
public final Date getCreatedTime() {
|
||||
return this.createdTime;
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final Date getEstimatedDateTo() {
|
||||
return this.estimatedDateTo;
|
||||
}
|
||||
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final String getIncidenceCode() {
|
||||
return this.incidenceCode;
|
||||
}
|
||||
|
||||
public final int getNotificationTypeId() {
|
||||
return this.notificationTypeId;
|
||||
}
|
||||
|
||||
public final List<IncidencePicture> getPhotos() {
|
||||
return this.photos;
|
||||
}
|
||||
|
||||
public final Date getSolvedDate() {
|
||||
return this.solvedDate;
|
||||
}
|
||||
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
public final int getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.incidenceCode, Integer.hashCode(this.id) * 31, 31);
|
||||
String str = this.stationId;
|
||||
int hashCode = (this.createdTime.hashCode() + w.x(this.notificationTypeId, a.d(this.description, w.x(this.statusTypeId, (d4 + (str == null ? 0 : str.hashCode())) * 31, 31), 31), 31)) * 31;
|
||||
Date date = this.estimatedDateTo;
|
||||
int hashCode2 = (hashCode + (date == null ? 0 : date.hashCode())) * 31;
|
||||
Date date2 = this.solvedDate;
|
||||
int hashCode3 = (hashCode2 + (date2 == null ? 0 : date2.hashCode())) * 31;
|
||||
String str2 = this.categoryId;
|
||||
int hashCode4 = (hashCode3 + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
List<IncidencePicture> list = this.photos;
|
||||
int hashCode5 = (hashCode4 + (list == null ? 0 : list.hashCode())) * 31;
|
||||
List<IncidenceComment> list2 = this.comments;
|
||||
return hashCode5 + (list2 != null ? list2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public final void setStatusTypeId(int i) {
|
||||
this.statusTypeId = i;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("Incidence(id=");
|
||||
sb.append(this.id);
|
||||
sb.append(", incidenceCode=");
|
||||
sb.append(this.incidenceCode);
|
||||
sb.append(", stationId=");
|
||||
sb.append(this.stationId);
|
||||
sb.append(", statusTypeId=");
|
||||
sb.append(this.statusTypeId);
|
||||
sb.append(", description=");
|
||||
sb.append(this.description);
|
||||
sb.append(", notificationTypeId=");
|
||||
sb.append(this.notificationTypeId);
|
||||
sb.append(", createdTime=");
|
||||
sb.append(this.createdTime);
|
||||
sb.append(", estimatedDateTo=");
|
||||
sb.append(this.estimatedDateTo);
|
||||
sb.append(", solvedDate=");
|
||||
sb.append(this.solvedDate);
|
||||
sb.append(", categoryId=");
|
||||
sb.append(this.categoryId);
|
||||
sb.append(", photos=");
|
||||
sb.append(this.photos);
|
||||
sb.append(", comments=");
|
||||
return a.o(sb, this.comments, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\b\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0017\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001BK\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\u0006\u0010\b\u001a\u00020\u0006\u0012\b\u0010\t\u001a\u0004\u0018\u00010\n\u0012\f\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\f¢\u0006\u0002\u0010\u000eJ\u000b\u0010\u001b\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001c\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001d\u001a\u0004\u0018\u00010\u0006HÆ\u0003J\t\u0010\u001e\u001a\u00020\u0006HÆ\u0003J\t\u0010\u001f\u001a\u00020\u0006HÆ\u0003J\u0010\u0010 \u001a\u0004\u0018\u00010\nHÆ\u0003¢\u0006\u0002\u0010\u0016J\u000f\u0010!\u001a\b\u0012\u0004\u0012\u00020\r0\fHÆ\u0003Jb\u0010\"\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u00062\b\b\u0002\u0010\b\u001a\u00020\u00062\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\n2\u000e\b\u0002\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\fHÆ\u0001¢\u0006\u0002\u0010#J\u0013\u0010$\u001a\u00020%2\b\u0010&\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010'\u001a\u00020\nHÖ\u0001J\t\u0010(\u001a\u00020\u0006HÖ\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\b\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0017\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\f¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0015\u0010\t\u001a\u0004\u0018\u00010\n¢\u0006\n\n\u0002\u0010\u0017\u001a\u0004\b\u0015\u0010\u0016R\u0011\u0010\u0007\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0012R\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0012R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0010¨\u0006)"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceComment;", "", "createTime", "Ljava/util/Date;", "updatedTime", "type", "", "statusTypeId", "description", ServicePaths.IncidenceService.pathIncidenceId, "", "fixPhotos", "", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidencePicture;", "(Ljava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/util/List;)V", "getCreateTime", "()Ljava/util/Date;", "getDescription", "()Ljava/lang/String;", "getFixPhotos", "()Ljava/util/List;", "getIncidenceId", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getStatusTypeId", "getType", "getUpdatedTime", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "(Ljava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/util/List;)Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceComment;", "equals", "", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidenceComment {
|
||||
private final Date createTime;
|
||||
private final String description;
|
||||
private final List<IncidencePicture> fixPhotos;
|
||||
private final Integer incidenceId;
|
||||
private final String statusTypeId;
|
||||
private final String type;
|
||||
private final Date updatedTime;
|
||||
|
||||
public IncidenceComment(Date date, Date date2, String str, String statusTypeId, String description, Integer num, List<IncidencePicture> fixPhotos) {
|
||||
Intrinsics.checkNotNullParameter(statusTypeId, "statusTypeId");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(fixPhotos, "fixPhotos");
|
||||
this.createTime = date;
|
||||
this.updatedTime = date2;
|
||||
this.type = str;
|
||||
this.statusTypeId = statusTypeId;
|
||||
this.description = description;
|
||||
this.incidenceId = num;
|
||||
this.fixPhotos = fixPhotos;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidenceComment copy$default(IncidenceComment incidenceComment, Date date, Date date2, String str, String str2, String str3, Integer num, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
date = incidenceComment.createTime;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
date2 = incidenceComment.updatedTime;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str = incidenceComment.type;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str2 = incidenceComment.statusTypeId;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str3 = incidenceComment.description;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
num = incidenceComment.incidenceId;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
list = incidenceComment.fixPhotos;
|
||||
}
|
||||
Integer num2 = num;
|
||||
List list2 = list;
|
||||
String str4 = str3;
|
||||
String str5 = str;
|
||||
return incidenceComment.copy(date, date2, str5, str2, str4, num2, list2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Date getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final Date getUpdatedTime() {
|
||||
return this.updatedTime;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final List<IncidencePicture> component7() {
|
||||
return this.fixPhotos;
|
||||
}
|
||||
|
||||
public final IncidenceComment copy(Date createTime, Date updatedTime, String type, String statusTypeId, String description, Integer incidenceId, List<IncidencePicture> fixPhotos) {
|
||||
Intrinsics.checkNotNullParameter(statusTypeId, "statusTypeId");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(fixPhotos, "fixPhotos");
|
||||
return new IncidenceComment(createTime, updatedTime, type, statusTypeId, description, incidenceId, fixPhotos);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidenceComment)) {
|
||||
return false;
|
||||
}
|
||||
IncidenceComment incidenceComment = (IncidenceComment) other;
|
||||
return Intrinsics.areEqual(this.createTime, incidenceComment.createTime) && Intrinsics.areEqual(this.updatedTime, incidenceComment.updatedTime) && Intrinsics.areEqual(this.type, incidenceComment.type) && Intrinsics.areEqual(this.statusTypeId, incidenceComment.statusTypeId) && Intrinsics.areEqual(this.description, incidenceComment.description) && Intrinsics.areEqual(this.incidenceId, incidenceComment.incidenceId) && Intrinsics.areEqual(this.fixPhotos, incidenceComment.fixPhotos);
|
||||
}
|
||||
|
||||
public final Date getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final List<IncidencePicture> getFixPhotos() {
|
||||
return this.fixPhotos;
|
||||
}
|
||||
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final String getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public final Date getUpdatedTime() {
|
||||
return this.updatedTime;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
Date date = this.createTime;
|
||||
int hashCode = (date == null ? 0 : date.hashCode()) * 31;
|
||||
Date date2 = this.updatedTime;
|
||||
int hashCode2 = (hashCode + (date2 == null ? 0 : date2.hashCode())) * 31;
|
||||
String str = this.type;
|
||||
int d4 = a.d(this.description, a.d(this.statusTypeId, (hashCode2 + (str == null ? 0 : str.hashCode())) * 31, 31), 31);
|
||||
Integer num = this.incidenceId;
|
||||
return this.fixPhotos.hashCode() + ((d4 + (num != null ? num.hashCode() : 0)) * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidenceComment(createTime=");
|
||||
sb.append(this.createTime);
|
||||
sb.append(", updatedTime=");
|
||||
sb.append(this.updatedTime);
|
||||
sb.append(", type=");
|
||||
sb.append(this.type);
|
||||
sb.append(", statusTypeId=");
|
||||
sb.append(this.statusTypeId);
|
||||
sb.append(", description=");
|
||||
sb.append(this.description);
|
||||
sb.append(", incidenceId=");
|
||||
sb.append(this.incidenceId);
|
||||
sb.append(", fixPhotos=");
|
||||
return a.o(sb, this.fixPhotos, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\b\b\u0086\u0081\u0002\u0018\u0000 \n2\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\nB\u000f\b\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006j\u0002\b\u0007j\u0002\b\bj\u0002\b\t¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceNotificationType;", "", "value", "", "(Ljava/lang/String;II)V", "getValue", "()I", "NOT_USED", "NOTIFICATION_TYPE_PUSH_NOTIFICATION", "UNKNOWN", "Companion", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class IncidenceNotificationType {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ IncidenceNotificationType[] $VALUES;
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE;
|
||||
private final int value;
|
||||
public static final IncidenceNotificationType NOT_USED = new IncidenceNotificationType("NOT_USED", 0, 1);
|
||||
public static final IncidenceNotificationType NOTIFICATION_TYPE_PUSH_NOTIFICATION = new IncidenceNotificationType("NOTIFICATION_TYPE_PUSH_NOTIFICATION", 1, 5);
|
||||
public static final IncidenceNotificationType UNKNOWN = new IncidenceNotificationType("UNKNOWN", 2, -1);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0086\u0002¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceNotificationType$Companion;", "", "()V", "invoke", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceNotificationType;", "rawValue", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nIncidenceNotificationType.kt\nKotlin\n*S Kotlin\n*F\n+ 1 IncidenceNotificationType.kt\ncom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceNotificationType$Companion\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,12:1\n1#2:13\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final IncidenceNotificationType invoke(int rawValue) {
|
||||
for (IncidenceNotificationType incidenceNotificationType : IncidenceNotificationType.values()) {
|
||||
if (incidenceNotificationType.getValue() == rawValue) {
|
||||
return incidenceNotificationType;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
private static final /* synthetic */ IncidenceNotificationType[] $values() {
|
||||
return new IncidenceNotificationType[]{NOT_USED, NOTIFICATION_TYPE_PUSH_NOTIFICATION, UNKNOWN};
|
||||
}
|
||||
|
||||
static {
|
||||
IncidenceNotificationType[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
INSTANCE = new Companion(null);
|
||||
}
|
||||
|
||||
private IncidenceNotificationType(String str, int i, int i4) {
|
||||
this.value = i4;
|
||||
}
|
||||
|
||||
public static EnumEntries<IncidenceNotificationType> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static IncidenceNotificationType valueOf(String str) {
|
||||
return (IncidenceNotificationType) Enum.valueOf(IncidenceNotificationType.class, str);
|
||||
}
|
||||
|
||||
public static IncidenceNotificationType[] values() {
|
||||
return (IncidenceNotificationType[]) $VALUES.clone();
|
||||
}
|
||||
|
||||
public final int getValue() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,139 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
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\u0002\n\u0002\u0010\b\n\u0002\b\u0013\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B9\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u0006\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\tJ\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\u0014\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010\rJ\u0010\u0010\u0015\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010\rJ\u000b\u0010\u0016\u001a\u0004\u0018\u00010\u0003HÆ\u0003JF\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00062\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0003HÆ\u0001¢\u0006\u0002\u0010\u0018J\u0013\u0010\u0019\u001a\u00020\u001a2\b\u0010\u001b\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001c\u001a\u00020\u0006HÖ\u0001J\t\u0010\u001d\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0015\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\f\u0010\rR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000bR\u0015\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\u0010\u0010\rR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u000b¨\u0006\u001e"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidencePicture;", "", "type", "", FirebaseAnalytics.Param.CONTENT, "thumbnail", "", ServicePaths.IncidenceService.pathIncidenceId, NavArguments.ARG_DYNAMIC_LINKS_TAB, "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;)V", "getContent", "()Ljava/lang/String;", "getIncidenceId", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getPath", "getThumbnail", "getType", "component1", "component2", "component3", "component4", "component5", "copy", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;)Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidencePicture;", "equals", "", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidencePicture {
|
||||
private final String content;
|
||||
private final Integer incidenceId;
|
||||
private final String path;
|
||||
private final Integer thumbnail;
|
||||
private final String type;
|
||||
|
||||
public IncidencePicture(String type, String content, Integer num, Integer num2, String str) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
this.type = type;
|
||||
this.content = content;
|
||||
this.thumbnail = num;
|
||||
this.incidenceId = num2;
|
||||
this.path = str;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidencePicture copy$default(IncidencePicture incidencePicture, String str, String str2, Integer num, Integer num2, String str3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = incidencePicture.type;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = incidencePicture.content;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
num = incidencePicture.thumbnail;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
num2 = incidencePicture.incidenceId;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str3 = incidencePicture.path;
|
||||
}
|
||||
String str4 = str3;
|
||||
Integer num3 = num;
|
||||
return incidencePicture.copy(str, str2, num3, num2, str4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final Integer getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final IncidencePicture copy(String type, String content, Integer thumbnail, Integer incidenceId, String path) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
return new IncidencePicture(type, content, thumbnail, incidenceId, path);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidencePicture)) {
|
||||
return false;
|
||||
}
|
||||
IncidencePicture incidencePicture = (IncidencePicture) other;
|
||||
return Intrinsics.areEqual(this.type, incidencePicture.type) && Intrinsics.areEqual(this.content, incidencePicture.content) && Intrinsics.areEqual(this.thumbnail, incidencePicture.thumbnail) && Intrinsics.areEqual(this.incidenceId, incidencePicture.incidenceId) && Intrinsics.areEqual(this.path, incidencePicture.path);
|
||||
}
|
||||
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final Integer getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.content, this.type.hashCode() * 31, 31);
|
||||
Integer num = this.thumbnail;
|
||||
int hashCode = (d4 + (num == null ? 0 : num.hashCode())) * 31;
|
||||
Integer num2 = this.incidenceId;
|
||||
int hashCode2 = (hashCode + (num2 == null ? 0 : num2.hashCode())) * 31;
|
||||
String str = this.path;
|
||||
return hashCode2 + (str != null ? str.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidencePicture(type=");
|
||||
sb.append(this.type);
|
||||
sb.append(", content=");
|
||||
sb.append(this.content);
|
||||
sb.append(", thumbnail=");
|
||||
sb.append(this.thumbnail);
|
||||
sb.append(", incidenceId=");
|
||||
sb.append(this.incidenceId);
|
||||
sb.append(", path=");
|
||||
return a.n(sb, this.path, ')');
|
||||
}
|
||||
|
||||
public /* synthetic */ IncidencePicture(String str, String str2, Integer num, Integer num2, String str3, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(str, str2, (i & 4) != 0 ? null : num, (i & 8) != 0 ? null : num2, (i & 16) != 0 ? null : str3);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
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\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0011\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B-\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\u0006\u0010\b\u001a\u00020\u0003¢\u0006\u0002\u0010\tJ\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0006HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0006HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J;\u0010\u0016\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\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u00062\b\b\u0002\u0010\b\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0017\u001a\u00020\u00182\b\u0010\u0019\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001a\u001a\u00020\u0006HÖ\u0001J\t\u0010\u001b\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0007\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000bR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\rR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000b¨\u0006\u001c"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidencePictureRequest;", "", "type", "", FirebaseAnalytics.Param.CONTENT, "thumbnail", "", ServicePaths.IncidenceService.pathIncidenceId, NavArguments.ARG_DYNAMIC_LINKS_TAB, "(Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;)V", "getContent", "()Ljava/lang/String;", "getIncidenceId", "()I", "getPath", "getThumbnail", "getType", "component1", "component2", "component3", "component4", "component5", "copy", "equals", "", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidencePictureRequest {
|
||||
private final String content;
|
||||
private final int incidenceId;
|
||||
private final String path;
|
||||
private final int thumbnail;
|
||||
private final String type;
|
||||
|
||||
public IncidencePictureRequest(String type, String content, int i, int i4, String path) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
Intrinsics.checkNotNullParameter(path, "path");
|
||||
this.type = type;
|
||||
this.content = content;
|
||||
this.thumbnail = i;
|
||||
this.incidenceId = i4;
|
||||
this.path = path;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidencePictureRequest copy$default(IncidencePictureRequest incidencePictureRequest, String str, String str2, int i, int i4, String str3, int i5, Object obj) {
|
||||
if ((i5 & 1) != 0) {
|
||||
str = incidencePictureRequest.type;
|
||||
}
|
||||
if ((i5 & 2) != 0) {
|
||||
str2 = incidencePictureRequest.content;
|
||||
}
|
||||
if ((i5 & 4) != 0) {
|
||||
i = incidencePictureRequest.thumbnail;
|
||||
}
|
||||
if ((i5 & 8) != 0) {
|
||||
i4 = incidencePictureRequest.incidenceId;
|
||||
}
|
||||
if ((i5 & 16) != 0) {
|
||||
str3 = incidencePictureRequest.path;
|
||||
}
|
||||
String str4 = str3;
|
||||
int i6 = i;
|
||||
return incidencePictureRequest.copy(str, str2, i6, i4, str4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final int getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final int getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final IncidencePictureRequest copy(String type, String content, int thumbnail, int incidenceId, String path) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
Intrinsics.checkNotNullParameter(path, "path");
|
||||
return new IncidencePictureRequest(type, content, thumbnail, incidenceId, path);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidencePictureRequest)) {
|
||||
return false;
|
||||
}
|
||||
IncidencePictureRequest incidencePictureRequest = (IncidencePictureRequest) other;
|
||||
return Intrinsics.areEqual(this.type, incidencePictureRequest.type) && Intrinsics.areEqual(this.content, incidencePictureRequest.content) && this.thumbnail == incidencePictureRequest.thumbnail && this.incidenceId == incidencePictureRequest.incidenceId && Intrinsics.areEqual(this.path, incidencePictureRequest.path);
|
||||
}
|
||||
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
public final int getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final int getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.path.hashCode() + w.x(this.incidenceId, w.x(this.thumbnail, a.d(this.content, this.type.hashCode() * 31, 31), 31), 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidencePictureRequest(type=");
|
||||
sb.append(this.type);
|
||||
sb.append(", content=");
|
||||
sb.append(this.content);
|
||||
sb.append(", thumbnail=");
|
||||
sb.append(this.thumbnail);
|
||||
sb.append(", incidenceId=");
|
||||
sb.append(this.incidenceId);
|
||||
sb.append(", path=");
|
||||
return a.n(sb, this.path, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.avisa.AvisaStation;
|
||||
import com.adif.elcanomovil.domain.entities.avisa.AvisaStationCategory;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\f\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\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007¢\u0006\u0002\u0010\bJ\t\u0010\u000f\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0010\u001a\u00020\u0005HÆ\u0003J\t\u0010\u0011\u001a\u00020\u0007HÆ\u0003J'\u0010\u0012\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u0007HÆ\u0001J\u0013\u0010\u0013\u001a\u00020\u00142\b\u0010\u0015\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0016\u001a\u00020\u0017HÖ\u0001J\t\u0010\u0018\u001a\u00020\u0019HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000e¨\u0006\u001a"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceStation;", "", "incidence", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/Incidence;", "avisaStation", "Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStation;", "categoryAvisa", "Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStationCategory;", "(Lcom/adif/elcanomovil/domain/entities/avisa/incidence/Incidence;Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStation;Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStationCategory;)V", "getAvisaStation", "()Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStation;", "getCategoryAvisa", "()Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStationCategory;", "getIncidence", "()Lcom/adif/elcanomovil/domain/entities/avisa/incidence/Incidence;", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidenceStation {
|
||||
private final AvisaStation avisaStation;
|
||||
private final AvisaStationCategory categoryAvisa;
|
||||
private final Incidence incidence;
|
||||
|
||||
public IncidenceStation(Incidence incidence, AvisaStation avisaStation, AvisaStationCategory categoryAvisa) {
|
||||
Intrinsics.checkNotNullParameter(incidence, "incidence");
|
||||
Intrinsics.checkNotNullParameter(avisaStation, "avisaStation");
|
||||
Intrinsics.checkNotNullParameter(categoryAvisa, "categoryAvisa");
|
||||
this.incidence = incidence;
|
||||
this.avisaStation = avisaStation;
|
||||
this.categoryAvisa = categoryAvisa;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidenceStation copy$default(IncidenceStation incidenceStation, Incidence incidence, AvisaStation avisaStation, AvisaStationCategory avisaStationCategory, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
incidence = incidenceStation.incidence;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
avisaStation = incidenceStation.avisaStation;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
avisaStationCategory = incidenceStation.categoryAvisa;
|
||||
}
|
||||
return incidenceStation.copy(incidence, avisaStation, avisaStationCategory);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Incidence getIncidence() {
|
||||
return this.incidence;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final AvisaStation getAvisaStation() {
|
||||
return this.avisaStation;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final AvisaStationCategory getCategoryAvisa() {
|
||||
return this.categoryAvisa;
|
||||
}
|
||||
|
||||
public final IncidenceStation copy(Incidence incidence, AvisaStation avisaStation, AvisaStationCategory categoryAvisa) {
|
||||
Intrinsics.checkNotNullParameter(incidence, "incidence");
|
||||
Intrinsics.checkNotNullParameter(avisaStation, "avisaStation");
|
||||
Intrinsics.checkNotNullParameter(categoryAvisa, "categoryAvisa");
|
||||
return new IncidenceStation(incidence, avisaStation, categoryAvisa);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidenceStation)) {
|
||||
return false;
|
||||
}
|
||||
IncidenceStation incidenceStation = (IncidenceStation) other;
|
||||
return Intrinsics.areEqual(this.incidence, incidenceStation.incidence) && Intrinsics.areEqual(this.avisaStation, incidenceStation.avisaStation) && Intrinsics.areEqual(this.categoryAvisa, incidenceStation.categoryAvisa);
|
||||
}
|
||||
|
||||
public final AvisaStation getAvisaStation() {
|
||||
return this.avisaStation;
|
||||
}
|
||||
|
||||
public final AvisaStationCategory getCategoryAvisa() {
|
||||
return this.categoryAvisa;
|
||||
}
|
||||
|
||||
public final Incidence getIncidence() {
|
||||
return this.incidence;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.categoryAvisa.hashCode() + ((this.avisaStation.hashCode() + (this.incidence.hashCode() * 31)) * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "IncidenceStation(incidence=" + this.incidence + ", avisaStation=" + this.avisaStation + ", categoryAvisa=" + this.categoryAvisa + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\b\b\u0086\u0081\u0002\u0018\u0000 \n2\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\nB\u000f\b\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006j\u0002\b\u0007j\u0002\b\bj\u0002\b\t¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceStatus;", "", "value", "", "(Ljava/lang/String;II)V", "getValue", "()I", "STATUS_TYPE_IN_PROGRESS", "STATUS_TYPE_SOLVED", "STATUS_TYPE_CLOSED", "Companion", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class IncidenceStatus {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ IncidenceStatus[] $VALUES;
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE;
|
||||
private final int value;
|
||||
public static final IncidenceStatus STATUS_TYPE_IN_PROGRESS = new IncidenceStatus("STATUS_TYPE_IN_PROGRESS", 0, 1);
|
||||
public static final IncidenceStatus STATUS_TYPE_SOLVED = new IncidenceStatus("STATUS_TYPE_SOLVED", 1, 2);
|
||||
public static final IncidenceStatus STATUS_TYPE_CLOSED = new IncidenceStatus("STATUS_TYPE_CLOSED", 2, 3);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0086\u0002¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceStatus$Companion;", "", "()V", "invoke", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceStatus;", "rawValue", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nIncidenceStatus.kt\nKotlin\n*S Kotlin\n*F\n+ 1 IncidenceStatus.kt\ncom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceStatus$Companion\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,12:1\n1#2:13\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final IncidenceStatus invoke(int rawValue) {
|
||||
for (IncidenceStatus incidenceStatus : IncidenceStatus.values()) {
|
||||
if (incidenceStatus.getValue() == rawValue) {
|
||||
return incidenceStatus;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
private static final /* synthetic */ IncidenceStatus[] $values() {
|
||||
return new IncidenceStatus[]{STATUS_TYPE_IN_PROGRESS, STATUS_TYPE_SOLVED, STATUS_TYPE_CLOSED};
|
||||
}
|
||||
|
||||
static {
|
||||
IncidenceStatus[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
INSTANCE = new Companion(null);
|
||||
}
|
||||
|
||||
private IncidenceStatus(String str, int i, int i4) {
|
||||
this.value = i4;
|
||||
}
|
||||
|
||||
public static EnumEntries<IncidenceStatus> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static IncidenceStatus valueOf(String str) {
|
||||
return (IncidenceStatus) Enum.valueOf(IncidenceStatus.class, str);
|
||||
}
|
||||
|
||||
public static IncidenceStatus[] values() {
|
||||
return (IncidenceStatus[]) $VALUES.clone();
|
||||
}
|
||||
|
||||
public final int getValue() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
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,11 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0005\bf\u0018\u00002\u00020\u0001R\u0018\u0010\u0002\u001a\u00020\u0003X¦\u000e¢\u0006\f\u001a\u0004\b\u0004\u0010\u0005\"\u0004\b\u0006\u0010\u0007¨\u0006\b"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/Circulation;", "", "showExtended", "", "getShowExtended", "()Z", "setShowExtended", "(Z)V", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface Circulation {
|
||||
boolean getShowExtended();
|
||||
|
||||
void setShowExtended(boolean z3);
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
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\t\n\u0002\b\u000f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B%\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003¢\u0006\u0002\u0010\bJ\t\u0010\u000f\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0010\u001a\u00020\u0005HÆ\u0003J\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J1\u0010\u0013\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00032\b\b\u0002\u0010\u0007\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0014\u001a\u00020\u00152\b\u0010\u0016\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0017\u001a\u00020\u0018HÖ\u0001J\t\u0010\u0019\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\nR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\n¨\u0006\u001a"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/ComercialPathKey;", "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, "", NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "", NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, "(Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;)V", "getCommercialNumber", "()Ljava/lang/String;", "getDestinationStationCode", "getLaunchingDate", "()J", "getOriginStationCode", "component1", "component2", "component3", "component4", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class ComercialPathKey {
|
||||
private final String commercialNumber;
|
||||
private final String destinationStationCode;
|
||||
private final long launchingDate;
|
||||
private final String originStationCode;
|
||||
|
||||
public ComercialPathKey(String commercialNumber, long j4, String originStationCode, String destinationStationCode) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
this.commercialNumber = commercialNumber;
|
||||
this.launchingDate = j4;
|
||||
this.originStationCode = originStationCode;
|
||||
this.destinationStationCode = destinationStationCode;
|
||||
}
|
||||
|
||||
public static /* synthetic */ ComercialPathKey copy$default(ComercialPathKey comercialPathKey, String str, long j4, String str2, String str3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = comercialPathKey.commercialNumber;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
j4 = comercialPathKey.launchingDate;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str2 = comercialPathKey.originStationCode;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str3 = comercialPathKey.destinationStationCode;
|
||||
}
|
||||
return comercialPathKey.copy(str, j4, str2, str3);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
public final ComercialPathKey copy(String commercialNumber, long launchingDate, String originStationCode, String destinationStationCode) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
return new ComercialPathKey(commercialNumber, launchingDate, originStationCode, destinationStationCode);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof ComercialPathKey)) {
|
||||
return false;
|
||||
}
|
||||
ComercialPathKey comercialPathKey = (ComercialPathKey) other;
|
||||
return Intrinsics.areEqual(this.commercialNumber, comercialPathKey.commercialNumber) && this.launchingDate == comercialPathKey.launchingDate && Intrinsics.areEqual(this.originStationCode, comercialPathKey.originStationCode) && Intrinsics.areEqual(this.destinationStationCode, comercialPathKey.destinationStationCode);
|
||||
}
|
||||
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
public final String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
public final String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.destinationStationCode.hashCode() + a.d(this.originStationCode, a.b(this.launchingDate, this.commercialNumber.hashCode() * 31, 31), 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("ComercialPathKey(commercialNumber=");
|
||||
sb.append(this.commercialNumber);
|
||||
sb.append(", launchingDate=");
|
||||
sb.append(this.launchingDate);
|
||||
sb.append(", originStationCode=");
|
||||
sb.append(this.originStationCode);
|
||||
sb.append(", destinationStationCode=");
|
||||
return a.n(sb, this.destinationStationCode, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\bf\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/CommercialCirculation;", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface CommercialCirculation {
|
||||
}
|
||||
@@ -0,0 +1,241 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import C.w;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.Date;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.io.ConstantsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u001f\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001Be\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\b\u0012\u0006\u0010\t\u001a\u00020\u0006\u0012\u0006\u0010\n\u001a\u00020\u0006\u0012\u0006\u0010\u000b\u001a\u00020\u0003\u0012\b\u0010\f\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\r\u001a\u00020\u000e\u0012\u0006\u0010\u000f\u001a\u00020\u0010\u0012\b\u0010\u0011\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0012J\u000b\u0010!\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\"\u001a\u00020\u0010HÆ\u0003J\u000b\u0010#\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010$\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010%\u001a\u00020\u0006HÆ\u0003J\t\u0010&\u001a\u00020\bHÆ\u0003J\t\u0010'\u001a\u00020\u0006HÆ\u0003J\t\u0010(\u001a\u00020\u0006HÆ\u0003J\t\u0010)\u001a\u00020\u0003HÆ\u0003J\u000b\u0010*\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010+\u001a\u00020\u000eHÆ\u0003J\u007f\u0010,\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00062\b\b\u0002\u0010\u0007\u001a\u00020\b2\b\b\u0002\u0010\t\u001a\u00020\u00062\b\b\u0002\u0010\n\u001a\u00020\u00062\b\b\u0002\u0010\u000b\u001a\u00020\u00032\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\r\u001a\u00020\u000e2\b\b\u0002\u0010\u000f\u001a\u00020\u00102\n\b\u0002\u0010\u0011\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010-\u001a\u00020\u00062\b\u0010.\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010/\u001a\u000200HÖ\u0001J\t\u00101\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0011\u0010\u0007\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0018R\u0013\u0010\f\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0018R\u0011\u0010\t\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\u0014R\u0011\u0010\n\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u0014R\u0011\u0010\u000b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0018R\u0013\u0010\u0011\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u0018R\u0011\u0010\r\u001a\u00020\u000e¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001eR\u0011\u0010\u000f\u001a\u00020\u0010¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010 ¨\u00062"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathInfo;", "", "commercialOriginStationCode", "", "commercialDestinationStationCode", "accessible", "", "comercialPathKey", "Lcom/adif/elcanomovil/domain/entities/circulation/ComercialPathKey;", "isCercanias", "isShortTrain", "line", "core", "opeProComPro", "Lcom/adif/elcanomovil/domain/entities/circulation/OpeProComPro;", "timestamp", "Ljava/util/Date;", "observation", "(Ljava/lang/String;Ljava/lang/String;ZLcom/adif/elcanomovil/domain/entities/circulation/ComercialPathKey;ZZLjava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/domain/entities/circulation/OpeProComPro;Ljava/util/Date;Ljava/lang/String;)V", "getAccessible", "()Z", "getComercialPathKey", "()Lcom/adif/elcanomovil/domain/entities/circulation/ComercialPathKey;", "getCommercialDestinationStationCode", "()Ljava/lang/String;", "getCommercialOriginStationCode", "getCore", "getLine", "getObservation", "getOpeProComPro", "()Lcom/adif/elcanomovil/domain/entities/circulation/OpeProComPro;", "getTimestamp", "()Ljava/util/Date;", "component1", "component10", "component11", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "equals", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class CommercialPathInfo {
|
||||
private final boolean accessible;
|
||||
private final ComercialPathKey comercialPathKey;
|
||||
private final String commercialDestinationStationCode;
|
||||
private final String commercialOriginStationCode;
|
||||
private final String core;
|
||||
private final boolean isCercanias;
|
||||
private final boolean isShortTrain;
|
||||
private final String line;
|
||||
private final String observation;
|
||||
private final OpeProComPro opeProComPro;
|
||||
private final Date timestamp;
|
||||
|
||||
public CommercialPathInfo(String str, String str2, boolean z3, ComercialPathKey comercialPathKey, boolean z4, boolean z5, String line, String str3, OpeProComPro opeProComPro, Date timestamp, String str4) {
|
||||
Intrinsics.checkNotNullParameter(comercialPathKey, "comercialPathKey");
|
||||
Intrinsics.checkNotNullParameter(line, "line");
|
||||
Intrinsics.checkNotNullParameter(opeProComPro, "opeProComPro");
|
||||
Intrinsics.checkNotNullParameter(timestamp, "timestamp");
|
||||
this.commercialOriginStationCode = str;
|
||||
this.commercialDestinationStationCode = str2;
|
||||
this.accessible = z3;
|
||||
this.comercialPathKey = comercialPathKey;
|
||||
this.isCercanias = z4;
|
||||
this.isShortTrain = z5;
|
||||
this.line = line;
|
||||
this.core = str3;
|
||||
this.opeProComPro = opeProComPro;
|
||||
this.timestamp = timestamp;
|
||||
this.observation = str4;
|
||||
}
|
||||
|
||||
public static /* synthetic */ CommercialPathInfo copy$default(CommercialPathInfo commercialPathInfo, String str, String str2, boolean z3, ComercialPathKey comercialPathKey, boolean z4, boolean z5, String str3, String str4, OpeProComPro opeProComPro, Date date, String str5, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = commercialPathInfo.commercialOriginStationCode;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = commercialPathInfo.commercialDestinationStationCode;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
z3 = commercialPathInfo.accessible;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
comercialPathKey = commercialPathInfo.comercialPathKey;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
z4 = commercialPathInfo.isCercanias;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
z5 = commercialPathInfo.isShortTrain;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
str3 = commercialPathInfo.line;
|
||||
}
|
||||
if ((i & 128) != 0) {
|
||||
str4 = commercialPathInfo.core;
|
||||
}
|
||||
if ((i & 256) != 0) {
|
||||
opeProComPro = commercialPathInfo.opeProComPro;
|
||||
}
|
||||
if ((i & ConstantsKt.MINIMUM_BLOCK_SIZE) != 0) {
|
||||
date = commercialPathInfo.timestamp;
|
||||
}
|
||||
if ((i & 1024) != 0) {
|
||||
str5 = commercialPathInfo.observation;
|
||||
}
|
||||
Date date2 = date;
|
||||
String str6 = str5;
|
||||
String str7 = str4;
|
||||
OpeProComPro opeProComPro2 = opeProComPro;
|
||||
boolean z6 = z5;
|
||||
String str8 = str3;
|
||||
boolean z7 = z4;
|
||||
boolean z8 = z3;
|
||||
return commercialPathInfo.copy(str, str2, z8, comercialPathKey, z7, z6, str8, str7, opeProComPro2, date2, str6);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCommercialOriginStationCode() {
|
||||
return this.commercialOriginStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component10, reason: from getter */
|
||||
public final Date getTimestamp() {
|
||||
return this.timestamp;
|
||||
}
|
||||
|
||||
/* renamed from: component11, reason: from getter */
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getCommercialDestinationStationCode() {
|
||||
return this.commercialDestinationStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final boolean getAccessible() {
|
||||
return this.accessible;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final ComercialPathKey getComercialPathKey() {
|
||||
return this.comercialPathKey;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final boolean getIsCercanias() {
|
||||
return this.isCercanias;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final boolean getIsShortTrain() {
|
||||
return this.isShortTrain;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getLine() {
|
||||
return this.line;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getCore() {
|
||||
return this.core;
|
||||
}
|
||||
|
||||
/* renamed from: component9, reason: from getter */
|
||||
public final OpeProComPro getOpeProComPro() {
|
||||
return this.opeProComPro;
|
||||
}
|
||||
|
||||
public final CommercialPathInfo copy(String commercialOriginStationCode, String commercialDestinationStationCode, boolean accessible, ComercialPathKey comercialPathKey, boolean isCercanias, boolean isShortTrain, String line, String core, OpeProComPro opeProComPro, Date timestamp, String observation) {
|
||||
Intrinsics.checkNotNullParameter(comercialPathKey, "comercialPathKey");
|
||||
Intrinsics.checkNotNullParameter(line, "line");
|
||||
Intrinsics.checkNotNullParameter(opeProComPro, "opeProComPro");
|
||||
Intrinsics.checkNotNullParameter(timestamp, "timestamp");
|
||||
return new CommercialPathInfo(commercialOriginStationCode, commercialDestinationStationCode, accessible, comercialPathKey, isCercanias, isShortTrain, line, core, opeProComPro, timestamp, observation);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof CommercialPathInfo)) {
|
||||
return false;
|
||||
}
|
||||
CommercialPathInfo commercialPathInfo = (CommercialPathInfo) other;
|
||||
return Intrinsics.areEqual(this.commercialOriginStationCode, commercialPathInfo.commercialOriginStationCode) && Intrinsics.areEqual(this.commercialDestinationStationCode, commercialPathInfo.commercialDestinationStationCode) && this.accessible == commercialPathInfo.accessible && Intrinsics.areEqual(this.comercialPathKey, commercialPathInfo.comercialPathKey) && this.isCercanias == commercialPathInfo.isCercanias && this.isShortTrain == commercialPathInfo.isShortTrain && Intrinsics.areEqual(this.line, commercialPathInfo.line) && Intrinsics.areEqual(this.core, commercialPathInfo.core) && Intrinsics.areEqual(this.opeProComPro, commercialPathInfo.opeProComPro) && Intrinsics.areEqual(this.timestamp, commercialPathInfo.timestamp) && Intrinsics.areEqual(this.observation, commercialPathInfo.observation);
|
||||
}
|
||||
|
||||
public final boolean getAccessible() {
|
||||
return this.accessible;
|
||||
}
|
||||
|
||||
public final ComercialPathKey getComercialPathKey() {
|
||||
return this.comercialPathKey;
|
||||
}
|
||||
|
||||
public final String getCommercialDestinationStationCode() {
|
||||
return this.commercialDestinationStationCode;
|
||||
}
|
||||
|
||||
public final String getCommercialOriginStationCode() {
|
||||
return this.commercialOriginStationCode;
|
||||
}
|
||||
|
||||
public final String getCore() {
|
||||
return this.core;
|
||||
}
|
||||
|
||||
public final String getLine() {
|
||||
return this.line;
|
||||
}
|
||||
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public final OpeProComPro getOpeProComPro() {
|
||||
return this.opeProComPro;
|
||||
}
|
||||
|
||||
public final Date getTimestamp() {
|
||||
return this.timestamp;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
String str = this.commercialOriginStationCode;
|
||||
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
|
||||
String str2 = this.commercialDestinationStationCode;
|
||||
int d4 = a.d(this.line, w.c(w.c((this.comercialPathKey.hashCode() + w.c((hashCode + (str2 == null ? 0 : str2.hashCode())) * 31, 31, this.accessible)) * 31, 31, this.isCercanias), 31, this.isShortTrain), 31);
|
||||
String str3 = this.core;
|
||||
int hashCode2 = (this.timestamp.hashCode() + ((this.opeProComPro.hashCode() + ((d4 + (str3 == null ? 0 : str3.hashCode())) * 31)) * 31)) * 31;
|
||||
String str4 = this.observation;
|
||||
return hashCode2 + (str4 != null ? str4.hashCode() : 0);
|
||||
}
|
||||
|
||||
public final boolean isCercanias() {
|
||||
return this.isCercanias;
|
||||
}
|
||||
|
||||
public final boolean isShortTrain() {
|
||||
return this.isShortTrain;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("CommercialPathInfo(commercialOriginStationCode=");
|
||||
sb.append(this.commercialOriginStationCode);
|
||||
sb.append(", commercialDestinationStationCode=");
|
||||
sb.append(this.commercialDestinationStationCode);
|
||||
sb.append(", accessible=");
|
||||
sb.append(this.accessible);
|
||||
sb.append(", comercialPathKey=");
|
||||
sb.append(this.comercialPathKey);
|
||||
sb.append(", isCercanias=");
|
||||
sb.append(this.isCercanias);
|
||||
sb.append(", isShortTrain=");
|
||||
sb.append(this.isShortTrain);
|
||||
sb.append(", line=");
|
||||
sb.append(this.line);
|
||||
sb.append(", core=");
|
||||
sb.append(this.core);
|
||||
sb.append(", opeProComPro=");
|
||||
sb.append(this.opeProComPro);
|
||||
sb.append(", timestamp=");
|
||||
sb.append(this.timestamp);
|
||||
sb.append(", observation=");
|
||||
return a.n(sb, this.observation, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
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\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u001b\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\u0002\u0010\u0007J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0003J#\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0001J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0012HÖ\u0003J\u000e\u0010\u0013\u001a\u00020\u00102\u0006\u0010\u0014\u001a\u00020\u0015J\t\u0010\u0016\u001a\u00020\u0015HÖ\u0001J\u000e\u0010\u0017\u001a\u00020\u00182\u0006\u0010\u0014\u001a\u00020\u0015J\t\u0010\u0019\u001a\u00020\u0018HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u001a"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathRouteSidesInfo;", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialCirculation;", "commercialPathInfo", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathInfo;", "passthroughSteps", "", "Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughDetailsStep;", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathInfo;Ljava/util/List;)V", "getCommercialPathInfo", "()Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathInfo;", "getPassthroughSteps", "()Ljava/util/List;", "component1", "component2", "copy", "equals", "", "other", "", "hasWarningPlatform", "stepNumber", "", "hashCode", "platform", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class CommercialPathRouteSidesInfo implements CommercialCirculation {
|
||||
private final CommercialPathInfo commercialPathInfo;
|
||||
private final List<PassthroughDetailsStep> passthroughSteps;
|
||||
|
||||
public CommercialPathRouteSidesInfo(CommercialPathInfo commercialPathInfo, List<PassthroughDetailsStep> passthroughSteps) {
|
||||
Intrinsics.checkNotNullParameter(commercialPathInfo, "commercialPathInfo");
|
||||
Intrinsics.checkNotNullParameter(passthroughSteps, "passthroughSteps");
|
||||
this.commercialPathInfo = commercialPathInfo;
|
||||
this.passthroughSteps = passthroughSteps;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ CommercialPathRouteSidesInfo copy$default(CommercialPathRouteSidesInfo commercialPathRouteSidesInfo, CommercialPathInfo commercialPathInfo, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
commercialPathInfo = commercialPathRouteSidesInfo.commercialPathInfo;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
list = commercialPathRouteSidesInfo.passthroughSteps;
|
||||
}
|
||||
return commercialPathRouteSidesInfo.copy(commercialPathInfo, list);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final CommercialPathInfo getCommercialPathInfo() {
|
||||
return this.commercialPathInfo;
|
||||
}
|
||||
|
||||
public final List<PassthroughDetailsStep> component2() {
|
||||
return this.passthroughSteps;
|
||||
}
|
||||
|
||||
public final CommercialPathRouteSidesInfo copy(CommercialPathInfo commercialPathInfo, List<PassthroughDetailsStep> passthroughSteps) {
|
||||
Intrinsics.checkNotNullParameter(commercialPathInfo, "commercialPathInfo");
|
||||
Intrinsics.checkNotNullParameter(passthroughSteps, "passthroughSteps");
|
||||
return new CommercialPathRouteSidesInfo(commercialPathInfo, passthroughSteps);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof CommercialPathRouteSidesInfo)) {
|
||||
return false;
|
||||
}
|
||||
CommercialPathRouteSidesInfo commercialPathRouteSidesInfo = (CommercialPathRouteSidesInfo) other;
|
||||
return Intrinsics.areEqual(this.commercialPathInfo, commercialPathRouteSidesInfo.commercialPathInfo) && Intrinsics.areEqual(this.passthroughSteps, commercialPathRouteSidesInfo.passthroughSteps);
|
||||
}
|
||||
|
||||
public final CommercialPathInfo getCommercialPathInfo() {
|
||||
return this.commercialPathInfo;
|
||||
}
|
||||
|
||||
public final List<PassthroughDetailsStep> getPassthroughSteps() {
|
||||
return this.passthroughSteps;
|
||||
}
|
||||
|
||||
public final boolean hasWarningPlatform(int stepNumber) {
|
||||
if (stepNumber == 0) {
|
||||
PassthroughDetailsStepSide departurePassthroughStepSides = this.passthroughSteps.get(stepNumber).getDeparturePassthroughStepSides();
|
||||
return departurePassthroughStepSides != null && departurePassthroughStepSides.isPlatformWarning();
|
||||
}
|
||||
PassthroughDetailsStepSide arrivalPassthroughStepSides = this.passthroughSteps.get(stepNumber).getArrivalPassthroughStepSides();
|
||||
return arrivalPassthroughStepSides != null && arrivalPassthroughStepSides.isPlatformWarning();
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.passthroughSteps.hashCode() + (this.commercialPathInfo.hashCode() * 31);
|
||||
}
|
||||
|
||||
public final String platform(int stepNumber) {
|
||||
PassthroughDetailsStepSide departurePassthroughStepSides = stepNumber == 0 ? this.passthroughSteps.get(stepNumber).getDeparturePassthroughStepSides() : this.passthroughSteps.get(stepNumber).getArrivalPassthroughStepSides();
|
||||
return (departurePassthroughStepSides == null || !departurePassthroughStepSides.isAnnounceable() || departurePassthroughStepSides.isSuppressed() || departurePassthroughStepSides.getPlatformMuted()) ? "" : departurePassthroughStepSides.getPlatform();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("CommercialPathRouteSidesInfo(commercialPathInfo=");
|
||||
sb.append(this.commercialPathInfo);
|
||||
sb.append(", passthroughSteps=");
|
||||
return a.o(sb, this.passthroughSteps, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,164 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\n\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\u000b\u001a\u00020\u0003HÆ\u0003J\t\u0010\f\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\r\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u000e\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011J\u0013\u0010\u0012\u001a\u00020\u00112\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014HÖ\u0003J\u000e\u0010\u0015\u001a\u00020\u00112\u0006\u0010\u0010\u001a\u00020\u0011J\t\u0010\u0016\u001a\u00020\u0017HÖ\u0001J\u0010\u0010\u0018\u001a\u0004\u0018\u00010\u000f2\u0006\u0010\u0010\u001a\u00020\u0011J\u000e\u0010\u0019\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011J\u0010\u0010\u001a\u001a\u0004\u0018\u00010\u001b2\u0006\u0010\u0010\u001a\u00020\u0011J\u000e\u0010\u001c\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011J\u000e\u0010\u001d\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011J\u000e\u0010\u001e\u001a\u00020\u00112\u0006\u0010\u0010\u001a\u00020\u0011J\u0010\u0010\u001f\u001a\u0004\u0018\u00010\u000f2\u0006\u0010\u0010\u001a\u00020\u0011J\u0010\u0010 \u001a\u0004\u0018\u00010\u000f2\u0006\u0010\u0010\u001a\u00020\u0011J\u000e\u0010!\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011J\u000e\u0010\"\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011J\u0010\u0010#\u001a\u0004\u0018\u00010\u000f2\u0006\u0010\u0010\u001a\u00020\u0011J\t\u0010$\u001a\u00020\u000fHÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n¨\u0006%"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathStepSideInfo;", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialCirculation;", "commercialPathInfo", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathInfo;", "passthroughStep", "Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughStep;", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathInfo;Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughStep;)V", "getCommercialPathInfo", "()Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathInfo;", "getPassthroughStep", "()Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughStep;", "component1", "component2", "copy", "ctcPlatform", "", "isDeparture", "", "equals", "other", "", "hasWarningPlatform", "hashCode", "", "observation", "operatorPlatform", "passthroughStepSide", "Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughStepSides;", "plannedPlatform", "platform", "platformMuted", "preassignedPlatform", "resultantPlatform", "sitraPlatform", "stationCode", "technicalNumber", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class CommercialPathStepSideInfo implements CommercialCirculation {
|
||||
private final CommercialPathInfo commercialPathInfo;
|
||||
private final PassthroughStep passthroughStep;
|
||||
|
||||
public CommercialPathStepSideInfo(CommercialPathInfo commercialPathInfo, PassthroughStep passthroughStep) {
|
||||
Intrinsics.checkNotNullParameter(commercialPathInfo, "commercialPathInfo");
|
||||
Intrinsics.checkNotNullParameter(passthroughStep, "passthroughStep");
|
||||
this.commercialPathInfo = commercialPathInfo;
|
||||
this.passthroughStep = passthroughStep;
|
||||
}
|
||||
|
||||
public static /* synthetic */ CommercialPathStepSideInfo copy$default(CommercialPathStepSideInfo commercialPathStepSideInfo, CommercialPathInfo commercialPathInfo, PassthroughStep passthroughStep, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
commercialPathInfo = commercialPathStepSideInfo.commercialPathInfo;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
passthroughStep = commercialPathStepSideInfo.passthroughStep;
|
||||
}
|
||||
return commercialPathStepSideInfo.copy(commercialPathInfo, passthroughStep);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final CommercialPathInfo getCommercialPathInfo() {
|
||||
return this.commercialPathInfo;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final PassthroughStep getPassthroughStep() {
|
||||
return this.passthroughStep;
|
||||
}
|
||||
|
||||
public final CommercialPathStepSideInfo copy(CommercialPathInfo commercialPathInfo, PassthroughStep passthroughStep) {
|
||||
Intrinsics.checkNotNullParameter(commercialPathInfo, "commercialPathInfo");
|
||||
Intrinsics.checkNotNullParameter(passthroughStep, "passthroughStep");
|
||||
return new CommercialPathStepSideInfo(commercialPathInfo, passthroughStep);
|
||||
}
|
||||
|
||||
public final String ctcPlatform(boolean isDeparture) {
|
||||
String ctcPlatform;
|
||||
PassthroughStepSides passthroughStepSide = passthroughStepSide(isDeparture);
|
||||
return (passthroughStepSide == null || (ctcPlatform = passthroughStepSide.getCtcPlatform()) == null) ? "" : ctcPlatform;
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof CommercialPathStepSideInfo)) {
|
||||
return false;
|
||||
}
|
||||
CommercialPathStepSideInfo commercialPathStepSideInfo = (CommercialPathStepSideInfo) other;
|
||||
return Intrinsics.areEqual(this.commercialPathInfo, commercialPathStepSideInfo.commercialPathInfo) && Intrinsics.areEqual(this.passthroughStep, commercialPathStepSideInfo.passthroughStep);
|
||||
}
|
||||
|
||||
public final CommercialPathInfo getCommercialPathInfo() {
|
||||
return this.commercialPathInfo;
|
||||
}
|
||||
|
||||
public final PassthroughStep getPassthroughStep() {
|
||||
return this.passthroughStep;
|
||||
}
|
||||
|
||||
public final boolean hasWarningPlatform(boolean isDeparture) {
|
||||
PassthroughStepSides passthroughStepSide = passthroughStepSide(isDeparture);
|
||||
return passthroughStepSide != null && passthroughStepSide.isPlatformWarning();
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.passthroughStep.hashCode() + (this.commercialPathInfo.hashCode() * 31);
|
||||
}
|
||||
|
||||
public final String observation(boolean isDeparture) {
|
||||
PassthroughStepSides passthroughStepSide = passthroughStepSide(isDeparture);
|
||||
if (passthroughStepSide != null) {
|
||||
return passthroughStepSide.getObservation();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public final String operatorPlatform(boolean isDeparture) {
|
||||
String operatorPlatform;
|
||||
PassthroughStepSides passthroughStepSide = passthroughStepSide(isDeparture);
|
||||
return (passthroughStepSide == null || (operatorPlatform = passthroughStepSide.getOperatorPlatform()) == null) ? "" : operatorPlatform;
|
||||
}
|
||||
|
||||
public final PassthroughStepSides passthroughStepSide(boolean isDeparture) {
|
||||
return isDeparture ? this.passthroughStep.getDeparturePassthroughStepSides() : this.passthroughStep.getArrivalPassthroughStepSides();
|
||||
}
|
||||
|
||||
public final String plannedPlatform(boolean isDeparture) {
|
||||
String plannedPlatform;
|
||||
PassthroughStepSides passthroughStepSide = passthroughStepSide(isDeparture);
|
||||
return (passthroughStepSide == null || (plannedPlatform = passthroughStepSide.getPlannedPlatform()) == null) ? "" : plannedPlatform;
|
||||
}
|
||||
|
||||
public final String platform(boolean isDeparture) {
|
||||
String platform;
|
||||
PassthroughStepSides passthroughStepSide = passthroughStepSide(isDeparture);
|
||||
return (passthroughStepSide == null || (platform = passthroughStepSide.getPlatform()) == null) ? "" : platform;
|
||||
}
|
||||
|
||||
public final boolean platformMuted(boolean isDeparture) {
|
||||
PassthroughStepSides passthroughStepSide = passthroughStepSide(isDeparture);
|
||||
if (passthroughStepSide != null) {
|
||||
return passthroughStepSide.isMuted();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public final String preassignedPlatform(boolean isDeparture) {
|
||||
if (isDeparture) {
|
||||
PassthroughStepSides departurePassthroughStepSides = this.passthroughStep.getDeparturePassthroughStepSides();
|
||||
if (departurePassthroughStepSides != null) {
|
||||
return departurePassthroughStepSides.getPreassignedPlatform();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
PassthroughStepSides arrivalPassthroughStepSides = this.passthroughStep.getArrivalPassthroughStepSides();
|
||||
if (arrivalPassthroughStepSides != null) {
|
||||
return arrivalPassthroughStepSides.getPreassignedPlatform();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public final String resultantPlatform(boolean isDeparture) {
|
||||
String resultantPlatform;
|
||||
PassthroughStepSides passthroughStepSide = passthroughStepSide(isDeparture);
|
||||
return (passthroughStepSide == null || (resultantPlatform = passthroughStepSide.getResultantPlatform()) == null) ? "" : resultantPlatform;
|
||||
}
|
||||
|
||||
public final String sitraPlatform(boolean isDeparture) {
|
||||
String sitraPlatform;
|
||||
PassthroughStepSides passthroughStepSide = passthroughStepSide(isDeparture);
|
||||
return (passthroughStepSide == null || (sitraPlatform = passthroughStepSide.getSitraPlatform()) == null) ? "" : sitraPlatform;
|
||||
}
|
||||
|
||||
public final String stationCode(boolean isDeparture) {
|
||||
if (isDeparture) {
|
||||
String commercialDestinationStationCode = this.commercialPathInfo.getCommercialDestinationStationCode();
|
||||
return commercialDestinationStationCode == null ? this.commercialPathInfo.getComercialPathKey().getDestinationStationCode() : commercialDestinationStationCode;
|
||||
}
|
||||
String commercialOriginStationCode = this.commercialPathInfo.getCommercialOriginStationCode();
|
||||
return commercialOriginStationCode == null ? this.commercialPathInfo.getComercialPathKey().getOriginStationCode() : commercialOriginStationCode;
|
||||
}
|
||||
|
||||
public final String technicalNumber(boolean isDeparture) {
|
||||
PassthroughStepSides passthroughStepSide = passthroughStepSide(isDeparture);
|
||||
if (passthroughStepSide != null) {
|
||||
return passthroughStepSide.getTechnicalNumber();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "CommercialPathStepSideInfo(commercialPathInfo=" + this.commercialPathInfo + ", passthroughStep=" + this.passthroughStep + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u001f\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010)\u001a\u00020\u0003HÆ\u0003J\t\u0010*\u001a\u00020\u0005HÆ\u0003J\u001d\u0010+\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010,\u001a\u00020\u000e2\b\u0010-\u001a\u0004\u0018\u00010.HÖ\u0003J\t\u0010/\u001a\u000200HÖ\u0001J\t\u00101\u001a\u00020\nHÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0013\u0010\t\u001a\u0004\u0018\u00010\n8F¢\u0006\u0006\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\r\u001a\u00020\u000e8F¢\u0006\u0006\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\u0011\u001a\u00020\u000e8F¢\u0006\u0006\u001a\u0004\b\u0012\u0010\u0010R\u0013\u0010\u0013\u001a\u0004\u0018\u00010\n8F¢\u0006\u0006\u001a\u0004\b\u0014\u0010\fR\u0013\u0010\u0015\u001a\u0004\u0018\u00010\n8F¢\u0006\u0006\u001a\u0004\b\u0016\u0010\fR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018R\u0013\u0010\u0019\u001a\u0004\u0018\u00010\n8F¢\u0006\u0006\u001a\u0004\b\u001a\u0010\fR\u0011\u0010\u001b\u001a\u00020\n8F¢\u0006\u0006\u001a\u0004\b\u001c\u0010\fR\u0011\u0010\u001d\u001a\u00020\u000e8F¢\u0006\u0006\u001a\u0004\b\u001e\u0010\u0010R\u0013\u0010\u001f\u001a\u0004\u0018\u00010\n8F¢\u0006\u0006\u001a\u0004\b \u0010\fR\u0013\u0010!\u001a\u0004\u0018\u00010\n8F¢\u0006\u0006\u001a\u0004\b\"\u0010\fR\u0013\u0010#\u001a\u0004\u0018\u00010\n8F¢\u0006\u0006\u001a\u0004\b$\u0010\fR\u0011\u0010%\u001a\u00020\n8F¢\u0006\u0006\u001a\u0004\b&\u0010\fR\u0013\u0010'\u001a\u0004\u0018\u00010\n8F¢\u0006\u0006\u001a\u0004\b(\u0010\f¨\u00062"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialCirculation;", "commercialPathInfo", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathInfo;", "passthroughStep", "Lcom/adif/elcanomovil/domain/entities/circulation/RouteStep;", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathInfo;Lcom/adif/elcanomovil/domain/entities/circulation/RouteStep;)V", "getCommercialPathInfo", "()Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathInfo;", "ctcPlatform", "", "getCtcPlatform", "()Ljava/lang/String;", "hasWarningPlatform", "", "getHasWarningPlatform", "()Z", "immediateDeparture", "getImmediateDeparture", "observation", "getObservation", "operatorPlatform", "getOperatorPlatform", "getPassthroughStep", "()Lcom/adif/elcanomovil/domain/entities/circulation/RouteStep;", "plannedPlatform", "getPlannedPlatform", "platform", "getPlatform", "platformMuted", "getPlatformMuted", "preassignedPlatform", "getPreassignedPlatform", "resultantPlatform", "getResultantPlatform", "sitraPlatform", "getSitraPlatform", "stationCode", "getStationCode", "technicalNumber", "getTechnicalNumber", "component1", "component2", "copy", "equals", "other", "", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class CommercialRouteInfo implements CommercialCirculation {
|
||||
private final CommercialPathInfo commercialPathInfo;
|
||||
private final RouteStep passthroughStep;
|
||||
|
||||
public CommercialRouteInfo(CommercialPathInfo commercialPathInfo, RouteStep passthroughStep) {
|
||||
Intrinsics.checkNotNullParameter(commercialPathInfo, "commercialPathInfo");
|
||||
Intrinsics.checkNotNullParameter(passthroughStep, "passthroughStep");
|
||||
this.commercialPathInfo = commercialPathInfo;
|
||||
this.passthroughStep = passthroughStep;
|
||||
}
|
||||
|
||||
public static /* synthetic */ CommercialRouteInfo copy$default(CommercialRouteInfo commercialRouteInfo, CommercialPathInfo commercialPathInfo, RouteStep routeStep, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
commercialPathInfo = commercialRouteInfo.commercialPathInfo;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
routeStep = commercialRouteInfo.passthroughStep;
|
||||
}
|
||||
return commercialRouteInfo.copy(commercialPathInfo, routeStep);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final CommercialPathInfo getCommercialPathInfo() {
|
||||
return this.commercialPathInfo;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final RouteStep getPassthroughStep() {
|
||||
return this.passthroughStep;
|
||||
}
|
||||
|
||||
public final CommercialRouteInfo copy(CommercialPathInfo commercialPathInfo, RouteStep passthroughStep) {
|
||||
Intrinsics.checkNotNullParameter(commercialPathInfo, "commercialPathInfo");
|
||||
Intrinsics.checkNotNullParameter(passthroughStep, "passthroughStep");
|
||||
return new CommercialRouteInfo(commercialPathInfo, passthroughStep);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof CommercialRouteInfo)) {
|
||||
return false;
|
||||
}
|
||||
CommercialRouteInfo commercialRouteInfo = (CommercialRouteInfo) other;
|
||||
return Intrinsics.areEqual(this.commercialPathInfo, commercialRouteInfo.commercialPathInfo) && Intrinsics.areEqual(this.passthroughStep, commercialRouteInfo.passthroughStep);
|
||||
}
|
||||
|
||||
public final CommercialPathInfo getCommercialPathInfo() {
|
||||
return this.commercialPathInfo;
|
||||
}
|
||||
|
||||
public final String getCtcPlatform() {
|
||||
return this.passthroughStep.getDeparturePassthroughStepSides().getCtcPlatform();
|
||||
}
|
||||
|
||||
public final boolean getHasWarningPlatform() {
|
||||
return this.passthroughStep.getDeparturePassthroughStepSides().isPlatformWarning();
|
||||
}
|
||||
|
||||
public final boolean getImmediateDeparture() {
|
||||
return this.passthroughStep.getDeparturePassthroughStepSides().getImmediateDeparture();
|
||||
}
|
||||
|
||||
public final String getObservation() {
|
||||
return this.passthroughStep.getDeparturePassthroughStepSides().getObservation();
|
||||
}
|
||||
|
||||
public final String getOperatorPlatform() {
|
||||
return this.passthroughStep.getDeparturePassthroughStepSides().getOperatorPlatform();
|
||||
}
|
||||
|
||||
public final RouteStep getPassthroughStep() {
|
||||
return this.passthroughStep;
|
||||
}
|
||||
|
||||
public final String getPlannedPlatform() {
|
||||
return this.passthroughStep.getDeparturePassthroughStepSides().getPlannedPlatform();
|
||||
}
|
||||
|
||||
public final String getPlatform() {
|
||||
return this.passthroughStep.getDeparturePassthroughStepSides().getPlatform();
|
||||
}
|
||||
|
||||
public final boolean getPlatformMuted() {
|
||||
return this.passthroughStep.getDeparturePassthroughStepSides().isPlatformMuted();
|
||||
}
|
||||
|
||||
public final String getPreassignedPlatform() {
|
||||
return this.passthroughStep.getDeparturePassthroughStepSides().getPreassignedPlatform();
|
||||
}
|
||||
|
||||
public final String getResultantPlatform() {
|
||||
RouteStepSide departurePassthroughStepSides = this.passthroughStep.getDeparturePassthroughStepSides();
|
||||
if (departurePassthroughStepSides != null) {
|
||||
return departurePassthroughStepSides.getResultantPlatform();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public final String getSitraPlatform() {
|
||||
return this.passthroughStep.getDeparturePassthroughStepSides().getSitraPlatform();
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
String commercialDestinationStationCode = this.commercialPathInfo.getCommercialDestinationStationCode();
|
||||
return commercialDestinationStationCode == null ? this.commercialPathInfo.getComercialPathKey().getDestinationStationCode() : commercialDestinationStationCode;
|
||||
}
|
||||
|
||||
public final String getTechnicalNumber() {
|
||||
RouteStepSide departurePassthroughStepSides = this.passthroughStep.getDeparturePassthroughStepSides();
|
||||
if (departurePassthroughStepSides != null) {
|
||||
return departurePassthroughStepSides.getTechnicalNumber();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.passthroughStep.hashCode() + (this.commercialPathInfo.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "CommercialRouteInfo(commercialPathInfo=" + this.commercialPathInfo + ", passthroughStep=" + this.passthroughStep + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0002\b\f\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\r\u001a\u00020\u0003HÆ\u0003J\t\u0010\u000e\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\u000f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u0010\u001a\u00020\u00052\b\u0010\u0011\u001a\u0004\u0018\u00010\u0012HÖ\u0003J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001J\t\u0010\u0015\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u001a\u0010\u0004\u001a\u00020\u0005X\u0096\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\t\u0010\n\"\u0004\b\u000b\u0010\f¨\u0006\u0016"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/DateHeaderCirculation;", "Lcom/adif/elcanomovil/domain/entities/circulation/Circulation;", "date", "", "showExtended", "", "(Ljava/lang/String;Z)V", "getDate", "()Ljava/lang/String;", "getShowExtended", "()Z", "setShowExtended", "(Z)V", "component1", "component2", "copy", "equals", "other", "", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class DateHeaderCirculation implements Circulation {
|
||||
private final String date;
|
||||
private boolean showExtended;
|
||||
|
||||
public DateHeaderCirculation(String date, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(date, "date");
|
||||
this.date = date;
|
||||
this.showExtended = z3;
|
||||
}
|
||||
|
||||
public static /* synthetic */ DateHeaderCirculation copy$default(DateHeaderCirculation dateHeaderCirculation, String str, boolean z3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = dateHeaderCirculation.date;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
z3 = dateHeaderCirculation.showExtended;
|
||||
}
|
||||
return dateHeaderCirculation.copy(str, z3);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getDate() {
|
||||
return this.date;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final boolean getShowExtended() {
|
||||
return this.showExtended;
|
||||
}
|
||||
|
||||
public final DateHeaderCirculation copy(String date, boolean showExtended) {
|
||||
Intrinsics.checkNotNullParameter(date, "date");
|
||||
return new DateHeaderCirculation(date, showExtended);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof DateHeaderCirculation)) {
|
||||
return false;
|
||||
}
|
||||
DateHeaderCirculation dateHeaderCirculation = (DateHeaderCirculation) other;
|
||||
return Intrinsics.areEqual(this.date, dateHeaderCirculation.date) && this.showExtended == dateHeaderCirculation.showExtended;
|
||||
}
|
||||
|
||||
public final String getDate() {
|
||||
return this.date;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.domain.entities.circulation.Circulation
|
||||
public boolean getShowExtended() {
|
||||
return this.showExtended;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return Boolean.hashCode(this.showExtended) + (this.date.hashCode() * 31);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.domain.entities.circulation.Circulation
|
||||
public void setShowExtended(boolean z3) {
|
||||
this.showExtended = z3;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "DateHeaderCirculation(date=" + this.date + ", showExtended=" + this.showExtended + ')';
|
||||
}
|
||||
|
||||
public /* synthetic */ DateHeaderCirculation(String str, boolean z3, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(str, (i & 2) != 0 ? false : z3);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
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\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/OpeProComPro;", "", NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, "(Ljava/lang/String;Ljava/lang/String;)V", "getCommercialProduct", "()Ljava/lang/String;", "getOperator", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class OpeProComPro {
|
||||
private final String commercialProduct;
|
||||
private final String operator;
|
||||
|
||||
public OpeProComPro(String operator, String commercialProduct) {
|
||||
Intrinsics.checkNotNullParameter(operator, "operator");
|
||||
Intrinsics.checkNotNullParameter(commercialProduct, "commercialProduct");
|
||||
this.operator = operator;
|
||||
this.commercialProduct = commercialProduct;
|
||||
}
|
||||
|
||||
public static /* synthetic */ OpeProComPro copy$default(OpeProComPro opeProComPro, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = opeProComPro.operator;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = opeProComPro.commercialProduct;
|
||||
}
|
||||
return opeProComPro.copy(str, str2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final OpeProComPro copy(String operator, String commercialProduct) {
|
||||
Intrinsics.checkNotNullParameter(operator, "operator");
|
||||
Intrinsics.checkNotNullParameter(commercialProduct, "commercialProduct");
|
||||
return new OpeProComPro(operator, commercialProduct);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof OpeProComPro)) {
|
||||
return false;
|
||||
}
|
||||
OpeProComPro opeProComPro = (OpeProComPro) other;
|
||||
return Intrinsics.areEqual(this.operator, opeProComPro.operator) && Intrinsics.areEqual(this.commercialProduct, opeProComPro.commercialProduct);
|
||||
}
|
||||
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.commercialProduct.hashCode() + (this.operator.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("OpeProComPro(operator=");
|
||||
sb.append(this.operator);
|
||||
sb.append(", commercialProduct=");
|
||||
return a.n(sb, this.commercialProduct, ')');
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,127 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.domain.extensions.LongKt;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.Date;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0012\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\b\u0018\u00002\u00020\u0001B1\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\b\u0012\b\u0010\t\u001a\u0004\u0018\u00010\b¢\u0006\u0002\u0010\nJ\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0005HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0015\u001a\u0004\u0018\u00010\bHÆ\u0003J\u000b\u0010\u0016\u001a\u0004\u0018\u00010\bHÆ\u0003J?\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00032\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b2\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\bHÆ\u0001J\u0013\u0010\u0018\u001a\u00020\u00032\b\u0010\u0019\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001a\u001a\u00020\u001bHÖ\u0001J\u000e\u0010\u001c\u001a\u00020\u001d2\u0006\u0010\u001e\u001a\u00020\u0003J\t\u0010\u001f\u001a\u00020\u0005HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0013\u0010\u0007\u001a\u0004\u0018\u00010\b¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0013\u0010\t\u001a\u0004\u0018\u00010\b¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000eR\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\fR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011¨\u0006 "}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughDetailsStep;", "", "announceable", "", "stationCode", "", "isCommercial", "arrivalPassthroughStepSides", "Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughDetailsStepSide;", "departurePassthroughStepSides", "(ZLjava/lang/String;ZLcom/adif/elcanomovil/domain/entities/circulation/PassthroughDetailsStepSide;Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughDetailsStepSide;)V", "getAnnounceable", "()Z", "getArrivalPassthroughStepSides", "()Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughDetailsStepSide;", "getDeparturePassthroughStepSides", "getStationCode", "()Ljava/lang/String;", "component1", "component2", "component3", "component4", "component5", "copy", "equals", "other", "hashCode", "", "plannedDate", "Ljava/util/Date;", "isDeparture", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class PassthroughDetailsStep {
|
||||
private final boolean announceable;
|
||||
private final PassthroughDetailsStepSide arrivalPassthroughStepSides;
|
||||
private final PassthroughDetailsStepSide departurePassthroughStepSides;
|
||||
private final boolean isCommercial;
|
||||
private final String stationCode;
|
||||
|
||||
public PassthroughDetailsStep(boolean z3, String stationCode, boolean z4, PassthroughDetailsStepSide passthroughDetailsStepSide, PassthroughDetailsStepSide passthroughDetailsStepSide2) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
this.announceable = z3;
|
||||
this.stationCode = stationCode;
|
||||
this.isCommercial = z4;
|
||||
this.arrivalPassthroughStepSides = passthroughDetailsStepSide;
|
||||
this.departurePassthroughStepSides = passthroughDetailsStepSide2;
|
||||
}
|
||||
|
||||
public static /* synthetic */ PassthroughDetailsStep copy$default(PassthroughDetailsStep passthroughDetailsStep, boolean z3, String str, boolean z4, PassthroughDetailsStepSide passthroughDetailsStepSide, PassthroughDetailsStepSide passthroughDetailsStepSide2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
z3 = passthroughDetailsStep.announceable;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str = passthroughDetailsStep.stationCode;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
z4 = passthroughDetailsStep.isCommercial;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
passthroughDetailsStepSide = passthroughDetailsStep.arrivalPassthroughStepSides;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
passthroughDetailsStepSide2 = passthroughDetailsStep.departurePassthroughStepSides;
|
||||
}
|
||||
PassthroughDetailsStepSide passthroughDetailsStepSide3 = passthroughDetailsStepSide2;
|
||||
boolean z5 = z4;
|
||||
return passthroughDetailsStep.copy(z3, str, z5, passthroughDetailsStepSide, passthroughDetailsStepSide3);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final boolean getAnnounceable() {
|
||||
return this.announceable;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final boolean getIsCommercial() {
|
||||
return this.isCommercial;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final PassthroughDetailsStepSide getArrivalPassthroughStepSides() {
|
||||
return this.arrivalPassthroughStepSides;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final PassthroughDetailsStepSide getDeparturePassthroughStepSides() {
|
||||
return this.departurePassthroughStepSides;
|
||||
}
|
||||
|
||||
public final PassthroughDetailsStep copy(boolean announceable, String stationCode, boolean isCommercial, PassthroughDetailsStepSide arrivalPassthroughStepSides, PassthroughDetailsStepSide departurePassthroughStepSides) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
return new PassthroughDetailsStep(announceable, stationCode, isCommercial, arrivalPassthroughStepSides, departurePassthroughStepSides);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof PassthroughDetailsStep)) {
|
||||
return false;
|
||||
}
|
||||
PassthroughDetailsStep passthroughDetailsStep = (PassthroughDetailsStep) other;
|
||||
return this.announceable == passthroughDetailsStep.announceable && Intrinsics.areEqual(this.stationCode, passthroughDetailsStep.stationCode) && this.isCommercial == passthroughDetailsStep.isCommercial && Intrinsics.areEqual(this.arrivalPassthroughStepSides, passthroughDetailsStep.arrivalPassthroughStepSides) && Intrinsics.areEqual(this.departurePassthroughStepSides, passthroughDetailsStep.departurePassthroughStepSides);
|
||||
}
|
||||
|
||||
public final boolean getAnnounceable() {
|
||||
return this.announceable;
|
||||
}
|
||||
|
||||
public final PassthroughDetailsStepSide getArrivalPassthroughStepSides() {
|
||||
return this.arrivalPassthroughStepSides;
|
||||
}
|
||||
|
||||
public final PassthroughDetailsStepSide getDeparturePassthroughStepSides() {
|
||||
return this.departurePassthroughStepSides;
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int c4 = w.c(a.d(this.stationCode, Boolean.hashCode(this.announceable) * 31, 31), 31, this.isCommercial);
|
||||
PassthroughDetailsStepSide passthroughDetailsStepSide = this.arrivalPassthroughStepSides;
|
||||
int hashCode = (c4 + (passthroughDetailsStepSide == null ? 0 : passthroughDetailsStepSide.hashCode())) * 31;
|
||||
PassthroughDetailsStepSide passthroughDetailsStepSide2 = this.departurePassthroughStepSides;
|
||||
return hashCode + (passthroughDetailsStepSide2 != null ? passthroughDetailsStepSide2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public final boolean isCommercial() {
|
||||
return this.isCommercial;
|
||||
}
|
||||
|
||||
public final Date plannedDate(boolean isDeparture) {
|
||||
Date delayedDate;
|
||||
PassthroughDetailsStepSide passthroughDetailsStepSide = isDeparture ? this.departurePassthroughStepSides : this.arrivalPassthroughStepSides;
|
||||
return (passthroughDetailsStepSide == null || (delayedDate = LongKt.getDelayedDate(passthroughDetailsStepSide.getPlannedTime(), passthroughDetailsStepSide.getForecastedOrAuditedDelay())) == null) ? new Date() : delayedDate;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PassthroughDetailsStep(announceable=" + this.announceable + ", stationCode=" + this.stationCode + ", isCommercial=" + this.isCommercial + ", arrivalPassthroughStepSides=" + this.arrivalPassthroughStepSides + ", departurePassthroughStepSides=" + this.departurePassthroughStepSides + ')';
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,102 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0010\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B)\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\u0002\u0010\tJ\t\u0010\u0010\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0011\u001a\u00020\u0005HÆ\u0003J\u000b\u0010\u0012\u001a\u0004\u0018\u00010\u0007HÆ\u0003J\u000b\u0010\u0013\u001a\u0004\u0018\u00010\u0007HÆ\u0003J5\u0010\u0014\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007HÆ\u0001J\u0013\u0010\u0015\u001a\u00020\u00032\b\u0010\u0016\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0017\u001a\u00020\u0018HÖ\u0001J\t\u0010\u0019\u001a\u00020\u0005HÖ\u0001R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u000bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\rR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000f¨\u0006\u001a"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughStep;", "", "isCommercial", "", "stationCode", "", "arrivalPassthroughStepSides", "Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughStepSides;", "departurePassthroughStepSides", "(ZLjava/lang/String;Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughStepSides;Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughStepSides;)V", "getArrivalPassthroughStepSides", "()Lcom/adif/elcanomovil/domain/entities/circulation/PassthroughStepSides;", "getDeparturePassthroughStepSides", "()Z", "getStationCode", "()Ljava/lang/String;", "component1", "component2", "component3", "component4", "copy", "equals", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class PassthroughStep {
|
||||
private final PassthroughStepSides arrivalPassthroughStepSides;
|
||||
private final PassthroughStepSides departurePassthroughStepSides;
|
||||
private final boolean isCommercial;
|
||||
private final String stationCode;
|
||||
|
||||
public PassthroughStep(boolean z3, String stationCode, PassthroughStepSides passthroughStepSides, PassthroughStepSides passthroughStepSides2) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
this.isCommercial = z3;
|
||||
this.stationCode = stationCode;
|
||||
this.arrivalPassthroughStepSides = passthroughStepSides;
|
||||
this.departurePassthroughStepSides = passthroughStepSides2;
|
||||
}
|
||||
|
||||
public static /* synthetic */ PassthroughStep copy$default(PassthroughStep passthroughStep, boolean z3, String str, PassthroughStepSides passthroughStepSides, PassthroughStepSides passthroughStepSides2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
z3 = passthroughStep.isCommercial;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str = passthroughStep.stationCode;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
passthroughStepSides = passthroughStep.arrivalPassthroughStepSides;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
passthroughStepSides2 = passthroughStep.departurePassthroughStepSides;
|
||||
}
|
||||
return passthroughStep.copy(z3, str, passthroughStepSides, passthroughStepSides2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final boolean getIsCommercial() {
|
||||
return this.isCommercial;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final PassthroughStepSides getArrivalPassthroughStepSides() {
|
||||
return this.arrivalPassthroughStepSides;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final PassthroughStepSides getDeparturePassthroughStepSides() {
|
||||
return this.departurePassthroughStepSides;
|
||||
}
|
||||
|
||||
public final PassthroughStep copy(boolean isCommercial, String stationCode, PassthroughStepSides arrivalPassthroughStepSides, PassthroughStepSides departurePassthroughStepSides) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
return new PassthroughStep(isCommercial, stationCode, arrivalPassthroughStepSides, departurePassthroughStepSides);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof PassthroughStep)) {
|
||||
return false;
|
||||
}
|
||||
PassthroughStep passthroughStep = (PassthroughStep) other;
|
||||
return this.isCommercial == passthroughStep.isCommercial && Intrinsics.areEqual(this.stationCode, passthroughStep.stationCode) && Intrinsics.areEqual(this.arrivalPassthroughStepSides, passthroughStep.arrivalPassthroughStepSides) && Intrinsics.areEqual(this.departurePassthroughStepSides, passthroughStep.departurePassthroughStepSides);
|
||||
}
|
||||
|
||||
public final PassthroughStepSides getArrivalPassthroughStepSides() {
|
||||
return this.arrivalPassthroughStepSides;
|
||||
}
|
||||
|
||||
public final PassthroughStepSides getDeparturePassthroughStepSides() {
|
||||
return this.departurePassthroughStepSides;
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.stationCode, Boolean.hashCode(this.isCommercial) * 31, 31);
|
||||
PassthroughStepSides passthroughStepSides = this.arrivalPassthroughStepSides;
|
||||
int hashCode = (d4 + (passthroughStepSides == null ? 0 : passthroughStepSides.hashCode())) * 31;
|
||||
PassthroughStepSides passthroughStepSides2 = this.departurePassthroughStepSides;
|
||||
return hashCode + (passthroughStepSides2 != null ? passthroughStepSides2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public final boolean isCommercial() {
|
||||
return this.isCommercial;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PassthroughStep(isCommercial=" + this.isCommercial + ", stationCode=" + this.stationCode + ", arrivalPassthroughStepSides=" + this.arrivalPassthroughStepSides + ", departurePassthroughStepSides=" + this.departurePassthroughStepSides + ')';
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,71 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\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\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0013"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/RouteStep;", "", "arrivalPassthroughStepSides", "Lcom/adif/elcanomovil/domain/entities/circulation/RouteStepSide;", "departurePassthroughStepSides", "(Lcom/adif/elcanomovil/domain/entities/circulation/RouteStepSide;Lcom/adif/elcanomovil/domain/entities/circulation/RouteStepSide;)V", "getArrivalPassthroughStepSides", "()Lcom/adif/elcanomovil/domain/entities/circulation/RouteStepSide;", "getDeparturePassthroughStepSides", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class RouteStep {
|
||||
private final RouteStepSide arrivalPassthroughStepSides;
|
||||
private final RouteStepSide departurePassthroughStepSides;
|
||||
|
||||
public RouteStep(RouteStepSide arrivalPassthroughStepSides, RouteStepSide departurePassthroughStepSides) {
|
||||
Intrinsics.checkNotNullParameter(arrivalPassthroughStepSides, "arrivalPassthroughStepSides");
|
||||
Intrinsics.checkNotNullParameter(departurePassthroughStepSides, "departurePassthroughStepSides");
|
||||
this.arrivalPassthroughStepSides = arrivalPassthroughStepSides;
|
||||
this.departurePassthroughStepSides = departurePassthroughStepSides;
|
||||
}
|
||||
|
||||
public static /* synthetic */ RouteStep copy$default(RouteStep routeStep, RouteStepSide routeStepSide, RouteStepSide routeStepSide2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
routeStepSide = routeStep.arrivalPassthroughStepSides;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
routeStepSide2 = routeStep.departurePassthroughStepSides;
|
||||
}
|
||||
return routeStep.copy(routeStepSide, routeStepSide2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final RouteStepSide getArrivalPassthroughStepSides() {
|
||||
return this.arrivalPassthroughStepSides;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final RouteStepSide getDeparturePassthroughStepSides() {
|
||||
return this.departurePassthroughStepSides;
|
||||
}
|
||||
|
||||
public final RouteStep copy(RouteStepSide arrivalPassthroughStepSides, RouteStepSide departurePassthroughStepSides) {
|
||||
Intrinsics.checkNotNullParameter(arrivalPassthroughStepSides, "arrivalPassthroughStepSides");
|
||||
Intrinsics.checkNotNullParameter(departurePassthroughStepSides, "departurePassthroughStepSides");
|
||||
return new RouteStep(arrivalPassthroughStepSides, departurePassthroughStepSides);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof RouteStep)) {
|
||||
return false;
|
||||
}
|
||||
RouteStep routeStep = (RouteStep) other;
|
||||
return Intrinsics.areEqual(this.arrivalPassthroughStepSides, routeStep.arrivalPassthroughStepSides) && Intrinsics.areEqual(this.departurePassthroughStepSides, routeStep.departurePassthroughStepSides);
|
||||
}
|
||||
|
||||
public final RouteStepSide getArrivalPassthroughStepSides() {
|
||||
return this.arrivalPassthroughStepSides;
|
||||
}
|
||||
|
||||
public final RouteStepSide getDeparturePassthroughStepSides() {
|
||||
return this.departurePassthroughStepSides;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.departurePassthroughStepSides.hashCode() + (this.arrivalPassthroughStepSides.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "RouteStep(arrivalPassthroughStepSides=" + this.arrivalPassthroughStepSides + ", departurePassthroughStepSides=" + this.departurePassthroughStepSides + ')';
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,55 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.PlatformProvider;
|
||||
import java.util.Date;
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b'\n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u00002\u00020\u00012\u00020\u0002R\u0012\u0010\u0003\u001a\u00020\u0004X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u0004\u0018\u00010\bX¦\u0004¢\u0006\u0006\u001a\u0004\b\t\u0010\nR\u0012\u0010\u000b\u001a\u00020\fX¦\u0004¢\u0006\u0006\u001a\u0004\b\r\u0010\u000eR\u0012\u0010\u000f\u001a\u00020\u0004X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0010\u0010\u0006R\u0012\u0010\u0011\u001a\u00020\u0004X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0011\u0010\u0006R\u0014\u0010\u0012\u001a\u0004\u0018\u00010\bX¦\u0004¢\u0006\u0006\u001a\u0004\b\u0013\u0010\nR\u0014\u0010\u0014\u001a\u0004\u0018\u00010\bX¦\u0004¢\u0006\u0006\u001a\u0004\b\u0015\u0010\nR\u0014\u0010\u0016\u001a\u0004\u0018\u00010\bX¦\u0004¢\u0006\u0006\u001a\u0004\b\u0017\u0010\nR\u0012\u0010\u0018\u001a\u00020\bX¦\u0004¢\u0006\u0006\u001a\u0004\b\u0019\u0010\nR\u0012\u0010\u001a\u001a\u00020\u0004X¦\u0004¢\u0006\u0006\u001a\u0004\b\u001b\u0010\u0006R\u0012\u0010\u001c\u001a\u00020\u0004X¦\u0004¢\u0006\u0006\u001a\u0004\b\u001d\u0010\u0006R\u0014\u0010\u001e\u001a\u0004\u0018\u00010\bX¦\u0004¢\u0006\u0006\u001a\u0004\b\u001f\u0010\nR\u0014\u0010 \u001a\u0004\u0018\u00010\bX¦\u0004¢\u0006\u0006\u001a\u0004\b!\u0010\nR\u0014\u0010\"\u001a\u0004\u0018\u00010\bX¦\u0004¢\u0006\u0006\u001a\u0004\b#\u0010\nR\u0012\u0010$\u001a\u00020\bX¦\u0004¢\u0006\u0006\u001a\u0004\b%\u0010\nR\u001a\u0010&\u001a\u0004\u0018\u00010\bX¦\u000e¢\u0006\f\u001a\u0004\b'\u0010\n\"\u0004\b(\u0010)R\u001a\u0010*\u001a\u0004\u0018\u00010\bX¦\u000e¢\u0006\f\u001a\u0004\b+\u0010\n\"\u0004\b,\u0010)R\u0012\u0010-\u001a\u00020\bX¦\u0004¢\u0006\u0006\u001a\u0004\b.\u0010\nR\u0014\u0010/\u001a\u0004\u0018\u00010\bX¦\u0004¢\u0006\u0006\u001a\u0004\b0\u0010\nR\u0012\u00101\u001a\u00020\bX¦\u0004¢\u0006\u0006\u001a\u0004\b2\u0010\nR\u0012\u00103\u001a\u000204X¦\u0004¢\u0006\u0006\u001a\u0004\b5\u00106¨\u00067"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/TrainCirculation;", "Lcom/adif/elcanomovil/domain/entities/circulation/Circulation;", "Lcom/adif/elcanomovil/domain/entities/PlatformProvider;", "accessibleStation", "", "getAccessibleStation", "()Z", "ctcPlatform", "", "getCtcPlatform", "()Ljava/lang/String;", "date", "Ljava/util/Date;", "getDate", "()Ljava/util/Date;", "immediateDeparture", "getImmediateDeparture", "isShortTrain", "observation", "getObservation", "operatorPlatform", "getOperatorPlatform", "plannedPlatform", "getPlannedPlatform", "platform", "getPlatform", "platformMuted", "getPlatformMuted", "platformWarning", "getPlatformWarning", "preassignedPlatform", "getPreassignedPlatform", "resultantPlatform", "getResultantPlatform", "sitraPlatform", "getSitraPlatform", "stationCode", "getStationCode", "stationLongName", "getStationLongName", "setStationLongName", "(Ljava/lang/String;)V", "stationShortName", "getStationShortName", "setStationShortName", "stationStepCode", "getStationStepCode", "technicalNumber", "getTechnicalNumber", "time", "getTime", "trainCirculation", "Lcom/adif/elcanomovil/domain/entities/circulation/TrainCirculationInfo;", "getTrainCirculation", "()Lcom/adif/elcanomovil/domain/entities/circulation/TrainCirculationInfo;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface TrainCirculation extends Circulation, PlatformProvider {
|
||||
boolean getAccessibleStation();
|
||||
|
||||
String getCtcPlatform();
|
||||
|
||||
Date getDate();
|
||||
|
||||
boolean getImmediateDeparture();
|
||||
|
||||
String getObservation();
|
||||
|
||||
String getOperatorPlatform();
|
||||
|
||||
String getPlannedPlatform();
|
||||
|
||||
String getPlatform();
|
||||
|
||||
boolean getPlatformMuted();
|
||||
|
||||
boolean getPlatformWarning();
|
||||
|
||||
String getPreassignedPlatform();
|
||||
|
||||
String getResultantPlatform();
|
||||
|
||||
String getSitraPlatform();
|
||||
|
||||
String getStationCode();
|
||||
|
||||
String getStationLongName();
|
||||
|
||||
String getStationShortName();
|
||||
|
||||
String getStationStepCode();
|
||||
|
||||
String getTechnicalNumber();
|
||||
|
||||
String getTime();
|
||||
|
||||
TrainCirculationInfo getTrainCirculation();
|
||||
|
||||
boolean isShortTrain();
|
||||
|
||||
void setStationLongName(String str);
|
||||
|
||||
void setStationShortName(String str);
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
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\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0019\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001BI\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u000bJ\u000b\u0010\u0016\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0017\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0010\u0010\u0018\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010\u0011J\t\u0010\u0019\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001a\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001b\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001c\u001a\u0004\u0018\u00010\u0003HÆ\u0003J`\u0010\u001d\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u00032\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u0003HÆ\u0001¢\u0006\u0002\u0010\u001eJ\u0013\u0010\u001f\u001a\u00020 2\b\u0010!\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\"\u001a\u00020#HÖ\u0001J\t\u0010$\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0013\u0010\n\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\rR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\rR\u0015\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\n\n\u0002\u0010\u0012\u001a\u0004\b\u0010\u0010\u0011R\u0013\u0010\t\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\rR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\rR\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\r¨\u0006%"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/TrainCirculationInfo;", "", "origin", "", FirebaseAnalytics.Param.DESTINATION, NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, "observation", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCommercialNumber", "()Ljava/lang/String;", "getCommercialProduct", "getDestination", "getLaunchingDate", "()Ljava/lang/Long;", "Ljava/lang/Long;", "getObservation", "getOperator", "getOrigin", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/adif/elcanomovil/domain/entities/circulation/TrainCirculationInfo;", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class TrainCirculationInfo {
|
||||
private final String commercialNumber;
|
||||
private final String commercialProduct;
|
||||
private final String destination;
|
||||
private final Long launchingDate;
|
||||
private final String observation;
|
||||
private final String operator;
|
||||
private final String origin;
|
||||
|
||||
public TrainCirculationInfo(String str, String str2, Long l4, String commercialNumber, String str3, String str4, String str5) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
this.origin = str;
|
||||
this.destination = str2;
|
||||
this.launchingDate = l4;
|
||||
this.commercialNumber = commercialNumber;
|
||||
this.operator = str3;
|
||||
this.observation = str4;
|
||||
this.commercialProduct = str5;
|
||||
}
|
||||
|
||||
public static /* synthetic */ TrainCirculationInfo copy$default(TrainCirculationInfo trainCirculationInfo, String str, String str2, Long l4, String str3, String str4, String str5, String str6, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = trainCirculationInfo.origin;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = trainCirculationInfo.destination;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
l4 = trainCirculationInfo.launchingDate;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str3 = trainCirculationInfo.commercialNumber;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str4 = trainCirculationInfo.operator;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
str5 = trainCirculationInfo.observation;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
str6 = trainCirculationInfo.commercialProduct;
|
||||
}
|
||||
String str7 = str5;
|
||||
String str8 = str6;
|
||||
String str9 = str4;
|
||||
Long l5 = l4;
|
||||
return trainCirculationInfo.copy(str, str2, l5, str3, str9, str7, str8);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getOrigin() {
|
||||
return this.origin;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getDestination() {
|
||||
return this.destination;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final Long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final TrainCirculationInfo copy(String origin, String destination, Long launchingDate, String commercialNumber, String operator, String observation, String commercialProduct) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
return new TrainCirculationInfo(origin, destination, launchingDate, commercialNumber, operator, observation, commercialProduct);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof TrainCirculationInfo)) {
|
||||
return false;
|
||||
}
|
||||
TrainCirculationInfo trainCirculationInfo = (TrainCirculationInfo) other;
|
||||
return Intrinsics.areEqual(this.origin, trainCirculationInfo.origin) && Intrinsics.areEqual(this.destination, trainCirculationInfo.destination) && Intrinsics.areEqual(this.launchingDate, trainCirculationInfo.launchingDate) && Intrinsics.areEqual(this.commercialNumber, trainCirculationInfo.commercialNumber) && Intrinsics.areEqual(this.operator, trainCirculationInfo.operator) && Intrinsics.areEqual(this.observation, trainCirculationInfo.observation) && Intrinsics.areEqual(this.commercialProduct, trainCirculationInfo.commercialProduct);
|
||||
}
|
||||
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final String getDestination() {
|
||||
return this.destination;
|
||||
}
|
||||
|
||||
public final Long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
public final String getOrigin() {
|
||||
return this.origin;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
String str = this.origin;
|
||||
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
|
||||
String str2 = this.destination;
|
||||
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
Long l4 = this.launchingDate;
|
||||
int d4 = a.d(this.commercialNumber, (hashCode2 + (l4 == null ? 0 : l4.hashCode())) * 31, 31);
|
||||
String str3 = this.operator;
|
||||
int hashCode3 = (d4 + (str3 == null ? 0 : str3.hashCode())) * 31;
|
||||
String str4 = this.observation;
|
||||
int hashCode4 = (hashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31;
|
||||
String str5 = this.commercialProduct;
|
||||
return hashCode4 + (str5 != null ? str5.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TrainCirculationInfo(origin=");
|
||||
sb.append(this.origin);
|
||||
sb.append(", destination=");
|
||||
sb.append(this.destination);
|
||||
sb.append(", launchingDate=");
|
||||
sb.append(this.launchingDate);
|
||||
sb.append(", commercialNumber=");
|
||||
sb.append(this.commercialNumber);
|
||||
sb.append(", operator=");
|
||||
sb.append(this.operator);
|
||||
sb.append(", observation=");
|
||||
sb.append(this.observation);
|
||||
sb.append(", commercialProduct=");
|
||||
return a.n(sb, this.commercialProduct, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation;
|
||||
|
||||
import C.w;
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u000e\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\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\u00032\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\bR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\b¨\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/VisualEffects;", "", "inmediateDeparture", "", "countDown", "showDelay", "(ZZZ)V", "getCountDown", "()Z", "getInmediateDeparture", "getShowDelay", "component1", "component2", "component3", "copy", "equals", "other", "hashCode", "", "toString", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class VisualEffects {
|
||||
private final boolean countDown;
|
||||
private final boolean inmediateDeparture;
|
||||
private final boolean showDelay;
|
||||
|
||||
public VisualEffects(boolean z3, boolean z4, boolean z5) {
|
||||
this.inmediateDeparture = z3;
|
||||
this.countDown = z4;
|
||||
this.showDelay = z5;
|
||||
}
|
||||
|
||||
public static /* synthetic */ VisualEffects copy$default(VisualEffects visualEffects, boolean z3, boolean z4, boolean z5, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
z3 = visualEffects.inmediateDeparture;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
z4 = visualEffects.countDown;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
z5 = visualEffects.showDelay;
|
||||
}
|
||||
return visualEffects.copy(z3, z4, z5);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final boolean getInmediateDeparture() {
|
||||
return this.inmediateDeparture;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final boolean getCountDown() {
|
||||
return this.countDown;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final boolean getShowDelay() {
|
||||
return this.showDelay;
|
||||
}
|
||||
|
||||
public final VisualEffects copy(boolean inmediateDeparture, boolean countDown, boolean showDelay) {
|
||||
return new VisualEffects(inmediateDeparture, countDown, showDelay);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof VisualEffects)) {
|
||||
return false;
|
||||
}
|
||||
VisualEffects visualEffects = (VisualEffects) other;
|
||||
return this.inmediateDeparture == visualEffects.inmediateDeparture && this.countDown == visualEffects.countDown && this.showDelay == visualEffects.showDelay;
|
||||
}
|
||||
|
||||
public final boolean getCountDown() {
|
||||
return this.countDown;
|
||||
}
|
||||
|
||||
public final boolean getInmediateDeparture() {
|
||||
return this.inmediateDeparture;
|
||||
}
|
||||
|
||||
public final boolean getShowDelay() {
|
||||
return this.showDelay;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return Boolean.hashCode(this.showDelay) + w.c(Boolean.hashCode(this.inmediateDeparture) * 31, 31, this.countDown);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "VisualEffects(inmediateDeparture=" + this.inmediateDeparture + ", countDown=" + this.countDown + ", showDelay=" + this.showDelay + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,178 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation.mappers;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.domain.BuildConfig;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.AvldmdCirculation;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialCirculation;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialPathStepSideInfo;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialRouteInfo;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.PassthroughStepSides;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.TrainCirculationInfo;
|
||||
import com.google.firebase.messaging.Constants;
|
||||
import java.text.DateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
import java.util.Date;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.collections.CollectionsKt__IterablesKt;
|
||||
import kotlin.comparisons.ComparisonsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.jvm.internal.StringCompanionObject;
|
||||
|
||||
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\u001c\u0010\n\u001a\b\u0012\u0004\u0012\u00020\u00060\u000b2\f\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u00070\u000bH\u0002J$\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00060\u000b2\f\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000e0\u000b2\u0006\u0010\u000f\u001a\u00020\u0010H\u0002J\"\u0010\u0011\u001a\b\u0012\u0004\u0012\u00020\u00060\u000b2\f\u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\u00130\u000b2\u0006\u0010\u000f\u001a\u00020\u0010J\u0014\u0010\u0005\u001a\u00020\u0006*\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\u0010H\u0002R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u0018\u0010\u0005\u001a\u00020\u0006*\u00020\u00078BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\t¨\u0006\u0014"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/mappers/AvldmdCirculationMapper;", "", "formatter", "Ljava/text/DateFormat;", "(Ljava/text/DateFormat;)V", "mapToCirculation", "Lcom/adif/elcanomovil/domain/entities/circulation/AvldmdCirculation;", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;", "getMapToCirculation", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;)Lcom/adif/elcanomovil/domain/entities/circulation/AvldmdCirculation;", "makeJourneyCirculations", "", "list", "makeOneWayCirculations", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathStepSideInfo;", "isDeparture", "", "map", Constants.MessagePayloadKeys.FROM, "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialCirculation;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nAvldmdCirculationMapper.kt\nKotlin\n*S Kotlin\n*F\n+ 1 AvldmdCirculationMapper.kt\ncom/adif/elcanomovil/domain/entities/circulation/mappers/AvldmdCirculationMapper\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,238:1\n800#2,11:239\n800#2,11:250\n766#2:261\n857#2,2:262\n1045#2:264\n1549#2:265\n1620#2,3:266\n766#2:269\n857#2,2:270\n1045#2:272\n1549#2:273\n1620#2,3:274\n*S KotlinDebug\n*F\n+ 1 AvldmdCirculationMapper.kt\ncom/adif/elcanomovil/domain/entities/circulation/mappers/AvldmdCirculationMapper\n*L\n20#1:239,11\n26#1:250,11\n40#1:261\n40#1:262,2\n47#1:264\n48#1:265\n48#1:266,3\n58#1:269\n58#1:270,2\n65#1:272\n66#1:273\n66#1:274,3\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class AvldmdCirculationMapper {
|
||||
private final DateFormat formatter;
|
||||
|
||||
public AvldmdCirculationMapper(DateFormat formatter) {
|
||||
Intrinsics.checkNotNullParameter(formatter, "formatter");
|
||||
this.formatter = formatter;
|
||||
}
|
||||
|
||||
private final AvldmdCirculation getMapToCirculation(CommercialRouteInfo commercialRouteInfo) {
|
||||
String access$plannedTime = AvldmdCirculationMapperKt.access$plannedTime(commercialRouteInfo, this.formatter);
|
||||
Date access$getPlannedDepartureDate = AvldmdCirculationMapperKt.access$getPlannedDepartureDate(commercialRouteInfo);
|
||||
String access$delayedTime = AvldmdCirculationMapperKt.access$delayedTime(commercialRouteInfo, this.formatter);
|
||||
String stationCode = commercialRouteInfo.getStationCode();
|
||||
String stationCode2 = commercialRouteInfo.getStationCode();
|
||||
AvldmdCirculation.Train train = new AvldmdCirculation.Train(commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialRouteInfo.getCommercialPathInfo().getComercialPathKey().getCommercialNumber(), commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct());
|
||||
AvldmdCirculation.State access$getState = AvldmdCirculationMapperKt.access$getState(commercialRouteInfo);
|
||||
String platform = commercialRouteInfo.getPlatform();
|
||||
boolean hasWarningPlatform = commercialRouteInfo.getHasWarningPlatform();
|
||||
boolean platformMuted = commercialRouteInfo.getPlatformMuted();
|
||||
String observation = commercialRouteInfo.getObservation();
|
||||
boolean accessible = commercialRouteInfo.getCommercialPathInfo().getAccessible();
|
||||
boolean immediateDeparture = commercialRouteInfo.getImmediateDeparture();
|
||||
boolean isShortTrain = commercialRouteInfo.getCommercialPathInfo().isShortTrain();
|
||||
String commercialNumber = commercialRouteInfo.getCommercialPathInfo().getComercialPathKey().getCommercialNumber();
|
||||
String originStationCode = commercialRouteInfo.getCommercialPathInfo().getComercialPathKey().getOriginStationCode();
|
||||
String destinationStationCode = commercialRouteInfo.getCommercialPathInfo().getComercialPathKey().getDestinationStationCode();
|
||||
long launchingDate = commercialRouteInfo.getCommercialPathInfo().getComercialPathKey().getLaunchingDate();
|
||||
String commercialProduct = commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct();
|
||||
TrainCirculationInfo trainCirculationInfo = new TrainCirculationInfo(originStationCode, destinationStationCode, Long.valueOf(launchingDate), commercialNumber, commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialRouteInfo.getCommercialPathInfo().getObservation(), commercialProduct);
|
||||
StringCompanionObject stringCompanionObject = StringCompanionObject.INSTANCE;
|
||||
return new AvldmdCirculation(access$getPlannedDepartureDate, access$plannedTime, access$delayedTime, stationCode, stationCode2, null, null, train, access$getState, platform, hasWarningPlatform, platformMuted, observation, accessible, immediateDeparture, isShortTrain, trainCirculationInfo, w.s(new Object[]{commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct()}, 2, BuildConfig.operatorLogoUrl, "format(...)"), false, commercialRouteInfo.getOperatorPlatform(), commercialRouteInfo.getPlannedPlatform(), commercialRouteInfo.getSitraPlatform(), commercialRouteInfo.getCtcPlatform(), commercialRouteInfo.getTechnicalNumber(), commercialRouteInfo.getResultantPlatform(), commercialRouteInfo.getPreassignedPlatform(), 262144, null);
|
||||
}
|
||||
|
||||
private final List<AvldmdCirculation> makeJourneyCirculations(List<CommercialRouteInfo> list) {
|
||||
int collectionSizeOrDefault;
|
||||
if (list.isEmpty()) {
|
||||
return CollectionsKt.emptyList();
|
||||
}
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (Object obj : list) {
|
||||
CommercialRouteInfo commercialRouteInfo = (CommercialRouteInfo) obj;
|
||||
boolean isAudited = commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().isAudited();
|
||||
if (commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().getAnnounceable() && !isAudited && commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().isCommercial()) {
|
||||
arrayList.add(obj);
|
||||
}
|
||||
}
|
||||
List sortedWith = CollectionsKt.sortedWith(arrayList, new Comparator() { // from class: com.adif.elcanomovil.domain.entities.circulation.mappers.AvldmdCirculationMapper$makeJourneyCirculations$$inlined$sortedBy$1
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.Comparator
|
||||
public final int compare(T t2, T t4) {
|
||||
Date plannedDepartureDate;
|
||||
Date plannedDepartureDate2;
|
||||
plannedDepartureDate = AvldmdCirculationMapperKt.getPlannedDepartureDate((CommercialRouteInfo) t2);
|
||||
plannedDepartureDate2 = AvldmdCirculationMapperKt.getPlannedDepartureDate((CommercialRouteInfo) t4);
|
||||
return ComparisonsKt.compareValues(plannedDepartureDate, plannedDepartureDate2);
|
||||
}
|
||||
});
|
||||
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(sortedWith, 10);
|
||||
ArrayList arrayList2 = new ArrayList(collectionSizeOrDefault);
|
||||
Iterator it = sortedWith.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList2.add(getMapToCirculation((CommercialRouteInfo) it.next()));
|
||||
}
|
||||
return arrayList2;
|
||||
}
|
||||
|
||||
private final List<AvldmdCirculation> makeOneWayCirculations(List<CommercialPathStepSideInfo> list, final boolean isDeparture) {
|
||||
int collectionSizeOrDefault;
|
||||
if (list.isEmpty()) {
|
||||
return CollectionsKt.emptyList();
|
||||
}
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (Object obj : list) {
|
||||
CommercialPathStepSideInfo commercialPathStepSideInfo = (CommercialPathStepSideInfo) obj;
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(isDeparture);
|
||||
boolean z3 = false;
|
||||
if (passthroughStepSide != null && passthroughStepSide.isAudited()) {
|
||||
z3 = true;
|
||||
}
|
||||
PassthroughStepSides passthroughStepSide2 = commercialPathStepSideInfo.passthroughStepSide(isDeparture);
|
||||
if (passthroughStepSide2 != null && passthroughStepSide2.isAnnounceable() && commercialPathStepSideInfo.getPassthroughStep().isCommercial() && (!isDeparture || (isDeparture && !z3))) {
|
||||
arrayList.add(obj);
|
||||
}
|
||||
}
|
||||
List sortedWith = CollectionsKt.sortedWith(arrayList, new Comparator() { // from class: com.adif.elcanomovil.domain.entities.circulation.mappers.AvldmdCirculationMapper$makeOneWayCirculations$$inlined$sortedBy$1
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.Comparator
|
||||
public final int compare(T t2, T t4) {
|
||||
Date date;
|
||||
Date date2;
|
||||
date = AvldmdCirculationMapperKt.date((CommercialPathStepSideInfo) t2, isDeparture);
|
||||
date2 = AvldmdCirculationMapperKt.date((CommercialPathStepSideInfo) t4, isDeparture);
|
||||
return ComparisonsKt.compareValues(date, date2);
|
||||
}
|
||||
});
|
||||
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(sortedWith, 10);
|
||||
ArrayList arrayList2 = new ArrayList(collectionSizeOrDefault);
|
||||
Iterator it = sortedWith.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList2.add(mapToCirculation((CommercialPathStepSideInfo) it.next(), isDeparture));
|
||||
}
|
||||
return arrayList2;
|
||||
}
|
||||
|
||||
private final AvldmdCirculation mapToCirculation(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3) {
|
||||
String access$plannedTime = AvldmdCirculationMapperKt.access$plannedTime(commercialPathStepSideInfo, z3, this.formatter);
|
||||
Date access$date = AvldmdCirculationMapperKt.access$date(commercialPathStepSideInfo, z3);
|
||||
String access$delayedTime = AvldmdCirculationMapperKt.access$delayedTime(commercialPathStepSideInfo, z3, this.formatter);
|
||||
String stationCode = commercialPathStepSideInfo.getPassthroughStep().getStationCode();
|
||||
String stationCode2 = commercialPathStepSideInfo.stationCode(z3);
|
||||
AvldmdCirculation.Train train = new AvldmdCirculation.Train(commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialPathStepSideInfo.getCommercialPathInfo().getComercialPathKey().getCommercialNumber(), commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct());
|
||||
AvldmdCirculation.State access$state = AvldmdCirculationMapperKt.access$state(commercialPathStepSideInfo, z3);
|
||||
String platform = commercialPathStepSideInfo.platform(z3);
|
||||
boolean hasWarningPlatform = commercialPathStepSideInfo.hasWarningPlatform(z3);
|
||||
boolean platformMuted = commercialPathStepSideInfo.platformMuted(z3);
|
||||
String observation = commercialPathStepSideInfo.observation(z3);
|
||||
boolean accessible = commercialPathStepSideInfo.getCommercialPathInfo().getAccessible();
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(z3);
|
||||
boolean immediateDeparture = passthroughStepSide != null ? passthroughStepSide.getImmediateDeparture() : false;
|
||||
boolean isShortTrain = commercialPathStepSideInfo.getCommercialPathInfo().isShortTrain();
|
||||
String commercialNumber = commercialPathStepSideInfo.getCommercialPathInfo().getComercialPathKey().getCommercialNumber();
|
||||
String originStationCode = commercialPathStepSideInfo.getCommercialPathInfo().getComercialPathKey().getOriginStationCode();
|
||||
String destinationStationCode = commercialPathStepSideInfo.getCommercialPathInfo().getComercialPathKey().getDestinationStationCode();
|
||||
long launchingDate = commercialPathStepSideInfo.getCommercialPathInfo().getComercialPathKey().getLaunchingDate();
|
||||
TrainCirculationInfo trainCirculationInfo = new TrainCirculationInfo(originStationCode, destinationStationCode, Long.valueOf(launchingDate), commercialNumber, commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialPathStepSideInfo.getCommercialPathInfo().getObservation(), commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct());
|
||||
StringCompanionObject stringCompanionObject = StringCompanionObject.INSTANCE;
|
||||
return new AvldmdCirculation(access$date, access$plannedTime, access$delayedTime, stationCode, stationCode2, null, null, train, access$state, platform, hasWarningPlatform, platformMuted, observation, accessible, immediateDeparture, isShortTrain, trainCirculationInfo, w.s(new Object[]{commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct()}, 2, BuildConfig.operatorLogoUrl, "format(...)"), false, commercialPathStepSideInfo.operatorPlatform(z3), commercialPathStepSideInfo.plannedPlatform(z3), commercialPathStepSideInfo.sitraPlatform(z3), commercialPathStepSideInfo.ctcPlatform(z3), commercialPathStepSideInfo.technicalNumber(z3), commercialPathStepSideInfo.resultantPlatform(z3), commercialPathStepSideInfo.preassignedPlatform(z3), 262144, null);
|
||||
}
|
||||
|
||||
public final List<AvldmdCirculation> map(List<? extends CommercialCirculation> from, boolean isDeparture) {
|
||||
Intrinsics.checkNotNullParameter(from, "from");
|
||||
List<? extends CommercialCirculation> list = from;
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (Object obj : list) {
|
||||
if (obj instanceof CommercialPathStepSideInfo) {
|
||||
arrayList.add(obj);
|
||||
}
|
||||
}
|
||||
if (!arrayList.isEmpty()) {
|
||||
return makeOneWayCirculations(arrayList, isDeparture);
|
||||
}
|
||||
ArrayList arrayList2 = new ArrayList();
|
||||
for (Object obj2 : list) {
|
||||
if (obj2 instanceof CommercialRouteInfo) {
|
||||
arrayList2.add(obj2);
|
||||
}
|
||||
}
|
||||
return !arrayList2.isEmpty() ? makeJourneyCirculations(arrayList2) : CollectionsKt.emptyList();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation.mappers;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.circulation.AvldmdCirculation;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialPathStepSideInfo;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialRouteInfo;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.PassthroughStepSides;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.RouteStepSide;
|
||||
import com.adif.elcanomovil.domain.extensions.LongKt;
|
||||
import com.google.firebase.remoteconfig.RemoteConfigConstants;
|
||||
import java.text.DateFormat;
|
||||
import java.util.Date;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u0014\u0010\u000f\u001a\u00020\u0001*\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0012H\u0002\u001a\u001c\u0010\u0013\u001a\u00020\u0014*\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u00122\u0006\u0010\u0015\u001a\u00020\u0016H\u0002\u001a\u0016\u0010\u0013\u001a\u0004\u0018\u00010\u0014*\u00020\u00022\u0006\u0010\u0015\u001a\u00020\u0016H\u0002\u001a\u001c\u0010\u0017\u001a\u00020\u0014*\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u00122\u0006\u0010\u0015\u001a\u00020\u0016H\u0002\u001a\u0014\u0010\u0017\u001a\u00020\u0014*\u00020\u00022\u0006\u0010\u0015\u001a\u00020\u0016H\u0002\u001a\u0016\u0010\u000b\u001a\u0004\u0018\u00010\f*\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0012H\u0002\"\u0018\u0010\u0000\u001a\u00020\u0001*\u00020\u00028BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0003\u0010\u0004\"\u0018\u0010\u0005\u001a\u00020\u0001*\u00020\u00028BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0006\u0010\u0004\"\u0018\u0010\u0007\u001a\u00020\u0001*\u00020\u00028BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\u0004\"\u0018\u0010\t\u001a\u00020\u0001*\u00020\u00028BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\n\u0010\u0004\"\u001a\u0010\u000b\u001a\u0004\u0018\u00010\f*\u00020\u00028BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\r\u0010\u000e¨\u0006\u0018"}, d2 = {"measuredArrivalDate", "Ljava/util/Date;", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;", "getMeasuredArrivalDate", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;)Ljava/util/Date;", "measuredDepartureDate", "getMeasuredDepartureDate", "plannedArrivalDate", "getPlannedArrivalDate", "plannedDepartureDate", "getPlannedDepartureDate", RemoteConfigConstants.ResponseFieldKey.STATE, "Lcom/adif/elcanomovil/domain/entities/circulation/AvldmdCirculation$State;", "getState", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;)Lcom/adif/elcanomovil/domain/entities/circulation/AvldmdCirculation$State;", "date", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathStepSideInfo;", "isDeparture", "", "delayedTime", "", "formatter", "Ljava/text/DateFormat;", "plannedTime", "domain_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class AvldmdCirculationMapperKt {
|
||||
public static final Date date(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3) {
|
||||
Date delayedDate;
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(z3);
|
||||
return (passthroughStepSide == null || (delayedDate = LongKt.getDelayedDate(passthroughStepSide.getPlannedTime(), 0)) == null) ? new Date() : delayedDate;
|
||||
}
|
||||
|
||||
public static final String delayedTime(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3, DateFormat dateFormat) {
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(z3);
|
||||
if (passthroughStepSide == null) {
|
||||
return "";
|
||||
}
|
||||
int forecatedOrAuditedDelay = passthroughStepSide.getForecatedOrAuditedDelay();
|
||||
if (!passthroughStepSide.getShowDelay() || forecatedOrAuditedDelay <= 0) {
|
||||
return "";
|
||||
}
|
||||
String format = dateFormat.format(LongKt.getDelayedDate(passthroughStepSide.getPlannedTime(), forecatedOrAuditedDelay));
|
||||
Intrinsics.checkNotNull(format);
|
||||
return format;
|
||||
}
|
||||
|
||||
private static final Date getMeasuredArrivalDate(CommercialRouteInfo commercialRouteInfo) {
|
||||
return LongKt.getDelayedDate(commercialRouteInfo.getPassthroughStep().getArrivalPassthroughStepSides().getPlannedTime(), commercialRouteInfo.getPassthroughStep().getArrivalPassthroughStepSides().getForecatedOrAuditedDelay());
|
||||
}
|
||||
|
||||
private static final Date getMeasuredDepartureDate(CommercialRouteInfo commercialRouteInfo) {
|
||||
return LongKt.getDelayedDate(commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().getPlannedTime(), commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().getForecatedOrAuditedDelay());
|
||||
}
|
||||
|
||||
private static final Date getPlannedArrivalDate(CommercialRouteInfo commercialRouteInfo) {
|
||||
return LongKt.getDelayedDate(commercialRouteInfo.getPassthroughStep().getArrivalPassthroughStepSides().getPlannedTime(), 0);
|
||||
}
|
||||
|
||||
public static final Date getPlannedDepartureDate(CommercialRouteInfo commercialRouteInfo) {
|
||||
return LongKt.getDelayedDate(commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().getPlannedTime(), 0);
|
||||
}
|
||||
|
||||
public static final AvldmdCirculation.State getState(CommercialRouteInfo commercialRouteInfo) {
|
||||
RouteStepSide departurePassthroughStepSides = commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides();
|
||||
if (departurePassthroughStepSides.isSuppressed()) {
|
||||
return AvldmdCirculation.State.SUPPRESSED;
|
||||
}
|
||||
if (departurePassthroughStepSides.getImmediateDeparture()) {
|
||||
return AvldmdCirculation.State.BOARDING;
|
||||
}
|
||||
if (departurePassthroughStepSides.getForecatedOrAuditedDelay() > 0) {
|
||||
return AvldmdCirculation.State.DELAYED;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static final String plannedTime(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3, DateFormat dateFormat) {
|
||||
String format = dateFormat.format(date(commercialPathStepSideInfo, z3));
|
||||
Intrinsics.checkNotNullExpressionValue(format, "format(...)");
|
||||
return format;
|
||||
}
|
||||
|
||||
public static final AvldmdCirculation.State state(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3) {
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(z3);
|
||||
if (passthroughStepSide == null) {
|
||||
return null;
|
||||
}
|
||||
if (passthroughStepSide.isSuppressed()) {
|
||||
return AvldmdCirculation.State.SUPPRESSED;
|
||||
}
|
||||
if (passthroughStepSide.getImmediateDeparture() && passthroughStepSide.isAudited()) {
|
||||
return AvldmdCirculation.State.BOARDING;
|
||||
}
|
||||
if (passthroughStepSide.getForecatedOrAuditedDelay() > 0) {
|
||||
return AvldmdCirculation.State.DELAYED;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static final String plannedTime(CommercialRouteInfo commercialRouteInfo, DateFormat dateFormat) {
|
||||
return dateFormat.format(getPlannedDepartureDate(commercialRouteInfo)) + '-' + dateFormat.format(getPlannedArrivalDate(commercialRouteInfo));
|
||||
}
|
||||
|
||||
public static final String delayedTime(CommercialRouteInfo commercialRouteInfo, DateFormat dateFormat) {
|
||||
if (!commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().getShowDelay()) {
|
||||
return null;
|
||||
}
|
||||
String plannedTime = plannedTime(commercialRouteInfo, dateFormat);
|
||||
String str = dateFormat.format(getMeasuredDepartureDate(commercialRouteInfo)) + '-' + dateFormat.format(getMeasuredArrivalDate(commercialRouteInfo));
|
||||
if (Intrinsics.areEqual(str, plannedTime)) {
|
||||
return null;
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation.mappers;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CercaniasCirculation;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialCirculation;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialPathStepSideInfo;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialRouteInfo;
|
||||
import com.adif.elcanomovil.domain.repositories.linecolours.LineColoursRepository;
|
||||
import com.google.firebase.messaging.Constants;
|
||||
import java.text.DateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.coroutines.Continuation;
|
||||
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\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\"\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b2\f\u0010\n\u001a\b\u0012\u0004\u0012\u00020\u000b0\bH\u0082@¢\u0006\u0002\u0010\fJ*\u0010\r\u001a\b\u0012\u0004\u0012\u00020\t0\b2\f\u0010\n\u001a\b\u0012\u0004\u0012\u00020\u000e0\b2\u0006\u0010\u000f\u001a\u00020\u0010H\u0082@¢\u0006\u0002\u0010\u0011J*\u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\t0\b2\f\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00140\b2\u0006\u0010\u000f\u001a\u00020\u0010H\u0086@¢\u0006\u0002\u0010\u0011J\u001a\u0010\u0015\u001a\u00020\t*\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\u0010H\u0082@¢\u0006\u0002\u0010\u0016J\u0012\u0010\u0015\u001a\u00020\t*\u00020\u000bH\u0082@¢\u0006\u0002\u0010\u0017R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0018"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/mappers/CercaniasCirculationMapper;", "", "formatter", "Ljava/text/DateFormat;", "lineColoursRepository", "Lcom/adif/elcanomovil/domain/repositories/linecolours/LineColoursRepository;", "(Ljava/text/DateFormat;Lcom/adif/elcanomovil/domain/repositories/linecolours/LineColoursRepository;)V", "makeJourneyCirculations", "", "Lcom/adif/elcanomovil/domain/entities/circulation/CercaniasCirculation;", "list", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;", "(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "makeOneWayCirculations", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathStepSideInfo;", "isDeparture", "", "(Ljava/util/List;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object;", "map", Constants.MessagePayloadKeys.FROM, "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialCirculation;", "mapToCirculation", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathStepSideInfo;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object;", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nCercaniasCirculationMapper.kt\nKotlin\n*S Kotlin\n*F\n+ 1 CercaniasCirculationMapper.kt\ncom/adif/elcanomovil/domain/entities/circulation/mappers/CercaniasCirculationMapper\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,234:1\n800#2,11:235\n800#2,11:246\n766#2:257\n857#2,2:258\n1045#2:260\n1549#2:261\n1620#2,3:262\n766#2:265\n857#2,2:266\n1549#2:268\n1620#2,3:269\n*S KotlinDebug\n*F\n+ 1 CercaniasCirculationMapper.kt\ncom/adif/elcanomovil/domain/entities/circulation/mappers/CercaniasCirculationMapper\n*L\n25#1:235,11\n31#1:246,11\n45#1:257\n45#1:258,2\n61#1:260\n62#1:261\n62#1:262,3\n71#1:265\n71#1:266,2\n82#1:268\n82#1:269,3\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class CercaniasCirculationMapper {
|
||||
private final DateFormat formatter;
|
||||
private final LineColoursRepository lineColoursRepository;
|
||||
|
||||
public CercaniasCirculationMapper(DateFormat formatter, LineColoursRepository lineColoursRepository) {
|
||||
Intrinsics.checkNotNullParameter(formatter, "formatter");
|
||||
Intrinsics.checkNotNullParameter(lineColoursRepository, "lineColoursRepository");
|
||||
this.formatter = formatter;
|
||||
this.lineColoursRepository = lineColoursRepository;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
/* JADX WARN: Removed duplicated region for block: B:13:0x00b8 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:18:0x00df */
|
||||
/* JADX WARN: Removed duplicated region for block: B:22:0x0042 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:8:0x0023 */
|
||||
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:17:0x00d2 -> B:10:0x00d6). Please report as a decompilation issue!!! */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final java.lang.Object makeJourneyCirculations(java.util.List<com.adif.elcanomovil.domain.entities.circulation.CommercialRouteInfo> r10, kotlin.coroutines.Continuation<? super java.util.List<com.adif.elcanomovil.domain.entities.circulation.CercaniasCirculation>> r11) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 231
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.domain.entities.circulation.mappers.CercaniasCirculationMapper.makeJourneyCirculations(java.util.List, kotlin.coroutines.Continuation):java.lang.Object");
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
/* JADX WARN: Removed duplicated region for block: B:13:0x00d5 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:18:0x00fe */
|
||||
/* JADX WARN: Removed duplicated region for block: B:22:0x0044 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:8:0x0023 */
|
||||
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:17:0x00f1 -> B:10:0x00f5). Please report as a decompilation issue!!! */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final java.lang.Object makeOneWayCirculations(java.util.List<com.adif.elcanomovil.domain.entities.circulation.CommercialPathStepSideInfo> r11, final boolean r12, kotlin.coroutines.Continuation<? super java.util.List<com.adif.elcanomovil.domain.entities.circulation.CercaniasCirculation>> r13) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 262
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.domain.entities.circulation.mappers.CercaniasCirculationMapper.makeOneWayCirculations(java.util.List, boolean, kotlin.coroutines.Continuation):java.lang.Object");
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
/* JADX WARN: Removed duplicated region for block: B:13:0x00ca */
|
||||
/* JADX WARN: Removed duplicated region for block: B:17:0x00e1 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:22:0x00e8 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:23:0x00d1 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:26:0x004d */
|
||||
/* JADX WARN: Removed duplicated region for block: B:8:0x002b */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final java.lang.Object mapToCirculation(com.adif.elcanomovil.domain.entities.circulation.CommercialPathStepSideInfo r38, boolean r39, kotlin.coroutines.Continuation<? super com.adif.elcanomovil.domain.entities.circulation.CercaniasCirculation> r40) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 378
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.domain.entities.circulation.mappers.CercaniasCirculationMapper.mapToCirculation(com.adif.elcanomovil.domain.entities.circulation.CommercialPathStepSideInfo, boolean, kotlin.coroutines.Continuation):java.lang.Object");
|
||||
}
|
||||
|
||||
public final Object map(List<? extends CommercialCirculation> list, boolean z3, Continuation<? super List<CercaniasCirculation>> continuation) {
|
||||
List<? extends CommercialCirculation> list2 = list;
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (Object obj : list2) {
|
||||
if (obj instanceof CommercialPathStepSideInfo) {
|
||||
arrayList.add(obj);
|
||||
}
|
||||
}
|
||||
if (!arrayList.isEmpty()) {
|
||||
return makeOneWayCirculations(arrayList, z3, continuation);
|
||||
}
|
||||
ArrayList arrayList2 = new ArrayList();
|
||||
for (Object obj2 : list2) {
|
||||
if (obj2 instanceof CommercialRouteInfo) {
|
||||
arrayList2.add(obj2);
|
||||
}
|
||||
}
|
||||
return !arrayList2.isEmpty() ? makeJourneyCirculations(arrayList2, continuation) : CollectionsKt.emptyList();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
/* JADX WARN: Removed duplicated region for block: B:15:0x004e */
|
||||
/* JADX WARN: Removed duplicated region for block: B:8:0x0029 */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final java.lang.Object mapToCirculation(com.adif.elcanomovil.domain.entities.circulation.CommercialRouteInfo r30, kotlin.coroutines.Continuation<? super com.adif.elcanomovil.domain.entities.circulation.CercaniasCirculation> r31) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 343
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.domain.entities.circulation.mappers.CercaniasCirculationMapper.mapToCirculation(com.adif.elcanomovil.domain.entities.circulation.CommercialRouteInfo, kotlin.coroutines.Continuation):java.lang.Object");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation.mappers;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialPathStepSideInfo;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialRouteInfo;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.PassthroughStepSides;
|
||||
import com.adif.elcanomovil.domain.extensions.LongKt;
|
||||
import java.text.DateFormat;
|
||||
import java.util.Date;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u001c\u0010\t\u001a\u0004\u0018\u00010\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\n2\u0006\u0010\f\u001a\u00020\nH\u0002\u001a\u001c\u0010\r\u001a\u00020\n*\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0012H\u0002\u001a\u0014\u0010\r\u001a\u00020\n*\u00020\u00042\u0006\u0010\u0011\u001a\u00020\u0012H\u0002\u001a\u0014\u0010\u0013\u001a\u00020\u0003*\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\u0010H\u0002\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u0018\u0010\u0002\u001a\u00020\u0003*\u00020\u00048BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006\"\u0018\u0010\u0007\u001a\u00020\u0003*\u00020\u00048BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\u0006¨\u0006\u0014"}, d2 = {"MILLISECONDS", "", "estimatedArrivalDate", "Ljava/util/Date;", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;", "getEstimatedArrivalDate", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;)Ljava/util/Date;", "estimatedDepartureDate", "getEstimatedDepartureDate", "getLineIconUrlFromCore", "", "core", "line", "displayableTime", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathStepSideInfo;", "isDeparture", "", "formatter", "Ljava/text/DateFormat;", "plannedDate", "domain_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class CercaniasCirculationMapperKt {
|
||||
public static final int MILLISECONDS = 60000;
|
||||
|
||||
public static final /* synthetic */ String access$displayableTime(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3, DateFormat dateFormat) {
|
||||
return displayableTime(commercialPathStepSideInfo, z3, dateFormat);
|
||||
}
|
||||
|
||||
public static final /* synthetic */ Date access$getEstimatedDepartureDate(CommercialRouteInfo commercialRouteInfo) {
|
||||
return getEstimatedDepartureDate(commercialRouteInfo);
|
||||
}
|
||||
|
||||
public static final /* synthetic */ String access$getLineIconUrlFromCore(String str, String str2) {
|
||||
return getLineIconUrlFromCore(str, str2);
|
||||
}
|
||||
|
||||
public static final /* synthetic */ Date access$plannedDate(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3) {
|
||||
return plannedDate(commercialPathStepSideInfo, z3);
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final String displayableTime(CommercialRouteInfo commercialRouteInfo, DateFormat dateFormat) {
|
||||
if (commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().getImmediateDeparture()) {
|
||||
return "";
|
||||
}
|
||||
return dateFormat.format(getEstimatedDepartureDate(commercialRouteInfo)) + '-' + dateFormat.format(getEstimatedArrivalDate(commercialRouteInfo));
|
||||
}
|
||||
|
||||
private static final Date getEstimatedArrivalDate(CommercialRouteInfo commercialRouteInfo) {
|
||||
return LongKt.getDelayedDate(commercialRouteInfo.getPassthroughStep().getArrivalPassthroughStepSides().getPlannedTime(), commercialRouteInfo.getPassthroughStep().getArrivalPassthroughStepSides().getForecatedOrAuditedDelay());
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Date getEstimatedDepartureDate(CommercialRouteInfo commercialRouteInfo) {
|
||||
return LongKt.getDelayedDate(commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().getPlannedTime(), commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().getForecatedOrAuditedDelay());
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final String getLineIconUrlFromCore(String str, String str2) {
|
||||
if (str == null || str.length() == 0) {
|
||||
return null;
|
||||
}
|
||||
return "https://firebasestorage.googleapis.com/v0/b/elcanopro.appspot.com/o/lines%2F" + str + '_' + str2 + ".png?alt=media";
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Date plannedDate(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3) {
|
||||
Date delayedDate;
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(z3);
|
||||
return (passthroughStepSide == null || (delayedDate = LongKt.getDelayedDate(passthroughStepSide.getPlannedTime(), passthroughStepSide.getForecatedOrAuditedDelay())) == null) ? new Date() : delayedDate;
|
||||
}
|
||||
|
||||
public static final /* synthetic */ String access$displayableTime(CommercialRouteInfo commercialRouteInfo, DateFormat dateFormat) {
|
||||
return displayableTime(commercialRouteInfo, dateFormat);
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final String displayableTime(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3, DateFormat dateFormat) {
|
||||
String format;
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(z3);
|
||||
Date plannedDate = plannedDate(commercialPathStepSideInfo, z3);
|
||||
long time = plannedDate.getTime() - commercialPathStepSideInfo.getCommercialPathInfo().getTimestamp().getTime();
|
||||
long j4 = time < 0 ? 0L : time / MILLISECONDS;
|
||||
if ((passthroughStepSide != null && passthroughStepSide.getImmediateDeparture()) || j4 == 0) {
|
||||
return "";
|
||||
}
|
||||
if (passthroughStepSide != null && passthroughStepSide.getCountDown()) {
|
||||
format = j4 + " min";
|
||||
} else {
|
||||
format = dateFormat.format(plannedDate);
|
||||
}
|
||||
Intrinsics.checkNotNull(format);
|
||||
return format;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,275 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation.mappers;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.domain.BuildConfig;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialCirculation;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialPathStepSideInfo;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialRouteInfo;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.OtherCirculation;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.PassthroughStepSides;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.RouteStepSide;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.TrainCirculationInfo;
|
||||
import com.adif.elcanomovil.domain.extensions.LongKt;
|
||||
import com.google.firebase.messaging.Constants;
|
||||
import com.google.firebase.remoteconfig.RemoteConfigConstants;
|
||||
import java.text.DateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
import java.util.Date;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.collections.CollectionsKt__IterablesKt;
|
||||
import kotlin.comparisons.ComparisonsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.jvm.internal.StringCompanionObject;
|
||||
|
||||
@Metadata(d1 = {"\u0000T\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\u001c\u0010\u0018\u001a\b\u0012\u0004\u0012\u00020\u00060\u00192\f\u0010\u001a\u001a\b\u0012\u0004\u0012\u00020\u00070\u0019H\u0002J$\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u00060\u00192\f\u0010\u001a\u001a\b\u0012\u0004\u0012\u00020\u001c0\u00192\u0006\u0010\u001d\u001a\u00020\u001eH\u0002J\"\u0010\u001f\u001a\b\u0012\u0004\u0012\u00020\u00060\u00192\f\u0010 \u001a\b\u0012\u0004\u0012\u00020!0\u00192\u0006\u0010\u001d\u001a\u00020\u001eJ\u0014\u0010\"\u001a\u00020\u000b*\u00020\u001c2\u0006\u0010\u001d\u001a\u00020\u001eH\u0002J\u001c\u0010#\u001a\u00020$*\u00020\u001c2\u0006\u0010\u001d\u001a\u00020\u001e2\u0006\u0010\u0002\u001a\u00020\u0003H\u0002J\u0016\u0010#\u001a\u0004\u0018\u00010$*\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u0003H\u0002J\u0014\u0010\u0005\u001a\u00020\u0006*\u00020\u001c2\u0006\u0010\u001d\u001a\u00020\u001eH\u0002J\u001c\u0010%\u001a\u00020$*\u00020\u001c2\u0006\u0010\u001d\u001a\u00020\u001e2\u0006\u0010\u0002\u001a\u00020\u0003H\u0002J\u0014\u0010%\u001a\u00020$*\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u0003H\u0002J\u0016\u0010\u0014\u001a\u0004\u0018\u00010\u0015*\u00020\u001c2\u0006\u0010\u001d\u001a\u00020\u001eH\u0002R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u0018\u0010\u0005\u001a\u00020\u0006*\u00020\u00078BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\tR\u0018\u0010\n\u001a\u00020\u000b*\u00020\u00078BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\f\u0010\rR\u0018\u0010\u000e\u001a\u00020\u000b*\u00020\u00078BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u000f\u0010\rR\u0018\u0010\u0010\u001a\u00020\u000b*\u00020\u00078BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0011\u0010\rR\u0018\u0010\u0012\u001a\u00020\u000b*\u00020\u00078BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0013\u0010\rR\u001a\u0010\u0014\u001a\u0004\u0018\u00010\u0015*\u00020\u00078BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0016\u0010\u0017¨\u0006&"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/circulation/mappers/OthersCirculationMapper;", "", "formatter", "Ljava/text/DateFormat;", "(Ljava/text/DateFormat;)V", "mapToCirculation", "Lcom/adif/elcanomovil/domain/entities/circulation/OtherCirculation;", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;", "getMapToCirculation", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;)Lcom/adif/elcanomovil/domain/entities/circulation/OtherCirculation;", "measuredArrivalDate", "Ljava/util/Date;", "getMeasuredArrivalDate", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;)Ljava/util/Date;", "measuredDepartureDate", "getMeasuredDepartureDate", "plannedArrivalDate", "getPlannedArrivalDate", "plannedDepartureDate", "getPlannedDepartureDate", RemoteConfigConstants.ResponseFieldKey.STATE, "Lcom/adif/elcanomovil/domain/entities/circulation/OtherCirculation$State;", "getState", "(Lcom/adif/elcanomovil/domain/entities/circulation/CommercialRouteInfo;)Lcom/adif/elcanomovil/domain/entities/circulation/OtherCirculation$State;", "makeJourneyCirculations", "", "list", "makeOneWayCirculations", "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialPathStepSideInfo;", "isDeparture", "", "map", Constants.MessagePayloadKeys.FROM, "Lcom/adif/elcanomovil/domain/entities/circulation/CommercialCirculation;", "date", "delayedTime", "", "plannedTime", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nOthersCirculationMapper.kt\nKotlin\n*S Kotlin\n*F\n+ 1 OthersCirculationMapper.kt\ncom/adif/elcanomovil/domain/entities/circulation/mappers/OthersCirculationMapper\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,236:1\n800#2,11:237\n800#2,11:248\n766#2:259\n857#2,2:260\n1045#2:262\n1549#2:263\n1620#2,3:264\n766#2:267\n857#2,2:268\n1045#2:270\n1549#2:271\n1620#2,3:272\n*S KotlinDebug\n*F\n+ 1 OthersCirculationMapper.kt\ncom/adif/elcanomovil/domain/entities/circulation/mappers/OthersCirculationMapper\n*L\n20#1:237,11\n26#1:248,11\n40#1:259\n40#1:260,2\n46#1:262\n47#1:263\n47#1:264,3\n57#1:267\n57#1:268,2\n61#1:270\n62#1:271\n62#1:272,3\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class OthersCirculationMapper {
|
||||
private final DateFormat formatter;
|
||||
|
||||
public OthersCirculationMapper(DateFormat formatter) {
|
||||
Intrinsics.checkNotNullParameter(formatter, "formatter");
|
||||
this.formatter = formatter;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public final Date date(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3) {
|
||||
Date delayedDate;
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(z3);
|
||||
return (passthroughStepSide == null || (delayedDate = LongKt.getDelayedDate(passthroughStepSide.getPlannedTime(), 0)) == null) ? new Date() : delayedDate;
|
||||
}
|
||||
|
||||
private final String delayedTime(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3, DateFormat dateFormat) {
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(z3);
|
||||
if (passthroughStepSide == null) {
|
||||
return "";
|
||||
}
|
||||
int forecatedOrAuditedDelay = passthroughStepSide.getForecatedOrAuditedDelay();
|
||||
if (!passthroughStepSide.getShowDelay() || forecatedOrAuditedDelay <= 0) {
|
||||
return "";
|
||||
}
|
||||
String format = dateFormat.format(LongKt.getDelayedDate(passthroughStepSide.getPlannedTime(), forecatedOrAuditedDelay));
|
||||
Intrinsics.checkNotNull(format);
|
||||
return format;
|
||||
}
|
||||
|
||||
private final OtherCirculation getMapToCirculation(CommercialRouteInfo commercialRouteInfo) {
|
||||
String plannedTime = plannedTime(commercialRouteInfo, this.formatter);
|
||||
Date plannedDepartureDate = getPlannedDepartureDate(commercialRouteInfo);
|
||||
String delayedTime = delayedTime(commercialRouteInfo, this.formatter);
|
||||
String stationCode = commercialRouteInfo.getStationCode();
|
||||
String stationCode2 = commercialRouteInfo.getStationCode();
|
||||
OtherCirculation.Train train = new OtherCirculation.Train(commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialRouteInfo.getCommercialPathInfo().getComercialPathKey().getCommercialNumber(), commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct());
|
||||
OtherCirculation.State state = getState(commercialRouteInfo);
|
||||
String platform = commercialRouteInfo.getPlatform();
|
||||
boolean hasWarningPlatform = commercialRouteInfo.getHasWarningPlatform();
|
||||
boolean platformMuted = commercialRouteInfo.getPlatformMuted();
|
||||
String observation = commercialRouteInfo.getObservation();
|
||||
boolean accessible = commercialRouteInfo.getCommercialPathInfo().getAccessible();
|
||||
boolean immediateDeparture = commercialRouteInfo.getImmediateDeparture();
|
||||
boolean isShortTrain = commercialRouteInfo.getCommercialPathInfo().isShortTrain();
|
||||
String commercialNumber = commercialRouteInfo.getCommercialPathInfo().getComercialPathKey().getCommercialNumber();
|
||||
String originStationCode = commercialRouteInfo.getCommercialPathInfo().getComercialPathKey().getOriginStationCode();
|
||||
String destinationStationCode = commercialRouteInfo.getCommercialPathInfo().getComercialPathKey().getDestinationStationCode();
|
||||
long launchingDate = commercialRouteInfo.getCommercialPathInfo().getComercialPathKey().getLaunchingDate();
|
||||
String commercialProduct = commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct();
|
||||
TrainCirculationInfo trainCirculationInfo = new TrainCirculationInfo(originStationCode, destinationStationCode, Long.valueOf(launchingDate), commercialNumber, commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialRouteInfo.getCommercialPathInfo().getObservation(), commercialProduct);
|
||||
StringCompanionObject stringCompanionObject = StringCompanionObject.INSTANCE;
|
||||
return new OtherCirculation(plannedDepartureDate, plannedTime, delayedTime, stationCode, stationCode2, null, null, train, state, platform, hasWarningPlatform, platformMuted, observation, accessible, immediateDeparture, isShortTrain, trainCirculationInfo, w.s(new Object[]{commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialRouteInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct()}, 2, BuildConfig.operatorLogoUrl, "format(...)"), false, commercialRouteInfo.getOperatorPlatform(), commercialRouteInfo.getPlannedPlatform(), commercialRouteInfo.getSitraPlatform(), commercialRouteInfo.getCtcPlatform(), commercialRouteInfo.getTechnicalNumber(), commercialRouteInfo.getResultantPlatform(), commercialRouteInfo.getPreassignedPlatform(), 262144, null);
|
||||
}
|
||||
|
||||
private final Date getMeasuredArrivalDate(CommercialRouteInfo commercialRouteInfo) {
|
||||
return LongKt.getDelayedDate(commercialRouteInfo.getPassthroughStep().getArrivalPassthroughStepSides().getPlannedTime(), commercialRouteInfo.getPassthroughStep().getArrivalPassthroughStepSides().getForecatedOrAuditedDelay());
|
||||
}
|
||||
|
||||
private final Date getMeasuredDepartureDate(CommercialRouteInfo commercialRouteInfo) {
|
||||
return LongKt.getDelayedDate(commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().getPlannedTime(), commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().getForecatedOrAuditedDelay());
|
||||
}
|
||||
|
||||
private final Date getPlannedArrivalDate(CommercialRouteInfo commercialRouteInfo) {
|
||||
return LongKt.getDelayedDate(commercialRouteInfo.getPassthroughStep().getArrivalPassthroughStepSides().getPlannedTime(), 0);
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public final Date getPlannedDepartureDate(CommercialRouteInfo commercialRouteInfo) {
|
||||
return LongKt.getDelayedDate(commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().getPlannedTime(), 0);
|
||||
}
|
||||
|
||||
private final OtherCirculation.State getState(CommercialRouteInfo commercialRouteInfo) {
|
||||
RouteStepSide departurePassthroughStepSides = commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides();
|
||||
if (departurePassthroughStepSides.isSuppressed()) {
|
||||
return OtherCirculation.State.SUPPRESSED;
|
||||
}
|
||||
if (departurePassthroughStepSides.getImmediateDeparture()) {
|
||||
return OtherCirculation.State.BOARDING;
|
||||
}
|
||||
if (departurePassthroughStepSides.getForecatedOrAuditedDelay() > 0) {
|
||||
return OtherCirculation.State.DELAYED;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private final List<OtherCirculation> makeJourneyCirculations(List<CommercialRouteInfo> list) {
|
||||
int collectionSizeOrDefault;
|
||||
if (list.isEmpty()) {
|
||||
return CollectionsKt.emptyList();
|
||||
}
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (Object obj : list) {
|
||||
CommercialRouteInfo commercialRouteInfo = (CommercialRouteInfo) obj;
|
||||
if (!commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().isAudited() && commercialRouteInfo.getPassthroughStep().getDeparturePassthroughStepSides().isCommercial()) {
|
||||
arrayList.add(obj);
|
||||
}
|
||||
}
|
||||
List sortedWith = CollectionsKt.sortedWith(arrayList, new Comparator() { // from class: com.adif.elcanomovil.domain.entities.circulation.mappers.OthersCirculationMapper$makeJourneyCirculations$$inlined$sortedBy$1
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.Comparator
|
||||
public final int compare(T t2, T t4) {
|
||||
Date plannedDepartureDate;
|
||||
Date plannedDepartureDate2;
|
||||
plannedDepartureDate = OthersCirculationMapper.this.getPlannedDepartureDate((CommercialRouteInfo) t2);
|
||||
plannedDepartureDate2 = OthersCirculationMapper.this.getPlannedDepartureDate((CommercialRouteInfo) t4);
|
||||
return ComparisonsKt.compareValues(plannedDepartureDate, plannedDepartureDate2);
|
||||
}
|
||||
});
|
||||
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(sortedWith, 10);
|
||||
ArrayList arrayList2 = new ArrayList(collectionSizeOrDefault);
|
||||
Iterator it = sortedWith.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList2.add(getMapToCirculation((CommercialRouteInfo) it.next()));
|
||||
}
|
||||
return arrayList2;
|
||||
}
|
||||
|
||||
private final List<OtherCirculation> makeOneWayCirculations(List<CommercialPathStepSideInfo> list, final boolean isDeparture) {
|
||||
int collectionSizeOrDefault;
|
||||
if (list.isEmpty()) {
|
||||
return CollectionsKt.emptyList();
|
||||
}
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (Object obj : list) {
|
||||
CommercialPathStepSideInfo commercialPathStepSideInfo = (CommercialPathStepSideInfo) obj;
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(isDeparture);
|
||||
boolean z3 = false;
|
||||
if (passthroughStepSide != null && passthroughStepSide.isAudited()) {
|
||||
z3 = true;
|
||||
}
|
||||
if (commercialPathStepSideInfo.getPassthroughStep().isCommercial() && (!isDeparture || (isDeparture && !z3))) {
|
||||
arrayList.add(obj);
|
||||
}
|
||||
}
|
||||
List sortedWith = CollectionsKt.sortedWith(arrayList, new Comparator() { // from class: com.adif.elcanomovil.domain.entities.circulation.mappers.OthersCirculationMapper$makeOneWayCirculations$$inlined$sortedBy$1
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.Comparator
|
||||
public final int compare(T t2, T t4) {
|
||||
Date date;
|
||||
Date date2;
|
||||
date = OthersCirculationMapper.this.date((CommercialPathStepSideInfo) t2, isDeparture);
|
||||
date2 = OthersCirculationMapper.this.date((CommercialPathStepSideInfo) t4, isDeparture);
|
||||
return ComparisonsKt.compareValues(date, date2);
|
||||
}
|
||||
});
|
||||
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(sortedWith, 10);
|
||||
ArrayList arrayList2 = new ArrayList(collectionSizeOrDefault);
|
||||
Iterator it = sortedWith.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList2.add(mapToCirculation((CommercialPathStepSideInfo) it.next(), isDeparture));
|
||||
}
|
||||
return arrayList2;
|
||||
}
|
||||
|
||||
private final OtherCirculation mapToCirculation(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3) {
|
||||
String plannedTime = plannedTime(commercialPathStepSideInfo, z3, this.formatter);
|
||||
Date date = date(commercialPathStepSideInfo, z3);
|
||||
String delayedTime = delayedTime(commercialPathStepSideInfo, z3, this.formatter);
|
||||
String stationCode = commercialPathStepSideInfo.getPassthroughStep().getStationCode();
|
||||
String stationCode2 = commercialPathStepSideInfo.stationCode(z3);
|
||||
OtherCirculation.Train train = new OtherCirculation.Train(commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialPathStepSideInfo.getCommercialPathInfo().getComercialPathKey().getCommercialNumber(), commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct());
|
||||
OtherCirculation.State state = state(commercialPathStepSideInfo, z3);
|
||||
String platform = commercialPathStepSideInfo.platform(z3);
|
||||
boolean hasWarningPlatform = commercialPathStepSideInfo.hasWarningPlatform(z3);
|
||||
boolean platformMuted = commercialPathStepSideInfo.platformMuted(z3);
|
||||
String observation = commercialPathStepSideInfo.observation(z3);
|
||||
boolean accessible = commercialPathStepSideInfo.getCommercialPathInfo().getAccessible();
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(z3);
|
||||
boolean immediateDeparture = passthroughStepSide != null ? passthroughStepSide.getImmediateDeparture() : false;
|
||||
boolean isShortTrain = commercialPathStepSideInfo.getCommercialPathInfo().isShortTrain();
|
||||
String commercialNumber = commercialPathStepSideInfo.getCommercialPathInfo().getComercialPathKey().getCommercialNumber();
|
||||
String originStationCode = commercialPathStepSideInfo.getCommercialPathInfo().getComercialPathKey().getOriginStationCode();
|
||||
String destinationStationCode = commercialPathStepSideInfo.getCommercialPathInfo().getComercialPathKey().getDestinationStationCode();
|
||||
long launchingDate = commercialPathStepSideInfo.getCommercialPathInfo().getComercialPathKey().getLaunchingDate();
|
||||
TrainCirculationInfo trainCirculationInfo = new TrainCirculationInfo(originStationCode, destinationStationCode, Long.valueOf(launchingDate), commercialNumber, commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialPathStepSideInfo.getCommercialPathInfo().getObservation(), commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct());
|
||||
StringCompanionObject stringCompanionObject = StringCompanionObject.INSTANCE;
|
||||
String s4 = w.s(new Object[]{commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getOperator(), commercialPathStepSideInfo.getCommercialPathInfo().getOpeProComPro().getCommercialProduct()}, 2, BuildConfig.operatorLogoUrl, "format(...)");
|
||||
String operatorPlatform = commercialPathStepSideInfo.operatorPlatform(z3);
|
||||
String plannedPlatform = commercialPathStepSideInfo.plannedPlatform(z3);
|
||||
String sitraPlatform = commercialPathStepSideInfo.sitraPlatform(z3);
|
||||
String ctcPlatform = commercialPathStepSideInfo.ctcPlatform(z3);
|
||||
String technicalNumber = commercialPathStepSideInfo.technicalNumber(z3);
|
||||
String resultantPlatform = commercialPathStepSideInfo.resultantPlatform(z3);
|
||||
PassthroughStepSides passthroughStepSide2 = commercialPathStepSideInfo.passthroughStepSide(z3);
|
||||
return new OtherCirculation(date, plannedTime, delayedTime, stationCode, stationCode2, null, null, train, state, platform, hasWarningPlatform, platformMuted, observation, accessible, immediateDeparture, isShortTrain, trainCirculationInfo, s4, false, operatorPlatform, plannedPlatform, sitraPlatform, ctcPlatform, technicalNumber, resultantPlatform, passthroughStepSide2 != null ? passthroughStepSide2.getPreassignedPlatform() : null, 262144, null);
|
||||
}
|
||||
|
||||
private final String plannedTime(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3, DateFormat dateFormat) {
|
||||
String format = dateFormat.format(date(commercialPathStepSideInfo, z3));
|
||||
Intrinsics.checkNotNullExpressionValue(format, "format(...)");
|
||||
return format;
|
||||
}
|
||||
|
||||
private final OtherCirculation.State state(CommercialPathStepSideInfo commercialPathStepSideInfo, boolean z3) {
|
||||
PassthroughStepSides passthroughStepSide = commercialPathStepSideInfo.passthroughStepSide(z3);
|
||||
if (passthroughStepSide == null) {
|
||||
return null;
|
||||
}
|
||||
if (passthroughStepSide.isSuppressed()) {
|
||||
return OtherCirculation.State.SUPPRESSED;
|
||||
}
|
||||
if (passthroughStepSide.getImmediateDeparture() && passthroughStepSide.isAudited()) {
|
||||
return OtherCirculation.State.BOARDING;
|
||||
}
|
||||
if (passthroughStepSide.getForecatedOrAuditedDelay() > 0) {
|
||||
return OtherCirculation.State.DELAYED;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public final List<OtherCirculation> map(List<? extends CommercialCirculation> from, boolean isDeparture) {
|
||||
Intrinsics.checkNotNullParameter(from, "from");
|
||||
List<? extends CommercialCirculation> list = from;
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (Object obj : list) {
|
||||
if (obj instanceof CommercialPathStepSideInfo) {
|
||||
arrayList.add(obj);
|
||||
}
|
||||
}
|
||||
if (!arrayList.isEmpty()) {
|
||||
return makeOneWayCirculations(arrayList, isDeparture);
|
||||
}
|
||||
ArrayList arrayList2 = new ArrayList();
|
||||
for (Object obj2 : list) {
|
||||
if (obj2 instanceof CommercialRouteInfo) {
|
||||
arrayList2.add(obj2);
|
||||
}
|
||||
}
|
||||
return !arrayList2.isEmpty() ? makeJourneyCirculations(arrayList2) : CollectionsKt.emptyList();
|
||||
}
|
||||
|
||||
private final String plannedTime(CommercialRouteInfo commercialRouteInfo, DateFormat dateFormat) {
|
||||
return dateFormat.format(getPlannedDepartureDate(commercialRouteInfo)) + '-' + dateFormat.format(getPlannedArrivalDate(commercialRouteInfo));
|
||||
}
|
||||
|
||||
private final String delayedTime(CommercialRouteInfo commercialRouteInfo, DateFormat dateFormat) {
|
||||
String plannedTime = plannedTime(commercialRouteInfo, dateFormat);
|
||||
String str = dateFormat.format(getMeasuredDepartureDate(commercialRouteInfo)) + '-' + dateFormat.format(getMeasuredArrivalDate(commercialRouteInfo));
|
||||
if (Intrinsics.areEqual(str, plannedTime)) {
|
||||
return null;
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation.mappers;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.jvm.internal.ContinuationImpl;
|
||||
import kotlin.jvm.internal.IntCompanionObject;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class a extends ContinuationImpl {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public CercaniasCirculationMapper f4459a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Collection f4460b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public Iterator f4461c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public Collection f4462d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public /* synthetic */ Object f4463e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final /* synthetic */ CercaniasCirculationMapper f4464f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public int f4465g;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public a(CercaniasCirculationMapper cercaniasCirculationMapper, Continuation continuation) {
|
||||
super(continuation);
|
||||
this.f4464f = cercaniasCirculationMapper;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
Object makeJourneyCirculations;
|
||||
this.f4463e = obj;
|
||||
this.f4465g |= IntCompanionObject.MIN_VALUE;
|
||||
makeJourneyCirculations = this.f4464f.makeJourneyCirculations(null, this);
|
||||
return makeJourneyCirculations;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation.mappers;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.jvm.internal.ContinuationImpl;
|
||||
import kotlin.jvm.internal.IntCompanionObject;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class b extends ContinuationImpl {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public CercaniasCirculationMapper f4466a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Collection f4467b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public Iterator f4468c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public Collection f4469d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public boolean f4470e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public /* synthetic */ Object f4471f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final /* synthetic */ CercaniasCirculationMapper f4472g;
|
||||
public int h;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public b(CercaniasCirculationMapper cercaniasCirculationMapper, Continuation continuation) {
|
||||
super(continuation);
|
||||
this.f4472g = cercaniasCirculationMapper;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
Object makeOneWayCirculations;
|
||||
this.f4471f = obj;
|
||||
this.h |= IntCompanionObject.MIN_VALUE;
|
||||
makeOneWayCirculations = this.f4472g.makeOneWayCirculations(null, false, this);
|
||||
return makeOneWayCirculations;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation.mappers;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialPathStepSideInfo;
|
||||
import java.util.Date;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.jvm.internal.ContinuationImpl;
|
||||
import kotlin.jvm.internal.IntCompanionObject;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class c extends ContinuationImpl {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public CommercialPathStepSideInfo f4473a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Date f4474b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public String f4475c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public String f4476d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public String f4477e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public String f4478f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public boolean f4479g;
|
||||
public /* synthetic */ Object h;
|
||||
public final /* synthetic */ CercaniasCirculationMapper i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public int f4480j;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public c(CercaniasCirculationMapper cercaniasCirculationMapper, Continuation continuation) {
|
||||
super(continuation);
|
||||
this.i = cercaniasCirculationMapper;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
Object mapToCirculation;
|
||||
this.h = obj;
|
||||
this.f4480j |= IntCompanionObject.MIN_VALUE;
|
||||
mapToCirculation = this.i.mapToCirculation(null, false, this);
|
||||
return mapToCirculation;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.adif.elcanomovil.domain.entities.circulation.mappers;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.circulation.CommercialRouteInfo;
|
||||
import java.util.Date;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.jvm.internal.ContinuationImpl;
|
||||
import kotlin.jvm.internal.IntCompanionObject;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class d extends ContinuationImpl {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public CommercialRouteInfo f4481a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Date f4482b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public String f4483c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public String f4484d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public String f4485e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public String f4486f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public /* synthetic */ Object f4487g;
|
||||
public final /* synthetic */ CercaniasCirculationMapper h;
|
||||
public int i;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public d(CercaniasCirculationMapper cercaniasCirculationMapper, Continuation continuation) {
|
||||
super(continuation);
|
||||
this.h = cercaniasCirculationMapper;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
Object mapToCirculation;
|
||||
this.f4487g = obj;
|
||||
this.i |= IntCompanionObject.MIN_VALUE;
|
||||
mapToCirculation = this.h.mapToCirculation(null, this);
|
||||
return mapToCirculation;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.adif.elcanomovil.domain.entities.compositions;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006H\u0096\u0002¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/compositions/Cafeteria;", "Lcom/adif/elcanomovil/domain/entities/compositions/Wagon;", "()V", "equals", "", "other", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class Cafeteria extends Wagon {
|
||||
public boolean equals(Object other) {
|
||||
return other instanceof Cafeteria;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.adif.elcanomovil.domain.entities.compositions;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fHÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/compositions/Coach;", "Lcom/adif/elcanomovil/domain/entities/compositions/Wagon;", "number", "", "(Ljava/lang/String;)V", "getNumber", "()Ljava/lang/String;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Coach extends Wagon {
|
||||
private final String number;
|
||||
|
||||
public Coach(String number) {
|
||||
Intrinsics.checkNotNullParameter(number, "number");
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Coach copy$default(Coach coach, String str, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = coach.number;
|
||||
}
|
||||
return coach.copy(str);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getNumber() {
|
||||
return this.number;
|
||||
}
|
||||
|
||||
public final Coach copy(String number) {
|
||||
Intrinsics.checkNotNullParameter(number, "number");
|
||||
return new Coach(number);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof Coach) && Intrinsics.areEqual(this.number, ((Coach) other).number);
|
||||
}
|
||||
|
||||
public final String getNumber() {
|
||||
return this.number;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.number.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return a.n(new StringBuilder("Coach(number="), this.number, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
package com.adif.elcanomovil.domain.entities.compositions;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\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\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007¢\u0006\u0002\u0010\tJ\t\u0010\u0010\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0011\u001a\u00020\u0005HÆ\u0003J\u000f\u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\b0\u0007HÆ\u0003J-\u0010\u0013\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\u000e\b\u0002\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007HÆ\u0001J\u0013\u0010\u0014\u001a\u00020\u00152\b\u0010\u0016\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0017\u001a\u00020\u0018HÖ\u0001J\t\u0010\u0019\u001a\u00020\u0003HÖ\u0001R\u0017\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000f¨\u0006\u001a"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/compositions/Composition;", "", "stationCode", "", "plannedTime", "", "coachs", "", "Lcom/adif/elcanomovil/domain/entities/compositions/Wagon;", "(Ljava/lang/String;JLjava/util/List;)V", "getCoachs", "()Ljava/util/List;", "getPlannedTime", "()J", "getStationCode", "()Ljava/lang/String;", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Composition {
|
||||
private final List<Wagon> coachs;
|
||||
private final long plannedTime;
|
||||
private final String stationCode;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public Composition(String stationCode, long j4, List<? extends Wagon> coachs) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(coachs, "coachs");
|
||||
this.stationCode = stationCode;
|
||||
this.plannedTime = j4;
|
||||
this.coachs = coachs;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ Composition copy$default(Composition composition, String str, long j4, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = composition.stationCode;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
j4 = composition.plannedTime;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
list = composition.coachs;
|
||||
}
|
||||
return composition.copy(str, j4, list);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final long getPlannedTime() {
|
||||
return this.plannedTime;
|
||||
}
|
||||
|
||||
public final List<Wagon> component3() {
|
||||
return this.coachs;
|
||||
}
|
||||
|
||||
public final Composition copy(String stationCode, long plannedTime, List<? extends Wagon> coachs) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(coachs, "coachs");
|
||||
return new Composition(stationCode, plannedTime, coachs);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Composition)) {
|
||||
return false;
|
||||
}
|
||||
Composition composition = (Composition) other;
|
||||
return Intrinsics.areEqual(this.stationCode, composition.stationCode) && this.plannedTime == composition.plannedTime && Intrinsics.areEqual(this.coachs, composition.coachs);
|
||||
}
|
||||
|
||||
public final List<Wagon> getCoachs() {
|
||||
return this.coachs;
|
||||
}
|
||||
|
||||
public final long getPlannedTime() {
|
||||
return this.plannedTime;
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.coachs.hashCode() + a.b(this.plannedTime, this.stationCode.hashCode() * 31, 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("Composition(stationCode=");
|
||||
sb.append(this.stationCode);
|
||||
sb.append(", plannedTime=");
|
||||
sb.append(this.plannedTime);
|
||||
sb.append(", coachs=");
|
||||
return a.o(sb, this.coachs, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.adif.elcanomovil.domain.entities.compositions;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/compositions/Empty;", "Lcom/adif/elcanomovil/domain/entities/compositions/Wagon;", "()V", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class Empty extends Wagon {
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
package com.adif.elcanomovil.domain.entities.compositions;
|
||||
|
||||
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\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0011\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0004J\u000b\u0010\u0007\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0015\u0010\b\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fHÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0003HÖ\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/compositions/Head;", "Lcom/adif/elcanomovil/domain/entities/compositions/Wagon;", "number", "", "(Ljava/lang/String;)V", "getNumber", "()Ljava/lang/String;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Head extends Wagon {
|
||||
private final String number;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public Head() {
|
||||
this(null, 1, 0 == true ? 1 : 0);
|
||||
}
|
||||
|
||||
public static /* synthetic */ Head copy$default(Head head, String str, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = head.number;
|
||||
}
|
||||
return head.copy(str);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getNumber() {
|
||||
return this.number;
|
||||
}
|
||||
|
||||
public final Head copy(String number) {
|
||||
return new Head(number);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof Head) && Intrinsics.areEqual(this.number, ((Head) other).number);
|
||||
}
|
||||
|
||||
public final String getNumber() {
|
||||
return this.number;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
String str = this.number;
|
||||
if (str == null) {
|
||||
return 0;
|
||||
}
|
||||
return str.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return a.n(new StringBuilder("Head(number="), this.number, ')');
|
||||
}
|
||||
|
||||
public Head(String str) {
|
||||
this.number = str;
|
||||
}
|
||||
|
||||
public /* synthetic */ Head(String str, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i & 1) != 0 ? null : str);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
package com.adif.elcanomovil.domain.entities.compositions;
|
||||
|
||||
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\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0011\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0004J\u000b\u0010\u0007\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0015\u0010\b\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fHÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0003HÖ\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/compositions/Tail;", "Lcom/adif/elcanomovil/domain/entities/compositions/Wagon;", "number", "", "(Ljava/lang/String;)V", "getNumber", "()Ljava/lang/String;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Tail extends Wagon {
|
||||
private final String number;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public Tail() {
|
||||
this(null, 1, 0 == true ? 1 : 0);
|
||||
}
|
||||
|
||||
public static /* synthetic */ Tail copy$default(Tail tail, String str, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = tail.number;
|
||||
}
|
||||
return tail.copy(str);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getNumber() {
|
||||
return this.number;
|
||||
}
|
||||
|
||||
public final Tail copy(String number) {
|
||||
return new Tail(number);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof Tail) && Intrinsics.areEqual(this.number, ((Tail) other).number);
|
||||
}
|
||||
|
||||
public final String getNumber() {
|
||||
return this.number;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
String str = this.number;
|
||||
if (str == null) {
|
||||
return 0;
|
||||
}
|
||||
return str.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return a.n(new StringBuilder("Tail(number="), this.number, ')');
|
||||
}
|
||||
|
||||
public Tail(String str) {
|
||||
this.number = str;
|
||||
}
|
||||
|
||||
public /* synthetic */ Tail(String str, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i & 1) != 0 ? null : str);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.adif.elcanomovil.domain.entities.compositions;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\b&\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/compositions/Wagon;", "", "()V", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class Wagon {
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
package com.adif.elcanomovil.domain.entities.deeplink;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.CirculationType;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.TrainCirculationInfo;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001:\u0002\u0003\u0004B\u0007\b\u0004¢\u0006\u0002\u0010\u0002\u0082\u0001\u0002\u0005\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/deeplink/DeepLinkResult;", "", "()V", "Departures", "Train", "Lcom/adif/elcanomovil/domain/entities/deeplink/DeepLinkResult$Departures;", "Lcom/adif/elcanomovil/domain/entities/deeplink/DeepLinkResult$Train;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class DeepLinkResult {
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\b\u0018\u00002\u00020\u0001B'\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\b¢\u0006\u0002\u0010\tR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0007\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\u000eR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\r¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/deeplink/DeepLinkResult$Departures;", "Lcom/adif/elcanomovil/domain/entities/deeplink/DeepLinkResult;", "origin", "", FirebaseAnalytics.Param.DESTINATION, "circulationType", "Lcom/adif/elcanomovil/domain/entities/CirculationType;", "isCercanias", "", "(Ljava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/domain/entities/CirculationType;Z)V", "getCirculationType", "()Lcom/adif/elcanomovil/domain/entities/CirculationType;", "getDestination", "()Ljava/lang/String;", "()Z", "getOrigin", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Departures extends DeepLinkResult {
|
||||
private final CirculationType circulationType;
|
||||
private final String destination;
|
||||
private final boolean isCercanias;
|
||||
private final String origin;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public Departures(String origin, String str, CirculationType circulationType, boolean z3) {
|
||||
super(null);
|
||||
Intrinsics.checkNotNullParameter(origin, "origin");
|
||||
Intrinsics.checkNotNullParameter(circulationType, "circulationType");
|
||||
this.origin = origin;
|
||||
this.destination = str;
|
||||
this.circulationType = circulationType;
|
||||
this.isCercanias = z3;
|
||||
}
|
||||
|
||||
public final CirculationType getCirculationType() {
|
||||
return this.circulationType;
|
||||
}
|
||||
|
||||
public final String getDestination() {
|
||||
return this.destination;
|
||||
}
|
||||
|
||||
public final String getOrigin() {
|
||||
return this.origin;
|
||||
}
|
||||
|
||||
/* renamed from: isCercanias, reason: from getter */
|
||||
public final boolean getIsCercanias() {
|
||||
return this.isCercanias;
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/deeplink/DeepLinkResult$Train;", "Lcom/adif/elcanomovil/domain/entities/deeplink/DeepLinkResult;", "trainCirculation", "Lcom/adif/elcanomovil/domain/entities/circulation/TrainCirculationInfo;", "(Lcom/adif/elcanomovil/domain/entities/circulation/TrainCirculationInfo;)V", "getTrainCirculation", "()Lcom/adif/elcanomovil/domain/entities/circulation/TrainCirculationInfo;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Train extends DeepLinkResult {
|
||||
private final TrainCirculationInfo trainCirculation;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public Train(TrainCirculationInfo trainCirculation) {
|
||||
super(null);
|
||||
Intrinsics.checkNotNullParameter(trainCirculation, "trainCirculation");
|
||||
this.trainCirculation = trainCirculation;
|
||||
}
|
||||
|
||||
public final TrainCirculationInfo getTrainCirculation() {
|
||||
return this.trainCirculation;
|
||||
}
|
||||
}
|
||||
|
||||
public /* synthetic */ DeepLinkResult(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
private DeepLinkResult() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
package com.adif.elcanomovil.domain.entities.deeplink;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
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\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\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\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\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\b¨\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/deeplink/SocialMetaTag;", "", "title", "", "message", "imageUrl", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getImageUrl", "()Ljava/lang/String;", "getMessage", "getTitle", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class SocialMetaTag {
|
||||
private final String imageUrl;
|
||||
private final String message;
|
||||
private final String title;
|
||||
|
||||
public SocialMetaTag(String title, String message, String imageUrl) {
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
Intrinsics.checkNotNullParameter(message, "message");
|
||||
Intrinsics.checkNotNullParameter(imageUrl, "imageUrl");
|
||||
this.title = title;
|
||||
this.message = message;
|
||||
this.imageUrl = imageUrl;
|
||||
}
|
||||
|
||||
public static /* synthetic */ SocialMetaTag copy$default(SocialMetaTag socialMetaTag, String str, String str2, String str3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = socialMetaTag.title;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = socialMetaTag.message;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = socialMetaTag.imageUrl;
|
||||
}
|
||||
return socialMetaTag.copy(str, str2, str3);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getImageUrl() {
|
||||
return this.imageUrl;
|
||||
}
|
||||
|
||||
public final SocialMetaTag copy(String title, String message, String imageUrl) {
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
Intrinsics.checkNotNullParameter(message, "message");
|
||||
Intrinsics.checkNotNullParameter(imageUrl, "imageUrl");
|
||||
return new SocialMetaTag(title, message, imageUrl);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof SocialMetaTag)) {
|
||||
return false;
|
||||
}
|
||||
SocialMetaTag socialMetaTag = (SocialMetaTag) other;
|
||||
return Intrinsics.areEqual(this.title, socialMetaTag.title) && Intrinsics.areEqual(this.message, socialMetaTag.message) && Intrinsics.areEqual(this.imageUrl, socialMetaTag.imageUrl);
|
||||
}
|
||||
|
||||
public final String getImageUrl() {
|
||||
return this.imageUrl;
|
||||
}
|
||||
|
||||
public final String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
|
||||
public final String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.imageUrl.hashCode() + a.d(this.message, this.title.hashCode() * 31, 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("SocialMetaTag(title=");
|
||||
sb.append(this.title);
|
||||
sb.append(", message=");
|
||||
sb.append(this.message);
|
||||
sb.append(", imageUrl=");
|
||||
return a.n(sb, this.imageUrl, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,168 @@
|
||||
package com.adif.elcanomovil.domain.entities.notifications;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.domain.entities.CirculationType;
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import java.io.Serializable;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001:\u0003\t\n\u000bB\u0017\b\u0004\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007\u0082\u0001\u0003\f\r\u000e¨\u0006\u000f"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/notifications/NotificationPayload;", "Ljava/io/Serializable;", "title", "", "message", "(Ljava/lang/String;Ljava/lang/String;)V", "getMessage", "()Ljava/lang/String;", "getTitle", "Avisa", "Journey", "Train", "Lcom/adif/elcanomovil/domain/entities/notifications/NotificationPayload$Avisa;", "Lcom/adif/elcanomovil/domain/entities/notifications/NotificationPayload$Journey;", "Lcom/adif/elcanomovil/domain/entities/notifications/NotificationPayload$Train;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class NotificationPayload implements Serializable {
|
||||
private final String message;
|
||||
private final String title;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003¢\u0006\u0002\u0010\u0006R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\b¨\u0006\t"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/notifications/NotificationPayload$Avisa;", "Lcom/adif/elcanomovil/domain/entities/notifications/NotificationPayload;", ServicePaths.IncidenceService.pathIncidenceId, "", "title", "message", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getIncidenceId", "()Ljava/lang/String;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Avisa extends NotificationPayload {
|
||||
private final String incidenceId;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public Avisa(String incidenceId, String title, String message) {
|
||||
super(title, message, null);
|
||||
Intrinsics.checkNotNullParameter(incidenceId, "incidenceId");
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
Intrinsics.checkNotNullParameter(message, "message");
|
||||
this.incidenceId = incidenceId;
|
||||
}
|
||||
|
||||
public final String getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0012\u0018\u00002\u00020\u0001BU\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\b\u0012\u0006\u0010\t\u001a\u00020\u0003\u0012\u0006\u0010\n\u001a\u00020\u0003\u0012\u0006\u0010\u000b\u001a\u00020\u0003\u0012\u0006\u0010\f\u001a\u00020\u0003\u0012\u0006\u0010\r\u001a\u00020\u0003\u0012\u0006\u0010\u000e\u001a\u00020\u0003¢\u0006\u0002\u0010\u000fR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0011\u0010\u000b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0013R\u0011\u0010\u0007\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\u0015R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0013R\u0011\u0010\f\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0013R\u0011\u0010\n\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0013R\u0011\u0010\t\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0013¨\u0006\u001a"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/notifications/NotificationPayload$Journey;", "Lcom/adif/elcanomovil/domain/entities/notifications/NotificationPayload;", "origin", "", FirebaseAnalytics.Param.DESTINATION, "circulationType", "Lcom/adif/elcanomovil/domain/entities/CirculationType;", "isCercanias", "", "type", "start", "end", "repeat", "title", "message", "(Ljava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/domain/entities/CirculationType;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCirculationType", "()Lcom/adif/elcanomovil/domain/entities/CirculationType;", "getDestination", "()Ljava/lang/String;", "getEnd", "()Z", "getOrigin", "getRepeat", "getStart", "getType", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Journey extends NotificationPayload {
|
||||
private final CirculationType circulationType;
|
||||
private final String destination;
|
||||
private final String end;
|
||||
private final boolean isCercanias;
|
||||
private final String origin;
|
||||
private final String repeat;
|
||||
private final String start;
|
||||
private final String type;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public Journey(String origin, String destination, CirculationType circulationType, boolean z3, String type, String start, String end, String repeat, String title, String message) {
|
||||
super(title, message, null);
|
||||
Intrinsics.checkNotNullParameter(origin, "origin");
|
||||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||||
Intrinsics.checkNotNullParameter(circulationType, "circulationType");
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(start, "start");
|
||||
Intrinsics.checkNotNullParameter(end, "end");
|
||||
Intrinsics.checkNotNullParameter(repeat, "repeat");
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
Intrinsics.checkNotNullParameter(message, "message");
|
||||
this.origin = origin;
|
||||
this.destination = destination;
|
||||
this.circulationType = circulationType;
|
||||
this.isCercanias = z3;
|
||||
this.type = type;
|
||||
this.start = start;
|
||||
this.end = end;
|
||||
this.repeat = repeat;
|
||||
}
|
||||
|
||||
public final CirculationType getCirculationType() {
|
||||
return this.circulationType;
|
||||
}
|
||||
|
||||
public final String getDestination() {
|
||||
return this.destination;
|
||||
}
|
||||
|
||||
public final String getEnd() {
|
||||
return this.end;
|
||||
}
|
||||
|
||||
public final String getOrigin() {
|
||||
return this.origin;
|
||||
}
|
||||
|
||||
public final String getRepeat() {
|
||||
return this.repeat;
|
||||
}
|
||||
|
||||
public final String getStart() {
|
||||
return this.start;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: isCercanias, reason: from getter */
|
||||
public final boolean getIsCercanias() {
|
||||
return this.isCercanias;
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u000e\u0018\u00002\u00020\u0001B=\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\b\u001a\u00020\u0003\u0012\u0006\u0010\t\u001a\u00020\u0003¢\u0006\u0002\u0010\nR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\fR\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\fR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\fR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\f¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/notifications/NotificationPayload$Train;", "Lcom/adif/elcanomovil/domain/entities/notifications/NotificationPayload;", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, "", "type", "start", "end", "repeat", "title", "message", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCommercialNumber", "()Ljava/lang/String;", "getEnd", "getRepeat", "getStart", "getType", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Train extends NotificationPayload {
|
||||
private final String commercialNumber;
|
||||
private final String end;
|
||||
private final String repeat;
|
||||
private final String start;
|
||||
private final String type;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public Train(String commercialNumber, String type, String start, String end, String repeat, String title, String message) {
|
||||
super(title, message, null);
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(start, "start");
|
||||
Intrinsics.checkNotNullParameter(end, "end");
|
||||
Intrinsics.checkNotNullParameter(repeat, "repeat");
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
Intrinsics.checkNotNullParameter(message, "message");
|
||||
this.commercialNumber = commercialNumber;
|
||||
this.type = type;
|
||||
this.start = start;
|
||||
this.end = end;
|
||||
this.repeat = repeat;
|
||||
}
|
||||
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
public final String getEnd() {
|
||||
return this.end;
|
||||
}
|
||||
|
||||
public final String getRepeat() {
|
||||
return this.repeat;
|
||||
}
|
||||
|
||||
public final String getStart() {
|
||||
return this.start;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
}
|
||||
|
||||
public /* synthetic */ NotificationPayload(String str, String str2, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(str, str2);
|
||||
}
|
||||
|
||||
public final String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
|
||||
public final String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
private NotificationPayload(String str, String str2) {
|
||||
this.title = str;
|
||||
this.message = str2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\r\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0019\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\u0002\u0010\u0006J\u0010\u0010\f\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\bJ\u000b\u0010\r\u001a\u0004\u0018\u00010\u0005HÆ\u0003J&\u0010\u000e\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005HÆ\u0001¢\u0006\u0002\u0010\u000fJ\u0013\u0010\u0010\u001a\u00020\u00032\b\u0010\u0011\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0012\u001a\u00020\u0013HÖ\u0001J\t\u0010\u0014\u001a\u00020\u0005HÖ\u0001R\u0015\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\n\n\u0002\u0010\t\u001a\u0004\b\u0007\u0010\bR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/station/Accessible;", "", "accessible", "", "description", "", "(Ljava/lang/Boolean;Ljava/lang/String;)V", "getAccessible", "()Ljava/lang/Boolean;", "Ljava/lang/Boolean;", "getDescription", "()Ljava/lang/String;", "component1", "component2", "copy", "(Ljava/lang/Boolean;Ljava/lang/String;)Lcom/adif/elcanomovil/domain/entities/station/Accessible;", "equals", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Accessible {
|
||||
private final Boolean accessible;
|
||||
private final String description;
|
||||
|
||||
public Accessible(Boolean bool, String str) {
|
||||
this.accessible = bool;
|
||||
this.description = str;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Accessible copy$default(Accessible accessible, Boolean bool, String str, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
bool = accessible.accessible;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str = accessible.description;
|
||||
}
|
||||
return accessible.copy(bool, str);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Boolean getAccessible() {
|
||||
return this.accessible;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final Accessible copy(Boolean accessible, String description) {
|
||||
return new Accessible(accessible, description);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Accessible)) {
|
||||
return false;
|
||||
}
|
||||
Accessible accessible = (Accessible) other;
|
||||
return Intrinsics.areEqual(this.accessible, accessible.accessible) && Intrinsics.areEqual(this.description, accessible.description);
|
||||
}
|
||||
|
||||
public final Boolean getAccessible() {
|
||||
return this.accessible;
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
Boolean bool = this.accessible;
|
||||
int hashCode = (bool == null ? 0 : bool.hashCode()) * 31;
|
||||
String str = this.description;
|
||||
return hashCode + (str != null ? str.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("Accessible(accessible=");
|
||||
sb.append(this.accessible);
|
||||
sb.append(", description=");
|
||||
return a.n(sb, this.description, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
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\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\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0006J\u000b\u0010\u000b\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\r\u001a\u0004\u0018\u00010\u0003HÆ\u0003J-\u0010\u000e\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\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\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\bR\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\b¨\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/station/Banner;", "", "bannerURI", "", "bannerTitle", "bannerDescription", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getBannerDescription", "()Ljava/lang/String;", "getBannerTitle", "getBannerURI", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Banner {
|
||||
private final String bannerDescription;
|
||||
private final String bannerTitle;
|
||||
private final String bannerURI;
|
||||
|
||||
public Banner(String str, String str2, String str3) {
|
||||
this.bannerURI = str;
|
||||
this.bannerTitle = str2;
|
||||
this.bannerDescription = str3;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Banner copy$default(Banner banner, String str, String str2, String str3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = banner.bannerURI;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = banner.bannerTitle;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = banner.bannerDescription;
|
||||
}
|
||||
return banner.copy(str, str2, str3);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getBannerURI() {
|
||||
return this.bannerURI;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getBannerTitle() {
|
||||
return this.bannerTitle;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getBannerDescription() {
|
||||
return this.bannerDescription;
|
||||
}
|
||||
|
||||
public final Banner copy(String bannerURI, String bannerTitle, String bannerDescription) {
|
||||
return new Banner(bannerURI, bannerTitle, bannerDescription);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Banner)) {
|
||||
return false;
|
||||
}
|
||||
Banner banner = (Banner) other;
|
||||
return Intrinsics.areEqual(this.bannerURI, banner.bannerURI) && Intrinsics.areEqual(this.bannerTitle, banner.bannerTitle) && Intrinsics.areEqual(this.bannerDescription, banner.bannerDescription);
|
||||
}
|
||||
|
||||
public final String getBannerDescription() {
|
||||
return this.bannerDescription;
|
||||
}
|
||||
|
||||
public final String getBannerTitle() {
|
||||
return this.bannerTitle;
|
||||
}
|
||||
|
||||
public final String getBannerURI() {
|
||||
return this.bannerURI;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
String str = this.bannerURI;
|
||||
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
|
||||
String str2 = this.bannerTitle;
|
||||
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
String str3 = this.bannerDescription;
|
||||
return hashCode2 + (str3 != null ? str3.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("Banner(bannerURI=");
|
||||
sb.append(this.bannerURI);
|
||||
sb.append(", bannerTitle=");
|
||||
sb.append(this.bannerTitle);
|
||||
sb.append(", bannerDescription=");
|
||||
return a.n(sb, this.bannerDescription, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
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\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0019\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0005J\u000b\u0010\t\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\n\u001a\u0004\u0018\u00010\u0003HÆ\u0003J!\u0010\u000b\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/station/Correspondence;", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "", "logo", "(Ljava/lang/String;Ljava/lang/String;)V", "getLogo", "()Ljava/lang/String;", "getName", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Correspondence {
|
||||
private final String logo;
|
||||
private final String name;
|
||||
|
||||
public Correspondence(String str, String str2) {
|
||||
this.name = str;
|
||||
this.logo = str2;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Correspondence copy$default(Correspondence correspondence, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = correspondence.name;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = correspondence.logo;
|
||||
}
|
||||
return correspondence.copy(str, str2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getLogo() {
|
||||
return this.logo;
|
||||
}
|
||||
|
||||
public final Correspondence copy(String name, String logo) {
|
||||
return new Correspondence(name, logo);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Correspondence)) {
|
||||
return false;
|
||||
}
|
||||
Correspondence correspondence = (Correspondence) other;
|
||||
return Intrinsics.areEqual(this.name, correspondence.name) && Intrinsics.areEqual(this.logo, correspondence.logo);
|
||||
}
|
||||
|
||||
public final String getLogo() {
|
||||
return this.logo;
|
||||
}
|
||||
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
String str = this.name;
|
||||
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
|
||||
String str2 = this.logo;
|
||||
return hashCode + (str2 != null ? str2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("Correspondence(name=");
|
||||
sb.append(this.name);
|
||||
sb.append(", logo=");
|
||||
return a.n(sb, this.logo, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u000f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B9\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\u000e\u0010\u0006\u001a\n\u0012\u0004\u0012\u00020\b\u0018\u00010\u0007\u0012\u000e\u0010\t\u001a\n\u0012\u0004\u0012\u00020\b\u0018\u00010\u0007¢\u0006\u0002\u0010\nJ\u000b\u0010\u0012\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0013\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u0011\u0010\u0014\u001a\n\u0012\u0004\u0012\u00020\b\u0018\u00010\u0007HÆ\u0003J\u0011\u0010\u0015\u001a\n\u0012\u0004\u0012\u00020\b\u0018\u00010\u0007HÆ\u0003JE\u0010\u0016\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\u0010\b\u0002\u0010\u0006\u001a\n\u0012\u0004\u0012\u00020\b\u0018\u00010\u00072\u0010\b\u0002\u0010\t\u001a\n\u0012\u0004\u0012\u00020\b\u0018\u00010\u0007HÆ\u0001J\u0013\u0010\u0017\u001a\u00020\u00182\b\u0010\u0019\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001a\u001a\u00020\u001bHÖ\u0001J\t\u0010\u001c\u001a\u00020\bHÖ\u0001R\u0019\u0010\t\u001a\n\u0012\u0004\u0012\u00020\b\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0019\u0010\u0006\u001a\n\u0012\u0004\u0012\u00020\b\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\f¨\u0006\u001d"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/station/ExtendedStationInfo;", "", "openingHours", "Lcom/adif/elcanomovil/domain/entities/station/OpeningHours;", "locator", "Lcom/adif/elcanomovil/domain/entities/station/Locator;", "pictures", "", "", "blueprints", "(Lcom/adif/elcanomovil/domain/entities/station/OpeningHours;Lcom/adif/elcanomovil/domain/entities/station/Locator;Ljava/util/List;Ljava/util/List;)V", "getBlueprints", "()Ljava/util/List;", "getLocator", "()Lcom/adif/elcanomovil/domain/entities/station/Locator;", "getOpeningHours", "()Lcom/adif/elcanomovil/domain/entities/station/OpeningHours;", "getPictures", "component1", "component2", "component3", "component4", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class ExtendedStationInfo {
|
||||
private final List<String> blueprints;
|
||||
private final Locator locator;
|
||||
private final OpeningHours openingHours;
|
||||
private final List<String> pictures;
|
||||
|
||||
public ExtendedStationInfo(OpeningHours openingHours, Locator locator, List<String> list, List<String> list2) {
|
||||
this.openingHours = openingHours;
|
||||
this.locator = locator;
|
||||
this.pictures = list;
|
||||
this.blueprints = list2;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ ExtendedStationInfo copy$default(ExtendedStationInfo extendedStationInfo, OpeningHours openingHours, Locator locator, List list, List list2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
openingHours = extendedStationInfo.openingHours;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
locator = extendedStationInfo.locator;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
list = extendedStationInfo.pictures;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
list2 = extendedStationInfo.blueprints;
|
||||
}
|
||||
return extendedStationInfo.copy(openingHours, locator, list, list2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final OpeningHours getOpeningHours() {
|
||||
return this.openingHours;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final Locator getLocator() {
|
||||
return this.locator;
|
||||
}
|
||||
|
||||
public final List<String> component3() {
|
||||
return this.pictures;
|
||||
}
|
||||
|
||||
public final List<String> component4() {
|
||||
return this.blueprints;
|
||||
}
|
||||
|
||||
public final ExtendedStationInfo copy(OpeningHours openingHours, Locator locator, List<String> pictures, List<String> blueprints) {
|
||||
return new ExtendedStationInfo(openingHours, locator, pictures, blueprints);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof ExtendedStationInfo)) {
|
||||
return false;
|
||||
}
|
||||
ExtendedStationInfo extendedStationInfo = (ExtendedStationInfo) other;
|
||||
return Intrinsics.areEqual(this.openingHours, extendedStationInfo.openingHours) && Intrinsics.areEqual(this.locator, extendedStationInfo.locator) && Intrinsics.areEqual(this.pictures, extendedStationInfo.pictures) && Intrinsics.areEqual(this.blueprints, extendedStationInfo.blueprints);
|
||||
}
|
||||
|
||||
public final List<String> getBlueprints() {
|
||||
return this.blueprints;
|
||||
}
|
||||
|
||||
public final Locator getLocator() {
|
||||
return this.locator;
|
||||
}
|
||||
|
||||
public final OpeningHours getOpeningHours() {
|
||||
return this.openingHours;
|
||||
}
|
||||
|
||||
public final List<String> getPictures() {
|
||||
return this.pictures;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
OpeningHours openingHours = this.openingHours;
|
||||
int hashCode = (openingHours == null ? 0 : openingHours.hashCode()) * 31;
|
||||
Locator locator = this.locator;
|
||||
int hashCode2 = (hashCode + (locator == null ? 0 : locator.hashCode())) * 31;
|
||||
List<String> list = this.pictures;
|
||||
int hashCode3 = (hashCode2 + (list == null ? 0 : list.hashCode())) * 31;
|
||||
List<String> list2 = this.blueprints;
|
||||
return hashCode3 + (list2 != null ? list2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("ExtendedStationInfo(openingHours=");
|
||||
sb.append(this.openingHours);
|
||||
sb.append(", locator=");
|
||||
sb.append(this.locator);
|
||||
sb.append(", pictures=");
|
||||
sb.append(this.pictures);
|
||||
sb.append(", blueprints=");
|
||||
return a.o(sb, this.blueprints, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u000b\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\u0019\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0005J\u0010\u0010\n\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\u0007J\u0010\u0010\u000b\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\u0007J&\u0010\f\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0003HÆ\u0001¢\u0006\u0002\u0010\rJ\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001R\u0015\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\n\n\u0002\u0010\b\u001a\u0004\b\u0006\u0010\u0007R\u0015\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\n\n\u0002\u0010\b\u001a\u0004\b\t\u0010\u0007¨\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/station/Location;", "", "longitude", "", "latitude", "(Ljava/lang/Double;Ljava/lang/Double;)V", "getLatitude", "()Ljava/lang/Double;", "Ljava/lang/Double;", "getLongitude", "component1", "component2", "copy", "(Ljava/lang/Double;Ljava/lang/Double;)Lcom/adif/elcanomovil/domain/entities/station/Location;", "equals", "", "other", "hashCode", "", "toString", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Location {
|
||||
private final Double latitude;
|
||||
private final Double longitude;
|
||||
|
||||
public Location(Double d4, Double d5) {
|
||||
this.longitude = d4;
|
||||
this.latitude = d5;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Location copy$default(Location location, Double d4, Double d5, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
d4 = location.longitude;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
d5 = location.latitude;
|
||||
}
|
||||
return location.copy(d4, d5);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final Double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
public final Location copy(Double longitude, Double latitude) {
|
||||
return new Location(longitude, latitude);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Location)) {
|
||||
return false;
|
||||
}
|
||||
Location location = (Location) other;
|
||||
return Intrinsics.areEqual((Object) this.longitude, (Object) location.longitude) && Intrinsics.areEqual((Object) this.latitude, (Object) location.latitude);
|
||||
}
|
||||
|
||||
public final Double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
public final Double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
Double d4 = this.longitude;
|
||||
int hashCode = (d4 == null ? 0 : d4.hashCode()) * 31;
|
||||
Double d5 = this.latitude;
|
||||
return hashCode + (d5 != null ? d5.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "Location(longitude=" + this.longitude + ", latitude=" + this.latitude + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
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\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0019\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\u0002\u0010\u0006J\u000b\u0010\u000b\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\f\u001a\u0004\u0018\u00010\u0005HÆ\u0003J!\u0010\r\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005HÆ\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0003HÖ\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n¨\u0006\u0014"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/station/Locator;", "", "description", "", FirebaseAnalytics.Param.LOCATION, "Lcom/adif/elcanomovil/domain/entities/station/Location;", "(Ljava/lang/String;Lcom/adif/elcanomovil/domain/entities/station/Location;)V", "getDescription", "()Ljava/lang/String;", "getLocation", "()Lcom/adif/elcanomovil/domain/entities/station/Location;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Locator {
|
||||
private final String description;
|
||||
private final Location location;
|
||||
|
||||
public Locator(String str, Location location) {
|
||||
this.description = str;
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Locator copy$default(Locator locator, String str, Location location, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = locator.description;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
location = locator.location;
|
||||
}
|
||||
return locator.copy(str, location);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final Location getLocation() {
|
||||
return this.location;
|
||||
}
|
||||
|
||||
public final Locator copy(String description, Location location) {
|
||||
return new Locator(description, location);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Locator)) {
|
||||
return false;
|
||||
}
|
||||
Locator locator = (Locator) other;
|
||||
return Intrinsics.areEqual(this.description, locator.description) && Intrinsics.areEqual(this.location, locator.location);
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final Location getLocation() {
|
||||
return this.location;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
String str = this.description;
|
||||
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
|
||||
Location location = this.location;
|
||||
return hashCode + (location != null ? location.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "Locator(description=" + this.description + ", location=" + this.location + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
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\u0002\b\u0003\n\u0002\u0010 \n\u0002\b\r\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B3\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0003\u0012\u000e\u0010\u0006\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u0007¢\u0006\u0002\u0010\bJ\u000b\u0010\u000f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0010\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0011\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0011\u0010\u0012\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u0007HÆ\u0003J?\u0010\u0013\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00032\u0010\b\u0002\u0010\u0006\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u0007HÆ\u0001J\u0013\u0010\u0014\u001a\u00020\u00152\b\u0010\u0016\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0017\u001a\u00020\u0018HÖ\u0001J\t\u0010\u0019\u001a\u00020\u0003HÖ\u0001R\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\nR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\nR\u0019\u0010\u0006\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000e¨\u0006\u001a"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/station/Offer;", "", "logo", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "description", "pictures", "", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V", "getDescription", "()Ljava/lang/String;", "getLogo", "getName", "getPictures", "()Ljava/util/List;", "component1", "component2", "component3", "component4", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Offer {
|
||||
private final String description;
|
||||
private final String logo;
|
||||
private final String name;
|
||||
private final List<String> pictures;
|
||||
|
||||
public Offer(String str, String str2, String str3, List<String> list) {
|
||||
this.logo = str;
|
||||
this.name = str2;
|
||||
this.description = str3;
|
||||
this.pictures = list;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ Offer copy$default(Offer offer, String str, String str2, String str3, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = offer.logo;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = offer.name;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = offer.description;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
list = offer.pictures;
|
||||
}
|
||||
return offer.copy(str, str2, str3, list);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getLogo() {
|
||||
return this.logo;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final List<String> component4() {
|
||||
return this.pictures;
|
||||
}
|
||||
|
||||
public final Offer copy(String logo, String name, String description, List<String> pictures) {
|
||||
return new Offer(logo, name, description, pictures);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Offer)) {
|
||||
return false;
|
||||
}
|
||||
Offer offer = (Offer) other;
|
||||
return Intrinsics.areEqual(this.logo, offer.logo) && Intrinsics.areEqual(this.name, offer.name) && Intrinsics.areEqual(this.description, offer.description) && Intrinsics.areEqual(this.pictures, offer.pictures);
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final String getLogo() {
|
||||
return this.logo;
|
||||
}
|
||||
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public final List<String> getPictures() {
|
||||
return this.pictures;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
String str = this.logo;
|
||||
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
|
||||
String str2 = this.name;
|
||||
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
String str3 = this.description;
|
||||
int hashCode3 = (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
|
||||
List<String> list = this.pictures;
|
||||
return hashCode3 + (list != null ? list.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("Offer(logo=");
|
||||
sb.append(this.logo);
|
||||
sb.append(", name=");
|
||||
sb.append(this.name);
|
||||
sb.append(", description=");
|
||||
sb.append(this.description);
|
||||
sb.append(", pictures=");
|
||||
return a.o(sb, this.pictures, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
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\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0019\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0005J\u000b\u0010\t\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\n\u001a\u0004\u0018\u00010\u0003HÆ\u0003J!\u0010\u000b\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/station/OpeningHours;", "", "shortText", "", "longText", "(Ljava/lang/String;Ljava/lang/String;)V", "getLongText", "()Ljava/lang/String;", "getShortText", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class OpeningHours {
|
||||
private final String longText;
|
||||
private final String shortText;
|
||||
|
||||
public OpeningHours(String str, String str2) {
|
||||
this.shortText = str;
|
||||
this.longText = str2;
|
||||
}
|
||||
|
||||
public static /* synthetic */ OpeningHours copy$default(OpeningHours openingHours, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = openingHours.shortText;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = openingHours.longText;
|
||||
}
|
||||
return openingHours.copy(str, str2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getShortText() {
|
||||
return this.shortText;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getLongText() {
|
||||
return this.longText;
|
||||
}
|
||||
|
||||
public final OpeningHours copy(String shortText, String longText) {
|
||||
return new OpeningHours(shortText, longText);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof OpeningHours)) {
|
||||
return false;
|
||||
}
|
||||
OpeningHours openingHours = (OpeningHours) other;
|
||||
return Intrinsics.areEqual(this.shortText, openingHours.shortText) && Intrinsics.areEqual(this.longText, openingHours.longText);
|
||||
}
|
||||
|
||||
public final String getLongText() {
|
||||
return this.longText;
|
||||
}
|
||||
|
||||
public final String getShortText() {
|
||||
return this.shortText;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
String str = this.shortText;
|
||||
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
|
||||
String str2 = this.longText;
|
||||
return hashCode + (str2 != null ? str2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("OpeningHours(shortText=");
|
||||
sb.append(this.shortText);
|
||||
sb.append(", longText=");
|
||||
return a.n(sb, this.longText, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,168 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0018\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001Bk\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\u000e\u0010\b\u001a\n\u0012\u0004\u0012\u00020\n\u0018\u00010\t\u0012\u000e\u0010\u000b\u001a\n\u0012\u0004\u0012\u00020\f\u0018\u00010\t\u0012\u000e\u0010\r\u001a\n\u0012\u0004\u0012\u00020\u000e\u0018\u00010\t\u0012\u000e\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u000e\u0018\u00010\t\u0012\b\u0010\u0010\u001a\u0004\u0018\u00010\u0011¢\u0006\u0002\u0010\u0012J\t\u0010 \u001a\u00020\u0003HÆ\u0003J\u000b\u0010!\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010\"\u001a\u0004\u0018\u00010\u0007HÆ\u0003J\u0011\u0010#\u001a\n\u0012\u0004\u0012\u00020\n\u0018\u00010\tHÆ\u0003J\u0011\u0010$\u001a\n\u0012\u0004\u0012\u00020\f\u0018\u00010\tHÆ\u0003J\u0011\u0010%\u001a\n\u0012\u0004\u0012\u00020\u000e\u0018\u00010\tHÆ\u0003J\u0011\u0010&\u001a\n\u0012\u0004\u0012\u00020\u000e\u0018\u00010\tHÆ\u0003J\u000b\u0010'\u001a\u0004\u0018\u00010\u0011HÆ\u0003J\u007f\u0010(\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\u0010\b\u0002\u0010\b\u001a\n\u0012\u0004\u0012\u00020\n\u0018\u00010\t2\u0010\b\u0002\u0010\u000b\u001a\n\u0012\u0004\u0012\u00020\f\u0018\u00010\t2\u0010\b\u0002\u0010\r\u001a\n\u0012\u0004\u0012\u00020\u000e\u0018\u00010\t2\u0010\b\u0002\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u000e\u0018\u00010\t2\n\b\u0002\u0010\u0010\u001a\u0004\u0018\u00010\u0011HÆ\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\u0010\u001a\u0004\u0018\u00010\u0011¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0019\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u000e\u0018\u00010\t¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u001aR\u0019\u0010\r\u001a\n\u0012\u0004\u0012\u00020\u000e\u0018\u00010\t¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0018R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u001dR\u0019\u0010\b\u001a\n\u0012\u0004\u0012\u00020\n\u0018\u00010\t¢\u0006\b\n\u0000\u001a\u0004\b\u001e\u0010\u0018R\u0019\u0010\u000b\u001a\n\u0012\u0004\u0012\u00020\f\u0018\u00010\t¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010\u0018¨\u0006/"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/station/RequestedStationInfo;", "", "stationCode", "", "stationInfo", "Lcom/adif/elcanomovil/domain/entities/station/StationInfo;", "extendedStationInfo", "Lcom/adif/elcanomovil/domain/entities/station/ExtendedStationInfo;", "stationServices", "", "Lcom/adif/elcanomovil/domain/entities/station/StationServices;", "stationTransportServices", "Lcom/adif/elcanomovil/domain/entities/station/StationTransportServices;", "stationCommercialServices", "Lcom/adif/elcanomovil/domain/entities/station/StationCommercialServices;", "stationActivities", "banner", "Lcom/adif/elcanomovil/domain/entities/station/Banner;", "(Ljava/lang/String;Lcom/adif/elcanomovil/domain/entities/station/StationInfo;Lcom/adif/elcanomovil/domain/entities/station/ExtendedStationInfo;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lcom/adif/elcanomovil/domain/entities/station/Banner;)V", "getBanner", "()Lcom/adif/elcanomovil/domain/entities/station/Banner;", "getExtendedStationInfo", "()Lcom/adif/elcanomovil/domain/entities/station/ExtendedStationInfo;", "getStationActivities", "()Ljava/util/List;", "getStationCode", "()Ljava/lang/String;", "getStationCommercialServices", "getStationInfo", "()Lcom/adif/elcanomovil/domain/entities/station/StationInfo;", "getStationServices", "getStationTransportServices", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class RequestedStationInfo {
|
||||
private final Banner banner;
|
||||
private final ExtendedStationInfo extendedStationInfo;
|
||||
private final List<StationCommercialServices> stationActivities;
|
||||
private final String stationCode;
|
||||
private final List<StationCommercialServices> stationCommercialServices;
|
||||
private final StationInfo stationInfo;
|
||||
private final List<StationServices> stationServices;
|
||||
private final List<StationTransportServices> stationTransportServices;
|
||||
|
||||
public RequestedStationInfo(String stationCode, StationInfo stationInfo, ExtendedStationInfo extendedStationInfo, List<StationServices> list, List<StationTransportServices> list2, List<StationCommercialServices> list3, List<StationCommercialServices> list4, Banner banner) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
this.stationCode = stationCode;
|
||||
this.stationInfo = stationInfo;
|
||||
this.extendedStationInfo = extendedStationInfo;
|
||||
this.stationServices = list;
|
||||
this.stationTransportServices = list2;
|
||||
this.stationCommercialServices = list3;
|
||||
this.stationActivities = list4;
|
||||
this.banner = banner;
|
||||
}
|
||||
|
||||
public static /* synthetic */ RequestedStationInfo copy$default(RequestedStationInfo requestedStationInfo, String str, StationInfo stationInfo, ExtendedStationInfo extendedStationInfo, List list, List list2, List list3, List list4, Banner banner, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = requestedStationInfo.stationCode;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
stationInfo = requestedStationInfo.stationInfo;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
extendedStationInfo = requestedStationInfo.extendedStationInfo;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
list = requestedStationInfo.stationServices;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
list2 = requestedStationInfo.stationTransportServices;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
list3 = requestedStationInfo.stationCommercialServices;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
list4 = requestedStationInfo.stationActivities;
|
||||
}
|
||||
if ((i & 128) != 0) {
|
||||
banner = requestedStationInfo.banner;
|
||||
}
|
||||
List list5 = list4;
|
||||
Banner banner2 = banner;
|
||||
List list6 = list2;
|
||||
List list7 = list3;
|
||||
return requestedStationInfo.copy(str, stationInfo, extendedStationInfo, list, list6, list7, list5, banner2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final StationInfo getStationInfo() {
|
||||
return this.stationInfo;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final ExtendedStationInfo getExtendedStationInfo() {
|
||||
return this.extendedStationInfo;
|
||||
}
|
||||
|
||||
public final List<StationServices> component4() {
|
||||
return this.stationServices;
|
||||
}
|
||||
|
||||
public final List<StationTransportServices> component5() {
|
||||
return this.stationTransportServices;
|
||||
}
|
||||
|
||||
public final List<StationCommercialServices> component6() {
|
||||
return this.stationCommercialServices;
|
||||
}
|
||||
|
||||
public final List<StationCommercialServices> component7() {
|
||||
return this.stationActivities;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final Banner getBanner() {
|
||||
return this.banner;
|
||||
}
|
||||
|
||||
public final RequestedStationInfo copy(String stationCode, StationInfo stationInfo, ExtendedStationInfo extendedStationInfo, List<StationServices> stationServices, List<StationTransportServices> stationTransportServices, List<StationCommercialServices> stationCommercialServices, List<StationCommercialServices> stationActivities, Banner banner) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
return new RequestedStationInfo(stationCode, stationInfo, extendedStationInfo, stationServices, stationTransportServices, stationCommercialServices, stationActivities, banner);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof RequestedStationInfo)) {
|
||||
return false;
|
||||
}
|
||||
RequestedStationInfo requestedStationInfo = (RequestedStationInfo) other;
|
||||
return Intrinsics.areEqual(this.stationCode, requestedStationInfo.stationCode) && Intrinsics.areEqual(this.stationInfo, requestedStationInfo.stationInfo) && Intrinsics.areEqual(this.extendedStationInfo, requestedStationInfo.extendedStationInfo) && Intrinsics.areEqual(this.stationServices, requestedStationInfo.stationServices) && Intrinsics.areEqual(this.stationTransportServices, requestedStationInfo.stationTransportServices) && Intrinsics.areEqual(this.stationCommercialServices, requestedStationInfo.stationCommercialServices) && Intrinsics.areEqual(this.stationActivities, requestedStationInfo.stationActivities) && Intrinsics.areEqual(this.banner, requestedStationInfo.banner);
|
||||
}
|
||||
|
||||
public final Banner getBanner() {
|
||||
return this.banner;
|
||||
}
|
||||
|
||||
public final ExtendedStationInfo getExtendedStationInfo() {
|
||||
return this.extendedStationInfo;
|
||||
}
|
||||
|
||||
public final List<StationCommercialServices> getStationActivities() {
|
||||
return this.stationActivities;
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public final List<StationCommercialServices> getStationCommercialServices() {
|
||||
return this.stationCommercialServices;
|
||||
}
|
||||
|
||||
public final StationInfo getStationInfo() {
|
||||
return this.stationInfo;
|
||||
}
|
||||
|
||||
public final List<StationServices> getStationServices() {
|
||||
return this.stationServices;
|
||||
}
|
||||
|
||||
public final List<StationTransportServices> getStationTransportServices() {
|
||||
return this.stationTransportServices;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int hashCode = this.stationCode.hashCode() * 31;
|
||||
StationInfo stationInfo = this.stationInfo;
|
||||
int hashCode2 = (hashCode + (stationInfo == null ? 0 : stationInfo.hashCode())) * 31;
|
||||
ExtendedStationInfo extendedStationInfo = this.extendedStationInfo;
|
||||
int hashCode3 = (hashCode2 + (extendedStationInfo == null ? 0 : extendedStationInfo.hashCode())) * 31;
|
||||
List<StationServices> list = this.stationServices;
|
||||
int hashCode4 = (hashCode3 + (list == null ? 0 : list.hashCode())) * 31;
|
||||
List<StationTransportServices> list2 = this.stationTransportServices;
|
||||
int hashCode5 = (hashCode4 + (list2 == null ? 0 : list2.hashCode())) * 31;
|
||||
List<StationCommercialServices> list3 = this.stationCommercialServices;
|
||||
int hashCode6 = (hashCode5 + (list3 == null ? 0 : list3.hashCode())) * 31;
|
||||
List<StationCommercialServices> list4 = this.stationActivities;
|
||||
int hashCode7 = (hashCode6 + (list4 == null ? 0 : list4.hashCode())) * 31;
|
||||
Banner banner = this.banner;
|
||||
return hashCode7 + (banner != null ? banner.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "RequestedStationInfo(stationCode=" + this.stationCode + ", stationInfo=" + this.stationInfo + ", extendedStationInfo=" + this.extendedStationInfo + ", stationServices=" + this.stationServices + ", stationTransportServices=" + this.stationTransportServices + ", stationCommercialServices=" + this.stationCommercialServices + ", stationActivities=" + this.stationActivities + ", banner=" + this.banner + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,215 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0007\n\u0002\b!\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001BU\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\b\u001a\u0004\u0018\u00010\t\u0012\u0006\u0010\n\u001a\u00020\u000b\u0012\u0006\u0010\f\u001a\u00020\u0003\u0012\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u000e¢\u0006\u0002\u0010\u000fJ\t\u0010$\u001a\u00020\u0003HÆ\u0003J\t\u0010%\u001a\u00020\u0003HÆ\u0003J\t\u0010&\u001a\u00020\u0003HÆ\u0003J\t\u0010'\u001a\u00020\u0003HÆ\u0003J\u000b\u0010(\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010)\u001a\u0004\u0018\u00010\tHÆ\u0003J\t\u0010*\u001a\u00020\u000bHÆ\u0003J\t\u0010+\u001a\u00020\u0003HÆ\u0003J\u0010\u0010,\u001a\u0004\u0018\u00010\u000eHÆ\u0003¢\u0006\u0002\u0010\u0016Jn\u0010-\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\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00032\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\t2\b\b\u0002\u0010\n\u001a\u00020\u000b2\b\b\u0002\u0010\f\u001a\u00020\u00032\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u000eHÆ\u0001¢\u0006\u0002\u0010.J\u0013\u0010/\u001a\u0002002\b\u00101\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00102\u001a\u00020\u000bHÖ\u0001J\t\u00103\u001a\u00020\u0003HÖ\u0001R\u0013\u0010\u0007\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u001a\u0010\f\u001a\u00020\u0003X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0012\u0010\u0011\"\u0004\b\u0013\u0010\u0014R\u001e\u0010\r\u001a\u0004\u0018\u00010\u000eX\u0086\u000e¢\u0006\u0010\n\u0002\u0010\u0019\u001a\u0004\b\u0015\u0010\u0016\"\u0004\b\u0017\u0010\u0018R\u0013\u0010\u001a\u001a\u0004\u0018\u00010\u000e8F¢\u0006\u0006\u001a\u0004\b\u001b\u0010\u0016R\u0013\u0010\b\u001a\u0004\u0018\u00010\t¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u001dR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001e\u0010\u0011R\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010\u0011R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b \u0010\u0011R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b!\u0010\u0011R\u0011\u0010\n\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\"\u0010#¨\u00064"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/station/Station;", "", "stationCode", "", "stationType", "longName", "shortName", "commercialZoneType", FirebaseAnalytics.Param.LOCATION, "Landroid/location/Location;", NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC, "", "commuterNetwork", "distance", "", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/location/Location;ILjava/lang/String;Ljava/lang/Float;)V", "getCommercialZoneType", "()Ljava/lang/String;", "getCommuterNetwork", "setCommuterNetwork", "(Ljava/lang/String;)V", "getDistance", "()Ljava/lang/Float;", "setDistance", "(Ljava/lang/Float;)V", "Ljava/lang/Float;", "duration", "getDuration", "getLocation", "()Landroid/location/Location;", "getLongName", "getShortName", "getStationCode", "getStationType", "getTrafficType", "()I", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/location/Location;ILjava/lang/String;Ljava/lang/Float;)Lcom/adif/elcanomovil/domain/entities/station/Station;", "equals", "", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nStation.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Station.kt\ncom/adif/elcanomovil/domain/entities/station/Station\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,25:1\n1#2:26\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Station {
|
||||
private final String commercialZoneType;
|
||||
private String commuterNetwork;
|
||||
private Float distance;
|
||||
private final android.location.Location location;
|
||||
private final String longName;
|
||||
private final String shortName;
|
||||
private final String stationCode;
|
||||
private final String stationType;
|
||||
private final int trafficType;
|
||||
|
||||
public Station(String stationCode, String stationType, String longName, String shortName, String str, android.location.Location location, int i, String commuterNetwork, Float f2) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(stationType, "stationType");
|
||||
Intrinsics.checkNotNullParameter(longName, "longName");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(commuterNetwork, "commuterNetwork");
|
||||
this.stationCode = stationCode;
|
||||
this.stationType = stationType;
|
||||
this.longName = longName;
|
||||
this.shortName = shortName;
|
||||
this.commercialZoneType = str;
|
||||
this.location = location;
|
||||
this.trafficType = i;
|
||||
this.commuterNetwork = commuterNetwork;
|
||||
this.distance = f2;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Station copy$default(Station station, String str, String str2, String str3, String str4, String str5, android.location.Location location, int i, String str6, Float f2, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
str = station.stationCode;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
str2 = station.stationType;
|
||||
}
|
||||
if ((i4 & 4) != 0) {
|
||||
str3 = station.longName;
|
||||
}
|
||||
if ((i4 & 8) != 0) {
|
||||
str4 = station.shortName;
|
||||
}
|
||||
if ((i4 & 16) != 0) {
|
||||
str5 = station.commercialZoneType;
|
||||
}
|
||||
if ((i4 & 32) != 0) {
|
||||
location = station.location;
|
||||
}
|
||||
if ((i4 & 64) != 0) {
|
||||
i = station.trafficType;
|
||||
}
|
||||
if ((i4 & 128) != 0) {
|
||||
str6 = station.commuterNetwork;
|
||||
}
|
||||
if ((i4 & 256) != 0) {
|
||||
f2 = station.distance;
|
||||
}
|
||||
String str7 = str6;
|
||||
Float f4 = f2;
|
||||
android.location.Location location2 = location;
|
||||
int i5 = i;
|
||||
String str8 = str5;
|
||||
String str9 = str3;
|
||||
return station.copy(str, str2, str9, str4, str8, location2, i5, str7, f4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getStationType() {
|
||||
return this.stationType;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getLongName() {
|
||||
return this.longName;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getCommercialZoneType() {
|
||||
return this.commercialZoneType;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final android.location.Location getLocation() {
|
||||
return this.location;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final int getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getCommuterNetwork() {
|
||||
return this.commuterNetwork;
|
||||
}
|
||||
|
||||
/* renamed from: component9, reason: from getter */
|
||||
public final Float getDistance() {
|
||||
return this.distance;
|
||||
}
|
||||
|
||||
public final Station copy(String stationCode, String stationType, String longName, String shortName, String commercialZoneType, android.location.Location location, int trafficType, String commuterNetwork, Float distance) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(stationType, "stationType");
|
||||
Intrinsics.checkNotNullParameter(longName, "longName");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(commuterNetwork, "commuterNetwork");
|
||||
return new Station(stationCode, stationType, longName, shortName, commercialZoneType, location, trafficType, commuterNetwork, distance);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Station)) {
|
||||
return false;
|
||||
}
|
||||
Station station = (Station) other;
|
||||
return Intrinsics.areEqual(this.stationCode, station.stationCode) && Intrinsics.areEqual(this.stationType, station.stationType) && Intrinsics.areEqual(this.longName, station.longName) && Intrinsics.areEqual(this.shortName, station.shortName) && Intrinsics.areEqual(this.commercialZoneType, station.commercialZoneType) && Intrinsics.areEqual(this.location, station.location) && this.trafficType == station.trafficType && Intrinsics.areEqual(this.commuterNetwork, station.commuterNetwork) && Intrinsics.areEqual((Object) this.distance, (Object) station.distance);
|
||||
}
|
||||
|
||||
public final String getCommercialZoneType() {
|
||||
return this.commercialZoneType;
|
||||
}
|
||||
|
||||
public final String getCommuterNetwork() {
|
||||
return this.commuterNetwork;
|
||||
}
|
||||
|
||||
public final Float getDistance() {
|
||||
return this.distance;
|
||||
}
|
||||
|
||||
public final Float getDuration() {
|
||||
Float f2 = this.distance;
|
||||
if (f2 != null) {
|
||||
return Float.valueOf(f2.floatValue() / 1.4f);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public final android.location.Location getLocation() {
|
||||
return this.location;
|
||||
}
|
||||
|
||||
public final String getLongName() {
|
||||
return this.longName;
|
||||
}
|
||||
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public final String getStationType() {
|
||||
return this.stationType;
|
||||
}
|
||||
|
||||
public final int getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.shortName, a.d(this.longName, a.d(this.stationType, this.stationCode.hashCode() * 31, 31), 31), 31);
|
||||
String str = this.commercialZoneType;
|
||||
int hashCode = (d4 + (str == null ? 0 : str.hashCode())) * 31;
|
||||
android.location.Location location = this.location;
|
||||
int d5 = a.d(this.commuterNetwork, w.x(this.trafficType, (hashCode + (location == null ? 0 : location.hashCode())) * 31, 31), 31);
|
||||
Float f2 = this.distance;
|
||||
return d5 + (f2 != null ? f2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public final void setCommuterNetwork(String str) {
|
||||
Intrinsics.checkNotNullParameter(str, "<set-?>");
|
||||
this.commuterNetwork = str;
|
||||
}
|
||||
|
||||
public final void setDistance(Float f2) {
|
||||
this.distance = f2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "Station(stationCode=" + this.stationCode + ", stationType=" + this.stationType + ", longName=" + this.longName + ", shortName=" + this.shortName + ", commercialZoneType=" + this.commercialZoneType + ", location=" + this.location + ", trafficType=" + this.trafficType + ", commuterNetwork=" + this.commuterNetwork + ", distance=" + this.distance + ')';
|
||||
}
|
||||
|
||||
public /* synthetic */ Station(String str, String str2, String str3, String str4, String str5, android.location.Location location, int i, String str6, Float f2, int i4, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(str, str2, str3, str4, str5, location, i, str6, (i4 & 256) != 0 ? null : f2);
|
||||
}
|
||||
}
|
||||
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,9 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0007\n\u0000\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0082T¢\u0006\u0002\n\u0000¨\u0006\u0002"}, d2 = {"AVERAGE_WALKING_SPEED", "", "domain_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class StationKt {
|
||||
private static final float AVERAGE_WALKING_SPEED = 1.4f;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,29 @@
|
||||
package com.adif.elcanomovil.domain.entities.station;
|
||||
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010 \n\u0002\b\u0005\bf\u0018\u00002\u00020\u0001R\u0014\u0010\u0002\u001a\u0004\u0018\u00010\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005R\u0014\u0010\u0006\u001a\u0004\u0018\u00010\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\tR\u0014\u0010\n\u001a\u0004\u0018\u00010\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b\u000b\u0010\tR\u0014\u0010\f\u001a\u0004\u0018\u00010\rX¦\u0004¢\u0006\u0006\u001a\u0004\b\u000e\u0010\u000fR\u0014\u0010\u0010\u001a\u0004\u0018\u00010\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0011\u0010\tR\u0014\u0010\u0012\u001a\u0004\u0018\u00010\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0013\u0010\tR\u0014\u0010\u0014\u001a\u0004\u0018\u00010\u0015X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0016\u0010\u0017R\u0014\u0010\u0018\u001a\u0004\u0018\u00010\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0019\u0010\tR\u001a\u0010\u001a\u001a\n\u0012\u0004\u0012\u00020\u0007\u0018\u00010\u001bX¦\u0004¢\u0006\u0006\u001a\u0004\b\u001c\u0010\u001dR\u0014\u0010\u001e\u001a\u0004\u0018\u00010\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b\u001f\u0010\t¨\u0006 "}, d2 = {"Lcom/adif/elcanomovil/domain/entities/station/StationServicesInterface;", "", "accessible", "Lcom/adif/elcanomovil/domain/entities/station/Accessible;", "getAccessible", "()Lcom/adif/elcanomovil/domain/entities/station/Accessible;", "description", "", "getDescription", "()Ljava/lang/String;", "identifier", "getIdentifier", "locator", "Lcom/adif/elcanomovil/domain/entities/station/Locator;", "getLocator", "()Lcom/adif/elcanomovil/domain/entities/station/Locator;", "logo", "getLogo", AppMeasurementSdk.ConditionalUserProperty.NAME, "getName", "openingHours", "Lcom/adif/elcanomovil/domain/entities/station/OpeningHours;", "getOpeningHours", "()Lcom/adif/elcanomovil/domain/entities/station/OpeningHours;", "phoneNumber", "getPhoneNumber", "pictures", "", "getPictures", "()Ljava/util/List;", "web", "getWeb", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface StationServicesInterface {
|
||||
Accessible getAccessible();
|
||||
|
||||
String getDescription();
|
||||
|
||||
String getIdentifier();
|
||||
|
||||
Locator getLocator();
|
||||
|
||||
String getLogo();
|
||||
|
||||
String getName();
|
||||
|
||||
OpeningHours getOpeningHours();
|
||||
|
||||
String getPhoneNumber();
|
||||
|
||||
List<String> getPictures();
|
||||
|
||||
String getWeb();
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,119 @@
|
||||
package com.adif.elcanomovil.domain.entities.stationObservations;
|
||||
|
||||
import C.w;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0012\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B-\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\u0006\u0010\b\u001a\u00020\t¢\u0006\u0002\u0010\nJ\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0006HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0006HÆ\u0003J\t\u0010\u0017\u001a\u00020\tHÆ\u0003J;\u0010\u0018\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\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u00062\b\b\u0002\u0010\b\u001a\u00020\tHÆ\u0001J\u0013\u0010\u0019\u001a\u00020\u00032\b\u0010\u001a\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001b\u001a\u00020\u001cHÖ\u0001J\t\u0010\u001d\u001a\u00020\u0006HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\fR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0011\u0010\u0007\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000fR\u0011\u0010\b\u001a\u00020\t¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012¨\u0006\u001e"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/stationObservations/StationObservation;", "", "avldmd", "", "cercanias", "observation", "", "stationCode", "typeOfWarning", "Lcom/adif/elcanomovil/domain/entities/stationObservations/StationObservationType;", "(ZZLjava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/domain/entities/stationObservations/StationObservationType;)V", "getAvldmd", "()Z", "getCercanias", "getObservation", "()Ljava/lang/String;", "getStationCode", "getTypeOfWarning", "()Lcom/adif/elcanomovil/domain/entities/stationObservations/StationObservationType;", "component1", "component2", "component3", "component4", "component5", "copy", "equals", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class StationObservation {
|
||||
private final boolean avldmd;
|
||||
private final boolean cercanias;
|
||||
private final String observation;
|
||||
private final String stationCode;
|
||||
private final StationObservationType typeOfWarning;
|
||||
|
||||
public StationObservation(boolean z3, boolean z4, String observation, String stationCode, StationObservationType typeOfWarning) {
|
||||
Intrinsics.checkNotNullParameter(observation, "observation");
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(typeOfWarning, "typeOfWarning");
|
||||
this.avldmd = z3;
|
||||
this.cercanias = z4;
|
||||
this.observation = observation;
|
||||
this.stationCode = stationCode;
|
||||
this.typeOfWarning = typeOfWarning;
|
||||
}
|
||||
|
||||
public static /* synthetic */ StationObservation copy$default(StationObservation stationObservation, boolean z3, boolean z4, String str, String str2, StationObservationType stationObservationType, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
z3 = stationObservation.avldmd;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
z4 = stationObservation.cercanias;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str = stationObservation.observation;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str2 = stationObservation.stationCode;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
stationObservationType = stationObservation.typeOfWarning;
|
||||
}
|
||||
StationObservationType stationObservationType2 = stationObservationType;
|
||||
String str3 = str;
|
||||
return stationObservation.copy(z3, z4, str3, str2, stationObservationType2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final boolean getAvldmd() {
|
||||
return this.avldmd;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final boolean getCercanias() {
|
||||
return this.cercanias;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final StationObservationType getTypeOfWarning() {
|
||||
return this.typeOfWarning;
|
||||
}
|
||||
|
||||
public final StationObservation copy(boolean avldmd, boolean cercanias, String observation, String stationCode, StationObservationType typeOfWarning) {
|
||||
Intrinsics.checkNotNullParameter(observation, "observation");
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(typeOfWarning, "typeOfWarning");
|
||||
return new StationObservation(avldmd, cercanias, observation, stationCode, typeOfWarning);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof StationObservation)) {
|
||||
return false;
|
||||
}
|
||||
StationObservation stationObservation = (StationObservation) other;
|
||||
return this.avldmd == stationObservation.avldmd && this.cercanias == stationObservation.cercanias && Intrinsics.areEqual(this.observation, stationObservation.observation) && Intrinsics.areEqual(this.stationCode, stationObservation.stationCode) && this.typeOfWarning == stationObservation.typeOfWarning;
|
||||
}
|
||||
|
||||
public final boolean getAvldmd() {
|
||||
return this.avldmd;
|
||||
}
|
||||
|
||||
public final boolean getCercanias() {
|
||||
return this.cercanias;
|
||||
}
|
||||
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public final StationObservationType getTypeOfWarning() {
|
||||
return this.typeOfWarning;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.typeOfWarning.hashCode() + a.d(this.stationCode, a.d(this.observation, w.c(Boolean.hashCode(this.avldmd) * 31, 31, this.cercanias), 31), 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "StationObservation(avldmd=" + this.avldmd + ", cercanias=" + this.cercanias + ", observation=" + this.observation + ", stationCode=" + this.stationCode + ", typeOfWarning=" + this.typeOfWarning + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.adif.elcanomovil.domain.entities.stationObservations;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0004\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004¨\u0006\u0005"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/stationObservations/StationObservationType;", "", "(Ljava/lang/String;I)V", "WARNING", "INFO", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class StationObservationType {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ StationObservationType[] $VALUES;
|
||||
public static final StationObservationType WARNING = new StationObservationType("WARNING", 0);
|
||||
public static final StationObservationType INFO = new StationObservationType("INFO", 1);
|
||||
|
||||
private static final /* synthetic */ StationObservationType[] $values() {
|
||||
return new StationObservationType[]{WARNING, INFO};
|
||||
}
|
||||
|
||||
static {
|
||||
StationObservationType[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
}
|
||||
|
||||
private StationObservationType(String str, int i) {
|
||||
}
|
||||
|
||||
public static EnumEntries<StationObservationType> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static StationObservationType valueOf(String str) {
|
||||
return (StationObservationType) Enum.valueOf(StationObservationType.class, str);
|
||||
}
|
||||
|
||||
public static StationObservationType[] values() {
|
||||
return (StationObservationType[]) $VALUES.clone();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
package com.adif.elcanomovil.domain.entities.subscription;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
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\b\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0010\u0006\n\u0002\b\u001c\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001BM\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b\u0012\u0006\u0010\n\u001a\u00020\u0003\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\f\u001a\u00020\u0003\u0012\u0006\u0010\r\u001a\u00020\u0003¢\u0006\u0002\u0010\u000eJ\t\u0010\u001c\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001d\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001e\u001a\u00020\u0005HÆ\u0003J\u000f\u0010\u001f\u001a\b\u0012\u0004\u0012\u00020\t0\bHÆ\u0003J\t\u0010 \u001a\u00020\u0003HÆ\u0003J\u000b\u0010!\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\"\u001a\u00020\u0003HÆ\u0003J\t\u0010#\u001a\u00020\u0003HÆ\u0003Ja\u0010$\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00052\u000e\b\u0002\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b2\b\b\u0002\u0010\n\u001a\u00020\u00032\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\f\u001a\u00020\u00032\b\b\u0002\u0010\r\u001a\u00020\u0003HÆ\u0001J\u0013\u0010%\u001a\u00020&2\b\u0010'\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010(\u001a\u00020\u0005HÖ\u0001J\t\u0010)\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u001a\u0010\u0006\u001a\u00020\u0005X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0013\u0010\u0012\"\u0004\b\u0014\u0010\u0015R\u0017\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0017R\u0011\u0010\n\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0010R\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0010R\u0011\u0010\f\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0010R\u0011\u0010\r\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0010¨\u0006*"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/subscription/Destination;", "", "commercialZone", "", "customerService", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "latlong", "", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "observation", "shortName", NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC, "(Ljava/lang/String;IILjava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCommercialZone", "()Ljava/lang/String;", "getCustomerService", "()I", "getId", "setId", "(I)V", "getLatlong", "()Ljava/util/List;", "getName", "getObservation", "getShortName", "getTrafficType", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "equals", "", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Destination {
|
||||
private final String commercialZone;
|
||||
private final int customerService;
|
||||
private int id;
|
||||
private final List<Double> latlong;
|
||||
private final String name;
|
||||
private final String observation;
|
||||
private final String shortName;
|
||||
private final String trafficType;
|
||||
|
||||
public Destination(String commercialZone, int i, int i4, List<Double> latlong, String name, String str, String shortName, String trafficType) {
|
||||
Intrinsics.checkNotNullParameter(commercialZone, "commercialZone");
|
||||
Intrinsics.checkNotNullParameter(latlong, "latlong");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
this.commercialZone = commercialZone;
|
||||
this.customerService = i;
|
||||
this.id = i4;
|
||||
this.latlong = latlong;
|
||||
this.name = name;
|
||||
this.observation = str;
|
||||
this.shortName = shortName;
|
||||
this.trafficType = trafficType;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Destination copy$default(Destination destination, String str, int i, int i4, List list, String str2, String str3, String str4, String str5, int i5, Object obj) {
|
||||
if ((i5 & 1) != 0) {
|
||||
str = destination.commercialZone;
|
||||
}
|
||||
if ((i5 & 2) != 0) {
|
||||
i = destination.customerService;
|
||||
}
|
||||
if ((i5 & 4) != 0) {
|
||||
i4 = destination.id;
|
||||
}
|
||||
if ((i5 & 8) != 0) {
|
||||
list = destination.latlong;
|
||||
}
|
||||
if ((i5 & 16) != 0) {
|
||||
str2 = destination.name;
|
||||
}
|
||||
if ((i5 & 32) != 0) {
|
||||
str3 = destination.observation;
|
||||
}
|
||||
if ((i5 & 64) != 0) {
|
||||
str4 = destination.shortName;
|
||||
}
|
||||
if ((i5 & 128) != 0) {
|
||||
str5 = destination.trafficType;
|
||||
}
|
||||
String str6 = str4;
|
||||
String str7 = str5;
|
||||
String str8 = str2;
|
||||
String str9 = str3;
|
||||
return destination.copy(str, i, i4, list, str8, str9, str6, str7);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCommercialZone() {
|
||||
return this.commercialZone;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final int getCustomerService() {
|
||||
return this.customerService;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final List<Double> component4() {
|
||||
return this.latlong;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public final Destination copy(String commercialZone, int customerService, int id, List<Double> latlong, String name, String observation, String shortName, String trafficType) {
|
||||
Intrinsics.checkNotNullParameter(commercialZone, "commercialZone");
|
||||
Intrinsics.checkNotNullParameter(latlong, "latlong");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
return new Destination(commercialZone, customerService, id, latlong, name, observation, shortName, trafficType);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Destination)) {
|
||||
return false;
|
||||
}
|
||||
Destination destination = (Destination) other;
|
||||
return Intrinsics.areEqual(this.commercialZone, destination.commercialZone) && this.customerService == destination.customerService && this.id == destination.id && Intrinsics.areEqual(this.latlong, destination.latlong) && Intrinsics.areEqual(this.name, destination.name) && Intrinsics.areEqual(this.observation, destination.observation) && Intrinsics.areEqual(this.shortName, destination.shortName) && Intrinsics.areEqual(this.trafficType, destination.trafficType);
|
||||
}
|
||||
|
||||
public final String getCommercialZone() {
|
||||
return this.commercialZone;
|
||||
}
|
||||
|
||||
public final int getCustomerService() {
|
||||
return this.customerService;
|
||||
}
|
||||
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final List<Double> getLatlong() {
|
||||
return this.latlong;
|
||||
}
|
||||
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
public final String getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.name, (this.latlong.hashCode() + w.x(this.id, w.x(this.customerService, this.commercialZone.hashCode() * 31, 31), 31)) * 31, 31);
|
||||
String str = this.observation;
|
||||
return this.trafficType.hashCode() + a.d(this.shortName, (d4 + (str == null ? 0 : str.hashCode())) * 31, 31);
|
||||
}
|
||||
|
||||
public final void setId(int i) {
|
||||
this.id = i;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("Destination(commercialZone=");
|
||||
sb.append(this.commercialZone);
|
||||
sb.append(", customerService=");
|
||||
sb.append(this.customerService);
|
||||
sb.append(", id=");
|
||||
sb.append(this.id);
|
||||
sb.append(", latlong=");
|
||||
sb.append(this.latlong);
|
||||
sb.append(", name=");
|
||||
sb.append(this.name);
|
||||
sb.append(", observation=");
|
||||
sb.append(this.observation);
|
||||
sb.append(", shortName=");
|
||||
sb.append(this.shortName);
|
||||
sb.append(", trafficType=");
|
||||
return a.n(sb, this.trafficType, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
package com.adif.elcanomovil.domain.entities.subscription;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
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\b\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0010\u0006\n\u0002\b\u001c\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001BM\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b\u0012\u0006\u0010\n\u001a\u00020\u0003\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\f\u001a\u00020\u0003\u0012\u0006\u0010\r\u001a\u00020\u0003¢\u0006\u0002\u0010\u000eJ\t\u0010\u001c\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001d\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001e\u001a\u00020\u0005HÆ\u0003J\u000f\u0010\u001f\u001a\b\u0012\u0004\u0012\u00020\t0\bHÆ\u0003J\t\u0010 \u001a\u00020\u0003HÆ\u0003J\u000b\u0010!\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\"\u001a\u00020\u0003HÆ\u0003J\t\u0010#\u001a\u00020\u0003HÆ\u0003Ja\u0010$\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00052\u000e\b\u0002\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b2\b\b\u0002\u0010\n\u001a\u00020\u00032\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\f\u001a\u00020\u00032\b\b\u0002\u0010\r\u001a\u00020\u0003HÆ\u0001J\u0013\u0010%\u001a\u00020&2\b\u0010'\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010(\u001a\u00020\u0005HÖ\u0001J\t\u0010)\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u001a\u0010\u0006\u001a\u00020\u0005X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0013\u0010\u0012\"\u0004\b\u0014\u0010\u0015R\u0017\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0017R\u0011\u0010\n\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0010R\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0010R\u0011\u0010\f\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0010R\u0011\u0010\r\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0010¨\u0006*"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/subscription/Origin;", "", "commercialZone", "", "customerService", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "latlong", "", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "observation", "shortName", NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC, "(Ljava/lang/String;IILjava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCommercialZone", "()Ljava/lang/String;", "getCustomerService", "()I", "getId", "setId", "(I)V", "getLatlong", "()Ljava/util/List;", "getName", "getObservation", "getShortName", "getTrafficType", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "equals", "", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Origin {
|
||||
private final String commercialZone;
|
||||
private final int customerService;
|
||||
private int id;
|
||||
private final List<Double> latlong;
|
||||
private final String name;
|
||||
private final String observation;
|
||||
private final String shortName;
|
||||
private final String trafficType;
|
||||
|
||||
public Origin(String commercialZone, int i, int i4, List<Double> latlong, String name, String str, String shortName, String trafficType) {
|
||||
Intrinsics.checkNotNullParameter(commercialZone, "commercialZone");
|
||||
Intrinsics.checkNotNullParameter(latlong, "latlong");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
this.commercialZone = commercialZone;
|
||||
this.customerService = i;
|
||||
this.id = i4;
|
||||
this.latlong = latlong;
|
||||
this.name = name;
|
||||
this.observation = str;
|
||||
this.shortName = shortName;
|
||||
this.trafficType = trafficType;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Origin copy$default(Origin origin, String str, int i, int i4, List list, String str2, String str3, String str4, String str5, int i5, Object obj) {
|
||||
if ((i5 & 1) != 0) {
|
||||
str = origin.commercialZone;
|
||||
}
|
||||
if ((i5 & 2) != 0) {
|
||||
i = origin.customerService;
|
||||
}
|
||||
if ((i5 & 4) != 0) {
|
||||
i4 = origin.id;
|
||||
}
|
||||
if ((i5 & 8) != 0) {
|
||||
list = origin.latlong;
|
||||
}
|
||||
if ((i5 & 16) != 0) {
|
||||
str2 = origin.name;
|
||||
}
|
||||
if ((i5 & 32) != 0) {
|
||||
str3 = origin.observation;
|
||||
}
|
||||
if ((i5 & 64) != 0) {
|
||||
str4 = origin.shortName;
|
||||
}
|
||||
if ((i5 & 128) != 0) {
|
||||
str5 = origin.trafficType;
|
||||
}
|
||||
String str6 = str4;
|
||||
String str7 = str5;
|
||||
String str8 = str2;
|
||||
String str9 = str3;
|
||||
return origin.copy(str, i, i4, list, str8, str9, str6, str7);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCommercialZone() {
|
||||
return this.commercialZone;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final int getCustomerService() {
|
||||
return this.customerService;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final List<Double> component4() {
|
||||
return this.latlong;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public final Origin copy(String commercialZone, int customerService, int id, List<Double> latlong, String name, String observation, String shortName, String trafficType) {
|
||||
Intrinsics.checkNotNullParameter(commercialZone, "commercialZone");
|
||||
Intrinsics.checkNotNullParameter(latlong, "latlong");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
return new Origin(commercialZone, customerService, id, latlong, name, observation, shortName, trafficType);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Origin)) {
|
||||
return false;
|
||||
}
|
||||
Origin origin = (Origin) other;
|
||||
return Intrinsics.areEqual(this.commercialZone, origin.commercialZone) && this.customerService == origin.customerService && this.id == origin.id && Intrinsics.areEqual(this.latlong, origin.latlong) && Intrinsics.areEqual(this.name, origin.name) && Intrinsics.areEqual(this.observation, origin.observation) && Intrinsics.areEqual(this.shortName, origin.shortName) && Intrinsics.areEqual(this.trafficType, origin.trafficType);
|
||||
}
|
||||
|
||||
public final String getCommercialZone() {
|
||||
return this.commercialZone;
|
||||
}
|
||||
|
||||
public final int getCustomerService() {
|
||||
return this.customerService;
|
||||
}
|
||||
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final List<Double> getLatlong() {
|
||||
return this.latlong;
|
||||
}
|
||||
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
public final String getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.name, (this.latlong.hashCode() + w.x(this.id, w.x(this.customerService, this.commercialZone.hashCode() * 31, 31), 31)) * 31, 31);
|
||||
String str = this.observation;
|
||||
return this.trafficType.hashCode() + a.d(this.shortName, (d4 + (str == null ? 0 : str.hashCode())) * 31, 31);
|
||||
}
|
||||
|
||||
public final void setId(int i) {
|
||||
this.id = i;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("Origin(commercialZone=");
|
||||
sb.append(this.commercialZone);
|
||||
sb.append(", customerService=");
|
||||
sb.append(this.customerService);
|
||||
sb.append(", id=");
|
||||
sb.append(this.id);
|
||||
sb.append(", latlong=");
|
||||
sb.append(this.latlong);
|
||||
sb.append(", name=");
|
||||
sb.append(this.name);
|
||||
sb.append(", observation=");
|
||||
sb.append(this.observation);
|
||||
sb.append(", shortName=");
|
||||
sb.append(this.shortName);
|
||||
sb.append(", trafficType=");
|
||||
return a.n(sb, this.trafficType, ')');
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,74 @@
|
||||
package com.adif.elcanomovil.domain.entities.subscription;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\u0007\b\u0086\u0081\u0002\u0018\u0000 \t2\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\tB\u000f\b\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006j\u0002\b\u0007j\u0002\b\b¨\u0006\n"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/subscription/SubscriptionType;", "", "value", "", "(Ljava/lang/String;II)V", "getValue", "()I", "JOURNEY", "TRAIN", "Companion", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class SubscriptionType {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ SubscriptionType[] $VALUES;
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE;
|
||||
public static final SubscriptionType JOURNEY = new SubscriptionType("JOURNEY", 0, 1);
|
||||
public static final SubscriptionType TRAIN = new SubscriptionType("TRAIN", 1, 2);
|
||||
private final int value;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0086\u0002¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/subscription/SubscriptionType$Companion;", "", "()V", "invoke", "Lcom/adif/elcanomovil/domain/entities/subscription/SubscriptionType;", "rawValue", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nSubscriptionType.kt\nKotlin\n*S Kotlin\n*F\n+ 1 SubscriptionType.kt\ncom/adif/elcanomovil/domain/entities/subscription/SubscriptionType$Companion\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,11:1\n1#2:12\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final SubscriptionType invoke(int rawValue) {
|
||||
for (SubscriptionType subscriptionType : SubscriptionType.values()) {
|
||||
if (subscriptionType.getValue() == rawValue) {
|
||||
return subscriptionType;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
private static final /* synthetic */ SubscriptionType[] $values() {
|
||||
return new SubscriptionType[]{JOURNEY, TRAIN};
|
||||
}
|
||||
|
||||
static {
|
||||
SubscriptionType[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
INSTANCE = new Companion(null);
|
||||
}
|
||||
|
||||
private SubscriptionType(String str, int i, int i4) {
|
||||
this.value = i4;
|
||||
}
|
||||
|
||||
public static EnumEntries<SubscriptionType> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static SubscriptionType valueOf(String str) {
|
||||
return (SubscriptionType) Enum.valueOf(SubscriptionType.class, str);
|
||||
}
|
||||
|
||||
public static SubscriptionType[] values() {
|
||||
return (SubscriptionType[]) $VALUES.clone();
|
||||
}
|
||||
|
||||
public final int getValue() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
package com.adif.elcanomovil.domain.entities.utils;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import com.google.firebase.messaging.Constants;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0003\n\u0002\b\u000e\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0086\b\u0018\u0000 \u001c*\u0006\b\u0000\u0010\u0001 \u00012\u00020\u0002:\u0001\u001cB!\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\b\u0010\u0005\u001a\u0004\u0018\u00018\u0000\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\u0002\u0010\bJ\t\u0010\u0010\u001a\u00020\u0004HÆ\u0003J\u0010\u0010\u0011\u001a\u0004\u0018\u00018\u0000HÆ\u0003¢\u0006\u0002\u0010\nJ\u000b\u0010\u0012\u001a\u0004\u0018\u00010\u0007HÆ\u0003J6\u0010\u0013\u001a\b\u0012\u0004\u0012\u00028\u00000\u00002\b\b\u0002\u0010\u0003\u001a\u00020\u00042\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00018\u00002\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007HÆ\u0001¢\u0006\u0002\u0010\u0014J\u0013\u0010\u0015\u001a\u00020\u00162\b\u0010\u0017\u001a\u0004\u0018\u00010\u0002HÖ\u0003J\t\u0010\u0018\u001a\u00020\u0019HÖ\u0001J\t\u0010\u001a\u001a\u00020\u001bHÖ\u0001R\u0015\u0010\u0005\u001a\u0004\u0018\u00018\u0000¢\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\t\u0010\nR\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000f¨\u0006\u001d"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/utils/AsyncResult;", "T", "", "status", "Lcom/adif/elcanomovil/domain/entities/utils/Status;", Constants.ScionAnalytics.MessageType.DATA_MESSAGE, "throwable", "", "(Lcom/adif/elcanomovil/domain/entities/utils/Status;Ljava/lang/Object;Ljava/lang/Throwable;)V", "getData", "()Ljava/lang/Object;", "Ljava/lang/Object;", "getStatus", "()Lcom/adif/elcanomovil/domain/entities/utils/Status;", "getThrowable", "()Ljava/lang/Throwable;", "component1", "component2", "component3", "copy", "(Lcom/adif/elcanomovil/domain/entities/utils/Status;Ljava/lang/Object;Ljava/lang/Throwable;)Lcom/adif/elcanomovil/domain/entities/utils/AsyncResult;", "equals", "", "other", "hashCode", "", "toString", "", "Companion", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class AsyncResult<T> {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private final T data;
|
||||
private final Status status;
|
||||
private final Throwable throwable;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0003\n\u0002\b\u0006\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J)\u0010\u0003\u001a\b\u0012\u0004\u0012\u0002H\u00050\u0004\"\u0004\b\u0001\u0010\u00052\u0006\u0010\u0006\u001a\u00020\u00072\b\u0010\b\u001a\u0004\u0018\u0001H\u0005¢\u0006\u0002\u0010\tJ!\u0010\n\u001a\b\u0012\u0004\u0012\u0002H\u00050\u0004\"\u0004\b\u0001\u0010\u00052\b\u0010\b\u001a\u0004\u0018\u0001H\u0005¢\u0006\u0002\u0010\u000bJ!\u0010\f\u001a\b\u0012\u0004\u0012\u0002H\u00050\u0004\"\u0004\b\u0001\u0010\u00052\b\u0010\b\u001a\u0004\u0018\u0001H\u0005¢\u0006\u0002\u0010\u000b¨\u0006\r"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/utils/AsyncResult$Companion;", "", "()V", Constants.IPC_BUNDLE_KEY_SEND_ERROR, "Lcom/adif/elcanomovil/domain/entities/utils/AsyncResult;", "T", "throwable", "", Constants.ScionAnalytics.MessageType.DATA_MESSAGE, "(Ljava/lang/Throwable;Ljava/lang/Object;)Lcom/adif/elcanomovil/domain/entities/utils/AsyncResult;", "loading", "(Ljava/lang/Object;)Lcom/adif/elcanomovil/domain/entities/utils/AsyncResult;", FirebaseAnalytics.Param.SUCCESS, "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final <T> AsyncResult<T> error(Throwable throwable, T data) {
|
||||
Intrinsics.checkNotNullParameter(throwable, "throwable");
|
||||
return new AsyncResult<>(Status.ERROR, data, throwable);
|
||||
}
|
||||
|
||||
public final <T> AsyncResult<T> loading(T data) {
|
||||
return new AsyncResult<>(Status.LOADING, data, null);
|
||||
}
|
||||
|
||||
public final <T> AsyncResult<T> success(T data) {
|
||||
return new AsyncResult<>(Status.SUCCESS, data, null);
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public AsyncResult(Status status, T t2, Throwable th) {
|
||||
Intrinsics.checkNotNullParameter(status, "status");
|
||||
this.status = status;
|
||||
this.data = t2;
|
||||
this.throwable = th;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ AsyncResult copy$default(AsyncResult asyncResult, Status status, Object obj, Throwable th, int i, Object obj2) {
|
||||
if ((i & 1) != 0) {
|
||||
status = asyncResult.status;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
obj = asyncResult.data;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
th = asyncResult.throwable;
|
||||
}
|
||||
return asyncResult.copy(status, obj, th);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Status getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public final T component2() {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final Throwable getThrowable() {
|
||||
return this.throwable;
|
||||
}
|
||||
|
||||
public final AsyncResult<T> copy(Status status, T data, Throwable throwable) {
|
||||
Intrinsics.checkNotNullParameter(status, "status");
|
||||
return new AsyncResult<>(status, data, throwable);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AsyncResult)) {
|
||||
return false;
|
||||
}
|
||||
AsyncResult asyncResult = (AsyncResult) other;
|
||||
return this.status == asyncResult.status && Intrinsics.areEqual(this.data, asyncResult.data) && Intrinsics.areEqual(this.throwable, asyncResult.throwable);
|
||||
}
|
||||
|
||||
public final T getData() {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
public final Status getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public final Throwable getThrowable() {
|
||||
return this.throwable;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int hashCode = this.status.hashCode() * 31;
|
||||
T t2 = this.data;
|
||||
int hashCode2 = (hashCode + (t2 == null ? 0 : t2.hashCode())) * 31;
|
||||
Throwable th = this.throwable;
|
||||
return hashCode2 + (th != null ? th.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AsyncResult(status=" + this.status + ", data=" + this.data + ", throwable=" + this.throwable + ')';
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user