Files
iTartanas/itranvias_code/com/sistemasolton.itranvias/home/presentation/stops/StopsState.java
T

164 lines
9.1 KiB
Java

package com.sistemasolton.itranvias.home.presentation.stops;
import com.sistemasolton.itranvias.home.data.remote.dto.infodto.InfoDto;
import java.util.List;
import kotlin.Metadata;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* JADX INFO: compiled from: StopsState.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\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\b\u0017\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001BW\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\u000e\b\u0002\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u00060\n\u0012\b\b\u0002\u0010\u000b\u001a\u00020\u0006\u0012\b\b\u0002\u0010\f\u001a\u00020\u0003¢\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\u000f\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u00060\nHÆ\u0003J\t\u0010\u001c\u001a\u00020\u0006HÆ\u0003J\t\u0010\u001d\u001a\u00020\u0003HÆ\u0003JY\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\u000e\b\u0002\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u00060\n2\b\b\u0002\u0010\u000b\u001a\u00020\u00062\b\b\u0002\u0010\f\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u001f\u001a\u00020\u00032\b\u0010 \u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010!\u001a\u00020\"\u0001J\t\u0010#\u001a\u00020\u0006HÖ\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\\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0017\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u00060\\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0011\u0010\u000b\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0011R\u0011\u0010\f\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u000f¨\u0006$"}, d2 = {"Lcom/sistemasolton/itranvias/home/presentation/stops/StopsState;", "", "isLoading", "", "isError", "errorMessage", "", "infoDto", "Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "stopsHistory", "", "stopInput", "isInvalidStopInput", "<init>", "(ZZLjava/lang/String;Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;Ljava/util/List;Ljava/lang/String;Z)V", "()Z", "getErrorMessage", "()Ljava/lang/String;", "getInfoDto", "()Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "getStopsHistory", "()Ljava/util/List;", "getStopInput", "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 StopsState {
public static final int $stable = 8;
private final String errorMessage;
private final InfoDto infoDto;
private final boolean isError;
private final boolean isInvalidStopInput;
private final boolean isLoading;
private final String stopInput;
private final List<String> stopsHistory;
public StopsState() {
this(false, false, null, null, null, null, false, 127, null);
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ StopsState copy$default(StopsState stopsState, boolean z, boolean z2, String str, InfoDto infoDto, List list, String str2, boolean z3, int i, Object obj) {
if ((i & 1) != 0) {
z = stopsState.isLoading;
}
if ((i & 2) != 0) {
z2 = stopsState.isError;
}
boolean z4 = z2;
if ((i & 4) != 0) {
str = stopsState.errorMessage;
}
String str3 = str;
if ((i & 8) != 0) {
infoDto = stopsState.infoDto;
}
InfoDto infoDto2 = infoDto;
if ((i & 16) != 0) {
list = stopsState.stopsHistory;
}
List list2 = list;
if ((i & 32) != 0) {
str2 = stopsState.stopInput;
}
String str4 = str2;
if ((i & 64) != 0) {
z3 = stopsState.isInvalidStopInput;
}
return stopsState.copy(z, z4, str3, infoDto2, list2, str4, z3);
}
/* 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 String getErrorMessage() {
return this.errorMessage;
}
/* JADX INFO: renamed from: component4, reason: from getter */
public final InfoDto getInfoDto() {
return this.infoDto;
}
public final List<String> component5() {
return this.stopsHistory;
}
/* JADX INFO: renamed from: component6, reason: from getter */
public final String getStopInput() {
return this.stopInput;
}
/* JADX INFO: renamed from: component7, reason: from getter */
public final boolean getIsInvalidStopInput() {
return this.isInvalidStopInput;
}
public final StopsState copy(boolean isLoading, boolean isError, String errorMessage, InfoDto infoDto, List<String> stopsHistory, String stopInput, boolean isInvalidStopInput) {
Intrinsics.checkNotNullParameter(stopsHistory, "stopsHistory");
Intrinsics.checkNotNullParameter(stopInput, "stopInput");
return new StopsState(isLoading, isError, errorMessage, infoDto, stopsHistory, stopInput, isInvalidStopInput);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof StopsState)) {
return false;
}
StopsState stopsState = (StopsState) other;
return this.isLoading == stopsState.isLoading && this.isError == stopsState.isError && Intrinsics.areEqual(this.errorMessage, stopsState.errorMessage) && Intrinsics.areEqual(this.infoDto, stopsState.infoDto) && Intrinsics.areEqual(this.stopsHistory, stopsState.stopsHistory) && Intrinsics.areEqual(this.stopInput, stopsState.stopInput) && this.isInvalidStopInput == stopsState.isInvalidStopInput;
}
public int hashCode() {
int iHashCode = ((Boolean.hashCode(this.isLoading) * 31) + Boolean.hashCode(this.isError)) * 31;
String str = this.errorMessage;
int iHashCode2 = (iHashCode + (str == null ? 0 : str.hashCode())) * 31;
InfoDto infoDto = this.infoDto;
return ((((((iHashCode2 + (infoDto != null ? infoDto.hashCode() : 0)) * 31) + this.stopsHistory.hashCode()) * 31) + this.stopInput.hashCode()) * 31) + Boolean.hashCode(this.isInvalidStopInput);
}
public String toString() {
return "StopsState(isLoading=" + this.isLoading + ", isError=" + this.isError + ", errorMessage=" + this.errorMessage + ", infoDto=" + this.infoDto + ", stopsHistory=" + this.stopsHistory + ", stopInput=" + this.stopInput + ", isInvalidStopInput=" + this.isInvalidStopInput + ")";
}
public StopsState(boolean z, boolean z2, String str, InfoDto infoDto, List<String> stopsHistory, String stopInput, boolean z3) {
Intrinsics.checkNotNullParameter(stopsHistory, "stopsHistory");
Intrinsics.checkNotNullParameter(stopInput, "stopInput");
this.isLoading = z;
this.isError = z2;
this.errorMessage = str;
this.infoDto = infoDto;
this.stopsHistory = stopsHistory;
this.stopInput = stopInput;
this.isInvalidStopInput = z3;
}
public final boolean isLoading() {
return this.isLoading;
}
public final boolean isError() {
return this.isError;
}
public final String getErrorMessage() {
return this.errorMessage;
}
public final InfoDto getInfoDto() {
return this.infoDto;
}
public /* synthetic */ StopsState(boolean z, boolean z2, String str, InfoDto infoDto, List list, String str2, boolean z3, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? false : z, (i & 2) != 0 ? false : z2, (i & 4) != 0 ? null : str, (i & 8) != 0 ? null : infoDto, (i & 16) != 0 ? CollectionsKt.emptyList() : list, (i & 32) != 0 ? "" : str2, (i & 64) != 0 ? false : z3);
}
public final List<String> getStopsHistory() {
return this.stopsHistory;
}
public final String getStopInput() {
return this.stopInput;
}
public final boolean isInvalidStopInput() {
return this.isInvalidStopInput;
}
}