package com.ss.android.ugc.effectmanager.effect.model;

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.effectmanager.effect.model.template.ProviderEffectModelTemplate;
import com.ss.ugc.effectplatform.model.ProviderEffect;
import java.io.Serializable;
import java.util.List;

public final class ProviderEffectModel extends ProviderEffectModelTemplate implements Serializable {
    public final transient com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect;

    static {
        Covode.recordClassIndex(125400);
    }

    public ProviderEffectModel() {
        this((com.ss.ugc.effectplatform.model.ProviderEffectModel) null, 1, (2HN) null);
    }

    public final com.ss.ugc.effectplatform.model.ProviderEffectModel getKProviderEffect() {
        return this.kProviderEffect;
    }

    public final boolean getHasMore() {
        return super.getHasMore();
    }

    public final String getSearchTips() {
        return super.getSearchTips();
    }

    public final List<ProviderEffect> getStickerList() {
        return super.getStickerList();
    }

    public final boolean hasMore() {
        return super.hasMore();
    }

    public final int getCursor() {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            return kProviderEffect2.getCursor();
        }
        return super.getCursor();
    }

    public final boolean getHas_more() {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            return kProviderEffect2.getHas_more();
        }
        return super.getHas_more();
    }

    public final String getExtra() {
        String extra;
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (extra = kProviderEffect2.getExtra()) == null) {
            return super.getExtra();
        }
        return extra;
    }

    public final String getImpression_id() {
        String impression_id;
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (impression_id = kProviderEffect2.getImpression_id()) == null) {
            return super.getImpression_id();
        }
        return impression_id;
    }

    public final Integer getLast_clip_cursor() {
        Integer last_clip_cursor;
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (last_clip_cursor = kProviderEffect2.getLast_clip_cursor()) == null) {
            return super.getLast_clip_cursor();
        }
        return last_clip_cursor;
    }

    public final Integer getLast_gif_cursor() {
        Integer last_gif_cursor;
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (last_gif_cursor = kProviderEffect2.getLast_gif_cursor()) == null) {
            return super.getLast_gif_cursor();
        }
        return last_gif_cursor;
    }

    public final List<ProviderEffect> getLibrary_list() {
        List<ProviderEffect> library_list;
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (library_list = kProviderEffect2.getLibrary_list()) == null) {
            return super.getLibrary_list();
        }
        return library_list;
    }

    public final String getMedia_source() {
        String media_source;
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (media_source = kProviderEffect2.getMedia_source()) == null) {
            return super.getMedia_source();
        }
        return media_source;
    }

    public final String getSearch_tips() {
        String search_tips;
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (search_tips = kProviderEffect2.getSearch_tips()) == null) {
            return super.getSearch_tips();
        }
        return search_tips;
    }

    public final List<ProviderEffect> getSticker_list() {
        List<ProviderEffect> sticker_list;
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (sticker_list = kProviderEffect2.getSticker_list()) == null) {
            return super.getSticker_list();
        }
        return sticker_list;
    }

    public final String getSubtitle() {
        String subtitle;
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (subtitle = kProviderEffect2.getSubtitle()) == null) {
            return super.getSubtitle();
        }
        return subtitle;
    }

    public final void setHasMore(boolean z) {
        super.setHasMore(z);
    }

    public final void setSearchTips(String str) {
        super.setSearchTips(str);
    }

    public final void setStickerList(List<ProviderEffect> list) {
        M12.LIZ(list);
        super.setStickerList(list);
    }

    public final void setCursor(int i) {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setCursor(i);
        }
        super.setCursor(i);
    }

    public final void setExtra(String str) {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setExtra(str);
        }
        super.setExtra(str);
    }

    public final void setHas_more(boolean z) {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setHas_more(z);
        }
        super.setHas_more(z);
    }

    public final void setImpression_id(String str) {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setImpression_id(str);
        }
        super.setImpression_id(str);
    }

    public final void setLast_clip_cursor(Integer num) {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setLast_clip_cursor(num);
        }
        super.setLast_clip_cursor(num);
    }

    public final void setLast_gif_cursor(Integer num) {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setLast_gif_cursor(num);
        }
        super.setLast_gif_cursor(num);
    }

    public final void setLibrary_list(List<? extends ProviderEffect> list) {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setLibrary_list(list);
        }
        super.setLibrary_list(list);
    }

    public final void setMedia_source(String str) {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setMedia_source(str);
        }
        super.setMedia_source(str);
    }

    public final void setSearch_tips(String str) {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setSearch_tips(str);
        }
        super.setSearch_tips(str);
    }

    public final void setSticker_list(List<? extends ProviderEffect> list) {
        M12.LIZ(list);
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setSticker_list(list);
        }
        super.setSticker_list(list);
    }

    public final void setSubtitle(String str) {
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setSubtitle(str);
        }
        super.setSubtitle(str);
    }

    public ProviderEffectModel(com.ss.ugc.effectplatform.model.ProviderEffectModel providerEffectModel) {
        super(providerEffectModel);
        this.kProviderEffect = providerEffectModel;
        com.ss.ugc.effectplatform.model.ProviderEffectModel kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            super.setCursor(kProviderEffect2.getCursor());
            String extra = kProviderEffect2.getExtra();
            if (extra != null) {
                super.setExtra(extra);
            }
            super.setHas_more(kProviderEffect2.getHas_more());
            String impression_id = kProviderEffect2.getImpression_id();
            if (impression_id != null) {
                super.setImpression_id(impression_id);
            }
            Integer last_clip_cursor = kProviderEffect2.getLast_clip_cursor();
            if (last_clip_cursor != null) {
                super.setLast_clip_cursor(Integer.valueOf(last_clip_cursor.intValue()));
            }
            Integer last_gif_cursor = kProviderEffect2.getLast_gif_cursor();
            if (last_gif_cursor != null) {
                super.setLast_gif_cursor(Integer.valueOf(last_gif_cursor.intValue()));
            }
            List<ProviderEffect> library_list = kProviderEffect2.getLibrary_list();
            if (library_list != null) {
                super.setLibrary_list(library_list);
            }
            String media_source = kProviderEffect2.getMedia_source();
            if (media_source != null) {
                super.setMedia_source(media_source);
            }
            String search_tips = kProviderEffect2.getSearch_tips();
            if (search_tips != null) {
                super.setSearch_tips(search_tips);
            }
            List<ProviderEffect> sticker_list = kProviderEffect2.getSticker_list();
            if (sticker_list != null) {
                super.setSticker_list(sticker_list);
            }
            String subtitle = kProviderEffect2.getSubtitle();
            if (subtitle != null) {
                super.setSubtitle(subtitle);
            }
        }
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ ProviderEffectModel(com.ss.ugc.effectplatform.model.ProviderEffectModel providerEffectModel, int i, 2HN r4) {
        this((i & 1) != 0 ? null : providerEffectModel);
    }
}
