package com.sistemasolton.itranvias.home.data.remote.dto.infodto;

import java.util.List;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.LazyThreadSafetyMode;
import kotlin.Metadata;
import kotlin.jvm.JvmStatic;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.SerialName;
import kotlinx.serialization.Serializable;
import kotlinx.serialization.descriptors.SerialDescriptor;
import kotlinx.serialization.encoding.CompositeEncoder;
import kotlinx.serialization.internal.ArrayListSerializer;
import kotlinx.serialization.internal.PluginExceptionsKt;
import kotlinx.serialization.internal.SerializationConstructorMarker;

/* JADX INFO: compiled from: InfoDto.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0087\b\u0018\u0000 &2\u00020\u0001:\u0002%&B\u001d\u0012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0004\b\u0007\u0010\bB3\b\u0010\u0012\u0006\u0010\t\u001a\u00020\u0006\u0012\u000e\u0010\u0002\u001a\n\u0012\u0004\u0012\u00020\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u000b¢\u0006\u0004\b\u0007\u0010\fJ\u000f\u0010\u0014\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0006HÆ\u0003J#\u0010\u0016\u001a\u00020\u00002\u000e\b\u0002\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u0006HÆ\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\u001cHÖ\u0001J%\u0010\u001d\u001a\u00020\u001e2\u0006\u0010\u001f\u001a\u00020\u00002\u0006\u0010 \u001a\u00020!2\u0006\u0010\"\u001a\u00020#H\u0001¢\u0006\u0002\b$R\"\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u00038\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\r\u0010\u000e\u001a\u0004\b\u000f\u0010\u0010R\u001c\u0010\u0005\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0011\u0010\u000e\u001a\u0004\b\u0012\u0010\u0013¨\u0006'"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/EnlaceSentidoDto;", "", "destinos", "", "Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/DestinoDto;", "sentido", "", "<init>", "(Ljava/util/List;I)V", "seen0", "serializationConstructorMarker", "Lkotlinx/serialization/internal/SerializationConstructorMarker;", "(ILjava/util/List;ILkotlinx/serialization/internal/SerializationConstructorMarker;)V", "getDestinos$annotations", "()V", "getDestinos", "()Ljava/util/List;", "getSentido$annotations", "getSentido", "()I", "component1", "component2", "copy", "equals", "", "other", "hashCode", "toString", "", "write$Self", "", "self", "output", "Lkotlinx/serialization/encoding/CompositeEncoder;", "serialDesc", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "write$Self$composeApp_release", "$serializer", "Companion", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
@Serializable
public final /* data */ class EnlaceSentidoDto {
    private final List<DestinoDto> destinos;
    private final int sentido;

    /* JADX INFO: renamed from: Companion, reason: from kotlin metadata */
    public static final Companion INSTANCE = new Companion(null);
    public static final int $stable = 8;
    private static final Lazy<KSerializer<Object>>[] $childSerializers = {LazyKt.lazy(LazyThreadSafetyMode.PUBLICATION, new Function0() { // from class: com.sistemasolton.itranvias.home.data.remote.dto.infodto.EnlaceSentidoDto$$ExternalSyntheticLambda0
        @Override // kotlin.jvm.functions.Function0
        public final Object invoke() {
            return EnlaceSentidoDto._childSerializers$_anonymous_();
        }
    }), null};

    /* JADX INFO: Access modifiers changed from: private */
    public static final /* synthetic */ KSerializer _childSerializers$_anonymous_() {
        return new ArrayListSerializer(DestinoDto$$serializer.INSTANCE);
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ EnlaceSentidoDto copy$default(EnlaceSentidoDto enlaceSentidoDto, List list, int i, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            list = enlaceSentidoDto.destinos;
        }
        if ((i2 & 2) != 0) {
            i = enlaceSentidoDto.sentido;
        }
        return enlaceSentidoDto.copy(list, i);
    }

    @SerialName("destinos")
    public static /* synthetic */ void getDestinos$annotations() {
    }

    @SerialName("sentido")
    public static /* synthetic */ void getSentido$annotations() {
    }

    public final List<DestinoDto> component1() {
        return this.destinos;
    }

    /* JADX INFO: renamed from: component2, reason: from getter */
    public final int getSentido() {
        return this.sentido;
    }

    public final EnlaceSentidoDto copy(List<DestinoDto> destinos, int sentido) {
        Intrinsics.checkNotNullParameter(destinos, "destinos");
        return new EnlaceSentidoDto(destinos, sentido);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof EnlaceSentidoDto)) {
            return false;
        }
        EnlaceSentidoDto enlaceSentidoDto = (EnlaceSentidoDto) other;
        return Intrinsics.areEqual(this.destinos, enlaceSentidoDto.destinos) && this.sentido == enlaceSentidoDto.sentido;
    }

    public int hashCode() {
        return (this.destinos.hashCode() * 31) + Integer.hashCode(this.sentido);
    }

    public String toString() {
        return "EnlaceSentidoDto(destinos=" + this.destinos + ", sentido=" + this.sentido + ")";
    }

    /* JADX INFO: compiled from: InfoDto.kt */
    @Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¨\u0006\u0007"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/EnlaceSentidoDto$Companion;", "", "<init>", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/EnlaceSentidoDto;", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final KSerializer<EnlaceSentidoDto> serializer() {
            return EnlaceSentidoDto$$serializer.INSTANCE;
        }
    }

    public /* synthetic */ EnlaceSentidoDto(int i, List list, int i2, SerializationConstructorMarker serializationConstructorMarker) {
        if (3 != (i & 3)) {
            PluginExceptionsKt.throwMissingFieldException(i, 3, EnlaceSentidoDto$$serializer.INSTANCE.getDescriptor());
        }
        this.destinos = list;
        this.sentido = i2;
    }

    @JvmStatic
    public static final /* synthetic */ void write$Self$composeApp_release(EnlaceSentidoDto self, CompositeEncoder output, SerialDescriptor serialDesc) {
        output.encodeSerializableElement(serialDesc, 0, $childSerializers[0].getValue(), self.destinos);
        output.encodeIntElement(serialDesc, 1, self.sentido);
    }

    public EnlaceSentidoDto(List<DestinoDto> destinos, int i) {
        Intrinsics.checkNotNullParameter(destinos, "destinos");
        this.destinos = destinos;
        this.sentido = i;
    }

    public final List<DestinoDto> getDestinos() {
        return this.destinos;
    }

    public final int getSentido() {
        return this.sentido;
    }
}