package ca.canadapost.module.track.model;

import com.google.android.gms.common.Scopes;
import jg.y3;
import kotlin.Metadata;
import kotlin.jvm.internal.t;

@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0010\b\u0086\b\u0018\u00002\u00020\u0001B!\u0012\u0006\u0010\u0007\u001a\u00020\u0002\u0012\u0006\u0010\b\u001a\u00020\u0004\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0002¢\u0006\u0004\b\u001d\u0010\u001eJ\t\u0010\u0003\u001a\u00020\u0002HÆ\u0003J\t\u0010\u0005\u001a\u00020\u0004HÆ\u0003J\u000b\u0010\u0006\u001a\u0004\u0018\u00010\u0002HÆ\u0003J)\u0010\n\u001a\u00020\u00002\b\b\u0002\u0010\u0007\u001a\u00020\u00022\b\b\u0002\u0010\b\u001a\u00020\u00042\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u0002HÆ\u0001J\t\u0010\u000b\u001a\u00020\u0002HÖ\u0001J\t\u0010\r\u001a\u00020\fHÖ\u0001J\u0013\u0010\u0010\u001a\u00020\u000f2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003R\"\u0010\u0007\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0007\u0010\u0011\u001a\u0004\b\u0012\u0010\u0013\"\u0004\b\u0014\u0010\u0015R\"\u0010\b\u001a\u00020\u00048\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\b\u0010\u0016\u001a\u0004\b\u0017\u0010\u0018\"\u0004\b\u0019\u0010\u001aR$\u0010\t\u001a\u0004\u0018\u00010\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\t\u0010\u0011\u001a\u0004\b\u001b\u0010\u0013\"\u0004\b\u001c\u0010\u0015¨\u0006\u001f"}, d2 = {"Lca/canadapost/module/track/model/EmailInfo;", "", "", "component1", "Ljg/y3;", "component2", "component3", Scopes.EMAIL, "preference", "emailError", "copy", "toString", "", "hashCode", "other", "", "equals", "Ljava/lang/String;", "getEmail", "()Ljava/lang/String;", "setEmail", "(Ljava/lang/String;)V", "Ljg/y3;", "getPreference", "()Ljg/y3;", "setPreference", "(Ljg/y3;)V", "getEmailError", "setEmailError", "<init>", "(Ljava/lang/String;Ljg/y3;Ljava/lang/String;)V", "track_productionRelease"}, k = 1, mv = {1, 9, 0})
/* loaded from: classes4.dex */
public final /* data */ class EmailInfo {
    private String email;
    private String emailError;
    private y3 preference;

    public EmailInfo(String email, y3 preference, String str) {
        t.g(email, "email");
        t.g(preference, "preference");
        this.email = email;
        this.preference = preference;
        this.emailError = str;
    }

    public static /* synthetic */ EmailInfo copy$default(EmailInfo emailInfo, String str, y3 y3Var, String str2, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            str = emailInfo.email;
        }
        if ((i10 & 2) != 0) {
            y3Var = emailInfo.preference;
        }
        if ((i10 & 4) != 0) {
            str2 = emailInfo.emailError;
        }
        return emailInfo.copy(str, y3Var, str2);
    }

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

    /* renamed from: component2, reason: from getter */
    public final y3 getPreference() {
        return this.preference;
    }

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

    public final EmailInfo copy(String email, y3 preference, String emailError) {
        t.g(email, "email");
        t.g(preference, "preference");
        return new EmailInfo(email, preference, emailError);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof EmailInfo)) {
            return false;
        }
        EmailInfo emailInfo = (EmailInfo) other;
        return t.b(this.email, emailInfo.email) && this.preference == emailInfo.preference && t.b(this.emailError, emailInfo.emailError);
    }

    public final String getEmail() {
        return this.email;
    }

    public final String getEmailError() {
        return this.emailError;
    }

    public final y3 getPreference() {
        return this.preference;
    }

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

    public final void setEmail(String str) {
        t.g(str, "<set-?>");
        this.email = str;
    }

    public final void setEmailError(String str) {
        this.emailError = str;
    }

    public final void setPreference(y3 y3Var) {
        t.g(y3Var, "<set-?>");
        this.preference = y3Var;
    }

    public String toString() {
        return "EmailInfo(email=" + this.email + ", preference=" + this.preference + ", emailError=" + this.emailError + ")";
    }
}
