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

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

public final class ProfileNaviSpinnerState implements 5Am {
    public boolean shouldShowSpinner;

    static {
        Covode.recordClassIndex(123595);
    }

    public ProfileNaviSpinnerState() {
        this(false, 1, (2HN) null);
    }

    public static /* synthetic */ ProfileNaviSpinnerState copy$default(ProfileNaviSpinnerState profileNaviSpinnerState, boolean z, int i, Object obj) {
        if ((i & 1) != 0) {
            z = profileNaviSpinnerState.shouldShowSpinner;
        }
        return profileNaviSpinnerState.copy(z);
    }

    private Object[] getObjects() {
        return new Object[]{Boolean.valueOf(this.shouldShowSpinner)};
    }

    public final ProfileNaviSpinnerState copy(boolean z) {
        return new ProfileNaviSpinnerState(z);
    }

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

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

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

    public final boolean getShouldShowSpinner() {
        return this.shouldShowSpinner;
    }

    public final void setShouldShowSpinner(boolean z) {
        this.shouldShowSpinner = z;
    }

    public ProfileNaviSpinnerState(boolean z) {
        this.shouldShowSpinner = z;
    }

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