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

import ca.canadapost.core.data.auth.model.ProfileType;
import ca.canadapost.core.data.aws.model.AndroidDeviceType;
import com.google.android.gms.common.Scopes;
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\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\b\u0086\b\u0018\u00002\u00020\u0001:\u0001\u0017B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\t\u0010\r\u001a\u00020\u0003HÆ\u0003J\t\u0010\u000e\u001a\u00020\u0003HÆ\u0003J\t\u0010\u000f\u001a\u00020\u0006HÆ\u0003J'\u0010\u0010\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u0006HÆ\u0001J\u0013\u0010\u0011\u001a\u00020\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0014\u001a\u00020\u0015HÖ\u0001J\t\u0010\u0016\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u000b¨\u0006\u0018"}, d2 = {"Lca/canadapost/core/data/profile/model/OneToOneEmailRequest;", "", Scopes.EMAIL, "", "language", "analytics", "Lca/canadapost/core/data/profile/model/OneToOneEmailRequest$OneToOneEmailAnalytics;", "(Ljava/lang/String;Ljava/lang/String;Lca/canadapost/core/data/profile/model/OneToOneEmailRequest$OneToOneEmailAnalytics;)V", "getAnalytics", "()Lca/canadapost/core/data/profile/model/OneToOneEmailRequest$OneToOneEmailAnalytics;", "getEmail", "()Ljava/lang/String;", "getLanguage", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "OneToOneEmailAnalytics", "core_data_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class OneToOneEmailRequest {
    private final OneToOneEmailAnalytics analytics;
    private final String email;
    private final String language;

    public OneToOneEmailRequest(String email, String language, OneToOneEmailAnalytics analytics) {
        t.g(email, "email");
        t.g(language, "language");
        t.g(analytics, "analytics");
        this.email = email;
        this.language = language;
        this.analytics = analytics;
    }

    public static /* synthetic */ OneToOneEmailRequest copy$default(OneToOneEmailRequest oneToOneEmailRequest, String str, String str2, OneToOneEmailAnalytics oneToOneEmailAnalytics, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            str = oneToOneEmailRequest.email;
        }
        if ((i10 & 2) != 0) {
            str2 = oneToOneEmailRequest.language;
        }
        if ((i10 & 4) != 0) {
            oneToOneEmailAnalytics = oneToOneEmailRequest.analytics;
        }
        return oneToOneEmailRequest.copy(str, str2, oneToOneEmailAnalytics);
    }

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

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

    /* renamed from: component3, reason: from getter */
    public final OneToOneEmailAnalytics getAnalytics() {
        return this.analytics;
    }

    public final OneToOneEmailRequest copy(String email, String language, OneToOneEmailAnalytics analytics) {
        t.g(email, "email");
        t.g(language, "language");
        t.g(analytics, "analytics");
        return new OneToOneEmailRequest(email, language, analytics);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof OneToOneEmailRequest)) {
            return false;
        }
        OneToOneEmailRequest oneToOneEmailRequest = (OneToOneEmailRequest) other;
        return t.b(this.email, oneToOneEmailRequest.email) && t.b(this.language, oneToOneEmailRequest.language) && t.b(this.analytics, oneToOneEmailRequest.analytics);
    }

    public final OneToOneEmailAnalytics getAnalytics() {
        return this.analytics;
    }

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

    public final String getLanguage() {
        return this.language;
    }

    public int hashCode() {
        return (((this.email.hashCode() * 31) + this.language.hashCode()) * 31) + this.analytics.hashCode();
    }

    public String toString() {
        return "OneToOneEmailRequest(email=" + this.email + ", language=" + this.language + ", analytics=" + this.analytics + ")";
    }

    @Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0018\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001BI\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0007\u0012\b\b\u0002\u0010\b\u001a\u00020\u0007\u0012\b\b\u0002\u0010\t\u001a\u00020\u0007\u0012\b\b\u0002\u0010\n\u001a\u00020\u0007\u0012\b\b\u0002\u0010\u000b\u001a\u00020\u0007¢\u0006\u0002\u0010\fJ\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0005HÆ\u0003J\t\u0010\u0019\u001a\u00020\u0007HÆ\u0003J\t\u0010\u001a\u001a\u00020\u0007HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0007HÆ\u0003J\t\u0010\u001c\u001a\u00020\u0007HÆ\u0003J\t\u0010\u001d\u001a\u00020\u0007HÆ\u0003JO\u0010\u001e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\u00072\b\b\u0002\u0010\t\u001a\u00020\u00072\b\b\u0002\u0010\n\u001a\u00020\u00072\b\b\u0002\u0010\u000b\u001a\u00020\u0007HÆ\u0001J\u0013\u0010\u001f\u001a\u00020 2\b\u0010!\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\"\u001a\u00020#HÖ\u0001J\t\u0010$\u001a\u00020\u0007HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\b\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\t\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0010R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0010R\u0011\u0010\n\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0010R\u0011\u0010\u000b\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0010¨\u0006%"}, d2 = {"Lca/canadapost/core/data/profile/model/OneToOneEmailRequest$OneToOneEmailAnalytics;", "", "deviceType", "Lca/canadapost/core/data/aws/model/AndroidDeviceType;", "profileType", "Lca/canadapost/core/data/auth/model/ProfileType;", "sourceApp", "", "externalCampaignId", "internalCampaignId", "sourceUrl", "targetUrl", "(Lca/canadapost/core/data/aws/model/AndroidDeviceType;Lca/canadapost/core/data/auth/model/ProfileType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getDeviceType", "()Lca/canadapost/core/data/aws/model/AndroidDeviceType;", "getExternalCampaignId", "()Ljava/lang/String;", "getInternalCampaignId", "getProfileType", "()Lca/canadapost/core/data/auth/model/ProfileType;", "getSourceApp", "getSourceUrl", "getTargetUrl", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "equals", "", "other", "hashCode", "", "toString", "core_data_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
    /* loaded from: classes.dex */
    public static final /* data */ class OneToOneEmailAnalytics {
        private final AndroidDeviceType deviceType;
        private final String externalCampaignId;
        private final String internalCampaignId;
        private final ProfileType profileType;
        private final String sourceApp;
        private final String sourceUrl;
        private final String targetUrl;

        public OneToOneEmailAnalytics(AndroidDeviceType deviceType, ProfileType profileType, String sourceApp, String externalCampaignId, String internalCampaignId, String sourceUrl, String targetUrl) {
            t.g(deviceType, "deviceType");
            t.g(profileType, "profileType");
            t.g(sourceApp, "sourceApp");
            t.g(externalCampaignId, "externalCampaignId");
            t.g(internalCampaignId, "internalCampaignId");
            t.g(sourceUrl, "sourceUrl");
            t.g(targetUrl, "targetUrl");
            this.deviceType = deviceType;
            this.profileType = profileType;
            this.sourceApp = sourceApp;
            this.externalCampaignId = externalCampaignId;
            this.internalCampaignId = internalCampaignId;
            this.sourceUrl = sourceUrl;
            this.targetUrl = targetUrl;
        }

        public static /* synthetic */ OneToOneEmailAnalytics copy$default(OneToOneEmailAnalytics oneToOneEmailAnalytics, AndroidDeviceType androidDeviceType, ProfileType profileType, String str, String str2, String str3, String str4, String str5, int i10, Object obj) {
            if ((i10 & 1) != 0) {
                androidDeviceType = oneToOneEmailAnalytics.deviceType;
            }
            if ((i10 & 2) != 0) {
                profileType = oneToOneEmailAnalytics.profileType;
            }
            ProfileType profileType2 = profileType;
            if ((i10 & 4) != 0) {
                str = oneToOneEmailAnalytics.sourceApp;
            }
            String str6 = str;
            if ((i10 & 8) != 0) {
                str2 = oneToOneEmailAnalytics.externalCampaignId;
            }
            String str7 = str2;
            if ((i10 & 16) != 0) {
                str3 = oneToOneEmailAnalytics.internalCampaignId;
            }
            String str8 = str3;
            if ((i10 & 32) != 0) {
                str4 = oneToOneEmailAnalytics.sourceUrl;
            }
            String str9 = str4;
            if ((i10 & 64) != 0) {
                str5 = oneToOneEmailAnalytics.targetUrl;
            }
            return oneToOneEmailAnalytics.copy(androidDeviceType, profileType2, str6, str7, str8, str9, str5);
        }

        /* renamed from: component1, reason: from getter */
        public final AndroidDeviceType getDeviceType() {
            return this.deviceType;
        }

        /* renamed from: component2, reason: from getter */
        public final ProfileType getProfileType() {
            return this.profileType;
        }

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

        /* renamed from: component4, reason: from getter */
        public final String getExternalCampaignId() {
            return this.externalCampaignId;
        }

        /* renamed from: component5, reason: from getter */
        public final String getInternalCampaignId() {
            return this.internalCampaignId;
        }

        /* renamed from: component6, reason: from getter */
        public final String getSourceUrl() {
            return this.sourceUrl;
        }

        /* renamed from: component7, reason: from getter */
        public final String getTargetUrl() {
            return this.targetUrl;
        }

        public final OneToOneEmailAnalytics copy(AndroidDeviceType deviceType, ProfileType profileType, String sourceApp, String externalCampaignId, String internalCampaignId, String sourceUrl, String targetUrl) {
            t.g(deviceType, "deviceType");
            t.g(profileType, "profileType");
            t.g(sourceApp, "sourceApp");
            t.g(externalCampaignId, "externalCampaignId");
            t.g(internalCampaignId, "internalCampaignId");
            t.g(sourceUrl, "sourceUrl");
            t.g(targetUrl, "targetUrl");
            return new OneToOneEmailAnalytics(deviceType, profileType, sourceApp, externalCampaignId, internalCampaignId, sourceUrl, targetUrl);
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof OneToOneEmailAnalytics)) {
                return false;
            }
            OneToOneEmailAnalytics oneToOneEmailAnalytics = (OneToOneEmailAnalytics) other;
            return this.deviceType == oneToOneEmailAnalytics.deviceType && this.profileType == oneToOneEmailAnalytics.profileType && t.b(this.sourceApp, oneToOneEmailAnalytics.sourceApp) && t.b(this.externalCampaignId, oneToOneEmailAnalytics.externalCampaignId) && t.b(this.internalCampaignId, oneToOneEmailAnalytics.internalCampaignId) && t.b(this.sourceUrl, oneToOneEmailAnalytics.sourceUrl) && t.b(this.targetUrl, oneToOneEmailAnalytics.targetUrl);
        }

        public final AndroidDeviceType getDeviceType() {
            return this.deviceType;
        }

        public final String getExternalCampaignId() {
            return this.externalCampaignId;
        }

        public final String getInternalCampaignId() {
            return this.internalCampaignId;
        }

        public final ProfileType getProfileType() {
            return this.profileType;
        }

        public final String getSourceApp() {
            return this.sourceApp;
        }

        public final String getSourceUrl() {
            return this.sourceUrl;
        }

        public final String getTargetUrl() {
            return this.targetUrl;
        }

        public int hashCode() {
            return (((((((((((this.deviceType.hashCode() * 31) + this.profileType.hashCode()) * 31) + this.sourceApp.hashCode()) * 31) + this.externalCampaignId.hashCode()) * 31) + this.internalCampaignId.hashCode()) * 31) + this.sourceUrl.hashCode()) * 31) + this.targetUrl.hashCode();
        }

        public String toString() {
            return "OneToOneEmailAnalytics(deviceType=" + this.deviceType + ", profileType=" + this.profileType + ", sourceApp=" + this.sourceApp + ", externalCampaignId=" + this.externalCampaignId + ", internalCampaignId=" + this.internalCampaignId + ", sourceUrl=" + this.sourceUrl + ", targetUrl=" + this.targetUrl + ")";
        }

        public /* synthetic */ OneToOneEmailAnalytics(AndroidDeviceType androidDeviceType, ProfileType profileType, String str, String str2, String str3, String str4, String str5, int i10, k kVar) {
            this(androidDeviceType, (i10 & 2) != 0 ? ProfileType.ZCON : profileType, (i10 & 4) != 0 ? "" : str, (i10 & 8) != 0 ? "" : str2, (i10 & 16) != 0 ? "" : str3, (i10 & 32) != 0 ? "" : str4, (i10 & 64) == 0 ? str5 : "");
        }
    }
}
