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

import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.util.List;
import java.util.Objects;

public final class CommonBlock {
    @c(LIZ = "card_list", LIZIZ = {"data"})
    public List<Card> cardList;
    @c(LIZ = "id", LIZIZ = {"key"})
    public String id;
    @c(LIZ = "style")
    public String style;

    static {
        Covode.recordClassIndex(70320);
    }

    public static /* synthetic */ CommonBlock copy$default(CommonBlock commonBlock, String str, List<Card> list, String str2, int i, Object obj) {
        if ((i & 1) != 0) {
            str = commonBlock.id;
        }
        if ((i & 2) != 0) {
            list = commonBlock.cardList;
        }
        if ((i & 4) != 0) {
            str2 = commonBlock.style;
        }
        return commonBlock.copy(str, list, str2);
    }

    private Object[] getObjects() {
        return new Object[]{this.id, this.cardList, this.style};
    }

    public final CommonBlock copy(String str, List<Card> list, String str2) {
        return new CommonBlock(str, list, str2);
    }

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

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

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

    public final List<Card> getCardList() {
        return this.cardList;
    }

    public final String getId() {
        return this.id;
    }

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

    public final void setCardList(List<Card> list) {
        this.cardList = list;
    }

    public final void setId(String str) {
        this.id = str;
    }

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

    public CommonBlock(String str, List<Card> list, String str2) {
        this.id = str;
        this.cardList = list;
        this.style = str2;
    }
}
