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,44 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.subscriptions;
|
||||
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.adif.elcanomovil.serviceNetworking.subscriptions.models.SubscriptionCreateTrainRequest;
|
||||
import com.adif.elcanomovil.serviceNetworking.subscriptions.models.SubscriptionRequest;
|
||||
import com.adif.elcanomovil.serviceNetworking.subscriptions.models.SubscriptionResponse;
|
||||
import com.adif.elcanomovil.serviceNetworking.subscriptions.models.SubscriptionTrainRequest;
|
||||
import com.google.android.gms.common.internal.ImagesContract;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import retrofit2.Response;
|
||||
import retrofit2.http.Body;
|
||||
import retrofit2.http.DELETE;
|
||||
import retrofit2.http.GET;
|
||||
import retrofit2.http.Header;
|
||||
import retrofit2.http.POST;
|
||||
import retrofit2.http.Url;
|
||||
|
||||
@Metadata(d1 = {"\u0000@\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001JF\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u00032\b\b\u0001\u0010\u0005\u001a\u00020\u00062\b\b\u0001\u0010\u0007\u001a\u00020\u00062\b\b\u0001\u0010\b\u001a\u00020\u00062\b\b\u0001\u0010\t\u001a\u00020\u00062\b\b\u0001\u0010\n\u001a\u00020\u000bH§@¢\u0006\u0002\u0010\fJF\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00040\u00032\b\b\u0001\u0010\u0005\u001a\u00020\u00062\b\b\u0001\u0010\u0007\u001a\u00020\u00062\b\b\u0001\u0010\b\u001a\u00020\u00062\b\b\u0001\u0010\t\u001a\u00020\u00062\b\b\u0001\u0010\n\u001a\u00020\u000eH§@¢\u0006\u0002\u0010\u000fJP\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00040\u00032\b\b\u0001\u0010\u0011\u001a\u00020\u00062\b\b\u0001\u0010\u0005\u001a\u00020\u00062\b\b\u0001\u0010\u0007\u001a\u00020\u00062\b\b\u0001\u0010\b\u001a\u00020\u00062\b\b\u0001\u0010\t\u001a\u00020\u00062\b\b\u0001\u0010\n\u001a\u00020\u000bH§@¢\u0006\u0002\u0010\u0012JP\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00040\u00032\b\b\u0001\u0010\u0011\u001a\u00020\u00062\b\b\u0001\u0010\u0005\u001a\u00020\u00062\b\b\u0001\u0010\u0007\u001a\u00020\u00062\b\b\u0001\u0010\b\u001a\u00020\u00062\b\b\u0001\u0010\t\u001a\u00020\u00062\b\b\u0001\u0010\n\u001a\u00020\u0014H§@¢\u0006\u0002\u0010\u0015JP\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00040\u00032\b\b\u0001\u0010\u0011\u001a\u00020\u00062\b\b\u0001\u0010\u0005\u001a\u00020\u00062\b\b\u0001\u0010\u0007\u001a\u00020\u00062\b\b\u0001\u0010\b\u001a\u00020\u00062\b\b\u0001\u0010\t\u001a\u00020\u00062\b\b\u0001\u0010\n\u001a\u00020\u000bH§@¢\u0006\u0002\u0010\u0012J<\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00190\u00182\b\b\u0001\u0010\u0005\u001a\u00020\u00062\b\b\u0001\u0010\u0007\u001a\u00020\u00062\b\b\u0001\u0010\b\u001a\u00020\u00062\b\b\u0001\u0010\t\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u001aJ<\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u00040\u00032\b\b\u0001\u0010\u0011\u001a\u00020\u00062\b\b\u0001\u0010\u0005\u001a\u00020\u00062\b\b\u0001\u0010\u0007\u001a\u00020\u00062\b\b\u0001\u0010\t\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u001a¨\u0006\u001c"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/subscriptions/SubscriptionsService;", "", "createJourneySubscription", "Lretrofit2/Response;", "", "authValue", "", "pushID", "deviceID", "headerAuth", "subscriptionRequest", "Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionRequest;", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "createTrainSubscription", "Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionCreateTrainRequest;", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionCreateTrainRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "modifyJourneySubscription", ImagesContract.URL, "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "modifyTrainSubscription", "Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionTrainRequest;", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionTrainRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "muteSubscription", "subscriptions", "", "Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionResponse;", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "unregisterSubscription", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface SubscriptionsService {
|
||||
@POST(ServicePaths.SubscriptionsService.create_subcriptions)
|
||||
Object createJourneySubscription(@Header("Authorization") String str, @Header("X-CanalMovil-pushID") String str2, @Header("X-CanalMovil-deviceID") String str3, @Header("X-CanalMovil-Authentication") String str4, @Body SubscriptionRequest subscriptionRequest, Continuation<? super Response<Unit>> continuation);
|
||||
|
||||
@POST(ServicePaths.SubscriptionsService.create_subcriptions)
|
||||
Object createTrainSubscription(@Header("Authorization") String str, @Header("X-CanalMovil-pushID") String str2, @Header("X-CanalMovil-deviceID") String str3, @Header("X-CanalMovil-Authentication") String str4, @Body SubscriptionCreateTrainRequest subscriptionCreateTrainRequest, Continuation<? super Response<Unit>> continuation);
|
||||
|
||||
@POST
|
||||
Object modifyJourneySubscription(@Url String str, @Header("Authorization") String str2, @Header("X-CanalMovil-pushID") String str3, @Header("X-CanalMovil-deviceID") String str4, @Header("X-CanalMovil-Authentication") String str5, @Body SubscriptionRequest subscriptionRequest, Continuation<? super Response<Unit>> continuation);
|
||||
|
||||
@POST
|
||||
Object modifyTrainSubscription(@Url String str, @Header("Authorization") String str2, @Header("X-CanalMovil-pushID") String str3, @Header("X-CanalMovil-deviceID") String str4, @Header("X-CanalMovil-Authentication") String str5, @Body SubscriptionTrainRequest subscriptionTrainRequest, Continuation<? super Response<Unit>> continuation);
|
||||
|
||||
@POST(ServicePaths.SubscriptionsService.subcriptions)
|
||||
Object muteSubscription(@Url String str, @Header("Authorization") String str2, @Header("X-CanalMovil-pushID") String str3, @Header("X-CanalMovil-deviceID") String str4, @Header("X-CanalMovil-Authentication") String str5, @Body SubscriptionRequest subscriptionRequest, Continuation<? super Response<Unit>> continuation);
|
||||
|
||||
@GET(ServicePaths.SubscriptionsService.subcriptions)
|
||||
Object subscriptions(@Header("Authorization") String str, @Header("X-CanalMovil-pushID") String str2, @Header("X-CanalMovil-deviceID") String str3, @Header("X-CanalMovil-Authentication") String str4, Continuation<? super List<SubscriptionResponse>> continuation);
|
||||
|
||||
@DELETE
|
||||
Object unregisterSubscription(@Url String str, @Header("Authorization") String str2, @Header("X-CanalMovil-pushID") String str3, @Header("X-CanalMovil-Authentication") String str4, Continuation<? super Response<Unit>> continuation);
|
||||
}
|
||||
@@ -0,0 +1,187 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.subscriptions.models;
|
||||
|
||||
import C.w;
|
||||
import Z2.InterfaceC0101i;
|
||||
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\u001a\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B]\u0012\b\b\u0001\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0001\u0010\u0004\u001a\u00020\u0005\u0012\b\b\u0001\u0010\u0006\u001a\u00020\u0005\u0012\u000e\b\u0001\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b\u0012\b\b\u0001\u0010\n\u001a\u00020\u0003\u0012\n\b\u0001\u0010\u000b\u001a\u0004\u0018\u00010\u0003\u0012\b\b\u0001\u0010\f\u001a\u00020\u0003\u0012\b\b\u0001\u0010\r\u001a\u00020\u0003¢\u0006\u0002\u0010\u000eJ\t\u0010\u001a\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001c\u001a\u00020\u0005HÆ\u0003J\u000f\u0010\u001d\u001a\b\u0012\u0004\u0012\u00020\t0\bHÆ\u0003J\t\u0010\u001e\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010 \u001a\u00020\u0003HÆ\u0003J\t\u0010!\u001a\u00020\u0003HÆ\u0003Ja\u0010\"\u001a\u00020\u00002\b\b\u0003\u0010\u0002\u001a\u00020\u00032\b\b\u0003\u0010\u0004\u001a\u00020\u00052\b\b\u0003\u0010\u0006\u001a\u00020\u00052\u000e\b\u0003\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b2\b\b\u0003\u0010\n\u001a\u00020\u00032\n\b\u0003\u0010\u000b\u001a\u0004\u0018\u00010\u00032\b\b\u0003\u0010\f\u001a\u00020\u00032\b\b\u0003\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\u0011\u0010\u0006\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0012R\u0017\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0011\u0010\n\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0010R\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0010R\u0011\u0010\f\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0010R\u0011\u0010\r\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0010¨\u0006("}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/DestinationResponse;", "", "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", "getLatlong", "()Ljava/util/List;", "getName", "getObservation", "getShortName", "getTrafficType", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "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 DestinationResponse {
|
||||
private final String commercialZone;
|
||||
private final int customerService;
|
||||
private final int id;
|
||||
private final List<Double> latlong;
|
||||
private final String name;
|
||||
private final String observation;
|
||||
private final String shortName;
|
||||
private final String trafficType;
|
||||
|
||||
public DestinationResponse(@InterfaceC0101i(name = "commercial_zone") String commercialZone, @InterfaceC0101i(name = "customer_service") int i, @InterfaceC0101i(name = "id") int i4, @InterfaceC0101i(name = "latlong") List<Double> latlong, @InterfaceC0101i(name = "name") String name, @InterfaceC0101i(name = "observation") String str, @InterfaceC0101i(name = "shortName") String shortName, @InterfaceC0101i(name = "traffic_type") 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 */ DestinationResponse copy$default(DestinationResponse destinationResponse, 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 = destinationResponse.commercialZone;
|
||||
}
|
||||
if ((i5 & 2) != 0) {
|
||||
i = destinationResponse.customerService;
|
||||
}
|
||||
if ((i5 & 4) != 0) {
|
||||
i4 = destinationResponse.id;
|
||||
}
|
||||
if ((i5 & 8) != 0) {
|
||||
list = destinationResponse.latlong;
|
||||
}
|
||||
if ((i5 & 16) != 0) {
|
||||
str2 = destinationResponse.name;
|
||||
}
|
||||
if ((i5 & 32) != 0) {
|
||||
str3 = destinationResponse.observation;
|
||||
}
|
||||
if ((i5 & 64) != 0) {
|
||||
str4 = destinationResponse.shortName;
|
||||
}
|
||||
if ((i5 & 128) != 0) {
|
||||
str5 = destinationResponse.trafficType;
|
||||
}
|
||||
String str6 = str4;
|
||||
String str7 = str5;
|
||||
String str8 = str2;
|
||||
String str9 = str3;
|
||||
return destinationResponse.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 DestinationResponse copy(@InterfaceC0101i(name = "commercial_zone") String commercialZone, @InterfaceC0101i(name = "customer_service") int customerService, @InterfaceC0101i(name = "id") int id, @InterfaceC0101i(name = "latlong") List<Double> latlong, @InterfaceC0101i(name = "name") String name, @InterfaceC0101i(name = "observation") String observation, @InterfaceC0101i(name = "shortName") String shortName, @InterfaceC0101i(name = "traffic_type") String trafficType) {
|
||||
Intrinsics.checkNotNullParameter(commercialZone, "commercialZone");
|
||||
Intrinsics.checkNotNullParameter(latlong, "latlong");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
return new DestinationResponse(commercialZone, customerService, id, latlong, name, observation, shortName, trafficType);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof DestinationResponse)) {
|
||||
return false;
|
||||
}
|
||||
DestinationResponse destinationResponse = (DestinationResponse) other;
|
||||
return Intrinsics.areEqual(this.commercialZone, destinationResponse.commercialZone) && this.customerService == destinationResponse.customerService && this.id == destinationResponse.id && Intrinsics.areEqual(this.latlong, destinationResponse.latlong) && Intrinsics.areEqual(this.name, destinationResponse.name) && Intrinsics.areEqual(this.observation, destinationResponse.observation) && Intrinsics.areEqual(this.shortName, destinationResponse.shortName) && Intrinsics.areEqual(this.trafficType, destinationResponse.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 String toString() {
|
||||
StringBuilder sb = new StringBuilder("DestinationResponse(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,187 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.subscriptions.models;
|
||||
|
||||
import C.w;
|
||||
import Z2.InterfaceC0101i;
|
||||
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\u001a\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B]\u0012\b\b\u0001\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0001\u0010\u0004\u001a\u00020\u0005\u0012\b\b\u0001\u0010\u0006\u001a\u00020\u0005\u0012\u000e\b\u0001\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b\u0012\b\b\u0001\u0010\n\u001a\u00020\u0003\u0012\n\b\u0001\u0010\u000b\u001a\u0004\u0018\u00010\u0003\u0012\b\b\u0001\u0010\f\u001a\u00020\u0003\u0012\b\b\u0001\u0010\r\u001a\u00020\u0003¢\u0006\u0002\u0010\u000eJ\t\u0010\u001a\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001c\u001a\u00020\u0005HÆ\u0003J\u000f\u0010\u001d\u001a\b\u0012\u0004\u0012\u00020\t0\bHÆ\u0003J\t\u0010\u001e\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010 \u001a\u00020\u0003HÆ\u0003J\t\u0010!\u001a\u00020\u0003HÆ\u0003Ja\u0010\"\u001a\u00020\u00002\b\b\u0003\u0010\u0002\u001a\u00020\u00032\b\b\u0003\u0010\u0004\u001a\u00020\u00052\b\b\u0003\u0010\u0006\u001a\u00020\u00052\u000e\b\u0003\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b2\b\b\u0003\u0010\n\u001a\u00020\u00032\n\b\u0003\u0010\u000b\u001a\u0004\u0018\u00010\u00032\b\b\u0003\u0010\f\u001a\u00020\u00032\b\b\u0003\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\u0011\u0010\u0006\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0012R\u0017\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0011\u0010\n\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0010R\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0010R\u0011\u0010\f\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0010R\u0011\u0010\r\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0010¨\u0006("}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/OriginResponse;", "", "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", "getLatlong", "()Ljava/util/List;", "getName", "getObservation", "getShortName", "getTrafficType", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "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 OriginResponse {
|
||||
private final String commercialZone;
|
||||
private final int customerService;
|
||||
private final int id;
|
||||
private final List<Double> latlong;
|
||||
private final String name;
|
||||
private final String observation;
|
||||
private final String shortName;
|
||||
private final String trafficType;
|
||||
|
||||
public OriginResponse(@InterfaceC0101i(name = "commercial_zone") String commercialZone, @InterfaceC0101i(name = "customer_service") int i, @InterfaceC0101i(name = "id") int i4, @InterfaceC0101i(name = "latlong") List<Double> latlong, @InterfaceC0101i(name = "name") String name, @InterfaceC0101i(name = "observation") String str, @InterfaceC0101i(name = "shortName") String shortName, @InterfaceC0101i(name = "traffic_type") 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 */ OriginResponse copy$default(OriginResponse originResponse, 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 = originResponse.commercialZone;
|
||||
}
|
||||
if ((i5 & 2) != 0) {
|
||||
i = originResponse.customerService;
|
||||
}
|
||||
if ((i5 & 4) != 0) {
|
||||
i4 = originResponse.id;
|
||||
}
|
||||
if ((i5 & 8) != 0) {
|
||||
list = originResponse.latlong;
|
||||
}
|
||||
if ((i5 & 16) != 0) {
|
||||
str2 = originResponse.name;
|
||||
}
|
||||
if ((i5 & 32) != 0) {
|
||||
str3 = originResponse.observation;
|
||||
}
|
||||
if ((i5 & 64) != 0) {
|
||||
str4 = originResponse.shortName;
|
||||
}
|
||||
if ((i5 & 128) != 0) {
|
||||
str5 = originResponse.trafficType;
|
||||
}
|
||||
String str6 = str4;
|
||||
String str7 = str5;
|
||||
String str8 = str2;
|
||||
String str9 = str3;
|
||||
return originResponse.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 OriginResponse copy(@InterfaceC0101i(name = "commercial_zone") String commercialZone, @InterfaceC0101i(name = "customer_service") int customerService, @InterfaceC0101i(name = "id") int id, @InterfaceC0101i(name = "latlong") List<Double> latlong, @InterfaceC0101i(name = "name") String name, @InterfaceC0101i(name = "observation") String observation, @InterfaceC0101i(name = "shortName") String shortName, @InterfaceC0101i(name = "traffic_type") String trafficType) {
|
||||
Intrinsics.checkNotNullParameter(commercialZone, "commercialZone");
|
||||
Intrinsics.checkNotNullParameter(latlong, "latlong");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
return new OriginResponse(commercialZone, customerService, id, latlong, name, observation, shortName, trafficType);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof OriginResponse)) {
|
||||
return false;
|
||||
}
|
||||
OriginResponse originResponse = (OriginResponse) other;
|
||||
return Intrinsics.areEqual(this.commercialZone, originResponse.commercialZone) && this.customerService == originResponse.customerService && this.id == originResponse.id && Intrinsics.areEqual(this.latlong, originResponse.latlong) && Intrinsics.areEqual(this.name, originResponse.name) && Intrinsics.areEqual(this.observation, originResponse.observation) && Intrinsics.areEqual(this.shortName, originResponse.shortName) && Intrinsics.areEqual(this.trafficType, originResponse.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 String toString() {
|
||||
StringBuilder sb = new StringBuilder("OriginResponse(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,169 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.subscriptions.models;
|
||||
|
||||
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\u0018\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001BG\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\nJ\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0015\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0016\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0017\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0018\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0019\u001a\u0004\u0018\u00010\u0003HÆ\u0003JY\u0010\u001a\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\u00032\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010\u001b\u001a\u00020\u001c2\b\u0010\u001d\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001e\u001a\u00020\u001fHÖ\u0001J\t\u0010 \u001a\u00020\u0003HÖ\u0001R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0013\u0010\t\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\fR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\fR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\fR\u0013\u0010\u0007\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\fR\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\fR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\f¨\u0006!"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionCreateTrainRequest;", "", "platform", "", "osVersion", "stationId", "center", "repeats", "subscription_type", "day", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCenter", "()Ljava/lang/String;", "getDay", "getOsVersion", "getPlatform", "getRepeats", "getStationId", "getSubscription_type", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "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 SubscriptionCreateTrainRequest {
|
||||
private final String center;
|
||||
private final String day;
|
||||
private final String osVersion;
|
||||
private final String platform;
|
||||
private final String repeats;
|
||||
private final String stationId;
|
||||
private final String subscription_type;
|
||||
|
||||
public SubscriptionCreateTrainRequest(String platform, String osVersion, String str, String str2, String str3, String str4, String str5) {
|
||||
Intrinsics.checkNotNullParameter(platform, "platform");
|
||||
Intrinsics.checkNotNullParameter(osVersion, "osVersion");
|
||||
this.platform = platform;
|
||||
this.osVersion = osVersion;
|
||||
this.stationId = str;
|
||||
this.center = str2;
|
||||
this.repeats = str3;
|
||||
this.subscription_type = str4;
|
||||
this.day = str5;
|
||||
}
|
||||
|
||||
public static /* synthetic */ SubscriptionCreateTrainRequest copy$default(SubscriptionCreateTrainRequest subscriptionCreateTrainRequest, String str, String str2, String str3, String str4, String str5, String str6, String str7, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = subscriptionCreateTrainRequest.platform;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = subscriptionCreateTrainRequest.osVersion;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = subscriptionCreateTrainRequest.stationId;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str4 = subscriptionCreateTrainRequest.center;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str5 = subscriptionCreateTrainRequest.repeats;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
str6 = subscriptionCreateTrainRequest.subscription_type;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
str7 = subscriptionCreateTrainRequest.day;
|
||||
}
|
||||
String str8 = str6;
|
||||
String str9 = str7;
|
||||
String str10 = str5;
|
||||
String str11 = str3;
|
||||
return subscriptionCreateTrainRequest.copy(str, str2, str11, str4, str10, str8, str9);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getPlatform() {
|
||||
return this.platform;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getOsVersion() {
|
||||
return this.osVersion;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getCenter() {
|
||||
return this.center;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getRepeats() {
|
||||
return this.repeats;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getSubscription_type() {
|
||||
return this.subscription_type;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getDay() {
|
||||
return this.day;
|
||||
}
|
||||
|
||||
public final SubscriptionCreateTrainRequest copy(String platform, String osVersion, String stationId, String center, String repeats, String subscription_type, String day) {
|
||||
Intrinsics.checkNotNullParameter(platform, "platform");
|
||||
Intrinsics.checkNotNullParameter(osVersion, "osVersion");
|
||||
return new SubscriptionCreateTrainRequest(platform, osVersion, stationId, center, repeats, subscription_type, day);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof SubscriptionCreateTrainRequest)) {
|
||||
return false;
|
||||
}
|
||||
SubscriptionCreateTrainRequest subscriptionCreateTrainRequest = (SubscriptionCreateTrainRequest) other;
|
||||
return Intrinsics.areEqual(this.platform, subscriptionCreateTrainRequest.platform) && Intrinsics.areEqual(this.osVersion, subscriptionCreateTrainRequest.osVersion) && Intrinsics.areEqual(this.stationId, subscriptionCreateTrainRequest.stationId) && Intrinsics.areEqual(this.center, subscriptionCreateTrainRequest.center) && Intrinsics.areEqual(this.repeats, subscriptionCreateTrainRequest.repeats) && Intrinsics.areEqual(this.subscription_type, subscriptionCreateTrainRequest.subscription_type) && Intrinsics.areEqual(this.day, subscriptionCreateTrainRequest.day);
|
||||
}
|
||||
|
||||
public final String getCenter() {
|
||||
return this.center;
|
||||
}
|
||||
|
||||
public final String getDay() {
|
||||
return this.day;
|
||||
}
|
||||
|
||||
public final String getOsVersion() {
|
||||
return this.osVersion;
|
||||
}
|
||||
|
||||
public final String getPlatform() {
|
||||
return this.platform;
|
||||
}
|
||||
|
||||
public final String getRepeats() {
|
||||
return this.repeats;
|
||||
}
|
||||
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
public final String getSubscription_type() {
|
||||
return this.subscription_type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.osVersion, this.platform.hashCode() * 31, 31);
|
||||
String str = this.stationId;
|
||||
int hashCode = (d4 + (str == null ? 0 : str.hashCode())) * 31;
|
||||
String str2 = this.center;
|
||||
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
String str3 = this.repeats;
|
||||
int hashCode3 = (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
|
||||
String str4 = this.subscription_type;
|
||||
int hashCode4 = (hashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31;
|
||||
String str5 = this.day;
|
||||
return hashCode4 + (str5 != null ? str5.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("SubscriptionCreateTrainRequest(platform=");
|
||||
sb.append(this.platform);
|
||||
sb.append(", osVersion=");
|
||||
sb.append(this.osVersion);
|
||||
sb.append(", stationId=");
|
||||
sb.append(this.stationId);
|
||||
sb.append(", center=");
|
||||
sb.append(this.center);
|
||||
sb.append(", repeats=");
|
||||
sb.append(this.repeats);
|
||||
sb.append(", subscription_type=");
|
||||
sb.append(this.subscription_type);
|
||||
sb.append(", day=");
|
||||
return a.n(sb, this.day, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,226 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.subscriptions.models;
|
||||
|
||||
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\u000e\n\u0002\b!\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001Be\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\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\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\f\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\rJ\t\u0010\u0019\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001a\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u001b\u001a\u00020\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Æ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010 \u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010!\u001a\u0004\u0018\u00010\u0003HÆ\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\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\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\u00032\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\f\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\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000fR\u0013\u0010\t\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u000fR\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u000fR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u000fR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u000fR\u0013\u0010\n\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u000fR\u0013\u0010\u0007\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u000fR\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u000fR\u0013\u0010\f\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u000f¨\u0006*"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionRequest;", "", "platform", "", "osVersion", "stationId", "destId", "start", "center", "end", "repeats", "msisdn", "subscription_type", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCenter", "()Ljava/lang/String;", "getDestId", "getEnd", "getMsisdn", "getOsVersion", "getPlatform", "getRepeats", "getStart", "getStationId", "getSubscription_type", "component1", "component10", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "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 SubscriptionRequest {
|
||||
private final String center;
|
||||
private final String destId;
|
||||
private final String end;
|
||||
private final String msisdn;
|
||||
private final String osVersion;
|
||||
private final String platform;
|
||||
private final String repeats;
|
||||
private final String start;
|
||||
private final String stationId;
|
||||
private final String subscription_type;
|
||||
|
||||
public SubscriptionRequest(String platform, String osVersion, String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8) {
|
||||
Intrinsics.checkNotNullParameter(platform, "platform");
|
||||
Intrinsics.checkNotNullParameter(osVersion, "osVersion");
|
||||
this.platform = platform;
|
||||
this.osVersion = osVersion;
|
||||
this.stationId = str;
|
||||
this.destId = str2;
|
||||
this.start = str3;
|
||||
this.center = str4;
|
||||
this.end = str5;
|
||||
this.repeats = str6;
|
||||
this.msisdn = str7;
|
||||
this.subscription_type = str8;
|
||||
}
|
||||
|
||||
public static /* synthetic */ SubscriptionRequest copy$default(SubscriptionRequest subscriptionRequest, String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = subscriptionRequest.platform;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = subscriptionRequest.osVersion;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = subscriptionRequest.stationId;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str4 = subscriptionRequest.destId;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str5 = subscriptionRequest.start;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
str6 = subscriptionRequest.center;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
str7 = subscriptionRequest.end;
|
||||
}
|
||||
if ((i & 128) != 0) {
|
||||
str8 = subscriptionRequest.repeats;
|
||||
}
|
||||
if ((i & 256) != 0) {
|
||||
str9 = subscriptionRequest.msisdn;
|
||||
}
|
||||
if ((i & ConstantsKt.MINIMUM_BLOCK_SIZE) != 0) {
|
||||
str10 = subscriptionRequest.subscription_type;
|
||||
}
|
||||
String str11 = str9;
|
||||
String str12 = str10;
|
||||
String str13 = str7;
|
||||
String str14 = str8;
|
||||
String str15 = str5;
|
||||
String str16 = str6;
|
||||
return subscriptionRequest.copy(str, str2, str3, str4, str15, str16, str13, str14, str11, str12);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getPlatform() {
|
||||
return this.platform;
|
||||
}
|
||||
|
||||
/* renamed from: component10, reason: from getter */
|
||||
public final String getSubscription_type() {
|
||||
return this.subscription_type;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getOsVersion() {
|
||||
return this.osVersion;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getDestId() {
|
||||
return this.destId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getStart() {
|
||||
return this.start;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getCenter() {
|
||||
return this.center;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getEnd() {
|
||||
return this.end;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getRepeats() {
|
||||
return this.repeats;
|
||||
}
|
||||
|
||||
/* renamed from: component9, reason: from getter */
|
||||
public final String getMsisdn() {
|
||||
return this.msisdn;
|
||||
}
|
||||
|
||||
public final SubscriptionRequest copy(String platform, String osVersion, String stationId, String destId, String start, String center, String end, String repeats, String msisdn, String subscription_type) {
|
||||
Intrinsics.checkNotNullParameter(platform, "platform");
|
||||
Intrinsics.checkNotNullParameter(osVersion, "osVersion");
|
||||
return new SubscriptionRequest(platform, osVersion, stationId, destId, start, center, end, repeats, msisdn, subscription_type);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof SubscriptionRequest)) {
|
||||
return false;
|
||||
}
|
||||
SubscriptionRequest subscriptionRequest = (SubscriptionRequest) other;
|
||||
return Intrinsics.areEqual(this.platform, subscriptionRequest.platform) && Intrinsics.areEqual(this.osVersion, subscriptionRequest.osVersion) && Intrinsics.areEqual(this.stationId, subscriptionRequest.stationId) && Intrinsics.areEqual(this.destId, subscriptionRequest.destId) && Intrinsics.areEqual(this.start, subscriptionRequest.start) && Intrinsics.areEqual(this.center, subscriptionRequest.center) && Intrinsics.areEqual(this.end, subscriptionRequest.end) && Intrinsics.areEqual(this.repeats, subscriptionRequest.repeats) && Intrinsics.areEqual(this.msisdn, subscriptionRequest.msisdn) && Intrinsics.areEqual(this.subscription_type, subscriptionRequest.subscription_type);
|
||||
}
|
||||
|
||||
public final String getCenter() {
|
||||
return this.center;
|
||||
}
|
||||
|
||||
public final String getDestId() {
|
||||
return this.destId;
|
||||
}
|
||||
|
||||
public final String getEnd() {
|
||||
return this.end;
|
||||
}
|
||||
|
||||
public final String getMsisdn() {
|
||||
return this.msisdn;
|
||||
}
|
||||
|
||||
public final String getOsVersion() {
|
||||
return this.osVersion;
|
||||
}
|
||||
|
||||
public final String getPlatform() {
|
||||
return this.platform;
|
||||
}
|
||||
|
||||
public final String getRepeats() {
|
||||
return this.repeats;
|
||||
}
|
||||
|
||||
public final String getStart() {
|
||||
return this.start;
|
||||
}
|
||||
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
public final String getSubscription_type() {
|
||||
return this.subscription_type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.osVersion, this.platform.hashCode() * 31, 31);
|
||||
String str = this.stationId;
|
||||
int hashCode = (d4 + (str == null ? 0 : str.hashCode())) * 31;
|
||||
String str2 = this.destId;
|
||||
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
String str3 = this.start;
|
||||
int hashCode3 = (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
|
||||
String str4 = this.center;
|
||||
int hashCode4 = (hashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31;
|
||||
String str5 = this.end;
|
||||
int hashCode5 = (hashCode4 + (str5 == null ? 0 : str5.hashCode())) * 31;
|
||||
String str6 = this.repeats;
|
||||
int hashCode6 = (hashCode5 + (str6 == null ? 0 : str6.hashCode())) * 31;
|
||||
String str7 = this.msisdn;
|
||||
int hashCode7 = (hashCode6 + (str7 == null ? 0 : str7.hashCode())) * 31;
|
||||
String str8 = this.subscription_type;
|
||||
return hashCode7 + (str8 != null ? str8.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("SubscriptionRequest(platform=");
|
||||
sb.append(this.platform);
|
||||
sb.append(", osVersion=");
|
||||
sb.append(this.osVersion);
|
||||
sb.append(", stationId=");
|
||||
sb.append(this.stationId);
|
||||
sb.append(", destId=");
|
||||
sb.append(this.destId);
|
||||
sb.append(", start=");
|
||||
sb.append(this.start);
|
||||
sb.append(", center=");
|
||||
sb.append(this.center);
|
||||
sb.append(", end=");
|
||||
sb.append(this.end);
|
||||
sb.append(", repeats=");
|
||||
sb.append(this.repeats);
|
||||
sb.append(", msisdn=");
|
||||
sb.append(this.msisdn);
|
||||
sb.append(", subscription_type=");
|
||||
return a.n(sb, this.subscription_type, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,169 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.subscriptions.models;
|
||||
|
||||
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\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\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\u0001BC\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\u0007\u0012\u0006\u0010\t\u001a\u00020\u0007\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u0007\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0007¢\u0006\u0002\u0010\fJ\u000b\u0010\u0017\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0005HÆ\u0003J\t\u0010\u0019\u001a\u00020\u0007HÆ\u0003J\t\u0010\u001a\u001a\u00020\u0007HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0007HÆ\u0003J\u000b\u0010\u001c\u001a\u0004\u0018\u00010\u0007HÆ\u0003J\u000b\u0010\u001d\u001a\u0004\u0018\u00010\u0007HÆ\u0003JU\u0010\u001e\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\u00072\b\b\u0002\u0010\t\u001a\u00020\u00072\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u0007HÆ\u0001J\u0013\u0010\u001f\u001a\u00020 2\b\u0010!\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\"\u001a\u00020#HÖ\u0001J\t\u0010$\u001a\u00020\u0007HÖ\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0011\u0010\b\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0012R\u0011\u0010\t\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0012R\u0013\u0010\n\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0012R\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0012¨\u0006%"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionResponse;", "", FirebaseAnalytics.Param.DESTINATION, "Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/DestinationResponse;", "origin", "Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/OriginResponse;", "repeats", "", "subscriptionType", "timeCenter", "timeEnd", "timeStart", "(Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/DestinationResponse;Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/OriginResponse;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getDestination", "()Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/DestinationResponse;", "getOrigin", "()Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/OriginResponse;", "getRepeats", "()Ljava/lang/String;", "getSubscriptionType", "getTimeCenter", "getTimeEnd", "getTimeStart", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "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 SubscriptionResponse {
|
||||
private final DestinationResponse destination;
|
||||
private final OriginResponse origin;
|
||||
private final String repeats;
|
||||
private final String subscriptionType;
|
||||
private final String timeCenter;
|
||||
private final String timeEnd;
|
||||
private final String timeStart;
|
||||
|
||||
public SubscriptionResponse(DestinationResponse destinationResponse, OriginResponse origin, String repeats, String subscriptionType, String timeCenter, String str, String str2) {
|
||||
Intrinsics.checkNotNullParameter(origin, "origin");
|
||||
Intrinsics.checkNotNullParameter(repeats, "repeats");
|
||||
Intrinsics.checkNotNullParameter(subscriptionType, "subscriptionType");
|
||||
Intrinsics.checkNotNullParameter(timeCenter, "timeCenter");
|
||||
this.destination = destinationResponse;
|
||||
this.origin = origin;
|
||||
this.repeats = repeats;
|
||||
this.subscriptionType = subscriptionType;
|
||||
this.timeCenter = timeCenter;
|
||||
this.timeEnd = str;
|
||||
this.timeStart = str2;
|
||||
}
|
||||
|
||||
public static /* synthetic */ SubscriptionResponse copy$default(SubscriptionResponse subscriptionResponse, DestinationResponse destinationResponse, OriginResponse originResponse, String str, String str2, String str3, String str4, String str5, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
destinationResponse = subscriptionResponse.destination;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
originResponse = subscriptionResponse.origin;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str = subscriptionResponse.repeats;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str2 = subscriptionResponse.subscriptionType;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str3 = subscriptionResponse.timeCenter;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
str4 = subscriptionResponse.timeEnd;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
str5 = subscriptionResponse.timeStart;
|
||||
}
|
||||
String str6 = str4;
|
||||
String str7 = str5;
|
||||
String str8 = str3;
|
||||
String str9 = str;
|
||||
return subscriptionResponse.copy(destinationResponse, originResponse, str9, str2, str8, str6, str7);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final DestinationResponse getDestination() {
|
||||
return this.destination;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final OriginResponse getOrigin() {
|
||||
return this.origin;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getRepeats() {
|
||||
return this.repeats;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getSubscriptionType() {
|
||||
return this.subscriptionType;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getTimeCenter() {
|
||||
return this.timeCenter;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getTimeEnd() {
|
||||
return this.timeEnd;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getTimeStart() {
|
||||
return this.timeStart;
|
||||
}
|
||||
|
||||
public final SubscriptionResponse copy(DestinationResponse destination, OriginResponse origin, String repeats, String subscriptionType, String timeCenter, String timeEnd, String timeStart) {
|
||||
Intrinsics.checkNotNullParameter(origin, "origin");
|
||||
Intrinsics.checkNotNullParameter(repeats, "repeats");
|
||||
Intrinsics.checkNotNullParameter(subscriptionType, "subscriptionType");
|
||||
Intrinsics.checkNotNullParameter(timeCenter, "timeCenter");
|
||||
return new SubscriptionResponse(destination, origin, repeats, subscriptionType, timeCenter, timeEnd, timeStart);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof SubscriptionResponse)) {
|
||||
return false;
|
||||
}
|
||||
SubscriptionResponse subscriptionResponse = (SubscriptionResponse) other;
|
||||
return Intrinsics.areEqual(this.destination, subscriptionResponse.destination) && Intrinsics.areEqual(this.origin, subscriptionResponse.origin) && Intrinsics.areEqual(this.repeats, subscriptionResponse.repeats) && Intrinsics.areEqual(this.subscriptionType, subscriptionResponse.subscriptionType) && Intrinsics.areEqual(this.timeCenter, subscriptionResponse.timeCenter) && Intrinsics.areEqual(this.timeEnd, subscriptionResponse.timeEnd) && Intrinsics.areEqual(this.timeStart, subscriptionResponse.timeStart);
|
||||
}
|
||||
|
||||
public final DestinationResponse getDestination() {
|
||||
return this.destination;
|
||||
}
|
||||
|
||||
public final OriginResponse getOrigin() {
|
||||
return this.origin;
|
||||
}
|
||||
|
||||
public final String getRepeats() {
|
||||
return this.repeats;
|
||||
}
|
||||
|
||||
public final String getSubscriptionType() {
|
||||
return this.subscriptionType;
|
||||
}
|
||||
|
||||
public final String getTimeCenter() {
|
||||
return this.timeCenter;
|
||||
}
|
||||
|
||||
public final String getTimeEnd() {
|
||||
return this.timeEnd;
|
||||
}
|
||||
|
||||
public final String getTimeStart() {
|
||||
return this.timeStart;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
DestinationResponse destinationResponse = this.destination;
|
||||
int d4 = a.d(this.timeCenter, a.d(this.subscriptionType, a.d(this.repeats, (this.origin.hashCode() + ((destinationResponse == null ? 0 : destinationResponse.hashCode()) * 31)) * 31, 31), 31), 31);
|
||||
String str = this.timeEnd;
|
||||
int hashCode = (d4 + (str == null ? 0 : str.hashCode())) * 31;
|
||||
String str2 = this.timeStart;
|
||||
return hashCode + (str2 != null ? str2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("SubscriptionResponse(destination=");
|
||||
sb.append(this.destination);
|
||||
sb.append(", origin=");
|
||||
sb.append(this.origin);
|
||||
sb.append(", repeats=");
|
||||
sb.append(this.repeats);
|
||||
sb.append(", subscriptionType=");
|
||||
sb.append(this.subscriptionType);
|
||||
sb.append(", timeCenter=");
|
||||
sb.append(this.timeCenter);
|
||||
sb.append(", timeEnd=");
|
||||
sb.append(this.timeEnd);
|
||||
sb.append(", timeStart=");
|
||||
return a.n(sb, this.timeStart, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.subscriptions.models;
|
||||
|
||||
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\u0015\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\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\tJ\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0013\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0014\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0015\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0016\u001a\u0004\u0018\u00010\u0003HÆ\u0003JM\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\u00032\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010\u0018\u001a\u00020\u00192\b\u0010\u001a\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001b\u001a\u00020\u001cHÖ\u0001J\t\u0010\u001d\u001a\u00020\u0003HÖ\u0001R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u000bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000bR\u0013\u0010\u0007\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000bR\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000bR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000b¨\u0006\u001e"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/subscriptions/models/SubscriptionTrainRequest;", "", "platform", "", "osVersion", "stationId", "center", "repeats", "subscription_type", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCenter", "()Ljava/lang/String;", "getOsVersion", "getPlatform", "getRepeats", "getStationId", "getSubscription_type", "component1", "component2", "component3", "component4", "component5", "component6", "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 SubscriptionTrainRequest {
|
||||
private final String center;
|
||||
private final String osVersion;
|
||||
private final String platform;
|
||||
private final String repeats;
|
||||
private final String stationId;
|
||||
private final String subscription_type;
|
||||
|
||||
public SubscriptionTrainRequest(String platform, String osVersion, String str, String str2, String str3, String str4) {
|
||||
Intrinsics.checkNotNullParameter(platform, "platform");
|
||||
Intrinsics.checkNotNullParameter(osVersion, "osVersion");
|
||||
this.platform = platform;
|
||||
this.osVersion = osVersion;
|
||||
this.stationId = str;
|
||||
this.center = str2;
|
||||
this.repeats = str3;
|
||||
this.subscription_type = str4;
|
||||
}
|
||||
|
||||
public static /* synthetic */ SubscriptionTrainRequest copy$default(SubscriptionTrainRequest subscriptionTrainRequest, String str, String str2, String str3, String str4, String str5, String str6, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = subscriptionTrainRequest.platform;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = subscriptionTrainRequest.osVersion;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = subscriptionTrainRequest.stationId;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str4 = subscriptionTrainRequest.center;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str5 = subscriptionTrainRequest.repeats;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
str6 = subscriptionTrainRequest.subscription_type;
|
||||
}
|
||||
String str7 = str5;
|
||||
String str8 = str6;
|
||||
return subscriptionTrainRequest.copy(str, str2, str3, str4, str7, str8);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getPlatform() {
|
||||
return this.platform;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getOsVersion() {
|
||||
return this.osVersion;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getCenter() {
|
||||
return this.center;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getRepeats() {
|
||||
return this.repeats;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getSubscription_type() {
|
||||
return this.subscription_type;
|
||||
}
|
||||
|
||||
public final SubscriptionTrainRequest copy(String platform, String osVersion, String stationId, String center, String repeats, String subscription_type) {
|
||||
Intrinsics.checkNotNullParameter(platform, "platform");
|
||||
Intrinsics.checkNotNullParameter(osVersion, "osVersion");
|
||||
return new SubscriptionTrainRequest(platform, osVersion, stationId, center, repeats, subscription_type);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof SubscriptionTrainRequest)) {
|
||||
return false;
|
||||
}
|
||||
SubscriptionTrainRequest subscriptionTrainRequest = (SubscriptionTrainRequest) other;
|
||||
return Intrinsics.areEqual(this.platform, subscriptionTrainRequest.platform) && Intrinsics.areEqual(this.osVersion, subscriptionTrainRequest.osVersion) && Intrinsics.areEqual(this.stationId, subscriptionTrainRequest.stationId) && Intrinsics.areEqual(this.center, subscriptionTrainRequest.center) && Intrinsics.areEqual(this.repeats, subscriptionTrainRequest.repeats) && Intrinsics.areEqual(this.subscription_type, subscriptionTrainRequest.subscription_type);
|
||||
}
|
||||
|
||||
public final String getCenter() {
|
||||
return this.center;
|
||||
}
|
||||
|
||||
public final String getOsVersion() {
|
||||
return this.osVersion;
|
||||
}
|
||||
|
||||
public final String getPlatform() {
|
||||
return this.platform;
|
||||
}
|
||||
|
||||
public final String getRepeats() {
|
||||
return this.repeats;
|
||||
}
|
||||
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
public final String getSubscription_type() {
|
||||
return this.subscription_type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.osVersion, this.platform.hashCode() * 31, 31);
|
||||
String str = this.stationId;
|
||||
int hashCode = (d4 + (str == null ? 0 : str.hashCode())) * 31;
|
||||
String str2 = this.center;
|
||||
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
String str3 = this.repeats;
|
||||
int hashCode3 = (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
|
||||
String str4 = this.subscription_type;
|
||||
return hashCode3 + (str4 != null ? str4.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("SubscriptionTrainRequest(platform=");
|
||||
sb.append(this.platform);
|
||||
sb.append(", osVersion=");
|
||||
sb.append(this.osVersion);
|
||||
sb.append(", stationId=");
|
||||
sb.append(this.stationId);
|
||||
sb.append(", center=");
|
||||
sb.append(this.center);
|
||||
sb.append(", repeats=");
|
||||
sb.append(this.repeats);
|
||||
sb.append(", subscription_type=");
|
||||
return a.n(sb, this.subscription_type, ')');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user