package ca.canadapost.core.data.consumerhome.model;

import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.k;
import kotlin.jvm.internal.t;

@Metadata(d1 = {"\u0000,\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\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u001f\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\u0002\u0010\u0007J\u000b\u0010\f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0003J%\u0010\u000e\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0001J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0012\u001a\u00020\u0013HÖ\u0001J\t\u0010\u0014\u001a\u00020\u0003HÖ\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u0015"}, d2 = {"Lca/canadapost/core/data/consumerhome/model/GetTrackPinsResponse;", "", "result", "", "tracks", "", "Lca/canadapost/core/data/consumerhome/model/HomeTrackPin;", "(Ljava/lang/String;Ljava/util/List;)V", "getResult", "()Ljava/lang/String;", "getTracks", "()Ljava/util/List;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "core_data_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class GetTrackPinsResponse {
    private final String result;
    private final List<HomeTrackPin> tracks;

    public GetTrackPinsResponse(String str, List<HomeTrackPin> tracks) {
        t.g(tracks, "tracks");
        this.result = str;
        this.tracks = tracks;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ GetTrackPinsResponse copy$default(GetTrackPinsResponse getTrackPinsResponse, String str, List list, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            str = getTrackPinsResponse.result;
        }
        if ((i10 & 2) != 0) {
            list = getTrackPinsResponse.tracks;
        }
        return getTrackPinsResponse.copy(str, list);
    }

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

    public final List<HomeTrackPin> component2() {
        return this.tracks;
    }

    public final GetTrackPinsResponse copy(String result, List<HomeTrackPin> tracks) {
        t.g(tracks, "tracks");
        return new GetTrackPinsResponse(result, tracks);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof GetTrackPinsResponse)) {
            return false;
        }
        GetTrackPinsResponse getTrackPinsResponse = (GetTrackPinsResponse) other;
        return t.b(this.result, getTrackPinsResponse.result) && t.b(this.tracks, getTrackPinsResponse.tracks);
    }

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

    public final List<HomeTrackPin> getTracks() {
        return this.tracks;
    }

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

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

    public /* synthetic */ GetTrackPinsResponse(String str, List list, int i10, k kVar) {
        this((i10 & 1) != 0 ? null : str, list);
    }
}
