package com.ss.android.ugc.aweme.account.login.model;

import X.M12;
import com.bytedance.covode.number.Covode;
import java.util.Objects;

public final class PhoneCountryData {
    public final int code;
    public final String displayname;
    public final String en;
    public final String key;

    static {
        Covode.recordClassIndex(51101);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_account_login_model_PhoneCountryData_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    public static /* synthetic */ PhoneCountryData copy$default(PhoneCountryData phoneCountryData, String str, String str2, int i, String str3, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = phoneCountryData.key;
        }
        if ((i2 & 2) != 0) {
            str2 = phoneCountryData.en;
        }
        if ((i2 & 4) != 0) {
            i = phoneCountryData.code;
        }
        if ((i2 & 8) != 0) {
            str3 = phoneCountryData.displayname;
        }
        return phoneCountryData.copy(str, str2, i, str3);
    }

    private Object[] getObjects() {
        return new Object[]{this.key, this.en, Integer.valueOf(this.code), this.displayname};
    }

    public final PhoneCountryData copy(String str, String str2, int i, String str3) {
        M12.LIZ(str, str2, str3);
        return new PhoneCountryData(str, str2, i, str3);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PhoneCountryData)) {
            return false;
        }
        return M12.LIZ(((PhoneCountryData) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("PhoneCountryData:%s,%s,%s,%s", getObjects());
    }

    public final int getCode() {
        return this.code;
    }

    public final String getDisplayname() {
        return this.displayname;
    }

    public final String getEn() {
        return this.en;
    }

    public final String getKey() {
        return this.key;
    }

    public PhoneCountryData(String str, String str2, int i, String str3) {
        M12.LIZ(str, str2, str3);
        this.key = str;
        this.en = str2;
        this.code = i;
        this.displayname = str3;
    }
}
