package com.sistemasolton.itranvias.home.presentation.home;

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: HomeState.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u000e\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B)\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\u0004\b\b\u0010\tJ\u000b\u0010\u000f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u0010\u001a\u00020\u0005HÆ\u0003J\u000b\u0010\u0011\u001a\u0004\u0018\u00010\u0007HÆ\u0003J+\u0010\u0012\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007HÆ\u0001J\u0013\u0010\u0013\u001a\u00020\u00052\b\u0010\u0014\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0015\u001a\u00020\u0016HÖ\u0001J\t\u0010\u0017\u001a\u00020\u0007HÖ\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0004\u0010\fR\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000e¨\u0006\u0018"}, d2 = {"Lcom/sistemasolton/itranvias/home/presentation/home/HomeState;", "", "info", "Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "isLoading", "", "error", "", "<init>", "(Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;ZLjava/lang/String;)V", "getInfo", "()Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "()Z", "getError", "()Ljava/lang/String;", "component1", "component2", "component3", "copy", "equals", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final /* data */ class HomeState {
    public static final int $stable = 8;
    private final String error;
    private final InfoDto info;
    private final boolean isLoading;

    public HomeState() {
        this(null, false, null, 7, null);
    }

    public static /* synthetic */ HomeState copy$default(HomeState homeState, InfoDto infoDto, boolean z, String str, int i, Object obj) {
        if ((i & 1) != 0) {
            infoDto = homeState.info;
        }
        if ((i & 2) != 0) {
            z = homeState.isLoading;
        }
        if ((i & 4) != 0) {
            str = homeState.error;
        }
        return homeState.copy(infoDto, z, str);
    }

    /* JADX INFO: renamed from: component1, reason: from getter */
    public final InfoDto getInfo() {
        return this.info;
    }

    /* JADX INFO: renamed from: component2, reason: from getter */
    public final boolean getIsLoading() {
        return this.isLoading;
    }

    /* JADX INFO: renamed from: component3, reason: from getter */
    public final String getError() {
        return this.error;
    }

    public final HomeState copy(InfoDto info, boolean isLoading, String error) {
        return new HomeState(info, isLoading, error);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof HomeState)) {
            return false;
        }
        HomeState homeState = (HomeState) other;
        return Intrinsics.areEqual(this.info, homeState.info) && this.isLoading == homeState.isLoading && Intrinsics.areEqual(this.error, homeState.error);
    }

    public int hashCode() {
        InfoDto infoDto = this.info;
        int iHashCode = (((infoDto == null ? 0 : infoDto.hashCode()) * 31) + Boolean.hashCode(this.isLoading)) * 31;
        String str = this.error;
        return iHashCode + (str != null ? str.hashCode() : 0);
    }

    public String toString() {
        return "HomeState(info=" + this.info + ", isLoading=" + this.isLoading + ", error=" + this.error + ")";
    }

    public HomeState(InfoDto infoDto, boolean z, String str) {
        this.info = infoDto;
        this.isLoading = z;
        this.error = str;
    }

    public /* synthetic */ HomeState(InfoDto infoDto, boolean z, String str, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? null : infoDto, (i & 2) != 0 ? false : z, (i & 4) != 0 ? null : str);
    }

    public final InfoDto getInfo() {
        return this.info;
    }

    public final boolean isLoading() {
        return this.isLoading;
    }

    public final String getError() {
        return this.error;
    }
}