package com.ss.android.ugc.aweme.services.beauty;

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

public final class BeautyAbSetting {
    public final int abGroup;
    public final boolean isDataSync;

    static {
        Covode.recordClassIndex(105197);
    }

    public BeautyAbSetting() {
        this(false, 0, 3, (AnonymousClass2HN) null);
    }

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

    public static /* synthetic */ BeautyAbSetting copy$default(BeautyAbSetting beautyAbSetting, boolean z, int i, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            z = beautyAbSetting.isDataSync;
        }
        if ((i2 & 2) != 0) {
            i = beautyAbSetting.abGroup;
        }
        return beautyAbSetting.copy(z, i);
    }

    private Object[] getObjects() {
        return new Object[]{Boolean.valueOf(this.isDataSync), Integer.valueOf(this.abGroup)};
    }

    public final BeautyAbSetting copy(boolean z, int i) {
        return new BeautyAbSetting(z, i);
    }

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

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

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

    public final int getAbGroup() {
        return this.abGroup;
    }

    public final boolean isDataSync() {
        return this.isDataSync;
    }

    public BeautyAbSetting(boolean z, int i) {
        this.isDataSync = z;
        this.abGroup = i;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ BeautyAbSetting(boolean z, int i, int i2, AnonymousClass2HN r6) {
        this((i2 & 1) != 0 ? false : z, (i2 & 2) != 0 ? 0 : i);
    }
}
