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

import kotlin.Metadata;
import kotlin.jvm.JvmStatic;
import kotlin.jvm.internal.DefaultConstructorMarker;
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.PluginExceptionsKt;
import kotlinx.serialization.internal.SerializationConstructorMarker;

/* JADX INFO: compiled from: MapasDto.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u000f\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\u001f\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005¢\u0006\u0004\b\u0007\u0010\bB3\b\u0010\u0012\u0006\u0010\t\u001a\u00020\u0003\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u000b¢\u0006\u0004\b\u0007\u0010\fJ\t\u0010\u0016\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0017\u001a\u00020\u0005HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0005HÆ\u0003J'\u0010\u0019\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u001a\u001a\u00020\u001b2\b\u0010\u001c\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001d\u001a\u00020\u0003HÖ\u0001J\t\u0010\u001e\u001a\u00020\u001fHÖ\u0001J%\u0010 \u001a\u00020!2\u0006\u0010\"\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\r\u0010\u000e\u001a\u0004\b\u000f\u0010\u0010R\u001c\u0010\u0004\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0011\u0010\u000e\u001a\u0004\b\u0012\u0010\u0013R\u001c\u0010\u0006\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0014\u0010\u000e\u001a\u0004\b\u0015\u0010\u0013¨\u0006*"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/remote/dto/mapasdto/BusDto;", "", "bus", "", "posx", "", "posy", "<init>", "(IDD)V", "seen0", "serializationConstructorMarker", "Lkotlinx/serialization/internal/SerializationConstructorMarker;", "(IIDDLkotlinx/serialization/internal/SerializationConstructorMarker;)V", "getBus$annotations", "()V", "getBus", "()I", "getPosx$annotations", "getPosx", "()D", "getPosy$annotations", "getPosy", "component1", "component2", "component3", "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 BusDto {
    public static final int $stable = 0;

    /* JADX INFO: renamed from: Companion, reason: from kotlin metadata */
    public static final Companion INSTANCE = new Companion(null);
    private final int bus;
    private final double posx;
    private final double posy;

    public static /* synthetic */ BusDto copy$default(BusDto busDto, int i, double d, double d2, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = busDto.bus;
        }
        if ((i2 & 2) != 0) {
            d = busDto.posx;
        }
        double d3 = d;
        if ((i2 & 4) != 0) {
            d2 = busDto.posy;
        }
        return busDto.copy(i, d3, d2);
    }

    @SerialName("bus")
    public static /* synthetic */ void getBus$annotations() {
    }

    @SerialName("posx")
    public static /* synthetic */ void getPosx$annotations() {
    }

    @SerialName("posy")
    public static /* synthetic */ void getPosy$annotations() {
    }

    /* JADX INFO: renamed from: component1, reason: from getter */
    public final int getBus() {
        return this.bus;
    }

    /* JADX INFO: renamed from: component2, reason: from getter */
    public final double getPosx() {
        return this.posx;
    }

    /* JADX INFO: renamed from: component3, reason: from getter */
    public final double getPosy() {
        return this.posy;
    }

    public final BusDto copy(int bus, double posx, double posy) {
        return new BusDto(bus, posx, posy);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof BusDto)) {
            return false;
        }
        BusDto busDto = (BusDto) other;
        return this.bus == busDto.bus && Double.compare(this.posx, busDto.posx) == 0 && Double.compare(this.posy, busDto.posy) == 0;
    }

    public int hashCode() {
        return (((Integer.hashCode(this.bus) * 31) + Double.hashCode(this.posx)) * 31) + Double.hashCode(this.posy);
    }

    public String toString() {
        return "BusDto(bus=" + this.bus + ", posx=" + this.posx + ", posy=" + this.posy + ")";
    }

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

    public /* synthetic */ BusDto(int i, int i2, double d, double d2, SerializationConstructorMarker serializationConstructorMarker) {
        if (7 != (i & 7)) {
            PluginExceptionsKt.throwMissingFieldException(i, 7, BusDto$$serializer.INSTANCE.getDescriptor());
        }
        this.bus = i2;
        this.posx = d;
        this.posy = d2;
    }

    @JvmStatic
    public static final /* synthetic */ void write$Self$composeApp_release(BusDto self, CompositeEncoder output, SerialDescriptor serialDesc) {
        output.encodeIntElement(serialDesc, 0, self.bus);
        output.encodeDoubleElement(serialDesc, 1, self.posx);
        output.encodeDoubleElement(serialDesc, 2, self.posy);
    }

    public BusDto(int i, double d, double d2) {
        this.bus = i;
        this.posx = d;
        this.posy = d2;
    }

    public final int getBus() {
        return this.bus;
    }

    public final double getPosx() {
        return this.posx;
    }

    public final double getPosy() {
        return this.posy;
    }
}