package com.ifpos.bytello.share.sdk.model;

import com.google.gson.annotations.SerializedName;
import d.b.a.a.a;
import g.h0.c.g;
import g.h0.c.l;
import g.i;

/* JADX INFO: compiled from: ActivateInfo.kt */
/* JADX INFO: loaded from: classes.dex */
@i
public final class ActivateInfo {
    public static final Companion Companion = new Companion(null);
    public static final String STATUS_AUTH = "01";
    public static final String STATUS_DAYS = "04";
    public static final String STATUS_MAC_ERROR = "xx";
    public static final String STATUS_UN_AUTH = "00";
    public static final String STATUS_UN_CHECK = "yy";

    @SerializedName("activeIdentifier")
    private final String activeIdentifier;

    @SerializedName("auth")
    private final String auth;

    @SerializedName("days")
    private final int days;

    @SerializedName("errorCode")
    private final int errorCode;

    /* JADX INFO: compiled from: ActivateInfo.kt */
    @i
    public static final class ActivateInfoParameter {

        @SerializedName("flavor")
        private final String flavor;

        public ActivateInfoParameter(String str) {
            l.f(str, "flavor");
            this.flavor = str;
        }

        public static /* synthetic */ ActivateInfoParameter copy$default(ActivateInfoParameter activateInfoParameter, String str, int i2, Object obj) {
            if ((i2 & 1) != 0) {
                str = activateInfoParameter.flavor;
            }
            return activateInfoParameter.copy(str);
        }

        public final String component1() {
            return this.flavor;
        }

        public final ActivateInfoParameter copy(String str) {
            l.f(str, "flavor");
            return new ActivateInfoParameter(str);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof ActivateInfoParameter) && l.a(this.flavor, ((ActivateInfoParameter) obj).flavor);
        }

        public final String getFlavor() {
            return this.flavor;
        }

        public int hashCode() {
            return this.flavor.hashCode();
        }

        public String toString() {
            return a.q("ActivateInfoParameter(flavor=", this.flavor, ")");
        }
    }

    /* JADX INFO: compiled from: ActivateInfo.kt */
    @i
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(g gVar) {
            this();
        }
    }

    public ActivateInfo(String str, int i2, int i3, String str2) {
        l.f(str, "auth");
        l.f(str2, "activeIdentifier");
        this.auth = str;
        this.days = i2;
        this.errorCode = i3;
        this.activeIdentifier = str2;
    }

    public static /* synthetic */ ActivateInfo copy$default(ActivateInfo activateInfo, String str, int i2, int i3, String str2, int i4, Object obj) {
        if ((i4 & 1) != 0) {
            str = activateInfo.auth;
        }
        if ((i4 & 2) != 0) {
            i2 = activateInfo.days;
        }
        if ((i4 & 4) != 0) {
            i3 = activateInfo.errorCode;
        }
        if ((i4 & 8) != 0) {
            str2 = activateInfo.activeIdentifier;
        }
        return activateInfo.copy(str, i2, i3, str2);
    }

    public final String component1() {
        return this.auth;
    }

    public final int component2() {
        return this.days;
    }

    public final int component3() {
        return this.errorCode;
    }

    public final String component4() {
        return this.activeIdentifier;
    }

    public final ActivateInfo copy(String str, int i2, int i3, String str2) {
        l.f(str, "auth");
        l.f(str2, "activeIdentifier");
        return new ActivateInfo(str, i2, i3, str2);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof ActivateInfo)) {
            return false;
        }
        ActivateInfo activateInfo = (ActivateInfo) obj;
        return l.a(this.auth, activateInfo.auth) && this.days == activateInfo.days && this.errorCode == activateInfo.errorCode && l.a(this.activeIdentifier, activateInfo.activeIdentifier);
    }

    public final String getActiveIdentifier() {
        return this.activeIdentifier;
    }

    public final String getAuth() {
        return this.auth;
    }

    public final int getDays() {
        return this.days;
    }

    public final int getErrorCode() {
        return this.errorCode;
    }

    public int hashCode() {
        return this.activeIdentifier.hashCode() + ((Integer.hashCode(this.errorCode) + ((Integer.hashCode(this.days) + (this.auth.hashCode() * 31)) * 31)) * 31);
    }

    public String toString() {
        return "ActivateInfo(auth=" + this.auth + ", days=" + this.days + ", errorCode=" + this.errorCode + ", activeIdentifier=" + this.activeIdentifier + ")";
    }
}
