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

import km.g;
import kotlin.Metadata;
import kotlin.jvm.internal.k;
import kotlin.jvm.internal.t;

@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0010\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B)\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0006J\u0010\u0010\f\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\bJ\u0010\u0010\r\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\bJ\u0010\u0010\u000e\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\bJ2\u0010\u000f\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0003HÆ\u0001¢\u0006\u0002\u0010\u0010J\u0013\u0010\u0011\u001a\u00020\u00032\b\u0010\u0012\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001J\t\u0010\u0015\u001a\u00020\u0016HÖ\u0001R\u001a\u0010\u0002\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\t\u001a\u0004\b\u0007\u0010\bR\u001a\u0010\u0004\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\t\u001a\u0004\b\n\u0010\bR\u001a\u0010\u0005\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\t\u001a\u0004\b\u000b\u0010\b¨\u0006\u0017"}, d2 = {"Lca/canadapost/core/data/mymail/model/Preferences;", "", "acceptedTnC", "", "adConsent", "sendEmail", "(Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V", "getAcceptedTnC", "()Ljava/lang/Boolean;", "Ljava/lang/Boolean;", "getAdConsent", "getSendEmail", "component1", "component2", "component3", "copy", "(Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lca/canadapost/core/data/mymail/model/Preferences;", "equals", "other", "hashCode", "", "toString", "", "core_data_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class Preferences {

    @g(name = "AcceptedTnC")
    private final Boolean acceptedTnC;

    @g(name = "AdConsent")
    private final Boolean adConsent;

    @g(name = "SendEmail")
    private final Boolean sendEmail;

    public Preferences() {
        this(null, null, null, 7, null);
    }

    public static /* synthetic */ Preferences copy$default(Preferences preferences, Boolean bool, Boolean bool2, Boolean bool3, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            bool = preferences.acceptedTnC;
        }
        if ((i10 & 2) != 0) {
            bool2 = preferences.adConsent;
        }
        if ((i10 & 4) != 0) {
            bool3 = preferences.sendEmail;
        }
        return preferences.copy(bool, bool2, bool3);
    }

    /* renamed from: component1, reason: from getter */
    public final Boolean getAcceptedTnC() {
        return this.acceptedTnC;
    }

    /* renamed from: component2, reason: from getter */
    public final Boolean getAdConsent() {
        return this.adConsent;
    }

    /* renamed from: component3, reason: from getter */
    public final Boolean getSendEmail() {
        return this.sendEmail;
    }

    public final Preferences copy(Boolean acceptedTnC, Boolean adConsent, Boolean sendEmail) {
        return new Preferences(acceptedTnC, adConsent, sendEmail);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof Preferences)) {
            return false;
        }
        Preferences preferences = (Preferences) other;
        return t.b(this.acceptedTnC, preferences.acceptedTnC) && t.b(this.adConsent, preferences.adConsent) && t.b(this.sendEmail, preferences.sendEmail);
    }

    public final Boolean getAcceptedTnC() {
        return this.acceptedTnC;
    }

    public final Boolean getAdConsent() {
        return this.adConsent;
    }

    public final Boolean getSendEmail() {
        return this.sendEmail;
    }

    public int hashCode() {
        Boolean bool = this.acceptedTnC;
        int hashCode = (bool == null ? 0 : bool.hashCode()) * 31;
        Boolean bool2 = this.adConsent;
        int hashCode2 = (hashCode + (bool2 == null ? 0 : bool2.hashCode())) * 31;
        Boolean bool3 = this.sendEmail;
        return hashCode2 + (bool3 != null ? bool3.hashCode() : 0);
    }

    public String toString() {
        return "Preferences(acceptedTnC=" + this.acceptedTnC + ", adConsent=" + this.adConsent + ", sendEmail=" + this.sendEmail + ")";
    }

    public Preferences(Boolean bool, Boolean bool2, Boolean bool3) {
        this.acceptedTnC = bool;
        this.adConsent = bool2;
        this.sendEmail = bool3;
    }

    public /* synthetic */ Preferences(Boolean bool, Boolean bool2, Boolean bool3, int i10, k kVar) {
        this((i10 & 1) != 0 ? null : bool, (i10 & 2) != 0 ? null : bool2, (i10 & 4) != 0 ? null : bool3);
    }
}
