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

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;
import kotlinx.serialization.internal.StringSerializer;

/* JADX INFO: compiled from: MapasDto.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000P\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\b\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u001c\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;<BS\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u000e\b\u0002\u0010\b\u001a\b\u0012\u0004\u0012\u00020\n0\t\u0012\u000e\b\u0002\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\f0\t\u0012\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u0003¢\u0006\u0004\b\u000e\u0010\u000fBk\b\u0010\u0012\u0006\u0010\u0010\u001a\u00020\u0007\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u000e\u0010\b\u001a\n\u0012\u0004\u0012\u00020\n\u0018\u00010\t\u0012\u000e\u0010\u000b\u001a\n\u0012\u0004\u0012\u00020\f\u0018\u00010\t\u0012\b\u0010\r\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0011\u001a\u0004\u0018\u00010\u0012¢\u0006\u0004\b\u000e\u0010\u0013J\t\u0010&\u001a\u00020\u0003HÆ\u0003J\t\u0010'\u001a\u00020\u0003HÆ\u0003J\t\u0010(\u001a\u00020\u0003HÆ\u0003J\t\u0010)\u001a\u00020\u0007HÆ\u0003J\u000f\u0010*\u001a\b\u0012\u0004\u0012\u00020\n0\tHÆ\u0003J\u000f\u0010+\u001a\b\u0012\u0004\u0012\u00020\f0\tHÆ\u0003J\u000b\u0010,\u001a\u0004\u0018\u00010\u0003HÆ\u0003J]\u0010-\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00072\u000e\b\u0002\u0010\b\u001a\b\u0012\u0004\u0012\u00020\n0\t2\u000e\b\u0002\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\f0\t2\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010.\u001a\u00020/2\b\u00100\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00101\u001a\u00020\u0007HÖ\u0001J\t\u00102\u001a\u00020\u0003HÖ\u0001J%\u00103\u001a\u0002042\u0006\u00105\u001a\u00020\u00002\u0006\u00106\u001a\u0002072\u0006\u00108\u001a\u000209H\u0001¢\u0006\u0002\b:R\u001c\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0014\u0010\u0015\u001a\u0004\b\u0016\u0010\u0017R\u001c\u0010\u0004\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0018\u0010\u0015\u001a\u0004\b\u0019\u0010\u0017R\u001c\u0010\u0005\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u001a\u0010\u0015\u001a\u0004\b\u001b\u0010\u0017R\u001c\u0010\u0006\u001a\u00020\u00078\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u001c\u0010\u0015\u001a\u0004\b\u001d\u0010\u001eR\"\u0010\b\u001a\b\u0012\u0004\u0012\u00020\n0\t8\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u001f\u0010\u0015\u001a\u0004\b \u0010!R\"\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\f0\t8\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\"\u0010\u0015\u001a\u0004\b#\u0010!R\u001e\u0010\r\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b$\u0010\u0015\u001a\u0004\b%\u0010\u0017¨\u0006="}, d2 = {"Lcom/sistemasolton/itranvias/home/data/remote/dto/mapasdto/MapasDto;", "", "resultado", "", "fechaPeticion", "peticion", "tamaño", "", "mapas", "", "Lcom/sistemasolton/itranvias/home/data/remote/dto/mapasdto/MapaDto;", "buses", "Lcom/sistemasolton/itranvias/home/data/remote/dto/mapasdto/BusesSentidoDto;", "origen", "<init>", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/util/List;Ljava/util/List;Ljava/lang/String;)V", "seen0", "serializationConstructorMarker", "Lkotlinx/serialization/internal/SerializationConstructorMarker;", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/util/List;Ljava/util/List;Ljava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V", "getResultado$annotations", "()V", "getResultado", "()Ljava/lang/String;", "getFechaPeticion$annotations", "getFechaPeticion", "getPeticion$annotations", "getPeticion", "getTamaño$annotations", "getTamaño", "()I", "getMapas$annotations", "getMapas", "()Ljava/util/List;", "getBuses$annotations", "getBuses", "getOrigen$annotations", "getOrigen", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "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 MapasDto {
    private final List<BusesSentidoDto> buses;
    private final String fechaPeticion;
    private final List<MapaDto> mapas;
    private final String origen;
    private final String peticion;
    private final String resultado;
    private final int tamaño;

    /* 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, null, null, null, null, LazyKt.lazy(LazyThreadSafetyMode.PUBLICATION, new Function0() { // from class: com.sistemasolton.itranvias.home.data.remote.dto.mapasdto.MapasDto$$ExternalSyntheticLambda0
        @Override // kotlin.jvm.functions.Function0
        public final Object invoke() {
            return MapasDto._childSerializers$_anonymous_();
        }
    }), null};

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

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ MapasDto copy$default(MapasDto mapasDto, String str, String str2, String str3, int i, List list, List list2, String str4, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = mapasDto.resultado;
        }
        if ((i2 & 2) != 0) {
            str2 = mapasDto.fechaPeticion;
        }
        String str5 = str2;
        if ((i2 & 4) != 0) {
            str3 = mapasDto.peticion;
        }
        String str6 = str3;
        if ((i2 & 8) != 0) {
            i = mapasDto.tamaño;
        }
        int i3 = i;
        if ((i2 & 16) != 0) {
            list = mapasDto.mapas;
        }
        List list3 = list;
        if ((i2 & 32) != 0) {
            list2 = mapasDto.buses;
        }
        List list4 = list2;
        if ((i2 & 64) != 0) {
            str4 = mapasDto.origen;
        }
        return mapasDto.copy(str, str5, str6, i3, list3, list4, str4);
    }

    @SerialName("buses")
    public static /* synthetic */ void getBuses$annotations() {
    }

    @SerialName("fecha_peticion")
    public static /* synthetic */ void getFechaPeticion$annotations() {
    }

    @SerialName("mapas")
    @Serializable(with = IgnoreEmptyListSerializer.class)
    public static /* synthetic */ void getMapas$annotations() {
    }

    @SerialName("Origen")
    public static /* synthetic */ void getOrigen$annotations() {
    }

    @SerialName("peticion")
    public static /* synthetic */ void getPeticion$annotations() {
    }

    @SerialName("resultado")
    public static /* synthetic */ void getResultado$annotations() {
    }

    @SerialName("tamaño")
    /* JADX INFO: renamed from: getTamaño$annotations, reason: contains not printable characters */
    public static /* synthetic */ void m7907getTamao$annotations() {
    }

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

    /* JADX INFO: renamed from: component2, reason: from getter */
    public final String getFechaPeticion() {
        return this.fechaPeticion;
    }

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

    /* JADX INFO: renamed from: component4, reason: from getter */
    public final int getTamaño() {
        return this.tamaño;
    }

    public final List<MapaDto> component5() {
        return this.mapas;
    }

    public final List<BusesSentidoDto> component6() {
        return this.buses;
    }

    /* JADX INFO: renamed from: component7, reason: from getter */
    public final String getOrigen() {
        return this.origen;
    }

    public final MapasDto copy(String resultado, String fechaPeticion, String peticion, int i, List<MapaDto> mapas, List<BusesSentidoDto> buses, String origen) {
        Intrinsics.checkNotNullParameter(resultado, "resultado");
        Intrinsics.checkNotNullParameter(fechaPeticion, "fechaPeticion");
        Intrinsics.checkNotNullParameter(peticion, "peticion");
        Intrinsics.checkNotNullParameter(mapas, "mapas");
        Intrinsics.checkNotNullParameter(buses, "buses");
        return new MapasDto(resultado, fechaPeticion, peticion, i, mapas, buses, origen);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof MapasDto)) {
            return false;
        }
        MapasDto mapasDto = (MapasDto) other;
        return Intrinsics.areEqual(this.resultado, mapasDto.resultado) && Intrinsics.areEqual(this.fechaPeticion, mapasDto.fechaPeticion) && Intrinsics.areEqual(this.peticion, mapasDto.peticion) && this.tamaño == mapasDto.tamaño && Intrinsics.areEqual(this.mapas, mapasDto.mapas) && Intrinsics.areEqual(this.buses, mapasDto.buses) && Intrinsics.areEqual(this.origen, mapasDto.origen);
    }

    public int hashCode() {
        int iHashCode = ((((((((((this.resultado.hashCode() * 31) + this.fechaPeticion.hashCode()) * 31) + this.peticion.hashCode()) * 31) + Integer.hashCode(this.tamaño)) * 31) + this.mapas.hashCode()) * 31) + this.buses.hashCode()) * 31;
        String str = this.origen;
        return iHashCode + (str == null ? 0 : str.hashCode());
    }

    public String toString() {
        return "MapasDto(resultado=" + this.resultado + ", fechaPeticion=" + this.fechaPeticion + ", peticion=" + this.peticion + ", tamaño=" + this.tamaño + ", mapas=" + this.mapas + ", buses=" + this.buses + ", origen=" + this.origen + ")";
    }

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

    public /* synthetic */ MapasDto(int i, String str, String str2, String str3, int i2, List list, List list2, String str4, SerializationConstructorMarker serializationConstructorMarker) {
        if (15 != (i & 15)) {
            PluginExceptionsKt.throwMissingFieldException(i, 15, MapasDto$$serializer.INSTANCE.getDescriptor());
        }
        this.resultado = str;
        this.fechaPeticion = str2;
        this.peticion = str3;
        this.tamaño = i2;
        if ((i & 16) == 0) {
            this.mapas = CollectionsKt.emptyList();
        } else {
            this.mapas = list;
        }
        if ((i & 32) == 0) {
            this.buses = CollectionsKt.emptyList();
        } else {
            this.buses = list2;
        }
        if ((i & 64) == 0) {
            this.origen = null;
        } else {
            this.origen = str4;
        }
    }

    @JvmStatic
    public static final /* synthetic */ void write$Self$composeApp_release(MapasDto self, CompositeEncoder output, SerialDescriptor serialDesc) {
        Lazy<KSerializer<Object>>[] lazyArr = $childSerializers;
        output.encodeStringElement(serialDesc, 0, self.resultado);
        output.encodeStringElement(serialDesc, 1, self.fechaPeticion);
        output.encodeStringElement(serialDesc, 2, self.peticion);
        output.encodeIntElement(serialDesc, 3, self.tamaño);
        if (output.shouldEncodeElementDefault(serialDesc, 4) || !Intrinsics.areEqual(self.mapas, CollectionsKt.emptyList())) {
            output.encodeSerializableElement(serialDesc, 4, IgnoreEmptyListSerializer.INSTANCE, self.mapas);
        }
        if (output.shouldEncodeElementDefault(serialDesc, 5) || !Intrinsics.areEqual(self.buses, CollectionsKt.emptyList())) {
            output.encodeSerializableElement(serialDesc, 5, lazyArr[5].getValue(), self.buses);
        }
        if (!output.shouldEncodeElementDefault(serialDesc, 6) && self.origen == null) {
            return;
        }
        output.encodeNullableSerializableElement(serialDesc, 6, StringSerializer.INSTANCE, self.origen);
    }

    public MapasDto(String resultado, String fechaPeticion, String peticion, int i, List<MapaDto> mapas, List<BusesSentidoDto> buses, String str) {
        Intrinsics.checkNotNullParameter(resultado, "resultado");
        Intrinsics.checkNotNullParameter(fechaPeticion, "fechaPeticion");
        Intrinsics.checkNotNullParameter(peticion, "peticion");
        Intrinsics.checkNotNullParameter(mapas, "mapas");
        Intrinsics.checkNotNullParameter(buses, "buses");
        this.resultado = resultado;
        this.fechaPeticion = fechaPeticion;
        this.peticion = peticion;
        this.tamaño = i;
        this.mapas = mapas;
        this.buses = buses;
        this.origen = str;
    }

    public final String getResultado() {
        return this.resultado;
    }

    public final String getFechaPeticion() {
        return this.fechaPeticion;
    }

    public final String getPeticion() {
        return this.peticion;
    }

    /* JADX INFO: renamed from: getTamaño, reason: contains not printable characters */
    public final int m7908getTamao() {
        return this.tamaño;
    }

    public /* synthetic */ MapasDto(String str, String str2, String str3, int i, List list, List list2, String str4, int i2, DefaultConstructorMarker defaultConstructorMarker) {
        this(str, str2, str3, i, (i2 & 16) != 0 ? CollectionsKt.emptyList() : list, (i2 & 32) != 0 ? CollectionsKt.emptyList() : list2, (i2 & 64) != 0 ? null : str4);
    }

    public final List<MapaDto> getMapas() {
        return this.mapas;
    }

    public final List<BusesSentidoDto> getBuses() {
        return this.buses;
    }

    public final String getOrigen() {
        return this.origen;
    }
}