package ca.canadapost.module.track.model;

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

@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\b\u0086\b\u0018\u00002\u00020\u0001:\u0001\u0018B+\u0012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003\u0012\u000e\u0010\u0005\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0004¢\u0006\u0002\u0010\bJ\u000f\u0010\u000e\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003HÆ\u0003J\u0011\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0003HÆ\u0003J\t\u0010\u0010\u001a\u00020\u0004HÆ\u0003J5\u0010\u0011\u001a\u00020\u00002\u000e\b\u0002\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u00032\u0010\b\u0002\u0010\u0005\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u00032\b\b\u0002\u0010\u0007\u001a\u00020\u0004HÆ\u0001J\u0013\u0010\u0012\u001a\u00020\u00132\b\u0010\u0014\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0015\u001a\u00020\u0016HÖ\u0001J\t\u0010\u0017\u001a\u00020\u0004HÖ\u0001R\u0017\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0019\u0010\u0005\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\nR\u0011\u0010\u0007\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\r¨\u0006\u0019"}, d2 = {"Lca/canadapost/module/track/model/PackageEligibilityResponseItem;", "", "eligiblePins", "", "", "failedPins", "Lca/canadapost/module/track/model/PackageEligibilityResponseItem$FailedPin;", "pref", "(Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V", "getEligiblePins", "()Ljava/util/List;", "getFailedPins", "getPref", "()Ljava/lang/String;", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "FailedPin", "track_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes4.dex */
public final /* data */ class PackageEligibilityResponseItem {
    private final List<String> eligiblePins;
    private final List<FailedPin> failedPins;
    private final String pref;

    @Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\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\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lca/canadapost/module/track/model/PackageEligibilityResponseItem$FailedPin;", "", "failedRule", "", "pin", "(Ljava/lang/String;Ljava/lang/String;)V", "getFailedRule", "()Ljava/lang/String;", "getPin", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "track_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
    /* loaded from: classes4.dex */
    public static final /* data */ class FailedPin {
        private final String failedRule;
        private final String pin;

        public FailedPin(String failedRule, String pin) {
            t.g(failedRule, "failedRule");
            t.g(pin, "pin");
            this.failedRule = failedRule;
            this.pin = pin;
        }

        public static /* synthetic */ FailedPin copy$default(FailedPin failedPin, String str, String str2, int i10, Object obj) {
            if ((i10 & 1) != 0) {
                str = failedPin.failedRule;
            }
            if ((i10 & 2) != 0) {
                str2 = failedPin.pin;
            }
            return failedPin.copy(str, str2);
        }

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

        /* renamed from: component2, reason: from getter */
        public final String getPin() {
            return this.pin;
        }

        public final FailedPin copy(String failedRule, String pin) {
            t.g(failedRule, "failedRule");
            t.g(pin, "pin");
            return new FailedPin(failedRule, pin);
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof FailedPin)) {
                return false;
            }
            FailedPin failedPin = (FailedPin) other;
            return t.b(this.failedRule, failedPin.failedRule) && t.b(this.pin, failedPin.pin);
        }

        public final String getFailedRule() {
            return this.failedRule;
        }

        public final String getPin() {
            return this.pin;
        }

        public int hashCode() {
            return (this.failedRule.hashCode() * 31) + this.pin.hashCode();
        }

        public String toString() {
            return "FailedPin(failedRule=" + this.failedRule + ", pin=" + this.pin + ")";
        }
    }

    public PackageEligibilityResponseItem(List<String> eligiblePins, List<FailedPin> list, String pref) {
        t.g(eligiblePins, "eligiblePins");
        t.g(pref, "pref");
        this.eligiblePins = eligiblePins;
        this.failedPins = list;
        this.pref = pref;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ PackageEligibilityResponseItem copy$default(PackageEligibilityResponseItem packageEligibilityResponseItem, List list, List list2, String str, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            list = packageEligibilityResponseItem.eligiblePins;
        }
        if ((i10 & 2) != 0) {
            list2 = packageEligibilityResponseItem.failedPins;
        }
        if ((i10 & 4) != 0) {
            str = packageEligibilityResponseItem.pref;
        }
        return packageEligibilityResponseItem.copy(list, list2, str);
    }

    public final List<String> component1() {
        return this.eligiblePins;
    }

    public final List<FailedPin> component2() {
        return this.failedPins;
    }

    /* renamed from: component3, reason: from getter */
    public final String getPref() {
        return this.pref;
    }

    public final PackageEligibilityResponseItem copy(List<String> eligiblePins, List<FailedPin> failedPins, String pref) {
        t.g(eligiblePins, "eligiblePins");
        t.g(pref, "pref");
        return new PackageEligibilityResponseItem(eligiblePins, failedPins, pref);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof PackageEligibilityResponseItem)) {
            return false;
        }
        PackageEligibilityResponseItem packageEligibilityResponseItem = (PackageEligibilityResponseItem) other;
        return t.b(this.eligiblePins, packageEligibilityResponseItem.eligiblePins) && t.b(this.failedPins, packageEligibilityResponseItem.failedPins) && t.b(this.pref, packageEligibilityResponseItem.pref);
    }

    public final List<String> getEligiblePins() {
        return this.eligiblePins;
    }

    public final List<FailedPin> getFailedPins() {
        return this.failedPins;
    }

    public final String getPref() {
        return this.pref;
    }

    public int hashCode() {
        int hashCode = this.eligiblePins.hashCode() * 31;
        List<FailedPin> list = this.failedPins;
        return ((hashCode + (list == null ? 0 : list.hashCode())) * 31) + this.pref.hashCode();
    }

    public String toString() {
        return "PackageEligibilityResponseItem(eligiblePins=" + this.eligiblePins + ", failedPins=" + this.failedPins + ", pref=" + this.pref + ")";
    }
}
