package com.ss.android.ugc.aweme.discover.model;

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.discover.model.suggest.SuggestWordResponse;
import java.util.List;
import java.util.Objects;

public abstract class DiscoverSectionItem {
    static {
        Covode.recordClassIndex(65136);
    }

    public DiscoverSectionItem() {
    }

    public static final class SuggestSearchSection extends DiscoverSectionItem {
        public SuggestWordResponse suggestSearch;

        static {
            Covode.recordClassIndex(65138);
        }

        public static /* synthetic */ SuggestSearchSection copy$default(SuggestSearchSection suggestSearchSection, SuggestWordResponse suggestWordResponse, int i, Object obj) {
            if ((i & 1) != 0) {
                suggestWordResponse = suggestSearchSection.suggestSearch;
            }
            return suggestSearchSection.copy(suggestWordResponse);
        }

        private Object[] getObjects() {
            return new Object[]{this.suggestSearch};
        }

        public final SuggestSearchSection copy(SuggestWordResponse suggestWordResponse) {
            M12.LIZ(suggestWordResponse);
            return new SuggestSearchSection(suggestWordResponse);
        }

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

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

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

        public final void setSuggestSearch(SuggestWordResponse suggestWordResponse) {
            M12.LIZ(suggestWordResponse);
            this.suggestSearch = suggestWordResponse;
        }

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public SuggestSearchSection(SuggestWordResponse suggestWordResponse) {
            super((2HN) null);
            M12.LIZ(suggestWordResponse);
            this.suggestSearch = suggestWordResponse;
        }
    }

    public /* synthetic */ DiscoverSectionItem(2HN r1) {
        this();
    }

    public static final class BannerSection extends DiscoverSectionItem {
        public final List<Banner> bannerList;

        static {
            Covode.recordClassIndex(65137);
        }

        public static /* synthetic */ BannerSection copy$default(BannerSection bannerSection, List<Banner> list, int i, Object obj) {
            if ((i & 1) != 0) {
                list = bannerSection.bannerList;
            }
            return bannerSection.copy(list);
        }

        private Object[] getObjects() {
            return new Object[]{this.bannerList};
        }

        public final BannerSection copy(List<? extends Banner> list) {
            M12.LIZ(list);
            return new BannerSection(list);
        }

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

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

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

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public BannerSection(List<? extends Banner> list) {
            super((2HN) null);
            M12.LIZ(list);
            this.bannerList = list;
        }
    }

    public static final class TrendingTopicOrAdSection extends DiscoverSectionItem {
        public final TrendingTopicOrAd trendingTopicOrAd;

        static {
            Covode.recordClassIndex(65139);
        }

        public static /* synthetic */ TrendingTopicOrAdSection copy$default(TrendingTopicOrAdSection trendingTopicOrAdSection, TrendingTopicOrAd trendingTopicOrAd2, int i, Object obj) {
            if ((i & 1) != 0) {
                trendingTopicOrAd2 = trendingTopicOrAdSection.trendingTopicOrAd;
            }
            return trendingTopicOrAdSection.copy(trendingTopicOrAd2);
        }

        private Object[] getObjects() {
            return new Object[]{this.trendingTopicOrAd};
        }

        public final TrendingTopicOrAdSection copy(TrendingTopicOrAd trendingTopicOrAd2) {
            M12.LIZ(trendingTopicOrAd2);
            return new TrendingTopicOrAdSection(trendingTopicOrAd2);
        }

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

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

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

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public TrendingTopicOrAdSection(TrendingTopicOrAd trendingTopicOrAd2) {
            super((2HN) null);
            M12.LIZ(trendingTopicOrAd2);
            this.trendingTopicOrAd = trendingTopicOrAd2;
        }
    }
}
