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

import androidx.core.app.NotificationCompat;
import kotlin.Metadata;
import kotlin.jvm.JvmStatic;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.serialization.KSerializer;
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: GooglePlacesApi.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\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\u001b\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0004\b\u0006\u0010\u0007B/\b\u0010\u0012\u0006\u0010\b\u001a\u00020\t\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u000b¢\u0006\u0004\b\u0006\u0010\fJ\u000b\u0010\u0011\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0005HÆ\u0003J\u001f\u0010\u0013\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u0014\u001a\u00020\u00152\b\u0010\u0016\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0017\u001a\u00020\tHÖ\u0001J\t\u0010\u0018\u001a\u00020\u0005HÖ\u0001J%\u0010\u0019\u001a\u00020\u001a2\u0006\u0010\u001b\u001a\u00020\u00002\u0006\u0010\u001c\u001a\u00020\u001d2\u0006\u0010\u001e\u001a\u00020\u001fH\u0001¢\u0006\u0002\b R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010¨\u0006#"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/remote/PlaceDetailsResponse;", "", "result", "Lcom/sistemasolton/itranvias/home/data/remote/PlaceResult;", NotificationCompat.CATEGORY_STATUS, "", "<init>", "(Lcom/sistemasolton/itranvias/home/data/remote/PlaceResult;Ljava/lang/String;)V", "seen0", "", "serializationConstructorMarker", "Lkotlinx/serialization/internal/SerializationConstructorMarker;", "(ILcom/sistemasolton/itranvias/home/data/remote/PlaceResult;Ljava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V", "getResult", "()Lcom/sistemasolton/itranvias/home/data/remote/PlaceResult;", "getStatus", "()Ljava/lang/String;", "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 PlaceDetailsResponse {
    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 PlaceResult result;
    private final String status;

    public static /* synthetic */ PlaceDetailsResponse copy$default(PlaceDetailsResponse placeDetailsResponse, PlaceResult placeResult, String str, int i, Object obj) {
        if ((i & 1) != 0) {
            placeResult = placeDetailsResponse.result;
        }
        if ((i & 2) != 0) {
            str = placeDetailsResponse.status;
        }
        return placeDetailsResponse.copy(placeResult, str);
    }

    /* JADX INFO: renamed from: component1, reason: from getter */
    public final PlaceResult getResult() {
        return this.result;
    }

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

    public final PlaceDetailsResponse copy(PlaceResult result, String status) {
        Intrinsics.checkNotNullParameter(status, "status");
        return new PlaceDetailsResponse(result, status);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof PlaceDetailsResponse)) {
            return false;
        }
        PlaceDetailsResponse placeDetailsResponse = (PlaceDetailsResponse) other;
        return Intrinsics.areEqual(this.result, placeDetailsResponse.result) && Intrinsics.areEqual(this.status, placeDetailsResponse.status);
    }

    public int hashCode() {
        PlaceResult placeResult = this.result;
        return ((placeResult == null ? 0 : placeResult.hashCode()) * 31) + this.status.hashCode();
    }

    public String toString() {
        return "PlaceDetailsResponse(result=" + this.result + ", status=" + this.status + ")";
    }

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

    public /* synthetic */ PlaceDetailsResponse(int i, PlaceResult placeResult, String str, SerializationConstructorMarker serializationConstructorMarker) {
        if (2 != (i & 2)) {
            PluginExceptionsKt.throwMissingFieldException(i, 2, PlaceDetailsResponse$$serializer.INSTANCE.getDescriptor());
        }
        if ((i & 1) == 0) {
            this.result = null;
        } else {
            this.result = placeResult;
        }
        this.status = str;
    }

    @JvmStatic
    public static final /* synthetic */ void write$Self$composeApp_release(PlaceDetailsResponse self, CompositeEncoder output, SerialDescriptor serialDesc) {
        if (output.shouldEncodeElementDefault(serialDesc, 0) || self.result != null) {
            output.encodeNullableSerializableElement(serialDesc, 0, PlaceResult$$serializer.INSTANCE, self.result);
        }
        output.encodeStringElement(serialDesc, 1, self.status);
    }

    public PlaceDetailsResponse(PlaceResult placeResult, String status) {
        Intrinsics.checkNotNullParameter(status, "status");
        this.result = placeResult;
        this.status = status;
    }

    public /* synthetic */ PlaceDetailsResponse(PlaceResult placeResult, String str, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? null : placeResult, str);
    }

    public final PlaceResult getResult() {
        return this.result;
    }

    public final String getStatus() {
        return this.status;
    }
}