package com.ss.android.ugc.aweme.badge;

import X.2HN;
import X.5Am;
import X.JTZ;
import X.M12;
import com.bytedance.covode.number.Covode;
import java.util.Objects;

public final class EditProfileBadgeState implements 5Am {
    public final JTZ result;

    static {
        Covode.recordClassIndex(54063);
    }

    public EditProfileBadgeState() {
        this((JTZ) null, 1, (2HN) null);
    }

    public static /* synthetic */ EditProfileBadgeState copy$default(EditProfileBadgeState editProfileBadgeState, JTZ jtz, int i, Object obj) {
        if ((i & 1) != 0) {
            jtz = editProfileBadgeState.result;
        }
        return editProfileBadgeState.copy(jtz);
    }

    private Object[] getObjects() {
        return new Object[]{this.result};
    }

    public final EditProfileBadgeState copy(JTZ jtz) {
        return new EditProfileBadgeState(jtz);
    }

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

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

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

    public final JTZ getResult() {
        return this.result;
    }

    public EditProfileBadgeState(JTZ jtz) {
        this.result = jtz;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ EditProfileBadgeState(JTZ jtz, int i, 2HN r4) {
        this((i & 1) != 0 ? null : jtz);
    }
}
