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

public final class EffectChannelModel extends EffectChannelModelTemplate implements Serializable {
    public final transient com.ss.ugc.effectplatform.model.EffectChannelModel kChannelModel;

    static {
        Covode.recordClassIndex(125389);
    }

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

    public final com.ss.ugc.effectplatform.model.EffectChannelModel getKChannelModel() {
        return this.kChannelModel;
    }

    public final List<EffectCategoryModel> getCategory() {
        return super.getCategory();
    }

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

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

    public final EffectPanelModel getPanel() {
        return super.getPanel();
    }

    public final List<String> getUrlPrefix() {
        return super.getUrlPrefix();
    }

    public final String getFront_effect_id() {
        String front_effect_id;
        com.ss.ugc.effectplatform.model.EffectChannelModel kChannelModel2 = getKChannelModel();
        if (kChannelModel2 == null || (front_effect_id = kChannelModel2.getFront_effect_id()) == null) {
            return super.getFront_effect_id();
        }
        return front_effect_id;
    }

    public final String getRear_effect_id() {
        String rear_effect_id;
        com.ss.ugc.effectplatform.model.EffectChannelModel kChannelModel2 = getKChannelModel();
        if (kChannelModel2 == null || (rear_effect_id = kChannelModel2.getRear_effect_id()) == null) {
            return super.getRear_effect_id();
        }
        return rear_effect_id;
    }

    public final List<String> getUrl_prefix() {
        List<String> url_prefix;
        com.ss.ugc.effectplatform.model.EffectChannelModel kChannelModel2 = getKChannelModel();
        if (kChannelModel2 == null || (url_prefix = kChannelModel2.getUrl_prefix()) == null) {
            return super.getUrl_prefix();
        }
        return url_prefix;
    }

    public final String getVersion() {
        String version;
        com.ss.ugc.effectplatform.model.EffectChannelModel kChannelModel2 = getKChannelModel();
        if (kChannelModel2 == null || (version = kChannelModel2.getVersion()) == null) {
            return super.getVersion();
        }
        return version;
    }

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

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

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

    public final void setPanel(EffectPanelModel effectPanelModel) {
        M12.LIZ(effectPanelModel);
        super.setPanel(effectPanelModel);
    }

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

    public final void setFront_effect_id(String str) {
        com.ss.ugc.effectplatform.model.EffectChannelModel kChannelModel2 = getKChannelModel();
        if (kChannelModel2 != null) {
            kChannelModel2.setFront_effect_id(str);
        }
        super.setFront_effect_id(str);
    }

    public final void setRear_effect_id(String str) {
        com.ss.ugc.effectplatform.model.EffectChannelModel kChannelModel2 = getKChannelModel();
        if (kChannelModel2 != null) {
            kChannelModel2.setRear_effect_id(str);
        }
        super.setRear_effect_id(str);
    }

    public final void setUrl_prefix(List<String> list) {
        M12.LIZ(list);
        com.ss.ugc.effectplatform.model.EffectChannelModel kChannelModel2 = getKChannelModel();
        if (kChannelModel2 != null) {
            kChannelModel2.setUrl_prefix(list);
        }
        super.setUrl_prefix(list);
    }

    public final void setVersion(String str) {
        com.ss.ugc.effectplatform.model.EffectChannelModel kChannelModel2 = getKChannelModel();
        if (kChannelModel2 != null) {
            kChannelModel2.setVersion(str);
        }
        super.setVersion(str);
    }

    public EffectChannelModel(com.ss.ugc.effectplatform.model.EffectChannelModel effectChannelModel) {
        super(effectChannelModel);
        this.kChannelModel = effectChannelModel;
        com.ss.ugc.effectplatform.model.EffectChannelModel kChannelModel2 = getKChannelModel();
        if (kChannelModel2 != null) {
            List<EffectCategoryModel> category_list = kChannelModel2.getCategory_list();
            if (category_list != null) {
                setCategory_list(category_list);
            }
            List<Effect> collection_list = kChannelModel2.getCollection_list();
            if (collection_list != null) {
                setCollection_list(collection_list);
            }
            List<Effect> effect_list = kChannelModel2.getEffect_list();
            if (effect_list != null) {
                setEffect_list(effect_list);
            }
            String front_effect_id = kChannelModel2.getFront_effect_id();
            if (front_effect_id != null) {
                super.setFront_effect_id(front_effect_id);
            }
            EffectPanelModel panel_model = kChannelModel2.getPanel_model();
            if (panel_model != null) {
                setPanel_model(panel_model);
            }
            String rear_effect_id = kChannelModel2.getRear_effect_id();
            if (rear_effect_id != null) {
                super.setRear_effect_id(rear_effect_id);
            }
            List<String> url_prefix = kChannelModel2.getUrl_prefix();
            if (url_prefix != null) {
                super.setUrl_prefix(url_prefix);
            }
            String version = kChannelModel2.getVersion();
            if (version != null) {
                super.setVersion(version);
            }
        }
    }

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