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

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

public final class MallMainRecommendBean {
    public boolean isCacheData;
    public boolean itemHasLoaded;
    public String recommendDataJsonStr;
    public String tabId;
    public String tabsJsonStr;
    public C4861Lqm viewType;

    static {
        Covode.recordClassIndex(70324);
    }

    public static /* synthetic */ MallMainRecommendBean copy$default(MallMainRecommendBean mallMainRecommendBean, C4861Lqm lqm, String str, String str2, boolean z, String str3, boolean z2, int i, Object obj) {
        if ((i & 1) != 0) {
            lqm = mallMainRecommendBean.viewType;
        }
        if ((i & 2) != 0) {
            str = mallMainRecommendBean.recommendDataJsonStr;
        }
        if ((i & 4) != 0) {
            str2 = mallMainRecommendBean.tabsJsonStr;
        }
        if ((i & 8) != 0) {
            z = mallMainRecommendBean.itemHasLoaded;
        }
        if ((i & 16) != 0) {
            str3 = mallMainRecommendBean.tabId;
        }
        if ((i & 32) != 0) {
            z2 = mallMainRecommendBean.isCacheData;
        }
        return mallMainRecommendBean.copy(lqm, str, str2, z, str3, z2);
    }

    private Object[] getObjects() {
        return new Object[]{this.viewType, this.recommendDataJsonStr, this.tabsJsonStr, Boolean.valueOf(this.itemHasLoaded), this.tabId, Boolean.valueOf(this.isCacheData)};
    }

    public final MallMainRecommendBean copy(C4861Lqm lqm, String str, String str2, boolean z, String str3, boolean z2) {
        C4861Lqm lqm2 = lqm;
        String str4 = str3;
        M12.LIZ((Object) lqm2, (Object) str4);
        return new MallMainRecommendBean(lqm2, str, str2, z, str4, z2);
    }

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

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

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

    public final boolean getItemHasLoaded() {
        return this.itemHasLoaded;
    }

    public final String getRecommendDataJsonStr() {
        return this.recommendDataJsonStr;
    }

    public final String getTabId() {
        return this.tabId;
    }

    public final String getTabsJsonStr() {
        return this.tabsJsonStr;
    }

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

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

    public final boolean hasLynxData() {
        String str = this.recommendDataJsonStr;
        if (str == null || str.length() == 0) {
            return false;
        }
        return true;
    }

    public final void setCacheData(boolean z) {
        this.isCacheData = z;
    }

    public final void setItemHasLoaded(boolean z) {
        this.itemHasLoaded = z;
    }

    public final void setRecommendDataJsonStr(String str) {
        this.recommendDataJsonStr = str;
    }

    public final void setTabsJsonStr(String str) {
        this.tabsJsonStr = str;
    }

    public final void setTabId(String str) {
        M12.LIZ((Object) str);
        this.tabId = str;
    }

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

    public MallMainRecommendBean(C4861Lqm lqm, String str, String str2, boolean z, String str3, boolean z2) {
        M12.LIZ((Object) lqm, (Object) str3);
        this.viewType = lqm;
        this.recommendDataJsonStr = str;
        this.tabsJsonStr = str2;
        this.itemHasLoaded = z;
        this.tabId = str3;
        this.isCacheData = z2;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ MallMainRecommendBean(C4861Lqm lqm, String str, String str2, boolean z, String str3, boolean z2, int i, 2HN r15) {
        this(lqm, (i & 2) != 0 ? null : str, (i & 4) == 0 ? str2 : null, (i & 8) != 0 ? false : z, (i & 16) != 0 ? "0" : str3, (i & 32) == 0 ? z2 : false);
    }
}
