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

import java.util.List;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.LazyThreadSafetyMode;
import kotlin.Metadata;
import kotlin.collections.CollectionsKt;
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: DetalleLineaDto.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0004\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\u001f\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\u0004\b\u0007\u0010\bB5\b\u0010\u0012\u0006\u0010\t\u001a\u00020\n\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u000e\u0010\u0004\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\f¢\u0006\u0004\b\u0007\u0010\rJ\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0003J#\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0001J\u0013\u0010\u0018\u001a\u00020\u00192\b\u0010\u001a\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001b\u001a\u00020\nHÖ\u0001J\t\u0010\u001c\u001a\u00020\u0003HÖ\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\u001c\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u000e\u0010\u000f\u001a\u0004\b\u0010\u0010\u0011R\"\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0012\u0010\u000f\u001a\u0004\b\u0013\u0010\u0014¨\u0006'"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/remote/dto/detallelineadto/SentidoDto;", "", "sentido", "", "paradas", "", "Lcom/sistemasolton/itranvias/home/data/remote/dto/detallelineadto/ParadaConBusDto;", "<init>", "(Ljava/lang/String;Ljava/util/List;)V", "seen0", "", "serializationConstructorMarker", "Lkotlinx/serialization/internal/SerializationConstructorMarker;", "(ILjava/lang/String;Ljava/util/List;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V", "getSentido$annotations", "()V", "getSentido", "()Ljava/lang/String;", "getParadas$annotations", "getParadas", "()Ljava/util/List;", "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 SentidoDto {
    private final List<ParadaConBusDto> paradas;
    private final String 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 = {null, LazyKt.lazy(LazyThreadSafetyMode.PUBLICATION, new Function0() { // from class: com.sistemasolton.itranvias.home.data.remote.dto.detallelineadto.SentidoDto$$ExternalSyntheticLambda0
        @Override // kotlin.jvm.functions.Function0
        public final Object invoke() {
            return SentidoDto._childSerializers$_anonymous_();
        }
    })};

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

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

    @SerialName("paradas")
    public static /* synthetic */ void getParadas$annotations() {
    }

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

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

    public final List<ParadaConBusDto> component2() {
        return this.paradas;
    }

    public final SentidoDto copy(String sentido, List<ParadaConBusDto> paradas) {
        Intrinsics.checkNotNullParameter(sentido, "sentido");
        Intrinsics.checkNotNullParameter(paradas, "paradas");
        return new SentidoDto(sentido, paradas);
    }

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

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

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

    /* JADX INFO: compiled from: DetalleLineaDto.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/detallelineadto/SentidoDto$Companion;", "", "<init>", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/sistemasolton/itranvias/home/data/remote/dto/detallelineadto/SentidoDto;", "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<SentidoDto> serializer() {
            return SentidoDto$$serializer.INSTANCE;
        }
    }

    public /* synthetic */ SentidoDto(int i, String str, List list, SerializationConstructorMarker serializationConstructorMarker) {
        if (1 != (i & 1)) {
            PluginExceptionsKt.throwMissingFieldException(i, 1, SentidoDto$$serializer.INSTANCE.getDescriptor());
        }
        this.sentido = str;
        if ((i & 2) == 0) {
            this.paradas = CollectionsKt.emptyList();
        } else {
            this.paradas = list;
        }
    }

    @JvmStatic
    public static final /* synthetic */ void write$Self$composeApp_release(SentidoDto self, CompositeEncoder output, SerialDescriptor serialDesc) {
        Lazy<KSerializer<Object>>[] lazyArr = $childSerializers;
        output.encodeStringElement(serialDesc, 0, self.sentido);
        if (!output.shouldEncodeElementDefault(serialDesc, 1) && Intrinsics.areEqual(self.paradas, CollectionsKt.emptyList())) {
            return;
        }
        output.encodeSerializableElement(serialDesc, 1, lazyArr[1].getValue(), self.paradas);
    }

    public SentidoDto(String sentido, List<ParadaConBusDto> paradas) {
        Intrinsics.checkNotNullParameter(sentido, "sentido");
        Intrinsics.checkNotNullParameter(paradas, "paradas");
        this.sentido = sentido;
        this.paradas = paradas;
    }

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

    public /* synthetic */ SentidoDto(String str, List list, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this(str, (i & 2) != 0 ? CollectionsKt.emptyList() : list);
    }

    public final List<ParadaConBusDto> getParadas() {
        return this.paradas;
    }
}