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.CategoryEffectModelTemplate;
import com.ss.ugc.effectplatform.model.Effect;
import java.io.Serializable;
import java.util.List;

public class CategoryEffectModel extends CategoryEffectModelTemplate implements Serializable {
    public final transient com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect;

    static {
        Covode.recordClassIndex(125376);
    }

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

    public com.ss.ugc.effectplatform.model.CategoryEffectModel getKCategoryEffect() {
        return this.kCategoryEffect;
    }

    public List<Effect> getBindEffects() {
        return super.getBindEffects();
    }

    public String getCategoryKey() {
        return super.getCategoryKey();
    }

    public List<Effect> getCollectEffects() {
        return super.getCollectEffects();
    }

    public List<Effect> getEffects() {
        return super.getEffects();
    }

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

    public int getSortingPosition() {
        return super.getSortingPosition();
    }

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

    public int getCursor() {
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 != null) {
            return kCategoryEffect2.getCursor();
        }
        return super.getCursor();
    }

    public boolean getHas_more() {
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 != null) {
            return kCategoryEffect2.getHas_more();
        }
        return super.getHas_more();
    }

    public int getSorting_position() {
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 != null) {
            return kCategoryEffect2.getSorting_position();
        }
        return super.getSorting_position();
    }

    public List<Effect> getBind_effects() {
        List<Effect> bind_effects;
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 == null || (bind_effects = kCategoryEffect2.getBind_effects()) == null) {
            return super.getBind_effects();
        }
        return bind_effects;
    }

    public String getCategory_key() {
        String category_key;
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 == null || (category_key = kCategoryEffect2.getCategory_key()) == null) {
            return super.getCategory_key();
        }
        return category_key;
    }

    public List<Effect> getCollection() {
        List<Effect> collection;
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 == null || (collection = kCategoryEffect2.getCollection()) == null) {
            return super.getCollection();
        }
        return collection;
    }

    public String getVersion() {
        String version;
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 == null || (version = kCategoryEffect2.getVersion()) == null) {
            return super.getVersion();
        }
        return version;
    }

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

    public void setSortingPosition(int i) {
        super.setSortingPosition(i);
    }

    public void setBindEffects(List<? extends Effect> list) {
        M12.LIZ(list);
        super.setBindEffects(list);
    }

    public void setCategoryKey(String str) {
        M12.LIZ(str);
        super.setCategoryKey(str);
    }

    public void setCollectEffects(List<? extends Effect> list) {
        M12.LIZ(list);
        super.setCollectEffects(list);
    }

    public void setEffects(List<? extends Effect> list) {
        M12.LIZ(list);
        super.setEffects(list);
    }

    public void setBind_effects(List<? extends Effect> list) {
        M12.LIZ(list);
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 != null) {
            kCategoryEffect2.setBind_effects(list);
        }
        super.setBind_effects(list);
    }

    public void setCategory_key(String str) {
        M12.LIZ(str);
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 != null) {
            kCategoryEffect2.setCategory_key(str);
        }
        super.setCategory_key(str);
    }

    public void setCollection(List<? extends Effect> list) {
        M12.LIZ(list);
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 != null) {
            kCategoryEffect2.setCollection(list);
        }
        super.setCollection(list);
    }

    public void setCursor(int i) {
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 != null) {
            kCategoryEffect2.setCursor(i);
        }
        super.setCursor(i);
    }

    public void setHas_more(boolean z) {
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 != null) {
            kCategoryEffect2.setHas_more(z);
        }
        super.setHas_more(z);
    }

    public void setSorting_position(int i) {
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 != null) {
            kCategoryEffect2.setSorting_position(i);
        }
        super.setSorting_position(i);
    }

    public void setVersion(String str) {
        M12.LIZ(str);
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 != null) {
            kCategoryEffect2.setVersion(str);
        }
        super.setVersion(str);
    }

    public CategoryEffectModel(com.ss.ugc.effectplatform.model.CategoryEffectModel categoryEffectModel) {
        super(categoryEffectModel);
        this.kCategoryEffect = categoryEffectModel;
        com.ss.ugc.effectplatform.model.CategoryEffectModel kCategoryEffect2 = getKCategoryEffect();
        if (kCategoryEffect2 != null) {
            List<Effect> bind_effects = kCategoryEffect2.getBind_effects();
            if (bind_effects != null) {
                super.setBind_effects(bind_effects);
            }
            List<Effect> category_effects = kCategoryEffect2.getCategory_effects();
            if (category_effects != null) {
                setCategory_effects(category_effects);
            }
            String category_key = kCategoryEffect2.getCategory_key();
            if (category_key != null) {
                super.setCategory_key(category_key);
            }
            List<Effect> collection = kCategoryEffect2.getCollection();
            if (collection != null) {
                super.setCollection(collection);
            }
            super.setCursor(kCategoryEffect2.getCursor());
            super.setHas_more(kCategoryEffect2.getHas_more());
            super.setSorting_position(kCategoryEffect2.getSorting_position());
            String version = kCategoryEffect2.getVersion();
            if (version != null) {
                super.setVersion(version);
            }
        }
    }

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