package com.adif.elcanomovil.serviceNetworking.stations.model;

import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0017\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\u000b\u0010\u000b\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\f\u001a\u00020\u0005HÆ\u0003J\u001f\u0010\r\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n¨\u0006\u0014"}, d2 = {"Lcom/adif/elcanomovil/serviceNetworking/stations/model/StationResponse;", "", "token", "", "requestedStationInfo", "Lcom/adif/elcanomovil/serviceNetworking/stations/model/RequestedStationInfoDTO;", "(Ljava/lang/String;Lcom/adif/elcanomovil/serviceNetworking/stations/model/RequestedStationInfoDTO;)V", "getRequestedStationInfo", "()Lcom/adif/elcanomovil/serviceNetworking/stations/model/RequestedStationInfoDTO;", "getToken", "()Ljava/lang/String;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "service-networking_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class StationResponse {
    private final RequestedStationInfoDTO requestedStationInfo;
    private final String token;

    public StationResponse(String str, RequestedStationInfoDTO requestedStationInfo) {
        Intrinsics.checkNotNullParameter(requestedStationInfo, "requestedStationInfo");
        this.token = str;
        this.requestedStationInfo = requestedStationInfo;
    }

    public static /* synthetic */ StationResponse copy$default(StationResponse stationResponse, String str, RequestedStationInfoDTO requestedStationInfoDTO, int i, Object obj) {
        if ((i & 1) != 0) {
            str = stationResponse.token;
        }
        if ((i & 2) != 0) {
            requestedStationInfoDTO = stationResponse.requestedStationInfo;
        }
        return stationResponse.copy(str, requestedStationInfoDTO);
    }

    /* renamed from: component1, reason: from getter */
    public final String getToken() {
        return this.token;
    }

    /* renamed from: component2, reason: from getter */
    public final RequestedStationInfoDTO getRequestedStationInfo() {
        return this.requestedStationInfo;
    }

    public final StationResponse copy(String token, RequestedStationInfoDTO requestedStationInfo) {
        Intrinsics.checkNotNullParameter(requestedStationInfo, "requestedStationInfo");
        return new StationResponse(token, requestedStationInfo);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof StationResponse)) {
            return false;
        }
        StationResponse stationResponse = (StationResponse) other;
        return Intrinsics.areEqual(this.token, stationResponse.token) && Intrinsics.areEqual(this.requestedStationInfo, stationResponse.requestedStationInfo);
    }

    public final RequestedStationInfoDTO getRequestedStationInfo() {
        return this.requestedStationInfo;
    }

    public final String getToken() {
        return this.token;
    }

    public int hashCode() {
        String str = this.token;
        return this.requestedStationInfo.hashCode() + ((str == null ? 0 : str.hashCode()) * 31);
    }

    public String toString() {
        return "StationResponse(token=" + this.token + ", requestedStationInfo=" + this.requestedStationInfo + ')';
    }
}
