163 lines
9.6 KiB
Java
163 lines
9.6 KiB
Java
package com.sistemasolton.itranvias.home.presentation.stopdetail;
|
|
|
|
import com.sistemasolton.itranvias.home.data.remote.dto.detalleparadadto.DetalleParadaDto;
|
|
import com.sistemasolton.itranvias.home.data.remote.dto.infodto.InfoDto;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* JADX INFO: compiled from: StopDetailState.kt */
|
|
/* JADX INFO: loaded from: classes2.dex */
|
|
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0017\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001BU\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\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\b\u0012\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\n\u0012\b\b\u0002\u0010\u000b\u001a\u00020\u0003\u0012\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\b¢\u0006\u0004\b\r\u0010\u000eJ\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0019\u001a\u0004\u0018\u00010\u0006HÆ\u0003J\u000b\u0010\u001a\u001a\u0004\u0018\u00010\bHÆ\u0003J\u000b\u0010\u001b\u001a\u0004\u0018\u00010\nHÆ\u0003J\t\u0010\u001c\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001d\u001a\u0004\u0018\u00010\bHÆ\u0003JW\u0010\u001e\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\b2\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\n2\b\b\u0002\u0010\u000b\u001a\u00020\u00032\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\bHÆ\u0001J\u0013\u0010\u001f\u001a\u00020\u00032\b\u0010 \u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010!\u001a\u00020\"HÖ\u0001J\t\u0010#\u001a\u00020\bHÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\u000fR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0004\u0010\u000fR\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0013\u0010\u0007\u001a\u0004\u0018\u00010\b¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0013\u0010\t\u001a\u0004\u0018\u00010\n¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0011\u0010\u000b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\u000fR\u0013\u0010\f\u001a\u0004\u0018\u00010\b¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0013¨\u0006$"}, d2 = {"Lcom/sistemasolton/itranvias/home/presentation/stopdetail/StopDetailState;", "", "isLoading", "", "isError", "infoDto", "Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "errorMessage", "", "DetalleParadaDto", "Lcom/sistemasolton/itranvias/home/data/remote/dto/detalleparadadto/DetalleParadaDto;", "isFavorite", "lastUpdateTime", "<init>", "(ZZLcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;Ljava/lang/String;Lcom/sistemasolton/itranvias/home/data/remote/dto/detalleparadadto/DetalleParadaDto;ZLjava/lang/String;)V", "()Z", "getInfoDto", "()Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "getErrorMessage", "()Ljava/lang/String;", "getDetalleParadaDto", "()Lcom/sistemasolton/itranvias/home/data/remote/dto/detalleparadadto/DetalleParadaDto;", "getLastUpdateTime", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "equals", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
|
public final /* data */ class StopDetailState {
|
|
public static final int $stable = 8;
|
|
private final DetalleParadaDto DetalleParadaDto;
|
|
private final String errorMessage;
|
|
private final InfoDto infoDto;
|
|
private final boolean isError;
|
|
private final boolean isFavorite;
|
|
private final boolean isLoading;
|
|
private final String lastUpdateTime;
|
|
|
|
public StopDetailState() {
|
|
this(false, false, null, null, null, false, null, 127, null);
|
|
}
|
|
|
|
public static /* synthetic */ StopDetailState copy$default(StopDetailState stopDetailState, boolean z, boolean z2, InfoDto infoDto, String str, DetalleParadaDto detalleParadaDto, boolean z3, String str2, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
z = stopDetailState.isLoading;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
z2 = stopDetailState.isError;
|
|
}
|
|
boolean z4 = z2;
|
|
if ((i & 4) != 0) {
|
|
infoDto = stopDetailState.infoDto;
|
|
}
|
|
InfoDto infoDto2 = infoDto;
|
|
if ((i & 8) != 0) {
|
|
str = stopDetailState.errorMessage;
|
|
}
|
|
String str3 = str;
|
|
if ((i & 16) != 0) {
|
|
detalleParadaDto = stopDetailState.DetalleParadaDto;
|
|
}
|
|
DetalleParadaDto detalleParadaDto2 = detalleParadaDto;
|
|
if ((i & 32) != 0) {
|
|
z3 = stopDetailState.isFavorite;
|
|
}
|
|
boolean z5 = z3;
|
|
if ((i & 64) != 0) {
|
|
str2 = stopDetailState.lastUpdateTime;
|
|
}
|
|
return stopDetailState.copy(z, z4, infoDto2, str3, detalleParadaDto2, z5, str2);
|
|
}
|
|
|
|
/* JADX INFO: renamed from: component1, reason: from getter */
|
|
public final boolean getIsLoading() {
|
|
return this.isLoading;
|
|
}
|
|
|
|
/* JADX INFO: renamed from: component2, reason: from getter */
|
|
public final boolean getIsError() {
|
|
return this.isError;
|
|
}
|
|
|
|
/* JADX INFO: renamed from: component3, reason: from getter */
|
|
public final InfoDto getInfoDto() {
|
|
return this.infoDto;
|
|
}
|
|
|
|
/* JADX INFO: renamed from: component4, reason: from getter */
|
|
public final String getErrorMessage() {
|
|
return this.errorMessage;
|
|
}
|
|
|
|
/* JADX INFO: renamed from: component5, reason: from getter */
|
|
public final DetalleParadaDto getDetalleParadaDto() {
|
|
return this.DetalleParadaDto;
|
|
}
|
|
|
|
/* JADX INFO: renamed from: component6, reason: from getter */
|
|
public final boolean getIsFavorite() {
|
|
return this.isFavorite;
|
|
}
|
|
|
|
/* JADX INFO: renamed from: component7, reason: from getter */
|
|
public final String getLastUpdateTime() {
|
|
return this.lastUpdateTime;
|
|
}
|
|
|
|
public final StopDetailState copy(boolean isLoading, boolean isError, InfoDto infoDto, String errorMessage, DetalleParadaDto DetalleParadaDto, boolean isFavorite, String lastUpdateTime) {
|
|
return new StopDetailState(isLoading, isError, infoDto, errorMessage, DetalleParadaDto, isFavorite, lastUpdateTime);
|
|
}
|
|
|
|
public boolean equals(Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof StopDetailState)) {
|
|
return false;
|
|
}
|
|
StopDetailState stopDetailState = (StopDetailState) other;
|
|
return this.isLoading == stopDetailState.isLoading && this.isError == stopDetailState.isError && Intrinsics.areEqual(this.infoDto, stopDetailState.infoDto) && Intrinsics.areEqual(this.errorMessage, stopDetailState.errorMessage) && Intrinsics.areEqual(this.DetalleParadaDto, stopDetailState.DetalleParadaDto) && this.isFavorite == stopDetailState.isFavorite && Intrinsics.areEqual(this.lastUpdateTime, stopDetailState.lastUpdateTime);
|
|
}
|
|
|
|
public int hashCode() {
|
|
int iHashCode = ((Boolean.hashCode(this.isLoading) * 31) + Boolean.hashCode(this.isError)) * 31;
|
|
InfoDto infoDto = this.infoDto;
|
|
int iHashCode2 = (iHashCode + (infoDto == null ? 0 : infoDto.hashCode())) * 31;
|
|
String str = this.errorMessage;
|
|
int iHashCode3 = (iHashCode2 + (str == null ? 0 : str.hashCode())) * 31;
|
|
DetalleParadaDto detalleParadaDto = this.DetalleParadaDto;
|
|
int iHashCode4 = (((iHashCode3 + (detalleParadaDto == null ? 0 : detalleParadaDto.hashCode())) * 31) + Boolean.hashCode(this.isFavorite)) * 31;
|
|
String str2 = this.lastUpdateTime;
|
|
return iHashCode4 + (str2 != null ? str2.hashCode() : 0);
|
|
}
|
|
|
|
public String toString() {
|
|
return "StopDetailState(isLoading=" + this.isLoading + ", isError=" + this.isError + ", infoDto=" + this.infoDto + ", errorMessage=" + this.errorMessage + ", DetalleParadaDto=" + this.DetalleParadaDto + ", isFavorite=" + this.isFavorite + ", lastUpdateTime=" + this.lastUpdateTime + ")";
|
|
}
|
|
|
|
public StopDetailState(boolean z, boolean z2, InfoDto infoDto, String str, DetalleParadaDto detalleParadaDto, boolean z3, String str2) {
|
|
this.isLoading = z;
|
|
this.isError = z2;
|
|
this.infoDto = infoDto;
|
|
this.errorMessage = str;
|
|
this.DetalleParadaDto = detalleParadaDto;
|
|
this.isFavorite = z3;
|
|
this.lastUpdateTime = str2;
|
|
}
|
|
|
|
public /* synthetic */ StopDetailState(boolean z, boolean z2, InfoDto infoDto, String str, DetalleParadaDto detalleParadaDto, boolean z3, String str2, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this((i & 1) != 0 ? false : z, (i & 2) != 0 ? false : z2, (i & 4) != 0 ? null : infoDto, (i & 8) != 0 ? null : str, (i & 16) != 0 ? null : detalleParadaDto, (i & 32) == 0 ? z3 : false, (i & 64) != 0 ? null : str2);
|
|
}
|
|
|
|
public final boolean isLoading() {
|
|
return this.isLoading;
|
|
}
|
|
|
|
public final boolean isError() {
|
|
return this.isError;
|
|
}
|
|
|
|
public final InfoDto getInfoDto() {
|
|
return this.infoDto;
|
|
}
|
|
|
|
public final String getErrorMessage() {
|
|
return this.errorMessage;
|
|
}
|
|
|
|
public final DetalleParadaDto getDetalleParadaDto() {
|
|
return this.DetalleParadaDto;
|
|
}
|
|
|
|
public final boolean isFavorite() {
|
|
return this.isFavorite;
|
|
}
|
|
|
|
public final String getLastUpdateTime() {
|
|
return this.lastUpdateTime;
|
|
}
|
|
} |