Files
iTartanas/itranvias_code/com/sistemasolton.itranvias/home/presentation/nearby/NearbyState.java
T

131 lines
7.4 KiB
Java

package com.sistemasolton.itranvias.home.presentation.nearby;
import com.sistemasolton.itranvias.home.data.remote.dto.infodto.InfoDto;
import com.sistemasolton.itranvias.home.data.remote.dto.nearbystopdto.NearbyStopsDto;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* JADX INFO: compiled from: NearbyState.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\u0012\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B?\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\\u0006\u0004\b\u000b\u0010\fJ\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0016\u001a\u0004\u0018\u00010\u0006HÆ\u0003J\u000b\u0010\u0017\u001a\u0004\u0018\u00010\bHÆ\u0003J\u000b\u0010\u0018\u001a\u0004\u0018\u00010\nHÆ\u0003JA\u0010\u0019\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\nHÆ\u0001J\u0013\u0010\u001a\u001a\u00020\u00032\b\u0010\u001b\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001c\u001a\u00020\u001dHÖ\u0001J\t\u0010\u001e\u001a\u00020\bHÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\rR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0004\u0010\rR\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0013\u0010\u0007\u001a\u0004\u0018\u00010\\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0013\u0010\t\u001a\u0004\u0018\u00010\\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013¨\u0006\u001f"}, d2 = {"Lcom/sistemasolton/itranvias/home/presentation/nearby/NearbyState;", "", "isLoading", "", "isError", "infoDto", "Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "errorMessage", "", "nearbyStopsDto", "Lcom/sistemasolton/itranvias/home/data/remote/dto/nearbystopdto/NearbyStopsDto;", "<init>", "(ZZLcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;Ljava/lang/String;Lcom/sistemasolton/itranvias/home/data/remote/dto/nearbystopdto/NearbyStopsDto;)V", "()Z", "getInfoDto", "()Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "getErrorMessage", "()Ljava/lang/String;", "getNearbyStopsDto", "()Lcom/sistemasolton/itranvias/home/data/remote/dto/nearbystopdto/NearbyStopsDto;", "component1", "component2", "component3", "component4", "component5", "copy", "equals", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final /* data */ class NearbyState {
public static final int $stable = 8;
private final String errorMessage;
private final InfoDto infoDto;
private final boolean isError;
private final boolean isLoading;
private final NearbyStopsDto nearbyStopsDto;
public NearbyState() {
this(false, false, null, null, null, 31, null);
}
public static /* synthetic */ NearbyState copy$default(NearbyState nearbyState, boolean z, boolean z2, InfoDto infoDto, String str, NearbyStopsDto nearbyStopsDto, int i, Object obj) {
if ((i & 1) != 0) {
z = nearbyState.isLoading;
}
if ((i & 2) != 0) {
z2 = nearbyState.isError;
}
boolean z3 = z2;
if ((i & 4) != 0) {
infoDto = nearbyState.infoDto;
}
InfoDto infoDto2 = infoDto;
if ((i & 8) != 0) {
str = nearbyState.errorMessage;
}
String str2 = str;
if ((i & 16) != 0) {
nearbyStopsDto = nearbyState.nearbyStopsDto;
}
return nearbyState.copy(z, z3, infoDto2, str2, nearbyStopsDto);
}
/* 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 NearbyStopsDto getNearbyStopsDto() {
return this.nearbyStopsDto;
}
public final NearbyState copy(boolean isLoading, boolean isError, InfoDto infoDto, String errorMessage, NearbyStopsDto nearbyStopsDto) {
return new NearbyState(isLoading, isError, infoDto, errorMessage, nearbyStopsDto);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof NearbyState)) {
return false;
}
NearbyState nearbyState = (NearbyState) other;
return this.isLoading == nearbyState.isLoading && this.isError == nearbyState.isError && Intrinsics.areEqual(this.infoDto, nearbyState.infoDto) && Intrinsics.areEqual(this.errorMessage, nearbyState.errorMessage) && Intrinsics.areEqual(this.nearbyStopsDto, nearbyState.nearbyStopsDto);
}
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;
NearbyStopsDto nearbyStopsDto = this.nearbyStopsDto;
return iHashCode3 + (nearbyStopsDto != null ? nearbyStopsDto.hashCode() : 0);
}
public String toString() {
return "NearbyState(isLoading=" + this.isLoading + ", isError=" + this.isError + ", infoDto=" + this.infoDto + ", errorMessage=" + this.errorMessage + ", nearbyStopsDto=" + this.nearbyStopsDto + ")";
}
public NearbyState(boolean z, boolean z2, InfoDto infoDto, String str, NearbyStopsDto nearbyStopsDto) {
this.isLoading = z;
this.isError = z2;
this.infoDto = infoDto;
this.errorMessage = str;
this.nearbyStopsDto = nearbyStopsDto;
}
public /* synthetic */ NearbyState(boolean z, boolean z2, InfoDto infoDto, String str, NearbyStopsDto nearbyStopsDto, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? false : z, (i & 2) == 0 ? z2 : false, (i & 4) != 0 ? null : infoDto, (i & 8) != 0 ? null : str, (i & 16) != 0 ? null : nearbyStopsDto);
}
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 NearbyStopsDto getNearbyStopsDto() {
return this.nearbyStopsDto;
}
}