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

import X.TnV;
import com.bytedance.covode.number.Covode;

public class BaseFeedPageParams {
    public int awemeFromPage;
    public String challengeId;
    public String cid;
    public String eventType;
    public boolean isFromPostList;
    public boolean isMyProfile;
    public int pageType;
    public TnV param = new TnV();
    public boolean showVote;

    static {
        Covode.recordClassIndex(78882);
    }

    public static BaseFeedPageParams newBuilder() {
        return new BaseFeedPageParams();
    }

    public String getFromGroupId() {
        TnV tnV = this.param;
        if (tnV != null) {
            return tnV.getFromGroupId();
        }
        return null;
    }

    public String getPreviousPage() {
        TnV tnV = this.param;
        if (tnV != null) {
            return tnV.getPreviousPage();
        }
        return null;
    }

    public String getPreviousPagePosition() {
        TnV tnV = this.param;
        if (tnV != null) {
            return tnV.getPreviousPagePosition();
        }
        return null;
    }

    public Boolean isPlayListCleanMode() {
        TnV tnV = this.param;
        if (tnV != null) {
            return Boolean.valueOf(tnV.isPlaylistCleanMode());
        }
        return false;
    }

    public String toString() {
        return "BaseFeedPageParams{awemeFromPage=" + this.awemeFromPage + ", eventType='" + this.eventType + '\'' + ", isMyProfile=" + this.isMyProfile + ", isFromPostList=" + this.isFromPostList + ", pageType=" + this.pageType + '}';
    }

    public BaseFeedPageParams setAwemeFromPage(int i) {
        this.awemeFromPage = i;
        return this;
    }

    public BaseFeedPageParams setChallengeId(String str) {
        this.challengeId = str;
        return this;
    }

    public BaseFeedPageParams setCid(String str) {
        this.cid = str;
        return this;
    }

    public BaseFeedPageParams setEventType(String str) {
        this.eventType = str;
        return this;
    }

    public BaseFeedPageParams setFromPostList(boolean z) {
        this.isFromPostList = z;
        return this;
    }

    public BaseFeedPageParams setMyProfile(boolean z) {
        this.isMyProfile = z;
        return this;
    }

    public BaseFeedPageParams setPageType(int i) {
        this.pageType = i;
        return this;
    }

    public BaseFeedPageParams setParam(TnV tnV) {
        this.param = tnV;
        return this;
    }

    public BaseFeedPageParams setShowVote(boolean z) {
        this.showVote = z;
        return this;
    }
}
