package com.ss.android.ugc.aweme.ecommerce.mall.bean;

import X.2HN;
import X.C4861Lqm;
import X.C4868Lqt;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.ecommerce.mall.tools.vo.ToolEntryVO;
import java.util.ArrayList;
import java.util.Objects;

public final class MallMainToolPanelBean {
    public boolean isNewStyle;
    public ToolNotification notifyData;
    public final ArrayList<ToolEntryVO> toolList;
    public C4868Lqt userType;
    public C4861Lqm viewType;

    static {
        Covode.recordClassIndex(70327);
    }

    public static /* synthetic */ MallMainToolPanelBean copy$default(MallMainToolPanelBean mallMainToolPanelBean, C4861Lqm lqm, ArrayList<ToolEntryVO> arrayList, C4868Lqt lqt, ToolNotification toolNotification, boolean z, int i, Object obj) {
        if ((i & 1) != 0) {
            lqm = mallMainToolPanelBean.viewType;
        }
        if ((i & 2) != 0) {
            arrayList = mallMainToolPanelBean.toolList;
        }
        if ((i & 4) != 0) {
            lqt = mallMainToolPanelBean.userType;
        }
        if ((i & 8) != 0) {
            toolNotification = mallMainToolPanelBean.notifyData;
        }
        if ((i & 16) != 0) {
            z = mallMainToolPanelBean.isNewStyle;
        }
        return mallMainToolPanelBean.copy(lqm, arrayList, lqt, toolNotification, z);
    }

    private Object[] getObjects() {
        return new Object[]{this.viewType, this.toolList, this.userType, this.notifyData, Boolean.valueOf(this.isNewStyle)};
    }

    public final MallMainToolPanelBean copy(C4861Lqm lqm, ArrayList<ToolEntryVO> arrayList, C4868Lqt lqt, ToolNotification toolNotification, boolean z) {
        ArrayList<ToolEntryVO> arrayList2 = arrayList;
        C4861Lqm lqm2 = lqm;
        C4868Lqt lqt2 = lqt;
        M12.LIZ(lqm2, arrayList2, lqt2);
        return new MallMainToolPanelBean(lqm2, arrayList2, lqt2, toolNotification, z);
    }

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

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

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

    public final ToolNotification getNotifyData() {
        return this.notifyData;
    }

    public final ArrayList<ToolEntryVO> getToolList() {
        return this.toolList;
    }

    public final C4868Lqt getUserType() {
        return this.userType;
    }

    public final C4861Lqm getViewType() {
        return this.viewType;
    }

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

    public final void setNewStyle(boolean z) {
        this.isNewStyle = z;
    }

    public final void setNotifyData(ToolNotification toolNotification) {
        this.notifyData = toolNotification;
    }

    public final void setUserType(C4868Lqt lqt) {
        M12.LIZ((Object) lqt);
        this.userType = lqt;
    }

    public final void setViewType(C4861Lqm lqm) {
        M12.LIZ((Object) lqm);
        this.viewType = lqm;
    }

    public MallMainToolPanelBean(C4861Lqm lqm, ArrayList<ToolEntryVO> arrayList, C4868Lqt lqt, ToolNotification toolNotification, boolean z) {
        M12.LIZ(lqm, arrayList, lqt);
        this.viewType = lqm;
        this.toolList = arrayList;
        this.userType = lqt;
        this.notifyData = toolNotification;
        this.isNewStyle = z;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ MallMainToolPanelBean(C4861Lqm lqm, ArrayList arrayList, C4868Lqt lqt, ToolNotification toolNotification, boolean z, int i, 2HN r13) {
        this(lqm, (i & 2) != 0 ? new ArrayList() : arrayList, (i & 4) != 0 ? C4868Lqt.UNKNOWN : lqt, (i & 8) != 0 ? null : toolNotification, (i & 16) != 0 ? true : z);
    }
}
