package xyz.stream.api.entity;

import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import com.google.gson.annotations.SerializedName;
import java.util.List;
import tv.danmaku.ijk.media.player.IjkMediaMeta;
import xyz.stream.download.config.InnerConstant;

/* JADX INFO: loaded from: classes3.dex */
public class MatchEntity implements Parcelable {
    public static final Parcelable.Creator<MatchEntity> CREATOR = new Parcelable.Creator<MatchEntity>() { // from class: xyz.stream.api.entity.MatchEntity.1
        @Override // android.os.Parcelable.Creator
        public MatchEntity createFromParcel(Parcel parcel) {
            return new MatchEntity(parcel);
        }

        @Override // android.os.Parcelable.Creator
        public MatchEntity[] newArray(int i10) {
            return new MatchEntity[i10];
        }
    };

    @SerializedName("bannerUrl")
    private String bannerUrl;

    @SerializedName("channelList")
    private List<ChannelListEntity> channelList;

    /* JADX INFO: renamed from: id, reason: collision with root package name */
    @SerializedName(InnerConstant.Db.f36069id)
    private Integer f35854id;

    @SerializedName("leagueId")
    private Integer leagueId;

    @SerializedName("leagueName")
    private String leagueName;

    @SerializedName("playbackList")
    private List<PlaybackListEntity> playbackList;

    @SerializedName("score")
    private String score;

    @SerializedName("sportType")
    private String sportType;

    @SerializedName("state")
    private Integer state;

    @SerializedName("tags")
    private List<String> tags;

    @SerializedName("team1Logo")
    private String team1Logo;

    @SerializedName("team1Name")
    private String team1Name;

    @SerializedName("team1Score")
    private String team1Score;

    @SerializedName("team2Logo")
    private String team2Logo;

    @SerializedName("team2Name")
    private String team2Name;

    @SerializedName("team2Score")
    private String team2Score;

    @SerializedName("time")
    private String time;

    public static class ChannelListEntity implements Parcelable {
        public static final Parcelable.Creator<ChannelListEntity> CREATOR = new Parcelable.Creator<ChannelListEntity>() { // from class: xyz.stream.api.entity.MatchEntity.ChannelListEntity.1
            @Override // android.os.Parcelable.Creator
            public ChannelListEntity createFromParcel(Parcel parcel) {
                return new ChannelListEntity(parcel);
            }

            @Override // android.os.Parcelable.Creator
            public ChannelListEntity[] newArray(int i10) {
                return new ChannelListEntity[i10];
            }
        };

        @SerializedName("callSign")
        private String callSign;

        @SerializedName("categoryId")
        private Integer categoryId;

        @SerializedName("channelId")
        private Integer channelId;

        @SerializedName("channelName")
        private String channelName;

        @SerializedName("endTime")
        private String endTime;

        @SerializedName("epgTitle")
        private String epgTitle;

        @SerializedName(IjkMediaMeta.IJKM_KEY_LANGUAGE)
        private String language;

        @SerializedName("matchId")
        private Integer matchId;

        @SerializedName("pictureUrl")
        private String pictureUrl;

        @SerializedName("satellite")
        private String satellite;

        @SerializedName("startTime")
        private String startTime;

        public ChannelListEntity(Parcel parcel) {
            if (parcel.readByte() == 0) {
                this.matchId = null;
            } else {
                this.matchId = Integer.valueOf(parcel.readInt());
            }
            if (parcel.readByte() == 0) {
                this.categoryId = null;
            } else {
                this.categoryId = Integer.valueOf(parcel.readInt());
            }
            if (parcel.readByte() == 0) {
                this.channelId = null;
            } else {
                this.channelId = Integer.valueOf(parcel.readInt());
            }
            this.channelName = parcel.readString();
            this.callSign = parcel.readString();
            this.pictureUrl = parcel.readString();
            this.language = parcel.readString();
            this.satellite = parcel.readString();
            this.epgTitle = parcel.readString();
            this.startTime = parcel.readString();
            this.endTime = parcel.readString();
        }

        @Override // android.os.Parcelable
        public int describeContents() {
            return 0;
        }

        public String getCallSign() {
            return this.callSign;
        }

        public Integer getCategoryId() {
            return this.categoryId;
        }

        public Integer getChannelId() {
            return this.channelId;
        }

        public String getChannelName() {
            return this.channelName;
        }

        public String getEndTime() {
            return this.endTime;
        }

        public String getEpgTitle() {
            return this.epgTitle;
        }

        public String getLanguage() {
            return this.language;
        }

        public Integer getMatchId() {
            return this.matchId;
        }

        public String getPictureUrl() {
            return this.pictureUrl;
        }

        public String getSatellite() {
            return this.satellite;
        }

        public String getStartTime() {
            return this.startTime;
        }

        public void setCallSign(String str) {
            this.callSign = str;
        }

        public void setCategoryId(Integer num) {
            this.categoryId = num;
        }

        public void setChannelId(Integer num) {
            this.channelId = num;
        }

        public void setChannelName(String str) {
            this.channelName = str;
        }

        public void setEndTime(String str) {
            this.endTime = str;
        }

        public void setEpgTitle(String str) {
            this.epgTitle = str;
        }

        public void setLanguage(String str) {
            this.language = str;
        }

        public void setMatchId(Integer num) {
            this.matchId = num;
        }

        public void setPictureUrl(String str) {
            this.pictureUrl = str;
        }

        public void setSatellite(String str) {
            this.satellite = str;
        }

        public void setStartTime(String str) {
            this.startTime = str;
        }

        @Override // android.os.Parcelable
        public void writeToParcel(@NonNull Parcel parcel, int i10) {
            if (this.matchId == null) {
                parcel.writeByte((byte) 0);
            } else {
                parcel.writeByte((byte) 1);
                parcel.writeInt(this.matchId.intValue());
            }
            if (this.categoryId == null) {
                parcel.writeByte((byte) 0);
            } else {
                parcel.writeByte((byte) 1);
                parcel.writeInt(this.categoryId.intValue());
            }
            if (this.channelId == null) {
                parcel.writeByte((byte) 0);
            } else {
                parcel.writeByte((byte) 1);
                parcel.writeInt(this.channelId.intValue());
            }
            parcel.writeString(this.channelName);
            parcel.writeString(this.callSign);
            parcel.writeString(this.pictureUrl);
            parcel.writeString(this.language);
            parcel.writeString(this.satellite);
            parcel.writeString(this.epgTitle);
            parcel.writeString(this.startTime);
            parcel.writeString(this.endTime);
        }
    }

    public static class PlaybackListEntity implements Parcelable {
        public static final Parcelable.Creator<PlaybackListEntity> CREATOR = new Parcelable.Creator<PlaybackListEntity>() { // from class: xyz.stream.api.entity.MatchEntity.PlaybackListEntity.1
            @Override // android.os.Parcelable.Creator
            public PlaybackListEntity createFromParcel(Parcel parcel) {
                return new PlaybackListEntity(parcel);
            }

            @Override // android.os.Parcelable.Creator
            public PlaybackListEntity[] newArray(int i10) {
                return new PlaybackListEntity[i10];
            }
        };

        @SerializedName("callSign")
        private String callSign;

        @SerializedName("channelName")
        private String channelName;

        /* JADX INFO: renamed from: id, reason: collision with root package name */
        @SerializedName(InnerConstant.Db.f36069id)
        private Integer f35855id;

        @SerializedName("matchId")
        private Integer matchId;

        @SerializedName("playbackUrl")
        private String playbackUrl;

        @SerializedName("satellite")
        private String satellite;

        @SerializedName("sportType")
        private String sportType;

        public PlaybackListEntity(Parcel parcel) {
            if (parcel.readByte() == 0) {
                this.f35855id = null;
            } else {
                this.f35855id = Integer.valueOf(parcel.readInt());
            }
            if (parcel.readByte() == 0) {
                this.matchId = null;
            } else {
                this.matchId = Integer.valueOf(parcel.readInt());
            }
            this.channelName = parcel.readString();
            this.playbackUrl = parcel.readString();
            this.satellite = parcel.readString();
            this.callSign = parcel.readString();
            this.sportType = parcel.readString();
        }

        @Override // android.os.Parcelable
        public int describeContents() {
            return 0;
        }

        public String getCallSign() {
            return this.callSign;
        }

        public String getChannelName() {
            return this.channelName;
        }

        public Integer getId() {
            return this.f35855id;
        }

        public Integer getMatchId() {
            return this.matchId;
        }

        public String getPlaybackUrl() {
            return this.playbackUrl;
        }

        public String getSatellite() {
            return this.satellite;
        }

        public String getSportType() {
            return this.sportType;
        }

        public void setCallSign(String str) {
            this.callSign = str;
        }

        public void setChannelName(String str) {
            this.channelName = str;
        }

        public void setId(Integer num) {
            this.f35855id = num;
        }

        public void setMatchId(Integer num) {
            this.matchId = num;
        }

        public void setPlaybackUrl(String str) {
            this.playbackUrl = str;
        }

        public void setSatellite(String str) {
            this.satellite = str;
        }

        public void setSportType(String str) {
            this.sportType = str;
        }

        @Override // android.os.Parcelable
        public void writeToParcel(@NonNull Parcel parcel, int i10) {
            if (this.f35855id == null) {
                parcel.writeByte((byte) 0);
            } else {
                parcel.writeByte((byte) 1);
                parcel.writeInt(this.f35855id.intValue());
            }
            if (this.matchId == null) {
                parcel.writeByte((byte) 0);
            } else {
                parcel.writeByte((byte) 1);
                parcel.writeInt(this.matchId.intValue());
            }
            parcel.writeString(this.channelName);
            parcel.writeString(this.playbackUrl);
            parcel.writeString(this.satellite);
            parcel.writeString(this.callSign);
            parcel.writeString(this.sportType);
        }
    }

    public MatchEntity() {
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public String getBannerUrl() {
        return this.bannerUrl;
    }

    public List<ChannelListEntity> getChannelList() {
        return this.channelList;
    }

    public Integer getId() {
        return this.f35854id;
    }

    public Integer getLeagueId() {
        return this.leagueId;
    }

    public String getLeagueName() {
        return this.leagueName;
    }

    public List<PlaybackListEntity> getPlaybackList() {
        return this.playbackList;
    }

    public String getScore() {
        return this.score;
    }

    public String getSportType() {
        return this.sportType;
    }

    public Integer getState() {
        return this.state;
    }

    public List<String> getTags() {
        return this.tags;
    }

    public String getTeam1Logo() {
        return this.team1Logo;
    }

    public String getTeam1Name() {
        return this.team1Name;
    }

    public String getTeam1Score() {
        return this.team1Score;
    }

    public String getTeam2Logo() {
        return this.team2Logo;
    }

    public String getTeam2Name() {
        return this.team2Name;
    }

    public String getTeam2Score() {
        return this.team2Score;
    }

    public String getTime() {
        return this.time;
    }

    public void setBannerUrl(String str) {
        this.bannerUrl = str;
    }

    public void setChannelList(List<ChannelListEntity> list) {
        this.channelList = list;
    }

    public void setId(Integer num) {
        this.f35854id = num;
    }

    public void setLeagueId(Integer num) {
        this.leagueId = num;
    }

    public void setLeagueName(String str) {
        this.leagueName = str;
    }

    public void setPlaybackList(List<PlaybackListEntity> list) {
        this.playbackList = list;
    }

    public void setScore(String str) {
        this.score = str;
    }

    public void setSportType(String str) {
        this.sportType = str;
    }

    public void setState(Integer num) {
        this.state = num;
    }

    public void setTags(List<String> list) {
        this.tags = list;
    }

    public void setTeam1Logo(String str) {
        this.team1Logo = str;
    }

    public void setTeam1Name(String str) {
        this.team1Name = str;
    }

    public void setTeam1Score(String str) {
        this.team1Score = str;
    }

    public void setTeam2Logo(String str) {
        this.team2Logo = str;
    }

    public void setTeam2Name(String str) {
        this.team2Name = str;
    }

    public void setTeam2Score(String str) {
        this.team2Score = str;
    }

    public void setTime(String str) {
        this.time = str;
    }

    @Override // android.os.Parcelable
    public void writeToParcel(@NonNull Parcel parcel, int i10) {
        if (this.f35854id == null) {
            parcel.writeByte((byte) 0);
        } else {
            parcel.writeByte((byte) 1);
            parcel.writeInt(this.f35854id.intValue());
        }
        parcel.writeString(this.time);
        parcel.writeString(this.team1Name);
        parcel.writeString(this.team2Name);
        parcel.writeString(this.team1Score);
        parcel.writeString(this.team2Score);
        parcel.writeString(this.team1Logo);
        parcel.writeString(this.team2Logo);
        parcel.writeString(this.bannerUrl);
        if (this.state == null) {
            parcel.writeByte((byte) 0);
        } else {
            parcel.writeByte((byte) 1);
            parcel.writeInt(this.state.intValue());
        }
        parcel.writeString(this.score);
        if (this.leagueId == null) {
            parcel.writeByte((byte) 0);
        } else {
            parcel.writeByte((byte) 1);
            parcel.writeInt(this.leagueId.intValue());
        }
        parcel.writeString(this.leagueName);
        parcel.writeTypedList(this.playbackList);
        parcel.writeTypedList(this.channelList);
        parcel.writeStringList(this.tags);
        parcel.writeString(this.sportType);
    }

    public MatchEntity(Parcel parcel) {
        if (parcel.readByte() == 0) {
            this.f35854id = null;
        } else {
            this.f35854id = Integer.valueOf(parcel.readInt());
        }
        this.time = parcel.readString();
        this.team1Name = parcel.readString();
        this.team2Name = parcel.readString();
        this.team1Score = parcel.readString();
        this.team2Score = parcel.readString();
        this.team1Logo = parcel.readString();
        this.team2Logo = parcel.readString();
        this.bannerUrl = parcel.readString();
        if (parcel.readByte() == 0) {
            this.state = null;
        } else {
            this.state = Integer.valueOf(parcel.readInt());
        }
        this.score = parcel.readString();
        if (parcel.readByte() == 0) {
            this.leagueId = null;
        } else {
            this.leagueId = Integer.valueOf(parcel.readInt());
        }
        this.leagueName = parcel.readString();
        this.playbackList = parcel.createTypedArrayList(PlaybackListEntity.CREATOR);
        this.channelList = parcel.createTypedArrayList(ChannelListEntity.CREATOR);
        this.tags = parcel.createStringArrayList();
        this.sportType = parcel.readString();
    }
}
