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.ProviderEffectTemplate;
import com.ss.ugc.effectplatform.model.ProviderEffect;
import java.io.Serializable;

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

    static {
        Covode.recordClassIndex(125398);
    }

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

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

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

    public final StickerBean getSticker() {
        return super.getSticker();
    }

    public final StickerBean getThumbnailSticker() {
        return super.getThumbnailSticker();
    }

    public final ProviderEffect.AuthorBean getAuthor() {
        ProviderEffect.AuthorBean author;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (author = kProviderEffect2.getAuthor()) == null) {
            return super.getAuthor();
        }
        return author;
    }

    public final String getClick_url() {
        String click_url;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (click_url = kProviderEffect2.getClick_url()) == null) {
            return super.getClick_url();
        }
        return click_url;
    }

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

    public final String getHeight() {
        String height;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (height = kProviderEffect2.getHeight()) == null) {
            return super.getHeight();
        }
        return height;
    }

    public final String getId() {
        String id;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (id = kProviderEffect2.getId()) == null) {
            return super.getId();
        }
        return id;
    }

    public final Integer getLibrary_material_type() {
        Integer library_material_type;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (library_material_type = kProviderEffect2.getLibrary_material_type()) == null) {
            return super.getLibrary_material_type();
        }
        return library_material_type;
    }

    public final String getMaterial_description() {
        String material_description;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (material_description = kProviderEffect2.getMaterial_description()) == null) {
            return super.getMaterial_description();
        }
        return material_description;
    }

    public final String getMaterial_mp4_url() {
        String material_mp4_url;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (material_mp4_url = kProviderEffect2.getMaterial_mp4_url()) == null) {
            return super.getMaterial_mp4_url();
        }
        return material_mp4_url;
    }

    public final String getPath() {
        String path;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (path = kProviderEffect2.getPath()) == null) {
            return super.getPath();
        }
        return path;
    }

    public final String getPreview_webp() {
        String preview_webp;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (preview_webp = kProviderEffect2.getPreview_webp()) == null) {
            return super.getPreview_webp();
        }
        return preview_webp;
    }

    public final ProviderEffect.StickerBean getThumbnail_sticker() {
        ProviderEffect.StickerBean thumbnail_sticker;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (thumbnail_sticker = kProviderEffect2.getThumbnail_sticker()) == null) {
            return super.getThumbnail_sticker();
        }
        return thumbnail_sticker;
    }

    public final String getTitle() {
        String title;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (title = kProviderEffect2.getTitle()) == null) {
            return super.getTitle();
        }
        return title;
    }

    public final String getUser_name() {
        String user_name;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (user_name = kProviderEffect2.getUser_name()) == null) {
            return super.getUser_name();
        }
        return user_name;
    }

    public final ProviderEffect.Video getVideo() {
        ProviderEffect.Video video;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (video = kProviderEffect2.getVideo()) == null) {
            return super.getVideo();
        }
        return video;
    }

    public final String getWidth() {
        String width;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 == null || (width = kProviderEffect2.getWidth()) == null) {
            return super.getWidth();
        }
        return width;
    }

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

    public final void setSticker(StickerBean stickerBean) {
        super.setSticker(stickerBean);
    }

    public final void setThumbnailSticker(StickerBean stickerBean) {
        super.setThumbnailSticker(stickerBean);
    }

    public final void setAuthor(ProviderEffect.AuthorBean authorBean) {
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setAuthor(authorBean);
        }
        super.setAuthor(authorBean);
    }

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

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

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

    public final void setId(String str) {
        M12.LIZ(str);
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setId(str);
        }
        super.setId(str);
    }

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

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

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

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

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

    public final void setThumbnail_sticker(ProviderEffect.StickerBean stickerBean) {
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setThumbnail_sticker(stickerBean);
        }
        super.setThumbnail_sticker(stickerBean);
    }

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

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

    public final void setVideo(ProviderEffect.Video video) {
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            kProviderEffect2.setVideo(video);
        }
        super.setVideo(video);
    }

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

    public ProviderEffect(com.ss.ugc.effectplatform.model.ProviderEffect providerEffect) {
        super(providerEffect);
        this.kProviderEffect = providerEffect;
        com.ss.ugc.effectplatform.model.ProviderEffect kProviderEffect2 = getKProviderEffect();
        if (kProviderEffect2 != null) {
            ProviderEffect.AuthorBean author = kProviderEffect2.getAuthor();
            if (author != null) {
                super.setAuthor(author);
            }
            String click_url = kProviderEffect2.getClick_url();
            if (click_url != null) {
                super.setClick_url(click_url);
            }
            String extra = kProviderEffect2.getExtra();
            if (extra != null) {
                super.setExtra(extra);
            }
            String height = kProviderEffect2.getHeight();
            if (height != null) {
                super.setHeight(height);
            }
            String id = kProviderEffect2.getId();
            if (id != null) {
                super.setId(id);
            }
            Integer library_material_type = kProviderEffect2.getLibrary_material_type();
            if (library_material_type != null) {
                super.setLibrary_material_type(Integer.valueOf(library_material_type.intValue()));
            }
            String material_description = kProviderEffect2.getMaterial_description();
            if (material_description != null) {
                super.setMaterial_description(material_description);
            }
            String material_mp4_url = kProviderEffect2.getMaterial_mp4_url();
            if (material_mp4_url != null) {
                super.setMaterial_mp4_url(material_mp4_url);
            }
            String path = kProviderEffect2.getPath();
            if (path != null) {
                super.setPath(path);
            }
            String preview_webp = kProviderEffect2.getPreview_webp();
            if (preview_webp != null) {
                super.setPreview_webp(preview_webp);
            }
            ProviderEffect.StickerBean sticker_info = kProviderEffect2.getSticker_info();
            if (sticker_info != null) {
                setSticker_info(sticker_info);
            }
            ProviderEffect.StickerBean thumbnail_sticker = kProviderEffect2.getThumbnail_sticker();
            if (thumbnail_sticker != null) {
                super.setThumbnail_sticker(thumbnail_sticker);
            }
            String title = kProviderEffect2.getTitle();
            if (title != null) {
                super.setTitle(title);
            }
            String user_name = kProviderEffect2.getUser_name();
            if (user_name != null) {
                super.setUser_name(user_name);
            }
            ProviderEffect.Video video = kProviderEffect2.getVideo();
            if (video != null) {
                super.setVideo(video);
            }
            String width = kProviderEffect2.getWidth();
            if (width != null) {
                super.setWidth(width);
            }
        }
    }

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