package com.ss.android.ugc.aweme.feed.ab;

import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.util.Objects;

public final class BottomGradualOptimizeConfig {
    @c(LIZ = "groupId")
    public final int groupId;
    @c(LIZ = "opacity")
    public final float opacity;

    static {
        Covode.recordClassIndex(76346);
    }

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

    public static /* synthetic */ BottomGradualOptimizeConfig copy$default(BottomGradualOptimizeConfig bottomGradualOptimizeConfig, int i, float f, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = bottomGradualOptimizeConfig.groupId;
        }
        if ((i2 & 2) != 0) {
            f = bottomGradualOptimizeConfig.opacity;
        }
        return bottomGradualOptimizeConfig.copy(i, f);
    }

    private Object[] getObjects() {
        return new Object[]{Integer.valueOf(this.groupId), Float.valueOf(this.opacity)};
    }

    public final BottomGradualOptimizeConfig copy(int i, float f) {
        return new BottomGradualOptimizeConfig(i, f);
    }

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

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

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

    public final int getGroupId() {
        return this.groupId;
    }

    public final float getOpacity() {
        return this.opacity;
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_feed_ab_BottomGradualOptimizeConfig_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(float f) {
        return Float.floatToIntBits(f);
    }

    public BottomGradualOptimizeConfig(int i, float f) {
        this.groupId = i;
        this.opacity = f;
    }
}
