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,27 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa;
|
||||
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.adif.elcanomovil.serviceNetworking.avisa.model.AvisaLoginResponse;
|
||||
import com.adif.elcanomovil.serviceNetworking.avisa.model.AvisaRegistrationRequest;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import retrofit2.Response;
|
||||
import retrofit2.http.Body;
|
||||
import retrofit2.http.Header;
|
||||
import retrofit2.http.POST;
|
||||
import retrofit2.http.Query;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001J6\u0010\u0002\u001a\u00020\u00032\b\b\u0001\u0010\u0004\u001a\u00020\u00052\b\b\u0001\u0010\u0006\u001a\u00020\u00052\b\b\u0001\u0010\u0007\u001a\u00020\u00052\b\b\u0001\u0010\b\u001a\u00020\u0005H§@¢\u0006\u0002\u0010\tJ,\u0010\n\u001a\u00020\u00032\b\b\u0001\u0010\u0004\u001a\u00020\u00052\b\b\u0001\u0010\u0006\u001a\u00020\u00052\b\b\u0001\u0010\n\u001a\u00020\u0005H§@¢\u0006\u0002\u0010\u000bJ(\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000e0\r2\b\b\u0001\u0010\u0004\u001a\u00020\u00052\b\b\u0001\u0010\u000f\u001a\u00020\u0010H§@¢\u0006\u0002\u0010\u0011¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/AvisaLoginService;", "", FirebaseAnalytics.Event.LOGIN, "Lcom/adif/elcanomovil/serviceNetworking/avisa/model/AvisaLoginResponse;", "authValue", "", "grantType", ServicePaths.AvisaLoginService.queryUsername, ServicePaths.AvisaLoginService.queryPassword, "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "refreshToken", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "register", "Lretrofit2/Response;", "", "request", "Lcom/adif/elcanomovil/serviceNetworking/avisa/model/AvisaRegistrationRequest;", "(Ljava/lang/String;Lcom/adif/elcanomovil/serviceNetworking/avisa/model/AvisaRegistrationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface AvisaLoginService {
|
||||
@POST("token")
|
||||
Object login(@Header("Authorization") String str, @Query("grant_type") String str2, @Query("username") String str3, @Query("password") String str4, Continuation<? super AvisaLoginResponse> continuation);
|
||||
|
||||
@POST("token")
|
||||
Object refreshToken(@Header("Authorization") String str, @Query("grant_type") String str2, @Query("refresh_token") String str3, Continuation<? super AvisaLoginResponse> continuation);
|
||||
|
||||
@POST(ServicePaths.AvisaLoginService.register)
|
||||
Object register(@Header("Authorization") String str, @Body AvisaRegistrationRequest avisaRegistrationRequest, Continuation<? super Response<Unit>> continuation);
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa;
|
||||
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.adif.elcanomovil.serviceNetworking.avisa.model.AvisaStationCategoryResponse;
|
||||
import com.adif.elcanomovil.serviceNetworking.avisa.model.AvisaStationResponse;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import retrofit2.http.GET;
|
||||
import retrofit2.http.Header;
|
||||
import retrofit2.http.Query;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001J\u001e\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u00032\b\b\u0001\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u0007J(\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u00032\b\b\u0001\u0010\u0005\u001a\u00020\u00062\b\b\u0001\u0010\b\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\tJ\u001e\u0010\n\u001a\b\u0012\u0004\u0012\u00020\u000b0\u00032\b\b\u0001\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u0007¨\u0006\f"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/AvisaStationsService;", "", "categoryStationList", "", "Lcom/adif/elcanomovil/serviceNetworking/avisa/model/AvisaStationCategoryResponse;", "authValue", "", "(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "stationId", "(Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "stations", "Lcom/adif/elcanomovil/serviceNetworking/avisa/model/AvisaStationResponse;", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface AvisaStationsService {
|
||||
@GET(ServicePaths.AvisaStationService.stationCategory)
|
||||
Object categoryStationList(@Header("Authorization") String str, @Query("stationId") String str2, Continuation<? super List<AvisaStationCategoryResponse>> continuation);
|
||||
|
||||
@GET(ServicePaths.AvisaStationService.stationCategory)
|
||||
Object categoryStationList(@Header("Authorization") String str, Continuation<? super List<AvisaStationCategoryResponse>> continuation);
|
||||
|
||||
@GET(ServicePaths.AvisaStationService.stations)
|
||||
Object stations(@Header("Authorization") String str, Continuation<? super List<AvisaStationResponse>> continuation);
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa;
|
||||
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.adif.elcanomovil.serviceNetworking.avisa.model.CreateIncidenceRequest;
|
||||
import com.adif.elcanomovil.serviceNetworking.avisa.model.IncidenceResponse;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import retrofit2.Response;
|
||||
import retrofit2.http.Body;
|
||||
import retrofit2.http.GET;
|
||||
import retrofit2.http.Header;
|
||||
import retrofit2.http.POST;
|
||||
import retrofit2.http.Path;
|
||||
|
||||
@Metadata(d1 = {"\u00008\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\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001J(\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\bH§@¢\u0006\u0002\u0010\tJ\"\u0010\n\u001a\u00020\u000b2\b\b\u0001\u0010\u0005\u001a\u00020\u00062\b\b\u0001\u0010\f\u001a\u00020\rH§@¢\u0006\u0002\u0010\u000eJ\u001e\u0010\u000f\u001a\b\u0012\u0004\u0012\u00020\u000b0\u00102\b\b\u0001\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u0011¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/IncidenceService;", "", "createIncidence", "Lretrofit2/Response;", "", "authValue", "", "incidenceRequest", "Lcom/adif/elcanomovil/serviceNetworking/avisa/model/CreateIncidenceRequest;", "(Ljava/lang/String;Lcom/adif/elcanomovil/serviceNetworking/avisa/model/CreateIncidenceRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "incidence", "Lcom/adif/elcanomovil/serviceNetworking/avisa/model/IncidenceResponse;", ServicePaths.IncidenceService.pathIncidenceId, "", "(Ljava/lang/String;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;", "incidences", "", "(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface IncidenceService {
|
||||
@POST(ServicePaths.IncidenceService.incidences)
|
||||
Object createIncidence(@Header("Authorization") String str, @Body CreateIncidenceRequest createIncidenceRequest, Continuation<? super Response<Unit>> continuation);
|
||||
|
||||
@GET(ServicePaths.IncidenceService.incidenceDetails)
|
||||
Object incidence(@Header("Authorization") String str, @Path("incidenceId") int i, Continuation<? super IncidenceResponse> continuation);
|
||||
|
||||
@GET(ServicePaths.IncidenceService.incidences)
|
||||
Object incidences(@Header("Authorization") String str, Continuation<? super List<IncidenceResponse>> continuation);
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa.model;
|
||||
|
||||
import C.w;
|
||||
import Z2.InterfaceC0101i;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0012\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B7\u0012\b\b\u0001\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0001\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0001\u0010\u0005\u001a\u00020\u0003\u0012\b\b\u0001\u0010\u0006\u001a\u00020\u0007\u0012\b\b\u0001\u0010\b\u001a\u00020\u0003¢\u0006\u0002\u0010\tJ\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0007HÆ\u0003J\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J;\u0010\u0018\u001a\u00020\u00002\b\b\u0003\u0010\u0002\u001a\u00020\u00032\b\b\u0003\u0010\u0004\u001a\u00020\u00032\b\b\u0003\u0010\u0005\u001a\u00020\u00032\b\b\u0003\u0010\u0006\u001a\u00020\u00072\b\b\u0003\u0010\b\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0019\u001a\u00020\u001a2\b\u0010\u001b\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001c\u001a\u00020\u0007HÖ\u0001J\t\u0010\u001d\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\f\u001a\u00020\u00038F¢\u0006\u0006\u001a\u0004\b\r\u0010\u000bR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000bR\u0011\u0010\b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u000bR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u000b¨\u0006\u001e"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/model/AvisaLoginResponse;", "", "accessToken", "", "tokenType", "refreshToken", "expiresIn", "", "scope", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V", "getAccessToken", "()Ljava/lang/String;", "buildAuthHeader", "getBuildAuthHeader", "getExpiresIn", "()I", "getRefreshToken", "getScope", "getTokenType", "component1", "component2", "component3", "component4", "component5", "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 AvisaLoginResponse {
|
||||
private final String accessToken;
|
||||
private final int expiresIn;
|
||||
private final String refreshToken;
|
||||
private final String scope;
|
||||
private final String tokenType;
|
||||
|
||||
public AvisaLoginResponse(@InterfaceC0101i(name = "access_token") String accessToken, @InterfaceC0101i(name = "token_type") String tokenType, @InterfaceC0101i(name = "refresh_token") String refreshToken, @InterfaceC0101i(name = "expires_in") int i, @InterfaceC0101i(name = "scope") String scope) {
|
||||
Intrinsics.checkNotNullParameter(accessToken, "accessToken");
|
||||
Intrinsics.checkNotNullParameter(tokenType, "tokenType");
|
||||
Intrinsics.checkNotNullParameter(refreshToken, "refreshToken");
|
||||
Intrinsics.checkNotNullParameter(scope, "scope");
|
||||
this.accessToken = accessToken;
|
||||
this.tokenType = tokenType;
|
||||
this.refreshToken = refreshToken;
|
||||
this.expiresIn = i;
|
||||
this.scope = scope;
|
||||
}
|
||||
|
||||
public static /* synthetic */ AvisaLoginResponse copy$default(AvisaLoginResponse avisaLoginResponse, String str, String str2, String str3, int i, String str4, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
str = avisaLoginResponse.accessToken;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
str2 = avisaLoginResponse.tokenType;
|
||||
}
|
||||
if ((i4 & 4) != 0) {
|
||||
str3 = avisaLoginResponse.refreshToken;
|
||||
}
|
||||
if ((i4 & 8) != 0) {
|
||||
i = avisaLoginResponse.expiresIn;
|
||||
}
|
||||
if ((i4 & 16) != 0) {
|
||||
str4 = avisaLoginResponse.scope;
|
||||
}
|
||||
String str5 = str4;
|
||||
String str6 = str3;
|
||||
return avisaLoginResponse.copy(str, str2, str6, i, str5);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getAccessToken() {
|
||||
return this.accessToken;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getTokenType() {
|
||||
return this.tokenType;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getRefreshToken() {
|
||||
return this.refreshToken;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final int getExpiresIn() {
|
||||
return this.expiresIn;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getScope() {
|
||||
return this.scope;
|
||||
}
|
||||
|
||||
public final AvisaLoginResponse copy(@InterfaceC0101i(name = "access_token") String accessToken, @InterfaceC0101i(name = "token_type") String tokenType, @InterfaceC0101i(name = "refresh_token") String refreshToken, @InterfaceC0101i(name = "expires_in") int expiresIn, @InterfaceC0101i(name = "scope") String scope) {
|
||||
Intrinsics.checkNotNullParameter(accessToken, "accessToken");
|
||||
Intrinsics.checkNotNullParameter(tokenType, "tokenType");
|
||||
Intrinsics.checkNotNullParameter(refreshToken, "refreshToken");
|
||||
Intrinsics.checkNotNullParameter(scope, "scope");
|
||||
return new AvisaLoginResponse(accessToken, tokenType, refreshToken, expiresIn, scope);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AvisaLoginResponse)) {
|
||||
return false;
|
||||
}
|
||||
AvisaLoginResponse avisaLoginResponse = (AvisaLoginResponse) other;
|
||||
return Intrinsics.areEqual(this.accessToken, avisaLoginResponse.accessToken) && Intrinsics.areEqual(this.tokenType, avisaLoginResponse.tokenType) && Intrinsics.areEqual(this.refreshToken, avisaLoginResponse.refreshToken) && this.expiresIn == avisaLoginResponse.expiresIn && Intrinsics.areEqual(this.scope, avisaLoginResponse.scope);
|
||||
}
|
||||
|
||||
public final String getAccessToken() {
|
||||
return this.accessToken;
|
||||
}
|
||||
|
||||
public final String getBuildAuthHeader() {
|
||||
return this.tokenType + ' ' + this.accessToken;
|
||||
}
|
||||
|
||||
public final int getExpiresIn() {
|
||||
return this.expiresIn;
|
||||
}
|
||||
|
||||
public final String getRefreshToken() {
|
||||
return this.refreshToken;
|
||||
}
|
||||
|
||||
public final String getScope() {
|
||||
return this.scope;
|
||||
}
|
||||
|
||||
public final String getTokenType() {
|
||||
return this.tokenType;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.scope.hashCode() + w.x(this.expiresIn, a.d(this.refreshToken, a.d(this.tokenType, this.accessToken.hashCode() * 31, 31), 31), 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("AvisaLoginResponse(accessToken=");
|
||||
sb.append(this.accessToken);
|
||||
sb.append(", tokenType=");
|
||||
sb.append(this.tokenType);
|
||||
sb.append(", refreshToken=");
|
||||
sb.append(this.refreshToken);
|
||||
sb.append(", expiresIn=");
|
||||
sb.append(this.expiresIn);
|
||||
sb.append(", scope=");
|
||||
return a.n(sb, this.scope, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa.model;
|
||||
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
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\u0012\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\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003¢\u0006\u0002\u0010\bJ\t\u0010\u000f\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0010\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J;\u0010\u0014\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00032\b\b\u0002\u0010\u0007\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0015\u001a\u00020\u00162\b\u0010\u0017\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0018\u001a\u00020\u0019HÖ\u0001J\t\u0010\u001a\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\nR\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\nR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\nR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\n¨\u0006\u001b"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/model/AvisaRegistrationRequest;", "", "userId", "", "deviceId", ServicePaths.AvisaLoginService.queryPassword, "osType", "osVersion", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getDeviceId", "()Ljava/lang/String;", "getOsType", "getOsVersion", "getPassword", "getUserId", "component1", "component2", "component3", "component4", "component5", "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 AvisaRegistrationRequest {
|
||||
private final String deviceId;
|
||||
private final String osType;
|
||||
private final String osVersion;
|
||||
private final String password;
|
||||
private final String userId;
|
||||
|
||||
public AvisaRegistrationRequest(String userId, String deviceId, String password, String osType, String osVersion) {
|
||||
Intrinsics.checkNotNullParameter(userId, "userId");
|
||||
Intrinsics.checkNotNullParameter(deviceId, "deviceId");
|
||||
Intrinsics.checkNotNullParameter(password, "password");
|
||||
Intrinsics.checkNotNullParameter(osType, "osType");
|
||||
Intrinsics.checkNotNullParameter(osVersion, "osVersion");
|
||||
this.userId = userId;
|
||||
this.deviceId = deviceId;
|
||||
this.password = password;
|
||||
this.osType = osType;
|
||||
this.osVersion = osVersion;
|
||||
}
|
||||
|
||||
public static /* synthetic */ AvisaRegistrationRequest copy$default(AvisaRegistrationRequest avisaRegistrationRequest, String str, String str2, String str3, String str4, String str5, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = avisaRegistrationRequest.userId;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = avisaRegistrationRequest.deviceId;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = avisaRegistrationRequest.password;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str4 = avisaRegistrationRequest.osType;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str5 = avisaRegistrationRequest.osVersion;
|
||||
}
|
||||
String str6 = str5;
|
||||
String str7 = str3;
|
||||
return avisaRegistrationRequest.copy(str, str2, str7, str4, str6);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getPassword() {
|
||||
return this.password;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getOsType() {
|
||||
return this.osType;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getOsVersion() {
|
||||
return this.osVersion;
|
||||
}
|
||||
|
||||
public final AvisaRegistrationRequest copy(String userId, String deviceId, String password, String osType, String osVersion) {
|
||||
Intrinsics.checkNotNullParameter(userId, "userId");
|
||||
Intrinsics.checkNotNullParameter(deviceId, "deviceId");
|
||||
Intrinsics.checkNotNullParameter(password, "password");
|
||||
Intrinsics.checkNotNullParameter(osType, "osType");
|
||||
Intrinsics.checkNotNullParameter(osVersion, "osVersion");
|
||||
return new AvisaRegistrationRequest(userId, deviceId, password, osType, osVersion);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AvisaRegistrationRequest)) {
|
||||
return false;
|
||||
}
|
||||
AvisaRegistrationRequest avisaRegistrationRequest = (AvisaRegistrationRequest) other;
|
||||
return Intrinsics.areEqual(this.userId, avisaRegistrationRequest.userId) && Intrinsics.areEqual(this.deviceId, avisaRegistrationRequest.deviceId) && Intrinsics.areEqual(this.password, avisaRegistrationRequest.password) && Intrinsics.areEqual(this.osType, avisaRegistrationRequest.osType) && Intrinsics.areEqual(this.osVersion, avisaRegistrationRequest.osVersion);
|
||||
}
|
||||
|
||||
public final String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public final String getOsType() {
|
||||
return this.osType;
|
||||
}
|
||||
|
||||
public final String getOsVersion() {
|
||||
return this.osVersion;
|
||||
}
|
||||
|
||||
public final String getPassword() {
|
||||
return this.password;
|
||||
}
|
||||
|
||||
public final String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.osVersion.hashCode() + a.d(this.osType, a.d(this.password, a.d(this.deviceId, this.userId.hashCode() * 31, 31), 31), 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("AvisaRegistrationRequest(userId=");
|
||||
sb.append(this.userId);
|
||||
sb.append(", deviceId=");
|
||||
sb.append(this.deviceId);
|
||||
sb.append(", password=");
|
||||
sb.append(this.password);
|
||||
sb.append(", osType=");
|
||||
sb.append(this.osType);
|
||||
sb.append(", osVersion=");
|
||||
return a.n(sb, this.osVersion, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa.model;
|
||||
|
||||
import Z2.InterfaceC0101i;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0019\u0012\b\b\u0001\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0001\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0003\u0010\u0002\u001a\u00020\u00032\b\b\u0003\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/model/AvisaStationCategoryResponse;", "", "catId", "", "title", "(Ljava/lang/String;Ljava/lang/String;)V", "getCatId", "()Ljava/lang/String;", "getTitle", "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 AvisaStationCategoryResponse {
|
||||
private final String catId;
|
||||
private final String title;
|
||||
|
||||
public AvisaStationCategoryResponse(@InterfaceC0101i(name = "id") String catId, @InterfaceC0101i(name = "description") String title) {
|
||||
Intrinsics.checkNotNullParameter(catId, "catId");
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
this.catId = catId;
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public static /* synthetic */ AvisaStationCategoryResponse copy$default(AvisaStationCategoryResponse avisaStationCategoryResponse, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = avisaStationCategoryResponse.catId;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = avisaStationCategoryResponse.title;
|
||||
}
|
||||
return avisaStationCategoryResponse.copy(str, str2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCatId() {
|
||||
return this.catId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public final AvisaStationCategoryResponse copy(@InterfaceC0101i(name = "id") String catId, @InterfaceC0101i(name = "description") String title) {
|
||||
Intrinsics.checkNotNullParameter(catId, "catId");
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
return new AvisaStationCategoryResponse(catId, title);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AvisaStationCategoryResponse)) {
|
||||
return false;
|
||||
}
|
||||
AvisaStationCategoryResponse avisaStationCategoryResponse = (AvisaStationCategoryResponse) other;
|
||||
return Intrinsics.areEqual(this.catId, avisaStationCategoryResponse.catId) && Intrinsics.areEqual(this.title, avisaStationCategoryResponse.title);
|
||||
}
|
||||
|
||||
public final String getCatId() {
|
||||
return this.catId;
|
||||
}
|
||||
|
||||
public final String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.title.hashCode() + (this.catId.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("AvisaStationCategoryResponse(catId=");
|
||||
sb.append(this.catId);
|
||||
sb.append(", title=");
|
||||
return a.n(sb, this.title, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa.model;
|
||||
|
||||
import Z2.InterfaceC0101i;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u0006\n\u0002\b\u0012\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B7\u0012\b\b\u0001\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\u0002\u0010\tJ\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\u0015\u001a\u0004\u0018\u00010\u0007HÆ\u0003¢\u0006\u0002\u0010\rJ\u0010\u0010\u0016\u001a\u0004\u0018\u00010\u0007HÆ\u0003¢\u0006\u0002\u0010\rJD\u0010\u0017\u001a\u00020\u00002\b\b\u0003\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007HÆ\u0001¢\u0006\u0002\u0010\u0018J\u0013\u0010\u0019\u001a\u00020\u001a2\b\u0010\u001b\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001c\u001a\u00020\u001dHÖ\u0001J\t\u0010\u001e\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0015\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\f\u0010\rR\u0015\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\u000f\u0010\rR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u000b¨\u0006\u001f"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/model/AvisaStationResponse;", "", "stId", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "code", "latitude", "", "longitude", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)V", "getCode", "()Ljava/lang/String;", "getLatitude", "()Ljava/lang/Double;", "Ljava/lang/Double;", "getLongitude", "getName", "getStId", "component1", "component2", "component3", "component4", "component5", "copy", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Lcom/adif/elcanomovil/serviceNetworking/avisa/model/AvisaStationResponse;", "equals", "", "other", "hashCode", "", "toString", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class AvisaStationResponse {
|
||||
private final String code;
|
||||
private final Double latitude;
|
||||
private final Double longitude;
|
||||
private final String name;
|
||||
private final String stId;
|
||||
|
||||
public AvisaStationResponse(@InterfaceC0101i(name = "id") String stId, String name, String code, Double d4, Double d5) {
|
||||
Intrinsics.checkNotNullParameter(stId, "stId");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(code, "code");
|
||||
this.stId = stId;
|
||||
this.name = name;
|
||||
this.code = code;
|
||||
this.latitude = d4;
|
||||
this.longitude = d5;
|
||||
}
|
||||
|
||||
public static /* synthetic */ AvisaStationResponse copy$default(AvisaStationResponse avisaStationResponse, String str, String str2, String str3, Double d4, Double d5, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = avisaStationResponse.stId;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = avisaStationResponse.name;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = avisaStationResponse.code;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
d4 = avisaStationResponse.latitude;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
d5 = avisaStationResponse.longitude;
|
||||
}
|
||||
Double d6 = d5;
|
||||
String str4 = str3;
|
||||
return avisaStationResponse.copy(str, str2, str4, d4, d6);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getStId() {
|
||||
return this.stId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final Double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final Double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
public final AvisaStationResponse copy(@InterfaceC0101i(name = "id") String stId, String name, String code, Double latitude, Double longitude) {
|
||||
Intrinsics.checkNotNullParameter(stId, "stId");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(code, "code");
|
||||
return new AvisaStationResponse(stId, name, code, latitude, longitude);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AvisaStationResponse)) {
|
||||
return false;
|
||||
}
|
||||
AvisaStationResponse avisaStationResponse = (AvisaStationResponse) other;
|
||||
return Intrinsics.areEqual(this.stId, avisaStationResponse.stId) && Intrinsics.areEqual(this.name, avisaStationResponse.name) && Intrinsics.areEqual(this.code, avisaStationResponse.code) && Intrinsics.areEqual((Object) this.latitude, (Object) avisaStationResponse.latitude) && Intrinsics.areEqual((Object) this.longitude, (Object) avisaStationResponse.longitude);
|
||||
}
|
||||
|
||||
public final String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public final Double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
public final Double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public final String getStId() {
|
||||
return this.stId;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.code, a.d(this.name, this.stId.hashCode() * 31, 31), 31);
|
||||
Double d5 = this.latitude;
|
||||
int hashCode = (d4 + (d5 == null ? 0 : d5.hashCode())) * 31;
|
||||
Double d6 = this.longitude;
|
||||
return hashCode + (d6 != null ? d6.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AvisaStationResponse(stId=" + this.stId + ", name=" + this.name + ", code=" + this.code + ", latitude=" + this.latitude + ", longitude=" + this.longitude + ')';
|
||||
}
|
||||
|
||||
/* JADX WARN: Illegal instructions before constructor call */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public /* synthetic */ AvisaStationResponse(java.lang.String r3, java.lang.String r4, java.lang.String r5, java.lang.Double r6, java.lang.Double r7, int r8, kotlin.jvm.internal.DefaultConstructorMarker r9) {
|
||||
/*
|
||||
r2 = this;
|
||||
r9 = r8 & 8
|
||||
r0 = 0
|
||||
java.lang.Double r0 = java.lang.Double.valueOf(r0)
|
||||
if (r9 == 0) goto Lb
|
||||
r6 = r0
|
||||
Lb:
|
||||
r8 = r8 & 16
|
||||
if (r8 == 0) goto L10
|
||||
r7 = r0
|
||||
L10:
|
||||
r2.<init>(r3, r4, r5, r6, r7)
|
||||
return
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.serviceNetworking.avisa.model.AvisaStationResponse.<init>(java.lang.String, java.lang.String, java.lang.String, java.lang.Double, java.lang.Double, int, kotlin.jvm.internal.DefaultConstructorMarker):void");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa.model;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u000f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B3\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b¢\u0006\u0002\u0010\nJ\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\t0\bHÆ\u0003JA\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00032\u000e\b\u0002\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\bHÆ\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\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\fR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\fR\u0017\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\f¨\u0006\u001e"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/model/CreateIncidenceRequest;", "", "categoryId", "", "description", "notificationTypeId", "stationId", "photos", "", "Lcom/adif/elcanomovil/serviceNetworking/avisa/model/IncidenceRequestPicture;", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V", "getCategoryId", "()Ljava/lang/String;", "getDescription", "getNotificationTypeId", "getPhotos", "()Ljava/util/List;", "getStationId", "component1", "component2", "component3", "component4", "component5", "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 CreateIncidenceRequest {
|
||||
private final String categoryId;
|
||||
private final String description;
|
||||
private final String notificationTypeId;
|
||||
private final List<IncidenceRequestPicture> photos;
|
||||
private final String stationId;
|
||||
|
||||
public CreateIncidenceRequest(String categoryId, String description, String notificationTypeId, String stationId, List<IncidenceRequestPicture> photos) {
|
||||
Intrinsics.checkNotNullParameter(categoryId, "categoryId");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(notificationTypeId, "notificationTypeId");
|
||||
Intrinsics.checkNotNullParameter(stationId, "stationId");
|
||||
Intrinsics.checkNotNullParameter(photos, "photos");
|
||||
this.categoryId = categoryId;
|
||||
this.description = description;
|
||||
this.notificationTypeId = notificationTypeId;
|
||||
this.stationId = stationId;
|
||||
this.photos = photos;
|
||||
}
|
||||
|
||||
public static /* synthetic */ CreateIncidenceRequest copy$default(CreateIncidenceRequest createIncidenceRequest, String str, String str2, String str3, String str4, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = createIncidenceRequest.categoryId;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = createIncidenceRequest.description;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = createIncidenceRequest.notificationTypeId;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str4 = createIncidenceRequest.stationId;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
list = createIncidenceRequest.photos;
|
||||
}
|
||||
List list2 = list;
|
||||
String str5 = str3;
|
||||
return createIncidenceRequest.copy(str, str2, str5, str4, list2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCategoryId() {
|
||||
return this.categoryId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getNotificationTypeId() {
|
||||
return this.notificationTypeId;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
public final List<IncidenceRequestPicture> component5() {
|
||||
return this.photos;
|
||||
}
|
||||
|
||||
public final CreateIncidenceRequest copy(String categoryId, String description, String notificationTypeId, String stationId, List<IncidenceRequestPicture> photos) {
|
||||
Intrinsics.checkNotNullParameter(categoryId, "categoryId");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(notificationTypeId, "notificationTypeId");
|
||||
Intrinsics.checkNotNullParameter(stationId, "stationId");
|
||||
Intrinsics.checkNotNullParameter(photos, "photos");
|
||||
return new CreateIncidenceRequest(categoryId, description, notificationTypeId, stationId, photos);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof CreateIncidenceRequest)) {
|
||||
return false;
|
||||
}
|
||||
CreateIncidenceRequest createIncidenceRequest = (CreateIncidenceRequest) other;
|
||||
return Intrinsics.areEqual(this.categoryId, createIncidenceRequest.categoryId) && Intrinsics.areEqual(this.description, createIncidenceRequest.description) && Intrinsics.areEqual(this.notificationTypeId, createIncidenceRequest.notificationTypeId) && Intrinsics.areEqual(this.stationId, createIncidenceRequest.stationId) && Intrinsics.areEqual(this.photos, createIncidenceRequest.photos);
|
||||
}
|
||||
|
||||
public final String getCategoryId() {
|
||||
return this.categoryId;
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final String getNotificationTypeId() {
|
||||
return this.notificationTypeId;
|
||||
}
|
||||
|
||||
public final List<IncidenceRequestPicture> getPhotos() {
|
||||
return this.photos;
|
||||
}
|
||||
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.photos.hashCode() + a.d(this.stationId, a.d(this.notificationTypeId, a.d(this.description, this.categoryId.hashCode() * 31, 31), 31), 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("CreateIncidenceRequest(categoryId=");
|
||||
sb.append(this.categoryId);
|
||||
sb.append(", description=");
|
||||
sb.append(this.description);
|
||||
sb.append(", notificationTypeId=");
|
||||
sb.append(this.notificationTypeId);
|
||||
sb.append(", stationId=");
|
||||
sb.append(this.stationId);
|
||||
sb.append(", photos=");
|
||||
return a.o(sb, this.photos, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa.model;
|
||||
|
||||
import Z2.InterfaceC0101i;
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\b\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0018\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001BM\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\b\b\u0001\u0010\b\u001a\u00020\u0006\u0012\b\u0010\t\u001a\u0004\u0018\u00010\n\u0012\f\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\f¢\u0006\u0002\u0010\u000eJ\u0010\u0010\u001c\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\u0010J\u0010\u0010\u001d\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\u0010J\u000b\u0010\u001e\u001a\u0004\u0018\u00010\u0006HÆ\u0003J\t\u0010\u001f\u001a\u00020\u0006HÆ\u0003J\t\u0010 \u001a\u00020\u0006HÆ\u0003J\u0010\u0010!\u001a\u0004\u0018\u00010\nHÆ\u0003¢\u0006\u0002\u0010\u0017J\u000f\u0010\"\u001a\b\u0012\u0004\u0012\u00020\r0\fHÆ\u0003Jb\u0010#\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u00062\b\b\u0003\u0010\b\u001a\u00020\u00062\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\n2\u000e\b\u0002\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\fHÆ\u0001¢\u0006\u0002\u0010$J\u0013\u0010%\u001a\u00020&2\b\u0010'\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010(\u001a\u00020\nHÖ\u0001J\t\u0010)\u001a\u00020\u0006HÖ\u0001R\u0015\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\b\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0017\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\f¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0015\u0010\t\u001a\u0004\u0018\u00010\n¢\u0006\n\n\u0002\u0010\u0018\u001a\u0004\b\u0016\u0010\u0017R\u0011\u0010\u0007\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0013R\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0013R\u0015\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u001b\u0010\u0010¨\u0006*"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/model/IncidenceCommentResponse;", "", "createTime", "", "updatedTime", "type", "", "statusTypeId", "description", ServicePaths.IncidenceService.pathIncidenceId, "", "fixPhotos", "", "Lcom/adif/elcanomovil/serviceNetworking/avisa/model/IncidencePictureResponse;", "(Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/util/List;)V", "getCreateTime", "()Ljava/lang/Long;", "Ljava/lang/Long;", "getDescription", "()Ljava/lang/String;", "getFixPhotos", "()Ljava/util/List;", "getIncidenceId", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getStatusTypeId", "getType", "getUpdatedTime", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "(Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/util/List;)Lcom/adif/elcanomovil/serviceNetworking/avisa/model/IncidenceCommentResponse;", "equals", "", "other", "hashCode", "toString", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidenceCommentResponse {
|
||||
private final Long createTime;
|
||||
private final String description;
|
||||
private final List<IncidencePictureResponse> fixPhotos;
|
||||
private final Integer incidenceId;
|
||||
private final String statusTypeId;
|
||||
private final String type;
|
||||
private final Long updatedTime;
|
||||
|
||||
public IncidenceCommentResponse(Long l4, Long l5, String str, String statusTypeId, @InterfaceC0101i(name = "public_description") String description, Integer num, List<IncidencePictureResponse> fixPhotos) {
|
||||
Intrinsics.checkNotNullParameter(statusTypeId, "statusTypeId");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(fixPhotos, "fixPhotos");
|
||||
this.createTime = l4;
|
||||
this.updatedTime = l5;
|
||||
this.type = str;
|
||||
this.statusTypeId = statusTypeId;
|
||||
this.description = description;
|
||||
this.incidenceId = num;
|
||||
this.fixPhotos = fixPhotos;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidenceCommentResponse copy$default(IncidenceCommentResponse incidenceCommentResponse, Long l4, Long l5, String str, String str2, String str3, Integer num, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
l4 = incidenceCommentResponse.createTime;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
l5 = incidenceCommentResponse.updatedTime;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str = incidenceCommentResponse.type;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str2 = incidenceCommentResponse.statusTypeId;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str3 = incidenceCommentResponse.description;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
num = incidenceCommentResponse.incidenceId;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
list = incidenceCommentResponse.fixPhotos;
|
||||
}
|
||||
Integer num2 = num;
|
||||
List list2 = list;
|
||||
String str4 = str3;
|
||||
String str5 = str;
|
||||
return incidenceCommentResponse.copy(l4, l5, str5, str2, str4, num2, list2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final Long getUpdatedTime() {
|
||||
return this.updatedTime;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final List<IncidencePictureResponse> component7() {
|
||||
return this.fixPhotos;
|
||||
}
|
||||
|
||||
public final IncidenceCommentResponse copy(Long createTime, Long updatedTime, String type, String statusTypeId, @InterfaceC0101i(name = "public_description") String description, Integer incidenceId, List<IncidencePictureResponse> fixPhotos) {
|
||||
Intrinsics.checkNotNullParameter(statusTypeId, "statusTypeId");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(fixPhotos, "fixPhotos");
|
||||
return new IncidenceCommentResponse(createTime, updatedTime, type, statusTypeId, description, incidenceId, fixPhotos);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidenceCommentResponse)) {
|
||||
return false;
|
||||
}
|
||||
IncidenceCommentResponse incidenceCommentResponse = (IncidenceCommentResponse) other;
|
||||
return Intrinsics.areEqual(this.createTime, incidenceCommentResponse.createTime) && Intrinsics.areEqual(this.updatedTime, incidenceCommentResponse.updatedTime) && Intrinsics.areEqual(this.type, incidenceCommentResponse.type) && Intrinsics.areEqual(this.statusTypeId, incidenceCommentResponse.statusTypeId) && Intrinsics.areEqual(this.description, incidenceCommentResponse.description) && Intrinsics.areEqual(this.incidenceId, incidenceCommentResponse.incidenceId) && Intrinsics.areEqual(this.fixPhotos, incidenceCommentResponse.fixPhotos);
|
||||
}
|
||||
|
||||
public final Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final List<IncidencePictureResponse> getFixPhotos() {
|
||||
return this.fixPhotos;
|
||||
}
|
||||
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final String getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public final Long getUpdatedTime() {
|
||||
return this.updatedTime;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
Long l4 = this.createTime;
|
||||
int hashCode = (l4 == null ? 0 : l4.hashCode()) * 31;
|
||||
Long l5 = this.updatedTime;
|
||||
int hashCode2 = (hashCode + (l5 == null ? 0 : l5.hashCode())) * 31;
|
||||
String str = this.type;
|
||||
int d4 = a.d(this.description, a.d(this.statusTypeId, (hashCode2 + (str == null ? 0 : str.hashCode())) * 31, 31), 31);
|
||||
Integer num = this.incidenceId;
|
||||
return this.fixPhotos.hashCode() + ((d4 + (num != null ? num.hashCode() : 0)) * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidenceCommentResponse(createTime=");
|
||||
sb.append(this.createTime);
|
||||
sb.append(", updatedTime=");
|
||||
sb.append(this.updatedTime);
|
||||
sb.append(", type=");
|
||||
sb.append(this.type);
|
||||
sb.append(", statusTypeId=");
|
||||
sb.append(this.statusTypeId);
|
||||
sb.append(", description=");
|
||||
sb.append(this.description);
|
||||
sb.append(", incidenceId=");
|
||||
sb.append(this.incidenceId);
|
||||
sb.append(", fixPhotos=");
|
||||
return a.o(sb, this.fixPhotos, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa.model;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0013\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B3\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\tJ\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\u0014\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010\rJ\u0010\u0010\u0015\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010\rJ\u000b\u0010\u0016\u001a\u0004\u0018\u00010\u0003HÆ\u0003JF\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00062\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0003HÆ\u0001¢\u0006\u0002\u0010\u0018J\u0013\u0010\u0019\u001a\u00020\u001a2\b\u0010\u001b\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001c\u001a\u00020\u0006HÖ\u0001J\t\u0010\u001d\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0015\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\f\u0010\rR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000bR\u0015\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\u0010\u0010\rR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u000b¨\u0006\u001e"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/model/IncidencePictureResponse;", "", "type", "", FirebaseAnalytics.Param.CONTENT, "thumbnail", "", ServicePaths.IncidenceService.pathIncidenceId, NavArguments.ARG_DYNAMIC_LINKS_TAB, "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;)V", "getContent", "()Ljava/lang/String;", "getIncidenceId", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getPath", "getThumbnail", "getType", "component1", "component2", "component3", "component4", "component5", "copy", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;)Lcom/adif/elcanomovil/serviceNetworking/avisa/model/IncidencePictureResponse;", "equals", "", "other", "hashCode", "toString", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidencePictureResponse {
|
||||
private final String content;
|
||||
private final Integer incidenceId;
|
||||
private final String path;
|
||||
private final Integer thumbnail;
|
||||
private final String type;
|
||||
|
||||
public IncidencePictureResponse(String type, String content, Integer num, Integer num2, String str) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
this.type = type;
|
||||
this.content = content;
|
||||
this.thumbnail = num;
|
||||
this.incidenceId = num2;
|
||||
this.path = str;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidencePictureResponse copy$default(IncidencePictureResponse incidencePictureResponse, String str, String str2, Integer num, Integer num2, String str3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = incidencePictureResponse.type;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = incidencePictureResponse.content;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
num = incidencePictureResponse.thumbnail;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
num2 = incidencePictureResponse.incidenceId;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str3 = incidencePictureResponse.path;
|
||||
}
|
||||
String str4 = str3;
|
||||
Integer num3 = num;
|
||||
return incidencePictureResponse.copy(str, str2, num3, num2, str4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final Integer getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final IncidencePictureResponse copy(String type, String content, Integer thumbnail, Integer incidenceId, String path) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
return new IncidencePictureResponse(type, content, thumbnail, incidenceId, path);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidencePictureResponse)) {
|
||||
return false;
|
||||
}
|
||||
IncidencePictureResponse incidencePictureResponse = (IncidencePictureResponse) other;
|
||||
return Intrinsics.areEqual(this.type, incidencePictureResponse.type) && Intrinsics.areEqual(this.content, incidencePictureResponse.content) && Intrinsics.areEqual(this.thumbnail, incidencePictureResponse.thumbnail) && Intrinsics.areEqual(this.incidenceId, incidencePictureResponse.incidenceId) && Intrinsics.areEqual(this.path, incidencePictureResponse.path);
|
||||
}
|
||||
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final Integer getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.content, this.type.hashCode() * 31, 31);
|
||||
Integer num = this.thumbnail;
|
||||
int hashCode = (d4 + (num == null ? 0 : num.hashCode())) * 31;
|
||||
Integer num2 = this.incidenceId;
|
||||
int hashCode2 = (hashCode + (num2 == null ? 0 : num2.hashCode())) * 31;
|
||||
String str = this.path;
|
||||
return hashCode2 + (str != null ? str.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidencePictureResponse(type=");
|
||||
sb.append(this.type);
|
||||
sb.append(", content=");
|
||||
sb.append(this.content);
|
||||
sb.append(", thumbnail=");
|
||||
sb.append(this.thumbnail);
|
||||
sb.append(", incidenceId=");
|
||||
sb.append(this.incidenceId);
|
||||
sb.append(", path=");
|
||||
return a.n(sb, this.path, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa.model;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/model/IncidenceRequestPicture;", "", "type", "", FirebaseAnalytics.Param.CONTENT, "(Ljava/lang/String;Ljava/lang/String;)V", "getContent", "()Ljava/lang/String;", "getType", "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 IncidenceRequestPicture {
|
||||
private final String content;
|
||||
private final String type;
|
||||
|
||||
public IncidenceRequestPicture(String type, String content) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
this.type = type;
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidenceRequestPicture copy$default(IncidenceRequestPicture incidenceRequestPicture, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = incidenceRequestPicture.type;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = incidenceRequestPicture.content;
|
||||
}
|
||||
return incidenceRequestPicture.copy(str, str2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
public final IncidenceRequestPicture copy(String type, String content) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
return new IncidenceRequestPicture(type, content);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidenceRequestPicture)) {
|
||||
return false;
|
||||
}
|
||||
IncidenceRequestPicture incidenceRequestPicture = (IncidenceRequestPicture) other;
|
||||
return Intrinsics.areEqual(this.type, incidenceRequestPicture.type) && Intrinsics.areEqual(this.content, incidenceRequestPicture.content);
|
||||
}
|
||||
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.content.hashCode() + (this.type.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidenceRequestPicture(type=");
|
||||
sb.append(this.type);
|
||||
sb.append(", content=");
|
||||
return a.n(sb, this.content, ')');
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,75 @@
|
||||
package com.adif.elcanomovil.serviceNetworking.avisa.model;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\b\b\u0086\u0081\u0002\u0018\u0000 \n2\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\nB\u000f\b\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006j\u0002\b\u0007j\u0002\b\bj\u0002\b\t¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/model/IncidenceStatusResponse;", "", "value", "", "(Ljava/lang/String;II)V", "getValue", "()I", "STATUS_TYPE_IN_PROGRESS", "STATUS_TYPE_SOLVED", "STATUS_TYPE_CLOSED", "Companion", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class IncidenceStatusResponse {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ IncidenceStatusResponse[] $VALUES;
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE;
|
||||
private final int value;
|
||||
public static final IncidenceStatusResponse STATUS_TYPE_IN_PROGRESS = new IncidenceStatusResponse("STATUS_TYPE_IN_PROGRESS", 0, 1);
|
||||
public static final IncidenceStatusResponse STATUS_TYPE_SOLVED = new IncidenceStatusResponse("STATUS_TYPE_SOLVED", 1, 2);
|
||||
public static final IncidenceStatusResponse STATUS_TYPE_CLOSED = new IncidenceStatusResponse("STATUS_TYPE_CLOSED", 2, 3);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0086\u0002¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/avisa/model/IncidenceStatusResponse$Companion;", "", "()V", "invoke", "Lcom/adif/elcanomovil/serviceNetworking/avisa/model/IncidenceStatusResponse;", "rawValue", "", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nIncidenceStatusResponse.kt\nKotlin\n*S Kotlin\n*F\n+ 1 IncidenceStatusResponse.kt\ncom/adif/elcanomovil/serviceNetworking/avisa/model/IncidenceStatusResponse$Companion\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,14:1\n1#2:15\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final IncidenceStatusResponse invoke(int rawValue) {
|
||||
for (IncidenceStatusResponse incidenceStatusResponse : IncidenceStatusResponse.values()) {
|
||||
if (incidenceStatusResponse.getValue() == rawValue) {
|
||||
return incidenceStatusResponse;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
private static final /* synthetic */ IncidenceStatusResponse[] $values() {
|
||||
return new IncidenceStatusResponse[]{STATUS_TYPE_IN_PROGRESS, STATUS_TYPE_SOLVED, STATUS_TYPE_CLOSED};
|
||||
}
|
||||
|
||||
static {
|
||||
IncidenceStatusResponse[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
INSTANCE = new Companion(null);
|
||||
}
|
||||
|
||||
private IncidenceStatusResponse(String str, int i, int i4) {
|
||||
this.value = i4;
|
||||
}
|
||||
|
||||
public static EnumEntries<IncidenceStatusResponse> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static IncidenceStatusResponse valueOf(String str) {
|
||||
return (IncidenceStatusResponse) Enum.valueOf(IncidenceStatusResponse.class, str);
|
||||
}
|
||||
|
||||
public static IncidenceStatusResponse[] values() {
|
||||
return (IncidenceStatusResponse[]) $VALUES.clone();
|
||||
}
|
||||
|
||||
public final int getValue() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user