Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
@@ -0,0 +1,171 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa;
|
||||
|
||||
import android.location.Location;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
|
||||
import java.io.Serializable;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u0006\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u000f\n\u0002\u0010\u0007\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B5\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\u0002\u0010\tJ\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\u0018\u001a\u0004\u0018\u00010\u0007HÆ\u0003¢\u0006\u0002\u0010\u0010J\u0010\u0010\u0019\u001a\u0004\u0018\u00010\u0007HÆ\u0003¢\u0006\u0002\u0010\u0010JD\u0010\u001a\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007HÆ\u0001¢\u0006\u0002\u0010\u001bJ\u000e\u0010\u001c\u001a\u00020\u001d2\u0006\u0010\u001e\u001a\u00020\u001fJ\u0013\u0010 \u001a\u00020\r2\b\u0010!\u001a\u0004\u0018\u00010\"HÖ\u0003J\t\u0010#\u001a\u00020$HÖ\u0001J\t\u0010%\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\f\u001a\u00020\r8F¢\u0006\u0006\u001a\u0004\b\f\u0010\u000eR\u0015\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u000f\u0010\u0010R\u0015\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u0012\u0010\u0010R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u000bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u000b¨\u0006&"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStation;", "Ljava/io/Serializable;", "stId", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "code", "latitude", "", "longitude", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)V", "getCode", "()Ljava/lang/String;", "isLocated", "", "()Z", "getLatitude", "()Ljava/lang/Double;", "Ljava/lang/Double;", "getLongitude", "getName", "getStId", "component1", "component2", "component3", "component4", "component5", "copy", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStation;", "distanceTo", "", FirebaseAnalytics.Param.LOCATION, "Landroid/location/Location;", "equals", "other", "", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class AvisaStation implements Serializable {
|
||||
private final String code;
|
||||
private final Double latitude;
|
||||
private final Double longitude;
|
||||
private final String name;
|
||||
private final String stId;
|
||||
|
||||
public AvisaStation(String stId, String name, String code, Double d4, Double d5) {
|
||||
Intrinsics.checkNotNullParameter(stId, "stId");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(code, "code");
|
||||
this.stId = stId;
|
||||
this.name = name;
|
||||
this.code = code;
|
||||
this.latitude = d4;
|
||||
this.longitude = d5;
|
||||
}
|
||||
|
||||
public static /* synthetic */ AvisaStation copy$default(AvisaStation avisaStation, String str, String str2, String str3, Double d4, Double d5, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = avisaStation.stId;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = avisaStation.name;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = avisaStation.code;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
d4 = avisaStation.latitude;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
d5 = avisaStation.longitude;
|
||||
}
|
||||
Double d6 = d5;
|
||||
String str4 = str3;
|
||||
return avisaStation.copy(str, str2, str4, d4, d6);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getStId() {
|
||||
return this.stId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final Double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final Double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
public final AvisaStation copy(String stId, String name, String code, Double latitude, Double longitude) {
|
||||
Intrinsics.checkNotNullParameter(stId, "stId");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(code, "code");
|
||||
return new AvisaStation(stId, name, code, latitude, longitude);
|
||||
}
|
||||
|
||||
public final float distanceTo(Location location) {
|
||||
Intrinsics.checkNotNullParameter(location, "location");
|
||||
Location location2 = new Location(FirebaseAnalytics.Param.LOCATION);
|
||||
if (isLocated()) {
|
||||
Double d4 = this.latitude;
|
||||
if (d4 != null) {
|
||||
location2.setLatitude(d4.doubleValue());
|
||||
}
|
||||
Double d5 = this.longitude;
|
||||
if (d5 != null) {
|
||||
location2.setLongitude(d5.doubleValue());
|
||||
}
|
||||
}
|
||||
return location2.distanceTo(location);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AvisaStation)) {
|
||||
return false;
|
||||
}
|
||||
AvisaStation avisaStation = (AvisaStation) other;
|
||||
return Intrinsics.areEqual(this.stId, avisaStation.stId) && Intrinsics.areEqual(this.name, avisaStation.name) && Intrinsics.areEqual(this.code, avisaStation.code) && Intrinsics.areEqual((Object) this.latitude, (Object) avisaStation.latitude) && Intrinsics.areEqual((Object) this.longitude, (Object) avisaStation.longitude);
|
||||
}
|
||||
|
||||
public final String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public final Double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
public final Double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public final String getStId() {
|
||||
return this.stId;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.code, a.d(this.name, this.stId.hashCode() * 31, 31), 31);
|
||||
Double d5 = this.latitude;
|
||||
int hashCode = (d4 + (d5 == null ? 0 : d5.hashCode())) * 31;
|
||||
Double d6 = this.longitude;
|
||||
return hashCode + (d6 != null ? d6.hashCode() : 0);
|
||||
}
|
||||
|
||||
public final boolean isLocated() {
|
||||
return (Intrinsics.areEqual(this.latitude, FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE) && Intrinsics.areEqual(this.longitude, FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE)) ? false : true;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AvisaStation(stId=" + this.stId + ", name=" + this.name + ", code=" + this.code + ", latitude=" + this.latitude + ", longitude=" + this.longitude + ')';
|
||||
}
|
||||
|
||||
/* JADX WARN: Illegal instructions before constructor call */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public /* synthetic */ AvisaStation(java.lang.String r3, java.lang.String r4, java.lang.String r5, java.lang.Double r6, java.lang.Double r7, int r8, kotlin.jvm.internal.DefaultConstructorMarker r9) {
|
||||
/*
|
||||
r2 = this;
|
||||
r9 = r8 & 8
|
||||
r0 = 0
|
||||
java.lang.Double r0 = java.lang.Double.valueOf(r0)
|
||||
if (r9 == 0) goto Lb
|
||||
r6 = r0
|
||||
Lb:
|
||||
r8 = r8 & 16
|
||||
if (r8 == 0) goto L10
|
||||
r7 = r0
|
||||
L10:
|
||||
r2.<init>(r3, r4, r5, r6, r7)
|
||||
return
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.domain.entities.avisa.AvisaStation.<init>(java.lang.String, java.lang.String, java.lang.String, java.lang.Double, java.lang.Double, int, kotlin.jvm.internal.DefaultConstructorMarker):void");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStationCategory;", "", "catId", "", "title", "(Ljava/lang/String;Ljava/lang/String;)V", "getCatId", "()Ljava/lang/String;", "getTitle", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class AvisaStationCategory {
|
||||
private final String catId;
|
||||
private final String title;
|
||||
|
||||
public AvisaStationCategory(String catId, String title) {
|
||||
Intrinsics.checkNotNullParameter(catId, "catId");
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
this.catId = catId;
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public static /* synthetic */ AvisaStationCategory copy$default(AvisaStationCategory avisaStationCategory, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = avisaStationCategory.catId;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = avisaStationCategory.title;
|
||||
}
|
||||
return avisaStationCategory.copy(str, str2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCatId() {
|
||||
return this.catId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public final AvisaStationCategory copy(String catId, String title) {
|
||||
Intrinsics.checkNotNullParameter(catId, "catId");
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
return new AvisaStationCategory(catId, title);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AvisaStationCategory)) {
|
||||
return false;
|
||||
}
|
||||
AvisaStationCategory avisaStationCategory = (AvisaStationCategory) other;
|
||||
return Intrinsics.areEqual(this.catId, avisaStationCategory.catId) && Intrinsics.areEqual(this.title, avisaStationCategory.title);
|
||||
}
|
||||
|
||||
public final String getCatId() {
|
||||
return this.catId;
|
||||
}
|
||||
|
||||
public final String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.title.hashCode() + (this.catId.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("AvisaStationCategory(catId=");
|
||||
sb.append(this.catId);
|
||||
sb.append(", title=");
|
||||
return a.n(sb, this.title, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,264 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.io.ConstantsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b!\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B}\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\b\u001a\u00020\u0005\u0012\u0006\u0010\t\u001a\u00020\u0003\u0012\u0006\u0010\n\u001a\u00020\u000b\u0012\b\u0010\f\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010\r\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010\u000e\u001a\u0004\u0018\u00010\u0005\u0012\u000e\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u0010\u0012\u000e\u0010\u0012\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010¢\u0006\u0002\u0010\u0014J\t\u0010'\u001a\u00020\u0003HÆ\u0003J\u000b\u0010(\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u0011\u0010)\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u0010HÆ\u0003J\u0011\u0010*\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010HÆ\u0003J\t\u0010+\u001a\u00020\u0005HÆ\u0003J\u000b\u0010,\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\t\u0010-\u001a\u00020\u0003HÆ\u0003J\t\u0010.\u001a\u00020\u0005HÆ\u0003J\t\u0010/\u001a\u00020\u0003HÆ\u0003J\t\u00100\u001a\u00020\u000bHÆ\u0003J\u000b\u00101\u001a\u0004\u0018\u00010\u000bHÆ\u0003J\u000b\u00102\u001a\u0004\u0018\u00010\u000bHÆ\u0003J\u0099\u0001\u00103\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00052\b\b\u0002\u0010\u0007\u001a\u00020\u00032\b\b\u0002\u0010\b\u001a\u00020\u00052\b\b\u0002\u0010\t\u001a\u00020\u00032\b\b\u0002\u0010\n\u001a\u00020\u000b2\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\u00052\u0010\b\u0002\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u00102\u0010\b\u0002\u0010\u0012\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010HÆ\u0001J\u0013\u00104\u001a\u0002052\b\u00106\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00107\u001a\u00020\u0003HÖ\u0001J\t\u00108\u001a\u00020\u0005HÖ\u0001R\u0013\u0010\u000e\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0019\u0010\u0012\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018R\u0011\u0010\n\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u001aR\u0011\u0010\b\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0016R\u0013\u0010\f\u001a\u0004\u0018\u00010\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u001aR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001eR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010\u0016R\u0011\u0010\t\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b \u0010\u001eR\u0019\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u0010¢\u0006\b\n\u0000\u001a\u0004\b!\u0010\u0018R\u0013\u0010\r\u001a\u0004\u0018\u00010\u000b¢\u0006\b\n\u0000\u001a\u0004\b\"\u0010\u001aR\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b#\u0010\u0016R\u001a\u0010\u0007\u001a\u00020\u0003X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b$\u0010\u001e\"\u0004\b%\u0010&¨\u00069"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/Incidence;", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "", "incidenceCode", "", "stationId", "statusTypeId", "description", "notificationTypeId", "createdTime", "Ljava/util/Date;", "estimatedDateTo", "solvedDate", "categoryId", "photos", "", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidencePicture;", "comments", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceComment;", "(ILjava/lang/String;Ljava/lang/String;ILjava/lang/String;ILjava/util/Date;Ljava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/util/List;Ljava/util/List;)V", "getCategoryId", "()Ljava/lang/String;", "getComments", "()Ljava/util/List;", "getCreatedTime", "()Ljava/util/Date;", "getDescription", "getEstimatedDateTo", "getId", "()I", "getIncidenceCode", "getNotificationTypeId", "getPhotos", "getSolvedDate", "getStationId", "getStatusTypeId", "setStatusTypeId", "(I)V", "component1", "component10", "component11", "component12", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "equals", "", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class Incidence {
|
||||
private final String categoryId;
|
||||
private final List<IncidenceComment> comments;
|
||||
private final Date createdTime;
|
||||
private final String description;
|
||||
private final Date estimatedDateTo;
|
||||
private final int id;
|
||||
private final String incidenceCode;
|
||||
private final int notificationTypeId;
|
||||
private final List<IncidencePicture> photos;
|
||||
private final Date solvedDate;
|
||||
private final String stationId;
|
||||
private int statusTypeId;
|
||||
|
||||
public Incidence(int i, String incidenceCode, String str, int i4, String description, int i5, Date createdTime, Date date, Date date2, String str2, List<IncidencePicture> list, List<IncidenceComment> list2) {
|
||||
Intrinsics.checkNotNullParameter(incidenceCode, "incidenceCode");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(createdTime, "createdTime");
|
||||
this.id = i;
|
||||
this.incidenceCode = incidenceCode;
|
||||
this.stationId = str;
|
||||
this.statusTypeId = i4;
|
||||
this.description = description;
|
||||
this.notificationTypeId = i5;
|
||||
this.createdTime = createdTime;
|
||||
this.estimatedDateTo = date;
|
||||
this.solvedDate = date2;
|
||||
this.categoryId = str2;
|
||||
this.photos = list;
|
||||
this.comments = list2;
|
||||
}
|
||||
|
||||
public static /* synthetic */ Incidence copy$default(Incidence incidence, int i, String str, String str2, int i4, String str3, int i5, Date date, Date date2, Date date3, String str4, List list, List list2, int i6, Object obj) {
|
||||
if ((i6 & 1) != 0) {
|
||||
i = incidence.id;
|
||||
}
|
||||
if ((i6 & 2) != 0) {
|
||||
str = incidence.incidenceCode;
|
||||
}
|
||||
if ((i6 & 4) != 0) {
|
||||
str2 = incidence.stationId;
|
||||
}
|
||||
if ((i6 & 8) != 0) {
|
||||
i4 = incidence.statusTypeId;
|
||||
}
|
||||
if ((i6 & 16) != 0) {
|
||||
str3 = incidence.description;
|
||||
}
|
||||
if ((i6 & 32) != 0) {
|
||||
i5 = incidence.notificationTypeId;
|
||||
}
|
||||
if ((i6 & 64) != 0) {
|
||||
date = incidence.createdTime;
|
||||
}
|
||||
if ((i6 & 128) != 0) {
|
||||
date2 = incidence.estimatedDateTo;
|
||||
}
|
||||
if ((i6 & 256) != 0) {
|
||||
date3 = incidence.solvedDate;
|
||||
}
|
||||
if ((i6 & ConstantsKt.MINIMUM_BLOCK_SIZE) != 0) {
|
||||
str4 = incidence.categoryId;
|
||||
}
|
||||
if ((i6 & 1024) != 0) {
|
||||
list = incidence.photos;
|
||||
}
|
||||
if ((i6 & 2048) != 0) {
|
||||
list2 = incidence.comments;
|
||||
}
|
||||
List list3 = list;
|
||||
List list4 = list2;
|
||||
Date date4 = date3;
|
||||
String str5 = str4;
|
||||
Date date5 = date;
|
||||
Date date6 = date2;
|
||||
String str6 = str3;
|
||||
int i7 = i5;
|
||||
return incidence.copy(i, str, str2, i4, str6, i7, date5, date6, date4, str5, list3, list4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
/* renamed from: component10, reason: from getter */
|
||||
public final String getCategoryId() {
|
||||
return this.categoryId;
|
||||
}
|
||||
|
||||
public final List<IncidencePicture> component11() {
|
||||
return this.photos;
|
||||
}
|
||||
|
||||
public final List<IncidenceComment> component12() {
|
||||
return this.comments;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getIncidenceCode() {
|
||||
return this.incidenceCode;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final int getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final int getNotificationTypeId() {
|
||||
return this.notificationTypeId;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final Date getCreatedTime() {
|
||||
return this.createdTime;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final Date getEstimatedDateTo() {
|
||||
return this.estimatedDateTo;
|
||||
}
|
||||
|
||||
/* renamed from: component9, reason: from getter */
|
||||
public final Date getSolvedDate() {
|
||||
return this.solvedDate;
|
||||
}
|
||||
|
||||
public final Incidence copy(int id, String incidenceCode, String stationId, int statusTypeId, String description, int notificationTypeId, Date createdTime, Date estimatedDateTo, Date solvedDate, String categoryId, List<IncidencePicture> photos, List<IncidenceComment> comments) {
|
||||
Intrinsics.checkNotNullParameter(incidenceCode, "incidenceCode");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(createdTime, "createdTime");
|
||||
return new Incidence(id, incidenceCode, stationId, statusTypeId, description, notificationTypeId, createdTime, estimatedDateTo, solvedDate, categoryId, photos, comments);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Incidence)) {
|
||||
return false;
|
||||
}
|
||||
Incidence incidence = (Incidence) other;
|
||||
return this.id == incidence.id && Intrinsics.areEqual(this.incidenceCode, incidence.incidenceCode) && Intrinsics.areEqual(this.stationId, incidence.stationId) && this.statusTypeId == incidence.statusTypeId && Intrinsics.areEqual(this.description, incidence.description) && this.notificationTypeId == incidence.notificationTypeId && Intrinsics.areEqual(this.createdTime, incidence.createdTime) && Intrinsics.areEqual(this.estimatedDateTo, incidence.estimatedDateTo) && Intrinsics.areEqual(this.solvedDate, incidence.solvedDate) && Intrinsics.areEqual(this.categoryId, incidence.categoryId) && Intrinsics.areEqual(this.photos, incidence.photos) && Intrinsics.areEqual(this.comments, incidence.comments);
|
||||
}
|
||||
|
||||
public final String getCategoryId() {
|
||||
return this.categoryId;
|
||||
}
|
||||
|
||||
public final List<IncidenceComment> getComments() {
|
||||
return this.comments;
|
||||
}
|
||||
|
||||
public final Date getCreatedTime() {
|
||||
return this.createdTime;
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final Date getEstimatedDateTo() {
|
||||
return this.estimatedDateTo;
|
||||
}
|
||||
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final String getIncidenceCode() {
|
||||
return this.incidenceCode;
|
||||
}
|
||||
|
||||
public final int getNotificationTypeId() {
|
||||
return this.notificationTypeId;
|
||||
}
|
||||
|
||||
public final List<IncidencePicture> getPhotos() {
|
||||
return this.photos;
|
||||
}
|
||||
|
||||
public final Date getSolvedDate() {
|
||||
return this.solvedDate;
|
||||
}
|
||||
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
public final int getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.incidenceCode, Integer.hashCode(this.id) * 31, 31);
|
||||
String str = this.stationId;
|
||||
int hashCode = (this.createdTime.hashCode() + w.x(this.notificationTypeId, a.d(this.description, w.x(this.statusTypeId, (d4 + (str == null ? 0 : str.hashCode())) * 31, 31), 31), 31)) * 31;
|
||||
Date date = this.estimatedDateTo;
|
||||
int hashCode2 = (hashCode + (date == null ? 0 : date.hashCode())) * 31;
|
||||
Date date2 = this.solvedDate;
|
||||
int hashCode3 = (hashCode2 + (date2 == null ? 0 : date2.hashCode())) * 31;
|
||||
String str2 = this.categoryId;
|
||||
int hashCode4 = (hashCode3 + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
List<IncidencePicture> list = this.photos;
|
||||
int hashCode5 = (hashCode4 + (list == null ? 0 : list.hashCode())) * 31;
|
||||
List<IncidenceComment> list2 = this.comments;
|
||||
return hashCode5 + (list2 != null ? list2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public final void setStatusTypeId(int i) {
|
||||
this.statusTypeId = i;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("Incidence(id=");
|
||||
sb.append(this.id);
|
||||
sb.append(", incidenceCode=");
|
||||
sb.append(this.incidenceCode);
|
||||
sb.append(", stationId=");
|
||||
sb.append(this.stationId);
|
||||
sb.append(", statusTypeId=");
|
||||
sb.append(this.statusTypeId);
|
||||
sb.append(", description=");
|
||||
sb.append(this.description);
|
||||
sb.append(", notificationTypeId=");
|
||||
sb.append(this.notificationTypeId);
|
||||
sb.append(", createdTime=");
|
||||
sb.append(this.createdTime);
|
||||
sb.append(", estimatedDateTo=");
|
||||
sb.append(this.estimatedDateTo);
|
||||
sb.append(", solvedDate=");
|
||||
sb.append(this.solvedDate);
|
||||
sb.append(", categoryId=");
|
||||
sb.append(this.categoryId);
|
||||
sb.append(", photos=");
|
||||
sb.append(this.photos);
|
||||
sb.append(", comments=");
|
||||
return a.o(sb, this.comments, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\b\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0017\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001BK\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\u0006\u0010\b\u001a\u00020\u0006\u0012\b\u0010\t\u001a\u0004\u0018\u00010\n\u0012\f\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\f¢\u0006\u0002\u0010\u000eJ\u000b\u0010\u001b\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001c\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001d\u001a\u0004\u0018\u00010\u0006HÆ\u0003J\t\u0010\u001e\u001a\u00020\u0006HÆ\u0003J\t\u0010\u001f\u001a\u00020\u0006HÆ\u0003J\u0010\u0010 \u001a\u0004\u0018\u00010\nHÆ\u0003¢\u0006\u0002\u0010\u0016J\u000f\u0010!\u001a\b\u0012\u0004\u0012\u00020\r0\fHÆ\u0003Jb\u0010\"\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u00062\b\b\u0002\u0010\b\u001a\u00020\u00062\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\n2\u000e\b\u0002\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\fHÆ\u0001¢\u0006\u0002\u0010#J\u0013\u0010$\u001a\u00020%2\b\u0010&\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010'\u001a\u00020\nHÖ\u0001J\t\u0010(\u001a\u00020\u0006HÖ\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\b\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0017\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\f¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0015\u0010\t\u001a\u0004\u0018\u00010\n¢\u0006\n\n\u0002\u0010\u0017\u001a\u0004\b\u0015\u0010\u0016R\u0011\u0010\u0007\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0012R\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0012R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0010¨\u0006)"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceComment;", "", "createTime", "Ljava/util/Date;", "updatedTime", "type", "", "statusTypeId", "description", ServicePaths.IncidenceService.pathIncidenceId, "", "fixPhotos", "", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidencePicture;", "(Ljava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/util/List;)V", "getCreateTime", "()Ljava/util/Date;", "getDescription", "()Ljava/lang/String;", "getFixPhotos", "()Ljava/util/List;", "getIncidenceId", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getStatusTypeId", "getType", "getUpdatedTime", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "(Ljava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/util/List;)Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceComment;", "equals", "", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidenceComment {
|
||||
private final Date createTime;
|
||||
private final String description;
|
||||
private final List<IncidencePicture> fixPhotos;
|
||||
private final Integer incidenceId;
|
||||
private final String statusTypeId;
|
||||
private final String type;
|
||||
private final Date updatedTime;
|
||||
|
||||
public IncidenceComment(Date date, Date date2, String str, String statusTypeId, String description, Integer num, List<IncidencePicture> fixPhotos) {
|
||||
Intrinsics.checkNotNullParameter(statusTypeId, "statusTypeId");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(fixPhotos, "fixPhotos");
|
||||
this.createTime = date;
|
||||
this.updatedTime = date2;
|
||||
this.type = str;
|
||||
this.statusTypeId = statusTypeId;
|
||||
this.description = description;
|
||||
this.incidenceId = num;
|
||||
this.fixPhotos = fixPhotos;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidenceComment copy$default(IncidenceComment incidenceComment, Date date, Date date2, String str, String str2, String str3, Integer num, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
date = incidenceComment.createTime;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
date2 = incidenceComment.updatedTime;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str = incidenceComment.type;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str2 = incidenceComment.statusTypeId;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str3 = incidenceComment.description;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
num = incidenceComment.incidenceId;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
list = incidenceComment.fixPhotos;
|
||||
}
|
||||
Integer num2 = num;
|
||||
List list2 = list;
|
||||
String str4 = str3;
|
||||
String str5 = str;
|
||||
return incidenceComment.copy(date, date2, str5, str2, str4, num2, list2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Date getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final Date getUpdatedTime() {
|
||||
return this.updatedTime;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final List<IncidencePicture> component7() {
|
||||
return this.fixPhotos;
|
||||
}
|
||||
|
||||
public final IncidenceComment copy(Date createTime, Date updatedTime, String type, String statusTypeId, String description, Integer incidenceId, List<IncidencePicture> fixPhotos) {
|
||||
Intrinsics.checkNotNullParameter(statusTypeId, "statusTypeId");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(fixPhotos, "fixPhotos");
|
||||
return new IncidenceComment(createTime, updatedTime, type, statusTypeId, description, incidenceId, fixPhotos);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidenceComment)) {
|
||||
return false;
|
||||
}
|
||||
IncidenceComment incidenceComment = (IncidenceComment) other;
|
||||
return Intrinsics.areEqual(this.createTime, incidenceComment.createTime) && Intrinsics.areEqual(this.updatedTime, incidenceComment.updatedTime) && Intrinsics.areEqual(this.type, incidenceComment.type) && Intrinsics.areEqual(this.statusTypeId, incidenceComment.statusTypeId) && Intrinsics.areEqual(this.description, incidenceComment.description) && Intrinsics.areEqual(this.incidenceId, incidenceComment.incidenceId) && Intrinsics.areEqual(this.fixPhotos, incidenceComment.fixPhotos);
|
||||
}
|
||||
|
||||
public final Date getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final List<IncidencePicture> getFixPhotos() {
|
||||
return this.fixPhotos;
|
||||
}
|
||||
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final String getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public final Date getUpdatedTime() {
|
||||
return this.updatedTime;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
Date date = this.createTime;
|
||||
int hashCode = (date == null ? 0 : date.hashCode()) * 31;
|
||||
Date date2 = this.updatedTime;
|
||||
int hashCode2 = (hashCode + (date2 == null ? 0 : date2.hashCode())) * 31;
|
||||
String str = this.type;
|
||||
int d4 = a.d(this.description, a.d(this.statusTypeId, (hashCode2 + (str == null ? 0 : str.hashCode())) * 31, 31), 31);
|
||||
Integer num = this.incidenceId;
|
||||
return this.fixPhotos.hashCode() + ((d4 + (num != null ? num.hashCode() : 0)) * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidenceComment(createTime=");
|
||||
sb.append(this.createTime);
|
||||
sb.append(", updatedTime=");
|
||||
sb.append(this.updatedTime);
|
||||
sb.append(", type=");
|
||||
sb.append(this.type);
|
||||
sb.append(", statusTypeId=");
|
||||
sb.append(this.statusTypeId);
|
||||
sb.append(", description=");
|
||||
sb.append(this.description);
|
||||
sb.append(", incidenceId=");
|
||||
sb.append(this.incidenceId);
|
||||
sb.append(", fixPhotos=");
|
||||
return a.o(sb, this.fixPhotos, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\b\b\u0086\u0081\u0002\u0018\u0000 \n2\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\nB\u000f\b\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006j\u0002\b\u0007j\u0002\b\bj\u0002\b\t¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceNotificationType;", "", "value", "", "(Ljava/lang/String;II)V", "getValue", "()I", "NOT_USED", "NOTIFICATION_TYPE_PUSH_NOTIFICATION", "UNKNOWN", "Companion", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class IncidenceNotificationType {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ IncidenceNotificationType[] $VALUES;
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE;
|
||||
private final int value;
|
||||
public static final IncidenceNotificationType NOT_USED = new IncidenceNotificationType("NOT_USED", 0, 1);
|
||||
public static final IncidenceNotificationType NOTIFICATION_TYPE_PUSH_NOTIFICATION = new IncidenceNotificationType("NOTIFICATION_TYPE_PUSH_NOTIFICATION", 1, 5);
|
||||
public static final IncidenceNotificationType UNKNOWN = new IncidenceNotificationType("UNKNOWN", 2, -1);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0086\u0002¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceNotificationType$Companion;", "", "()V", "invoke", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceNotificationType;", "rawValue", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nIncidenceNotificationType.kt\nKotlin\n*S Kotlin\n*F\n+ 1 IncidenceNotificationType.kt\ncom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceNotificationType$Companion\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,12:1\n1#2:13\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final IncidenceNotificationType invoke(int rawValue) {
|
||||
for (IncidenceNotificationType incidenceNotificationType : IncidenceNotificationType.values()) {
|
||||
if (incidenceNotificationType.getValue() == rawValue) {
|
||||
return incidenceNotificationType;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
private static final /* synthetic */ IncidenceNotificationType[] $values() {
|
||||
return new IncidenceNotificationType[]{NOT_USED, NOTIFICATION_TYPE_PUSH_NOTIFICATION, UNKNOWN};
|
||||
}
|
||||
|
||||
static {
|
||||
IncidenceNotificationType[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
INSTANCE = new Companion(null);
|
||||
}
|
||||
|
||||
private IncidenceNotificationType(String str, int i, int i4) {
|
||||
this.value = i4;
|
||||
}
|
||||
|
||||
public static EnumEntries<IncidenceNotificationType> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static IncidenceNotificationType valueOf(String str) {
|
||||
return (IncidenceNotificationType) Enum.valueOf(IncidenceNotificationType.class, str);
|
||||
}
|
||||
|
||||
public static IncidenceNotificationType[] values() {
|
||||
return (IncidenceNotificationType[]) $VALUES.clone();
|
||||
}
|
||||
|
||||
public final int getValue() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,139 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0013\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B9\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u0006\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\tJ\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\u0014\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010\rJ\u0010\u0010\u0015\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010\rJ\u000b\u0010\u0016\u001a\u0004\u0018\u00010\u0003HÆ\u0003JF\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00062\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0003HÆ\u0001¢\u0006\u0002\u0010\u0018J\u0013\u0010\u0019\u001a\u00020\u001a2\b\u0010\u001b\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001c\u001a\u00020\u0006HÖ\u0001J\t\u0010\u001d\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0015\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\f\u0010\rR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000bR\u0015\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\u0010\u0010\rR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u000b¨\u0006\u001e"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidencePicture;", "", "type", "", FirebaseAnalytics.Param.CONTENT, "thumbnail", "", ServicePaths.IncidenceService.pathIncidenceId, NavArguments.ARG_DYNAMIC_LINKS_TAB, "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;)V", "getContent", "()Ljava/lang/String;", "getIncidenceId", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getPath", "getThumbnail", "getType", "component1", "component2", "component3", "component4", "component5", "copy", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;)Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidencePicture;", "equals", "", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidencePicture {
|
||||
private final String content;
|
||||
private final Integer incidenceId;
|
||||
private final String path;
|
||||
private final Integer thumbnail;
|
||||
private final String type;
|
||||
|
||||
public IncidencePicture(String type, String content, Integer num, Integer num2, String str) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
this.type = type;
|
||||
this.content = content;
|
||||
this.thumbnail = num;
|
||||
this.incidenceId = num2;
|
||||
this.path = str;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidencePicture copy$default(IncidencePicture incidencePicture, String str, String str2, Integer num, Integer num2, String str3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = incidencePicture.type;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = incidencePicture.content;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
num = incidencePicture.thumbnail;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
num2 = incidencePicture.incidenceId;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str3 = incidencePicture.path;
|
||||
}
|
||||
String str4 = str3;
|
||||
Integer num3 = num;
|
||||
return incidencePicture.copy(str, str2, num3, num2, str4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final Integer getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final IncidencePicture copy(String type, String content, Integer thumbnail, Integer incidenceId, String path) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
return new IncidencePicture(type, content, thumbnail, incidenceId, path);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidencePicture)) {
|
||||
return false;
|
||||
}
|
||||
IncidencePicture incidencePicture = (IncidencePicture) other;
|
||||
return Intrinsics.areEqual(this.type, incidencePicture.type) && Intrinsics.areEqual(this.content, incidencePicture.content) && Intrinsics.areEqual(this.thumbnail, incidencePicture.thumbnail) && Intrinsics.areEqual(this.incidenceId, incidencePicture.incidenceId) && Intrinsics.areEqual(this.path, incidencePicture.path);
|
||||
}
|
||||
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final Integer getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.content, this.type.hashCode() * 31, 31);
|
||||
Integer num = this.thumbnail;
|
||||
int hashCode = (d4 + (num == null ? 0 : num.hashCode())) * 31;
|
||||
Integer num2 = this.incidenceId;
|
||||
int hashCode2 = (hashCode + (num2 == null ? 0 : num2.hashCode())) * 31;
|
||||
String str = this.path;
|
||||
return hashCode2 + (str != null ? str.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidencePicture(type=");
|
||||
sb.append(this.type);
|
||||
sb.append(", content=");
|
||||
sb.append(this.content);
|
||||
sb.append(", thumbnail=");
|
||||
sb.append(this.thumbnail);
|
||||
sb.append(", incidenceId=");
|
||||
sb.append(this.incidenceId);
|
||||
sb.append(", path=");
|
||||
return a.n(sb, this.path, ')');
|
||||
}
|
||||
|
||||
public /* synthetic */ IncidencePicture(String str, String str2, Integer num, Integer num2, String str3, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(str, str2, (i & 4) != 0 ? null : num, (i & 8) != 0 ? null : num2, (i & 16) != 0 ? null : str3);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0011\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B-\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\u0006\u0010\b\u001a\u00020\u0003¢\u0006\u0002\u0010\tJ\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0006HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0006HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J;\u0010\u0016\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u00062\b\b\u0002\u0010\b\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0017\u001a\u00020\u00182\b\u0010\u0019\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001a\u001a\u00020\u0006HÖ\u0001J\t\u0010\u001b\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0007\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000bR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\rR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000b¨\u0006\u001c"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidencePictureRequest;", "", "type", "", FirebaseAnalytics.Param.CONTENT, "thumbnail", "", ServicePaths.IncidenceService.pathIncidenceId, NavArguments.ARG_DYNAMIC_LINKS_TAB, "(Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;)V", "getContent", "()Ljava/lang/String;", "getIncidenceId", "()I", "getPath", "getThumbnail", "getType", "component1", "component2", "component3", "component4", "component5", "copy", "equals", "", "other", "hashCode", "toString", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidencePictureRequest {
|
||||
private final String content;
|
||||
private final int incidenceId;
|
||||
private final String path;
|
||||
private final int thumbnail;
|
||||
private final String type;
|
||||
|
||||
public IncidencePictureRequest(String type, String content, int i, int i4, String path) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
Intrinsics.checkNotNullParameter(path, "path");
|
||||
this.type = type;
|
||||
this.content = content;
|
||||
this.thumbnail = i;
|
||||
this.incidenceId = i4;
|
||||
this.path = path;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidencePictureRequest copy$default(IncidencePictureRequest incidencePictureRequest, String str, String str2, int i, int i4, String str3, int i5, Object obj) {
|
||||
if ((i5 & 1) != 0) {
|
||||
str = incidencePictureRequest.type;
|
||||
}
|
||||
if ((i5 & 2) != 0) {
|
||||
str2 = incidencePictureRequest.content;
|
||||
}
|
||||
if ((i5 & 4) != 0) {
|
||||
i = incidencePictureRequest.thumbnail;
|
||||
}
|
||||
if ((i5 & 8) != 0) {
|
||||
i4 = incidencePictureRequest.incidenceId;
|
||||
}
|
||||
if ((i5 & 16) != 0) {
|
||||
str3 = incidencePictureRequest.path;
|
||||
}
|
||||
String str4 = str3;
|
||||
int i6 = i;
|
||||
return incidencePictureRequest.copy(str, str2, i6, i4, str4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final int getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final int getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final IncidencePictureRequest copy(String type, String content, int thumbnail, int incidenceId, String path) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
Intrinsics.checkNotNullParameter(path, "path");
|
||||
return new IncidencePictureRequest(type, content, thumbnail, incidenceId, path);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidencePictureRequest)) {
|
||||
return false;
|
||||
}
|
||||
IncidencePictureRequest incidencePictureRequest = (IncidencePictureRequest) other;
|
||||
return Intrinsics.areEqual(this.type, incidencePictureRequest.type) && Intrinsics.areEqual(this.content, incidencePictureRequest.content) && this.thumbnail == incidencePictureRequest.thumbnail && this.incidenceId == incidencePictureRequest.incidenceId && Intrinsics.areEqual(this.path, incidencePictureRequest.path);
|
||||
}
|
||||
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
public final int getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final int getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.path.hashCode() + w.x(this.incidenceId, w.x(this.thumbnail, a.d(this.content, this.type.hashCode() * 31, 31), 31), 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidencePictureRequest(type=");
|
||||
sb.append(this.type);
|
||||
sb.append(", content=");
|
||||
sb.append(this.content);
|
||||
sb.append(", thumbnail=");
|
||||
sb.append(this.thumbnail);
|
||||
sb.append(", incidenceId=");
|
||||
sb.append(this.incidenceId);
|
||||
sb.append(", path=");
|
||||
return a.n(sb, this.path, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.avisa.AvisaStation;
|
||||
import com.adif.elcanomovil.domain.entities.avisa.AvisaStationCategory;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007¢\u0006\u0002\u0010\bJ\t\u0010\u000f\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0010\u001a\u00020\u0005HÆ\u0003J\t\u0010\u0011\u001a\u00020\u0007HÆ\u0003J'\u0010\u0012\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u0007HÆ\u0001J\u0013\u0010\u0013\u001a\u00020\u00142\b\u0010\u0015\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0016\u001a\u00020\u0017HÖ\u0001J\t\u0010\u0018\u001a\u00020\u0019HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000e¨\u0006\u001a"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceStation;", "", "incidence", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/Incidence;", "avisaStation", "Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStation;", "categoryAvisa", "Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStationCategory;", "(Lcom/adif/elcanomovil/domain/entities/avisa/incidence/Incidence;Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStation;Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStationCategory;)V", "getAvisaStation", "()Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStation;", "getCategoryAvisa", "()Lcom/adif/elcanomovil/domain/entities/avisa/AvisaStationCategory;", "getIncidence", "()Lcom/adif/elcanomovil/domain/entities/avisa/incidence/Incidence;", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidenceStation {
|
||||
private final AvisaStation avisaStation;
|
||||
private final AvisaStationCategory categoryAvisa;
|
||||
private final Incidence incidence;
|
||||
|
||||
public IncidenceStation(Incidence incidence, AvisaStation avisaStation, AvisaStationCategory categoryAvisa) {
|
||||
Intrinsics.checkNotNullParameter(incidence, "incidence");
|
||||
Intrinsics.checkNotNullParameter(avisaStation, "avisaStation");
|
||||
Intrinsics.checkNotNullParameter(categoryAvisa, "categoryAvisa");
|
||||
this.incidence = incidence;
|
||||
this.avisaStation = avisaStation;
|
||||
this.categoryAvisa = categoryAvisa;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidenceStation copy$default(IncidenceStation incidenceStation, Incidence incidence, AvisaStation avisaStation, AvisaStationCategory avisaStationCategory, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
incidence = incidenceStation.incidence;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
avisaStation = incidenceStation.avisaStation;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
avisaStationCategory = incidenceStation.categoryAvisa;
|
||||
}
|
||||
return incidenceStation.copy(incidence, avisaStation, avisaStationCategory);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Incidence getIncidence() {
|
||||
return this.incidence;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final AvisaStation getAvisaStation() {
|
||||
return this.avisaStation;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final AvisaStationCategory getCategoryAvisa() {
|
||||
return this.categoryAvisa;
|
||||
}
|
||||
|
||||
public final IncidenceStation copy(Incidence incidence, AvisaStation avisaStation, AvisaStationCategory categoryAvisa) {
|
||||
Intrinsics.checkNotNullParameter(incidence, "incidence");
|
||||
Intrinsics.checkNotNullParameter(avisaStation, "avisaStation");
|
||||
Intrinsics.checkNotNullParameter(categoryAvisa, "categoryAvisa");
|
||||
return new IncidenceStation(incidence, avisaStation, categoryAvisa);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidenceStation)) {
|
||||
return false;
|
||||
}
|
||||
IncidenceStation incidenceStation = (IncidenceStation) other;
|
||||
return Intrinsics.areEqual(this.incidence, incidenceStation.incidence) && Intrinsics.areEqual(this.avisaStation, incidenceStation.avisaStation) && Intrinsics.areEqual(this.categoryAvisa, incidenceStation.categoryAvisa);
|
||||
}
|
||||
|
||||
public final AvisaStation getAvisaStation() {
|
||||
return this.avisaStation;
|
||||
}
|
||||
|
||||
public final AvisaStationCategory getCategoryAvisa() {
|
||||
return this.categoryAvisa;
|
||||
}
|
||||
|
||||
public final Incidence getIncidence() {
|
||||
return this.incidence;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.categoryAvisa.hashCode() + ((this.avisaStation.hashCode() + (this.incidence.hashCode() * 31)) * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "IncidenceStation(incidence=" + this.incidence + ", avisaStation=" + this.avisaStation + ", categoryAvisa=" + this.categoryAvisa + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.adif.elcanomovil.domain.entities.avisa.incidence;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\b\b\u0086\u0081\u0002\u0018\u0000 \n2\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\nB\u000f\b\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006j\u0002\b\u0007j\u0002\b\bj\u0002\b\t¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceStatus;", "", "value", "", "(Ljava/lang/String;II)V", "getValue", "()I", "STATUS_TYPE_IN_PROGRESS", "STATUS_TYPE_SOLVED", "STATUS_TYPE_CLOSED", "Companion", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class IncidenceStatus {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ IncidenceStatus[] $VALUES;
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE;
|
||||
private final int value;
|
||||
public static final IncidenceStatus STATUS_TYPE_IN_PROGRESS = new IncidenceStatus("STATUS_TYPE_IN_PROGRESS", 0, 1);
|
||||
public static final IncidenceStatus STATUS_TYPE_SOLVED = new IncidenceStatus("STATUS_TYPE_SOLVED", 1, 2);
|
||||
public static final IncidenceStatus STATUS_TYPE_CLOSED = new IncidenceStatus("STATUS_TYPE_CLOSED", 2, 3);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0086\u0002¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceStatus$Companion;", "", "()V", "invoke", "Lcom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceStatus;", "rawValue", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nIncidenceStatus.kt\nKotlin\n*S Kotlin\n*F\n+ 1 IncidenceStatus.kt\ncom/adif/elcanomovil/domain/entities/avisa/incidence/IncidenceStatus$Companion\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,12:1\n1#2:13\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final IncidenceStatus invoke(int rawValue) {
|
||||
for (IncidenceStatus incidenceStatus : IncidenceStatus.values()) {
|
||||
if (incidenceStatus.getValue() == rawValue) {
|
||||
return incidenceStatus;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
private static final /* synthetic */ IncidenceStatus[] $values() {
|
||||
return new IncidenceStatus[]{STATUS_TYPE_IN_PROGRESS, STATUS_TYPE_SOLVED, STATUS_TYPE_CLOSED};
|
||||
}
|
||||
|
||||
static {
|
||||
IncidenceStatus[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
INSTANCE = new Companion(null);
|
||||
}
|
||||
|
||||
private IncidenceStatus(String str, int i, int i4) {
|
||||
this.value = i4;
|
||||
}
|
||||
|
||||
public static EnumEntries<IncidenceStatus> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static IncidenceStatus valueOf(String str) {
|
||||
return (IncidenceStatus) Enum.valueOf(IncidenceStatus.class, str);
|
||||
}
|
||||
|
||||
public static IncidenceStatus[] values() {
|
||||
return (IncidenceStatus[]) $VALUES.clone();
|
||||
}
|
||||
|
||||
public final int getValue() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user