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

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.base.api.BaseResponse;
import java.util.List;
import java.util.Map;
import java.util.Objects;

public final class MallMainResponse extends BaseResponse {
    @c(LIZ = "block_list")
    public List<CommonBlock> blockList;
    @c(LIZ = "block_serialization_map")
    public Map<String, CommonBlockSerialization> blockSerializationMap;
    @c(LIZ = "channel_scene_id")
    public String channelSceneId;
    @c(LIZ = "style")
    public String style;

    static {
        Covode.recordClassIndex(70326);
    }

    public static /* synthetic */ MallMainResponse copy$default(MallMainResponse mallMainResponse, List<CommonBlock> list, String str, Map<String, CommonBlockSerialization> map, String str2, int i, Object obj) {
        if ((i & 1) != 0) {
            list = mallMainResponse.blockList;
        }
        if ((i & 2) != 0) {
            str = mallMainResponse.style;
        }
        if ((i & 4) != 0) {
            map = mallMainResponse.blockSerializationMap;
        }
        if ((i & 8) != 0) {
            str2 = mallMainResponse.channelSceneId;
        }
        return mallMainResponse.copy(list, str, map, str2);
    }

    private Object[] getObjects() {
        return new Object[]{this.blockList, this.style, this.blockSerializationMap, this.channelSceneId};
    }

    public final MallMainResponse copy(List<CommonBlock> list, String str, Map<String, CommonBlockSerialization> map, String str2) {
        return new MallMainResponse(list, str, map, str2);
    }

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

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

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

    public final List<CommonBlock> getBlockList() {
        return this.blockList;
    }

    public final Map<String, CommonBlockSerialization> getBlockSerializationMap() {
        return this.blockSerializationMap;
    }

    public final String getChannelSceneId() {
        return this.channelSceneId;
    }

    public final String getStyle() {
        return this.style;
    }

    public final boolean hasLynxData() {
        Map<String, CommonBlockSerialization> map = this.blockSerializationMap;
        if (map == null || map.isEmpty()) {
            return false;
        }
        return true;
    }

    public final void setBlockList(List<CommonBlock> list) {
        this.blockList = list;
    }

    public final void setBlockSerializationMap(Map<String, CommonBlockSerialization> map) {
        this.blockSerializationMap = map;
    }

    public final void setChannelSceneId(String str) {
        this.channelSceneId = str;
    }

    public final void setStyle(String str) {
        this.style = str;
    }

    public MallMainResponse(List<CommonBlock> list, String str, Map<String, CommonBlockSerialization> map, String str2) {
        this.blockList = list;
        this.style = str;
        this.blockSerializationMap = map;
        this.channelSceneId = str2;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ MallMainResponse(List list, String str, Map map, String str2, int i, 2HN r7) {
        this(list, str, map, (i & 8) != 0 ? null : str2);
    }
}
