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

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

public final class ProfileNaviSwitcherState implements 5Am {
    public boolean hasListBeenUpdated;
    public boolean hasMore;
    public boolean hasNaviChanged;
    public List<JF0> naviList;
    public boolean shouldCreateNewNavi;

    static {
        Covode.recordClassIndex(123599);
    }

    public ProfileNaviSwitcherState() {
        this((List) null, false, false, false, false, 31, (2HN) null);
    }

    public static /* synthetic */ ProfileNaviSwitcherState copy$default(ProfileNaviSwitcherState profileNaviSwitcherState, List<JF0> list, boolean z, boolean z2, boolean z3, boolean z4, int i, Object obj) {
        if ((i & 1) != 0) {
            list = profileNaviSwitcherState.naviList;
        }
        if ((i & 2) != 0) {
            z = profileNaviSwitcherState.hasMore;
        }
        if ((i & 4) != 0) {
            z2 = profileNaviSwitcherState.hasListBeenUpdated;
        }
        if ((i & 8) != 0) {
            z3 = profileNaviSwitcherState.hasNaviChanged;
        }
        if ((i & 16) != 0) {
            z4 = profileNaviSwitcherState.shouldCreateNewNavi;
        }
        return profileNaviSwitcherState.copy(list, z, z2, z3, z4);
    }

    private Object[] getObjects() {
        return new Object[]{this.naviList, Boolean.valueOf(this.hasMore), Boolean.valueOf(this.hasListBeenUpdated), Boolean.valueOf(this.hasNaviChanged), Boolean.valueOf(this.shouldCreateNewNavi)};
    }

    public final ProfileNaviSwitcherState copy(List<JF0> list, boolean z, boolean z2, boolean z3, boolean z4) {
        return new ProfileNaviSwitcherState(list, z, z2, z3, z4);
    }

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

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

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

    public final boolean getHasListBeenUpdated() {
        return this.hasListBeenUpdated;
    }

    public final boolean getHasMore() {
        return this.hasMore;
    }

    public final boolean getHasNaviChanged() {
        return this.hasNaviChanged;
    }

    public final List<JF0> getNaviList() {
        return this.naviList;
    }

    public final boolean getShouldCreateNewNavi() {
        return this.shouldCreateNewNavi;
    }

    public final void setHasListBeenUpdated(boolean z) {
        this.hasListBeenUpdated = z;
    }

    public final void setHasMore(boolean z) {
        this.hasMore = z;
    }

    public final void setHasNaviChanged(boolean z) {
        this.hasNaviChanged = z;
    }

    public final void setNaviList(List<JF0> list) {
        this.naviList = list;
    }

    public final void setShouldCreateNewNavi(boolean z) {
        this.shouldCreateNewNavi = z;
    }

    public ProfileNaviSwitcherState(List<JF0> list, boolean z, boolean z2, boolean z3, boolean z4) {
        this.naviList = list;
        this.hasMore = z;
        this.hasListBeenUpdated = z2;
        this.hasNaviChanged = z3;
        this.shouldCreateNewNavi = z4;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ ProfileNaviSwitcherState(List list, boolean z, boolean z2, boolean z3, boolean z4, int i, 2HN r13) {
        this((i & 1) != 0 ? null : list, (i & 2) != 0 ? true : z, (i & 4) != 0 ? false : z2, (i & 8) != 0 ? false : z3, (i & 16) == 0 ? z4 : false);
    }
}
