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,41 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.compositions;
|
||||
|
||||
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/serviceNetworking/compositions/CoachType;", "", "(Ljava/lang/String;I)V", "COACH", "TRACTOR", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class CoachType {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ CoachType[] $VALUES;
|
||||
public static final CoachType COACH = new CoachType("COACH", 0);
|
||||
public static final CoachType TRACTOR = new CoachType("TRACTOR", 1);
|
||||
|
||||
private static final /* synthetic */ CoachType[] $values() {
|
||||
return new CoachType[]{COACH, TRACTOR};
|
||||
}
|
||||
|
||||
static {
|
||||
CoachType[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
}
|
||||
|
||||
private CoachType(String str, int i) {
|
||||
}
|
||||
|
||||
public static EnumEntries<CoachType> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static CoachType valueOf(String str) {
|
||||
return (CoachType) Enum.valueOf(CoachType.class, str);
|
||||
}
|
||||
|
||||
public static CoachType[] values() {
|
||||
return (CoachType[]) $VALUES.clone();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.compositions;
|
||||
|
||||
import C.w;
|
||||
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\u0000\n\u0002\u0010\b\n\u0002\b\u0013\b\u0086\b\u0018\u00002\u00020\u0001B'\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\t¢\u0006\u0002\u0010\nJ\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0014\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0007HÆ\u0003J\t\u0010\u0016\u001a\u00020\tHÆ\u0003J3\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\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\tHÆ\u0001J\u0013\u0010\u0018\u001a\u00020\u00032\b\u0010\u0019\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001a\u001a\u00020\tHÖ\u0001J\t\u0010\u001b\u001a\u00020\u0005HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\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\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\b\u001a\u00020\t¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012¨\u0006\u001c"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/compositions/Coaches;", "", "cafeteria", "", "coachNumber", "", "coachType", "Lcom/adif/elcanomovil/serviceNetworking/compositions/CoachType;", "sequential", "", "(ZLjava/lang/String;Lcom/adif/elcanomovil/serviceNetworking/compositions/CoachType;I)V", "getCafeteria", "()Z", "getCoachNumber", "()Ljava/lang/String;", "getCoachType", "()Lcom/adif/elcanomovil/serviceNetworking/compositions/CoachType;", "getSequential", "()I", "component1", "component2", "component3", "component4", "copy", "equals", "other", "hashCode", "toString", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Coaches {
|
||||
private final boolean cafeteria;
|
||||
private final String coachNumber;
|
||||
private final CoachType coachType;
|
||||
private final int sequential;
|
||||
|
||||
public Coaches(boolean z3, String str, CoachType coachType, int i) {
|
||||
Intrinsics.checkNotNullParameter(coachType, "coachType");
|
||||
this.cafeteria = z3;
|
||||
this.coachNumber = str;
|
||||
this.coachType = coachType;
|
||||
this.sequential = i;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Coaches copy$default(Coaches coaches, boolean z3, String str, CoachType coachType, int i, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
z3 = coaches.cafeteria;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
str = coaches.coachNumber;
|
||||
}
|
||||
if ((i4 & 4) != 0) {
|
||||
coachType = coaches.coachType;
|
||||
}
|
||||
if ((i4 & 8) != 0) {
|
||||
i = coaches.sequential;
|
||||
}
|
||||
return coaches.copy(z3, str, coachType, i);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final boolean getCafeteria() {
|
||||
return this.cafeteria;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getCoachNumber() {
|
||||
return this.coachNumber;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final CoachType getCoachType() {
|
||||
return this.coachType;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final int getSequential() {
|
||||
return this.sequential;
|
||||
}
|
||||
|
||||
public final Coaches copy(boolean cafeteria, String coachNumber, CoachType coachType, int sequential) {
|
||||
Intrinsics.checkNotNullParameter(coachType, "coachType");
|
||||
return new Coaches(cafeteria, coachNumber, coachType, sequential);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Coaches)) {
|
||||
return false;
|
||||
}
|
||||
Coaches coaches = (Coaches) other;
|
||||
return this.cafeteria == coaches.cafeteria && Intrinsics.areEqual(this.coachNumber, coaches.coachNumber) && this.coachType == coaches.coachType && this.sequential == coaches.sequential;
|
||||
}
|
||||
|
||||
public final boolean getCafeteria() {
|
||||
return this.cafeteria;
|
||||
}
|
||||
|
||||
public final String getCoachNumber() {
|
||||
return this.coachNumber;
|
||||
}
|
||||
|
||||
public final CoachType getCoachType() {
|
||||
return this.coachType;
|
||||
}
|
||||
|
||||
public final int getSequential() {
|
||||
return this.sequential;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int hashCode = Boolean.hashCode(this.cafeteria) * 31;
|
||||
String str = this.coachNumber;
|
||||
return Integer.hashCode(this.sequential) + ((this.coachType.hashCode() + ((hashCode + (str == null ? 0 : str.hashCode())) * 31)) * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("Coaches(cafeteria=");
|
||||
sb.append(this.cafeteria);
|
||||
sb.append(", coachNumber=");
|
||||
sb.append(this.coachNumber);
|
||||
sb.append(", coachType=");
|
||||
sb.append(this.coachType);
|
||||
sb.append(", sequential=");
|
||||
return w.p(sb, this.sequential, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.compositions;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
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\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\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\t\u0010\u0013\u001a\u00020\u0003HÖ\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\u0014"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/compositions/CommercialCirculationKey;", "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, "", NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "", "(Ljava/lang/String;J)V", "getCommercialNumber", "()Ljava/lang/String;", "getLaunchingDate", "()J", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class CommercialCirculationKey {
|
||||
private final String commercialNumber;
|
||||
private final long launchingDate;
|
||||
|
||||
public CommercialCirculationKey(String commercialNumber, long j4) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
this.commercialNumber = commercialNumber;
|
||||
this.launchingDate = j4;
|
||||
}
|
||||
|
||||
public static /* synthetic */ CommercialCirculationKey copy$default(CommercialCirculationKey commercialCirculationKey, String str, long j4, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = commercialCirculationKey.commercialNumber;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
j4 = commercialCirculationKey.launchingDate;
|
||||
}
|
||||
return commercialCirculationKey.copy(str, j4);
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
public final CommercialCirculationKey copy(String commercialNumber, long launchingDate) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
return new CommercialCirculationKey(commercialNumber, launchingDate);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof CommercialCirculationKey)) {
|
||||
return false;
|
||||
}
|
||||
CommercialCirculationKey commercialCirculationKey = (CommercialCirculationKey) other;
|
||||
return Intrinsics.areEqual(this.commercialNumber, commercialCirculationKey.commercialNumber) && this.launchingDate == commercialCirculationKey.launchingDate;
|
||||
}
|
||||
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return Long.hashCode(this.launchingDate) + (this.commercialNumber.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "CommercialCirculationKey(commercialNumber=" + this.commercialNumber + ", launchingDate=" + this.launchingDate + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.compositions;
|
||||
|
||||
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\u0006\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u000f\u0012\b\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\u0001HÖ\u0003J\t\u0010\f\u001a\u00020\rHÖ\u0001J\t\u0010\u000e\u001a\u00020\u000fHÖ\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/serviceNetworking/compositions/CommercialPathKey;", "", "commercialCirculationKey", "Lcom/adif/elcanomovil/serviceNetworking/compositions/CommercialCirculationKey;", "(Lcom/adif/elcanomovil/serviceNetworking/compositions/CommercialCirculationKey;)V", "getCommercialCirculationKey", "()Lcom/adif/elcanomovil/serviceNetworking/compositions/CommercialCirculationKey;", "component1", "copy", "equals", "", "other", "hashCode", "", "toString", "", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class CommercialPathKey {
|
||||
private final CommercialCirculationKey commercialCirculationKey;
|
||||
|
||||
public CommercialPathKey(CommercialCirculationKey commercialCirculationKey) {
|
||||
this.commercialCirculationKey = commercialCirculationKey;
|
||||
}
|
||||
|
||||
public static /* synthetic */ CommercialPathKey copy$default(CommercialPathKey commercialPathKey, CommercialCirculationKey commercialCirculationKey, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
commercialCirculationKey = commercialPathKey.commercialCirculationKey;
|
||||
}
|
||||
return commercialPathKey.copy(commercialCirculationKey);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final CommercialCirculationKey getCommercialCirculationKey() {
|
||||
return this.commercialCirculationKey;
|
||||
}
|
||||
|
||||
public final CommercialPathKey copy(CommercialCirculationKey commercialCirculationKey) {
|
||||
return new CommercialPathKey(commercialCirculationKey);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof CommercialPathKey) && Intrinsics.areEqual(this.commercialCirculationKey, ((CommercialPathKey) other).commercialCirculationKey);
|
||||
}
|
||||
|
||||
public final CommercialCirculationKey getCommercialCirculationKey() {
|
||||
return this.commercialCirculationKey;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
CommercialCirculationKey commercialCirculationKey = this.commercialCirculationKey;
|
||||
if (commercialCirculationKey == null) {
|
||||
return 0;
|
||||
}
|
||||
return commercialCirculationKey.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "CommercialPathKey(commercialCirculationKey=" + this.commercialCirculationKey + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.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/serviceNetworking/compositions/Composition;", "", "stationCode", "", "plannedTime", "", "coaches", "", "Lcom/adif/elcanomovil/serviceNetworking/compositions/Coaches;", "(Ljava/lang/String;JLjava/util/List;)V", "getCoaches", "()Ljava/util/List;", "getPlannedTime", "()J", "getStationCode", "()Ljava/lang/String;", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Composition {
|
||||
private final List<Coaches> coaches;
|
||||
private final long plannedTime;
|
||||
private final String stationCode;
|
||||
|
||||
public Composition(String stationCode, long j4, List<Coaches> coaches) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(coaches, "coaches");
|
||||
this.stationCode = stationCode;
|
||||
this.plannedTime = j4;
|
||||
this.coaches = coaches;
|
||||
}
|
||||
|
||||
/* 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.coaches;
|
||||
}
|
||||
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<Coaches> component3() {
|
||||
return this.coaches;
|
||||
}
|
||||
|
||||
public final Composition copy(String stationCode, long plannedTime, List<Coaches> coaches) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(coaches, "coaches");
|
||||
return new Composition(stationCode, plannedTime, coaches);
|
||||
}
|
||||
|
||||
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.coaches, composition.coaches);
|
||||
}
|
||||
|
||||
public final List<Coaches> getCoaches() {
|
||||
return this.coaches;
|
||||
}
|
||||
|
||||
public final long getPlannedTime() {
|
||||
return this.plannedTime;
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.coaches.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(", coaches=");
|
||||
return a.o(sb, this.coaches, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.compositions;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u000e\u0010\u0002\u001a\n\u0012\u0004\u0012\u00020\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0005J\u0011\u0010\b\u001a\n\u0012\u0004\u0012\u00020\u0004\u0018\u00010\u0003HÆ\u0003J\u001b\u0010\t\u001a\u00020\u00002\u0010\b\u0002\u0010\u0002\u001a\n\u0012\u0004\u0012\u00020\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010\n\u001a\u00020\u000b2\b\u0010\f\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001R\u0019\u0010\u0002\u001a\n\u0012\u0004\u0012\u00020\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/compositions/CompositionResponse;", "", "compositions", "", "Lcom/adif/elcanomovil/serviceNetworking/compositions/Composition;", "(Ljava/util/List;)V", "getCompositions", "()Ljava/util/List;", "component1", "copy", "equals", "", "other", "hashCode", "", "toString", "", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class CompositionResponse {
|
||||
private final List<Composition> compositions;
|
||||
|
||||
public CompositionResponse(List<Composition> list) {
|
||||
this.compositions = list;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ CompositionResponse copy$default(CompositionResponse compositionResponse, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
list = compositionResponse.compositions;
|
||||
}
|
||||
return compositionResponse.copy(list);
|
||||
}
|
||||
|
||||
public final List<Composition> component1() {
|
||||
return this.compositions;
|
||||
}
|
||||
|
||||
public final CompositionResponse copy(List<Composition> compositions) {
|
||||
return new CompositionResponse(compositions);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof CompositionResponse) && Intrinsics.areEqual(this.compositions, ((CompositionResponse) other).compositions);
|
||||
}
|
||||
|
||||
public final List<Composition> getCompositions() {
|
||||
return this.compositions;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
List<Composition> list = this.compositions;
|
||||
if (list == null) {
|
||||
return 0;
|
||||
}
|
||||
return list.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return a.o(new StringBuilder("CompositionResponse(compositions="), this.compositions, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.compositions;
|
||||
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.adif.elcanomovil.serviceNetworking.circulations.model.request.OneOrSeveralPathsRequest;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import retrofit2.Response;
|
||||
import retrofit2.http.Body;
|
||||
import retrofit2.http.Headers;
|
||||
import retrofit2.http.POST;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001J \u0010\u0002\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00040\u00032\b\b\u0001\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u0007¨\u0006\b"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/compositions/CompositionsService;", "", "compositions", "Lretrofit2/Response;", "Lcom/adif/elcanomovil/serviceNetworking/compositions/CompositionResponse;", "request", "Lcom/adif/elcanomovil/serviceNetworking/circulations/model/request/OneOrSeveralPathsRequest;", "(Lcom/adif/elcanomovil/serviceNetworking/circulations/model/request/OneOrSeveralPathsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface CompositionsService {
|
||||
@Headers({ServicePaths.Headers.contentType, ServicePaths.Headers.apiManagerUserKeyCirculations})
|
||||
@POST(ServicePaths.CompositionService.compositions)
|
||||
Object compositions(@Body OneOrSeveralPathsRequest oneOrSeveralPathsRequest, Continuation<? super Response<CompositionResponse>> continuation);
|
||||
}
|
||||
Reference in New Issue
Block a user