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 xyz.stream.download.config.InnerConstant;

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

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

    @SerializedName("Items")
    private List<MediaServerItems> items;

    @SerializedName("path")
    private String path;

    @SerializedName("ServerId")
    private int serverId;

    @SerializedName("StartIndex")
    private int startIndex;

    @SerializedName("TotalRecordCount")
    private int totalRecordCount;

    public MediaServerEntity() {
    }

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

    public List<MediaServerItems> getItems() {
        return this.items;
    }

    public String getPath() {
        return this.path;
    }

    public int getServerId() {
        return this.serverId;
    }

    public int getStartIndex() {
        return this.startIndex;
    }

    public int getTotalRecordCount() {
        return this.totalRecordCount;
    }

    public void setItems(List<MediaServerItems> list) {
        this.items = list;
    }

    public void setPath(String str) {
        this.path = str;
    }

    public void setServerId(int i10) {
        this.serverId = i10;
    }

    public void setStartIndex(int i10) {
        this.startIndex = i10;
    }

    public void setTotalRecordCount(int i10) {
        this.totalRecordCount = i10;
    }

    @Override // android.os.Parcelable
    public void writeToParcel(@NonNull Parcel parcel, int i10) {
        parcel.writeInt(this.totalRecordCount);
        parcel.writeString(this.path);
        parcel.writeInt(this.startIndex);
        parcel.writeInt(this.serverId);
    }

    public MediaServerEntity(List<MediaServerItems> list, int i10, String str, int i11, int i12) {
        this.items = list;
        this.totalRecordCount = i10;
        this.path = str;
        this.startIndex = i11;
        this.serverId = i12;
    }

    public MediaServerEntity(Parcel parcel) {
        this.totalRecordCount = parcel.readInt();
        this.path = parcel.readString();
        this.startIndex = parcel.readInt();
        this.serverId = parcel.readInt();
    }

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

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

        @SerializedName("ImageTags")
        List<Object> backdropImageTags;

        @SerializedName("ChannelId")
        Object channelId;

        @SerializedName("CollectionType")
        private String collectionType;

        @SerializedName("extension")
        private String extension;

        /* JADX INFO: renamed from: id, reason: collision with root package name */
        @SerializedName("Id")
        private String f35856id;

        @SerializedName("IsFolder")
        boolean isFolder;
        private boolean isSelected;

        @SerializedName("LocationType")
        private String locationType;

        @SerializedName("MediaType")
        private String mediaType;

        @SerializedName("Name")
        private String name;

        @SerializedName("path")
        private String path;

        @SerializedName("ServerId")
        private String serverId;

        @SerializedName(InnerConstant.Db.size)
        private int size;

        @SerializedName("Type")
        private String type;

        public MediaServerItems(Parcel parcel) {
            this.isSelected = false;
            this.name = parcel.readString();
            this.serverId = parcel.readString();
            this.path = parcel.readString();
            this.f35856id = parcel.readString();
            this.size = parcel.readInt();
            this.extension = parcel.readString();
            this.isFolder = parcel.readByte() != 0;
            this.type = parcel.readString();
            this.collectionType = parcel.readString();
            this.locationType = parcel.readString();
            this.mediaType = parcel.readString();
            this.isSelected = parcel.readByte() != 0;
        }

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

        public List<Object> getBackdropImageTags() {
            return this.backdropImageTags;
        }

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

        public String getCollectionType() {
            return this.collectionType;
        }

        public String getExtension() {
            return this.extension;
        }

        public String getId() {
            return this.f35856id;
        }

        public String getLocationType() {
            return this.locationType;
        }

        public String getMediaType() {
            return this.mediaType;
        }

        public String getName() {
            return this.name;
        }

        public String getPath() {
            return this.path;
        }

        public String getServerId() {
            return this.serverId;
        }

        public int getSize() {
            return this.size;
        }

        public String getType() {
            return this.type;
        }

        public boolean isFolder() {
            return this.isFolder;
        }

        public boolean isSelected() {
            return this.isSelected;
        }

        public void setBackdropImageTags(List<Object> list) {
            this.backdropImageTags = list;
        }

        public void setChannelId(Object obj) {
            this.channelId = obj;
        }

        public void setCollectionType(String str) {
            this.collectionType = str;
        }

        public void setExtension(String str) {
            this.extension = str;
        }

        public void setFolder(boolean z10) {
            this.isFolder = z10;
        }

        public void setId(String str) {
            this.f35856id = str;
        }

        public void setLocationType(String str) {
            this.locationType = str;
        }

        public void setMediaType(String str) {
            this.mediaType = str;
        }

        public void setName(String str) {
            this.name = str;
        }

        public void setPath(String str) {
            this.path = str;
        }

        public void setSelected(boolean z10) {
            this.isSelected = z10;
        }

        public void setServerId(String str) {
            this.serverId = str;
        }

        public void setSize(int i10) {
            this.size = i10;
        }

        public void setType(String str) {
            this.type = str;
        }

        @Override // android.os.Parcelable
        public void writeToParcel(@NonNull Parcel parcel, int i10) {
            parcel.writeString(this.name);
            parcel.writeString(this.serverId);
            parcel.writeString(this.path);
            parcel.writeString(this.f35856id);
            parcel.writeInt(this.size);
            parcel.writeString(this.extension);
            parcel.writeByte(this.isFolder ? (byte) 1 : (byte) 0);
            parcel.writeString(this.type);
            parcel.writeString(this.collectionType);
            parcel.writeString(this.locationType);
            parcel.writeString(this.mediaType);
            parcel.writeByte(this.isSelected ? (byte) 1 : (byte) 0);
        }

        public MediaServerItems() {
            this.isSelected = false;
        }

        public MediaServerItems(String str, String str2, String str3, String str4, int i10, String str5, Object obj, boolean z10, String str6, String str7, List<Object> list, String str8, String str9) {
            this.isSelected = false;
            this.name = str;
            this.serverId = str2;
            this.path = str3;
            this.f35856id = str4;
            this.size = i10;
            this.extension = str5;
            this.channelId = obj;
            this.isFolder = z10;
            this.type = str6;
            this.collectionType = str7;
            this.backdropImageTags = list;
            this.locationType = str8;
            this.mediaType = str9;
        }
    }
}
