package com.ss.android.ugc.aweme.sharer.ui.experiment;

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

public final class IMUIConfig {
    @c(LIZ = "orientation")
    public final int orientation;
    @c(LIZ = "position")
    public final int position;

    static {
        Covode.recordClassIndex(108062);
    }

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

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

    public static /* synthetic */ IMUIConfig copy$default(IMUIConfig iMUIConfig, int i, int i2, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            i = iMUIConfig.position;
        }
        if ((i3 & 2) != 0) {
            i2 = iMUIConfig.orientation;
        }
        return iMUIConfig.copy(i, i2);
    }

    private Object[] getObjects() {
        return new Object[]{Integer.valueOf(this.position), Integer.valueOf(this.orientation)};
    }

    public final IMUIConfig copy(int i, int i2) {
        return new IMUIConfig(i, i2);
    }

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

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

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

    public final int getOrientation() {
        return this.orientation;
    }

    public final int getPosition() {
        return this.position;
    }

    public IMUIConfig(int i, int i2) {
        this.position = i;
        this.orientation = i2;
    }

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