/** * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 10.8.9 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './models'; import { BaseItemDtoImageBlurHashes } from './baseItemDtoImageBlurHashes'; import { BaseItemDtoUserData } from './baseItemDtoUserData'; import { BaseItemKind } from './baseItemKind'; import { BaseItemPerson } from './baseItemPerson'; import { ChannelType } from './channelType'; import { ChapterInfo } from './chapterInfo'; import { DayOfWeek } from './dayOfWeek'; import { ExternalUrl } from './externalUrl'; import { ImageOrientation } from './imageOrientation'; import { IsoType } from './isoType'; import { LocationType } from './locationType'; import { MediaSourceInfo } from './mediaSourceInfo'; import { MediaStream } from './mediaStream'; import { MediaUrl } from './mediaUrl'; import { MetadataField } from './metadataField'; import { NameGuidPair } from './nameGuidPair'; import { PlayAccess } from './playAccess'; import { ProgramAudio } from './programAudio'; import { Video3DFormat } from './video3DFormat'; import { VideoType } from './videoType'; /** * Gets or sets the current program. */ export class BaseItemDtoCurrentProgram { /** * Gets or sets the name. */ 'name'?: string | null; 'originalTitle'?: string | null; /** * Gets or sets the server identifier. */ 'serverId'?: string | null; /** * Gets or sets the id. */ 'id'?: string; /** * Gets or sets the etag. */ 'etag'?: string | null; /** * Gets or sets the type of the source. */ 'sourceType'?: string | null; /** * Gets or sets the playlist item identifier. */ 'playlistItemId'?: string | null; /** * Gets or sets the date created. */ 'dateCreated'?: Date | null; 'dateLastMediaAdded'?: Date | null; 'extraType'?: string | null; 'airsBeforeSeasonNumber'?: number | null; 'airsAfterSeasonNumber'?: number | null; 'airsBeforeEpisodeNumber'?: number | null; 'canDelete'?: boolean | null; 'canDownload'?: boolean | null; 'hasSubtitles'?: boolean | null; 'preferredMetadataLanguage'?: string | null; 'preferredMetadataCountryCode'?: string | null; /** * Gets or sets a value indicating whether [supports synchronize]. */ 'supportsSync'?: boolean | null; 'container'?: string | null; /** * Gets or sets the name of the sort. */ 'sortName'?: string | null; 'forcedSortName'?: string | null; 'video3DFormat'?: Video3DFormat | null; /** * Gets or sets the premiere date. */ 'premiereDate'?: Date | null; /** * Gets or sets the external urls. */ 'externalUrls'?: Array | null; /** * Gets or sets the media versions. */ 'mediaSources'?: Array | null; /** * Gets or sets the critic rating. */ 'criticRating'?: number | null; 'productionLocations'?: Array | null; /** * Gets or sets the path. */ 'path'?: string | null; 'enableMediaSourceDisplay'?: boolean | null; /** * Gets or sets the official rating. */ 'officialRating'?: string | null; /** * Gets or sets the custom rating. */ 'customRating'?: string | null; /** * Gets or sets the channel identifier. */ 'channelId'?: string | null; 'channelName'?: string | null; /** * Gets or sets the overview. */ 'overview'?: string | null; /** * Gets or sets the taglines. */ 'taglines'?: Array | null; /** * Gets or sets the genres. */ 'genres'?: Array | null; /** * Gets or sets the community rating. */ 'communityRating'?: number | null; /** * Gets or sets the cumulative run time ticks. */ 'cumulativeRunTimeTicks'?: number | null; /** * Gets or sets the run time ticks. */ 'runTimeTicks'?: number | null; 'playAccess'?: PlayAccess | null; /** * Gets or sets the aspect ratio. */ 'aspectRatio'?: string | null; /** * Gets or sets the production year. */ 'productionYear'?: number | null; /** * Gets or sets a value indicating whether this instance is place holder. */ 'isPlaceHolder'?: boolean | null; /** * Gets or sets the number. */ 'number'?: string | null; 'channelNumber'?: string | null; /** * Gets or sets the index number. */ 'indexNumber'?: number | null; /** * Gets or sets the index number end. */ 'indexNumberEnd'?: number | null; /** * Gets or sets the parent index number. */ 'parentIndexNumber'?: number | null; /** * Gets or sets the trailer urls. */ 'remoteTrailers'?: Array | null; /** * Gets or sets the provider ids. */ 'providerIds'?: { [key: string]: string; } | null; /** * Gets or sets a value indicating whether this instance is HD. */ 'isHD'?: boolean | null; /** * Gets or sets a value indicating whether this instance is folder. */ 'isFolder'?: boolean | null; /** * Gets or sets the parent id. */ 'parentId'?: string | null; 'type'?: BaseItemKind; /** * Gets or sets the people. */ 'people'?: Array | null; /** * Gets or sets the studios. */ 'studios'?: Array | null; 'genreItems'?: Array | null; /** * Gets or sets wether the item has a logo, this will hold the Id of the Parent that has one. */ 'parentLogoItemId'?: string | null; /** * Gets or sets wether the item has any backdrops, this will hold the Id of the Parent that has one. */ 'parentBackdropItemId'?: string | null; /** * Gets or sets the parent backdrop image tags. */ 'parentBackdropImageTags'?: Array | null; /** * Gets or sets the local trailer count. */ 'localTrailerCount'?: number | null; 'userData'?: BaseItemDtoUserData | null; /** * Gets or sets the recursive item count. */ 'recursiveItemCount'?: number | null; /** * Gets or sets the child count. */ 'childCount'?: number | null; /** * Gets or sets the name of the series. */ 'seriesName'?: string | null; /** * Gets or sets the series id. */ 'seriesId'?: string | null; /** * Gets or sets the season identifier. */ 'seasonId'?: string | null; /** * Gets or sets the special feature count. */ 'specialFeatureCount'?: number | null; /** * Gets or sets the display preferences id. */ 'displayPreferencesId'?: string | null; /** * Gets or sets the status. */ 'status'?: string | null; /** * Gets or sets the air time. */ 'airTime'?: string | null; /** * Gets or sets the air days. */ 'airDays'?: Array | null; /** * Gets or sets the tags. */ 'tags'?: Array | null; /** * Gets or sets the primary image aspect ratio, after image enhancements. */ 'primaryImageAspectRatio'?: number | null; /** * Gets or sets the artists. */ 'artists'?: Array | null; /** * Gets or sets the artist items. */ 'artistItems'?: Array | null; /** * Gets or sets the album. */ 'album'?: string | null; /** * Gets or sets the type of the collection. */ 'collectionType'?: string | null; /** * Gets or sets the display order. */ 'displayOrder'?: string | null; /** * Gets or sets the album id. */ 'albumId'?: string | null; /** * Gets or sets the album image tag. */ 'albumPrimaryImageTag'?: string | null; /** * Gets or sets the series primary image tag. */ 'seriesPrimaryImageTag'?: string | null; /** * Gets or sets the album artist. */ 'albumArtist'?: string | null; /** * Gets or sets the album artists. */ 'albumArtists'?: Array | null; /** * Gets or sets the name of the season. */ 'seasonName'?: string | null; /** * Gets or sets the media streams. */ 'mediaStreams'?: Array | null; 'videoType'?: VideoType | null; /** * Gets or sets the part count. */ 'partCount'?: number | null; 'mediaSourceCount'?: number | null; /** * Gets or sets the image tags. */ 'imageTags'?: { [key: string]: string; } | null; /** * Gets or sets the backdrop image tags. */ 'backdropImageTags'?: Array | null; /** * Gets or sets the screenshot image tags. */ 'screenshotImageTags'?: Array | null; /** * Gets or sets the parent logo image tag. */ 'parentLogoImageTag'?: string | null; /** * Gets or sets wether the item has fan art, this will hold the Id of the Parent that has one. */ 'parentArtItemId'?: string | null; /** * Gets or sets the parent art image tag. */ 'parentArtImageTag'?: string | null; /** * Gets or sets the series thumb image tag. */ 'seriesThumbImageTag'?: string | null; 'imageBlurHashes'?: BaseItemDtoImageBlurHashes | null; /** * Gets or sets the series studio. */ 'seriesStudio'?: string | null; /** * Gets or sets the parent thumb item id. */ 'parentThumbItemId'?: string | null; /** * Gets or sets the parent thumb image tag. */ 'parentThumbImageTag'?: string | null; /** * Gets or sets the parent primary image item identifier. */ 'parentPrimaryImageItemId'?: string | null; /** * Gets or sets the parent primary image tag. */ 'parentPrimaryImageTag'?: string | null; /** * Gets or sets the chapters. */ 'chapters'?: Array | null; 'locationType'?: LocationType | null; 'isoType'?: IsoType | null; /** * Gets or sets the type of the media. */ 'mediaType'?: string | null; /** * Gets or sets the end date. */ 'endDate'?: Date | null; /** * Gets or sets the locked fields. */ 'lockedFields'?: Array | null; /** * Gets or sets the trailer count. */ 'trailerCount'?: number | null; /** * Gets or sets the movie count. */ 'movieCount'?: number | null; /** * Gets or sets the series count. */ 'seriesCount'?: number | null; 'programCount'?: number | null; /** * Gets or sets the episode count. */ 'episodeCount'?: number | null; /** * Gets or sets the song count. */ 'songCount'?: number | null; /** * Gets or sets the album count. */ 'albumCount'?: number | null; 'artistCount'?: number | null; /** * Gets or sets the music video count. */ 'musicVideoCount'?: number | null; /** * Gets or sets a value indicating whether [enable internet providers]. */ 'lockData'?: boolean | null; 'width'?: number | null; 'height'?: number | null; 'cameraMake'?: string | null; 'cameraModel'?: string | null; 'software'?: string | null; 'exposureTime'?: number | null; 'focalLength'?: number | null; 'imageOrientation'?: ImageOrientation | null; 'aperture'?: number | null; 'shutterSpeed'?: number | null; 'latitude'?: number | null; 'longitude'?: number | null; 'altitude'?: number | null; 'isoSpeedRating'?: number | null; /** * Gets or sets the series timer identifier. */ 'seriesTimerId'?: string | null; /** * Gets or sets the program identifier. */ 'programId'?: string | null; /** * Gets or sets the channel primary image tag. */ 'channelPrimaryImageTag'?: string | null; /** * Gets or sets the start date of the recording, in UTC. */ 'startDate'?: Date | null; /** * Gets or sets the completion percentage. */ 'completionPercentage'?: number | null; /** * Gets or sets a value indicating whether this instance is repeat. */ 'isRepeat'?: boolean | null; /** * Gets or sets the episode title. */ 'episodeTitle'?: string | null; 'channelType'?: ChannelType | null; 'audio'?: ProgramAudio | null; /** * Gets or sets a value indicating whether this instance is movie. */ 'isMovie'?: boolean | null; /** * Gets or sets a value indicating whether this instance is sports. */ 'isSports'?: boolean | null; /** * Gets or sets a value indicating whether this instance is series. */ 'isSeries'?: boolean | null; /** * Gets or sets a value indicating whether this instance is live. */ 'isLive'?: boolean | null; /** * Gets or sets a value indicating whether this instance is news. */ 'isNews'?: boolean | null; /** * Gets or sets a value indicating whether this instance is kids. */ 'isKids'?: boolean | null; /** * Gets or sets a value indicating whether this instance is premiere. */ 'isPremiere'?: boolean | null; /** * Gets or sets the timer identifier. */ 'timerId'?: string | null; 'currentProgram'?: BaseItemDtoCurrentProgram | null; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "Name", "type": "string" }, { "name": "originalTitle", "baseName": "OriginalTitle", "type": "string" }, { "name": "serverId", "baseName": "ServerId", "type": "string" }, { "name": "id", "baseName": "Id", "type": "string" }, { "name": "etag", "baseName": "Etag", "type": "string" }, { "name": "sourceType", "baseName": "SourceType", "type": "string" }, { "name": "playlistItemId", "baseName": "PlaylistItemId", "type": "string" }, { "name": "dateCreated", "baseName": "DateCreated", "type": "Date" }, { "name": "dateLastMediaAdded", "baseName": "DateLastMediaAdded", "type": "Date" }, { "name": "extraType", "baseName": "ExtraType", "type": "string" }, { "name": "airsBeforeSeasonNumber", "baseName": "AirsBeforeSeasonNumber", "type": "number" }, { "name": "airsAfterSeasonNumber", "baseName": "AirsAfterSeasonNumber", "type": "number" }, { "name": "airsBeforeEpisodeNumber", "baseName": "AirsBeforeEpisodeNumber", "type": "number" }, { "name": "canDelete", "baseName": "CanDelete", "type": "boolean" }, { "name": "canDownload", "baseName": "CanDownload", "type": "boolean" }, { "name": "hasSubtitles", "baseName": "HasSubtitles", "type": "boolean" }, { "name": "preferredMetadataLanguage", "baseName": "PreferredMetadataLanguage", "type": "string" }, { "name": "preferredMetadataCountryCode", "baseName": "PreferredMetadataCountryCode", "type": "string" }, { "name": "supportsSync", "baseName": "SupportsSync", "type": "boolean" }, { "name": "container", "baseName": "Container", "type": "string" }, { "name": "sortName", "baseName": "SortName", "type": "string" }, { "name": "forcedSortName", "baseName": "ForcedSortName", "type": "string" }, { "name": "video3DFormat", "baseName": "Video3DFormat", "type": "Video3DFormat" }, { "name": "premiereDate", "baseName": "PremiereDate", "type": "Date" }, { "name": "externalUrls", "baseName": "ExternalUrls", "type": "Array" }, { "name": "mediaSources", "baseName": "MediaSources", "type": "Array" }, { "name": "criticRating", "baseName": "CriticRating", "type": "number" }, { "name": "productionLocations", "baseName": "ProductionLocations", "type": "Array" }, { "name": "path", "baseName": "Path", "type": "string" }, { "name": "enableMediaSourceDisplay", "baseName": "EnableMediaSourceDisplay", "type": "boolean" }, { "name": "officialRating", "baseName": "OfficialRating", "type": "string" }, { "name": "customRating", "baseName": "CustomRating", "type": "string" }, { "name": "channelId", "baseName": "ChannelId", "type": "string" }, { "name": "channelName", "baseName": "ChannelName", "type": "string" }, { "name": "overview", "baseName": "Overview", "type": "string" }, { "name": "taglines", "baseName": "Taglines", "type": "Array" }, { "name": "genres", "baseName": "Genres", "type": "Array" }, { "name": "communityRating", "baseName": "CommunityRating", "type": "number" }, { "name": "cumulativeRunTimeTicks", "baseName": "CumulativeRunTimeTicks", "type": "number" }, { "name": "runTimeTicks", "baseName": "RunTimeTicks", "type": "number" }, { "name": "playAccess", "baseName": "PlayAccess", "type": "PlayAccess" }, { "name": "aspectRatio", "baseName": "AspectRatio", "type": "string" }, { "name": "productionYear", "baseName": "ProductionYear", "type": "number" }, { "name": "isPlaceHolder", "baseName": "IsPlaceHolder", "type": "boolean" }, { "name": "number", "baseName": "Number", "type": "string" }, { "name": "channelNumber", "baseName": "ChannelNumber", "type": "string" }, { "name": "indexNumber", "baseName": "IndexNumber", "type": "number" }, { "name": "indexNumberEnd", "baseName": "IndexNumberEnd", "type": "number" }, { "name": "parentIndexNumber", "baseName": "ParentIndexNumber", "type": "number" }, { "name": "remoteTrailers", "baseName": "RemoteTrailers", "type": "Array" }, { "name": "providerIds", "baseName": "ProviderIds", "type": "{ [key: string]: string; }" }, { "name": "isHD", "baseName": "IsHD", "type": "boolean" }, { "name": "isFolder", "baseName": "IsFolder", "type": "boolean" }, { "name": "parentId", "baseName": "ParentId", "type": "string" }, { "name": "type", "baseName": "Type", "type": "BaseItemKind" }, { "name": "people", "baseName": "People", "type": "Array" }, { "name": "studios", "baseName": "Studios", "type": "Array" }, { "name": "genreItems", "baseName": "GenreItems", "type": "Array" }, { "name": "parentLogoItemId", "baseName": "ParentLogoItemId", "type": "string" }, { "name": "parentBackdropItemId", "baseName": "ParentBackdropItemId", "type": "string" }, { "name": "parentBackdropImageTags", "baseName": "ParentBackdropImageTags", "type": "Array" }, { "name": "localTrailerCount", "baseName": "LocalTrailerCount", "type": "number" }, { "name": "userData", "baseName": "UserData", "type": "BaseItemDtoUserData" }, { "name": "recursiveItemCount", "baseName": "RecursiveItemCount", "type": "number" }, { "name": "childCount", "baseName": "ChildCount", "type": "number" }, { "name": "seriesName", "baseName": "SeriesName", "type": "string" }, { "name": "seriesId", "baseName": "SeriesId", "type": "string" }, { "name": "seasonId", "baseName": "SeasonId", "type": "string" }, { "name": "specialFeatureCount", "baseName": "SpecialFeatureCount", "type": "number" }, { "name": "displayPreferencesId", "baseName": "DisplayPreferencesId", "type": "string" }, { "name": "status", "baseName": "Status", "type": "string" }, { "name": "airTime", "baseName": "AirTime", "type": "string" }, { "name": "airDays", "baseName": "AirDays", "type": "Array" }, { "name": "tags", "baseName": "Tags", "type": "Array" }, { "name": "primaryImageAspectRatio", "baseName": "PrimaryImageAspectRatio", "type": "number" }, { "name": "artists", "baseName": "Artists", "type": "Array" }, { "name": "artistItems", "baseName": "ArtistItems", "type": "Array" }, { "name": "album", "baseName": "Album", "type": "string" }, { "name": "collectionType", "baseName": "CollectionType", "type": "string" }, { "name": "displayOrder", "baseName": "DisplayOrder", "type": "string" }, { "name": "albumId", "baseName": "AlbumId", "type": "string" }, { "name": "albumPrimaryImageTag", "baseName": "AlbumPrimaryImageTag", "type": "string" }, { "name": "seriesPrimaryImageTag", "baseName": "SeriesPrimaryImageTag", "type": "string" }, { "name": "albumArtist", "baseName": "AlbumArtist", "type": "string" }, { "name": "albumArtists", "baseName": "AlbumArtists", "type": "Array" }, { "name": "seasonName", "baseName": "SeasonName", "type": "string" }, { "name": "mediaStreams", "baseName": "MediaStreams", "type": "Array" }, { "name": "videoType", "baseName": "VideoType", "type": "VideoType" }, { "name": "partCount", "baseName": "PartCount", "type": "number" }, { "name": "mediaSourceCount", "baseName": "MediaSourceCount", "type": "number" }, { "name": "imageTags", "baseName": "ImageTags", "type": "{ [key: string]: string; }" }, { "name": "backdropImageTags", "baseName": "BackdropImageTags", "type": "Array" }, { "name": "screenshotImageTags", "baseName": "ScreenshotImageTags", "type": "Array" }, { "name": "parentLogoImageTag", "baseName": "ParentLogoImageTag", "type": "string" }, { "name": "parentArtItemId", "baseName": "ParentArtItemId", "type": "string" }, { "name": "parentArtImageTag", "baseName": "ParentArtImageTag", "type": "string" }, { "name": "seriesThumbImageTag", "baseName": "SeriesThumbImageTag", "type": "string" }, { "name": "imageBlurHashes", "baseName": "ImageBlurHashes", "type": "BaseItemDtoImageBlurHashes" }, { "name": "seriesStudio", "baseName": "SeriesStudio", "type": "string" }, { "name": "parentThumbItemId", "baseName": "ParentThumbItemId", "type": "string" }, { "name": "parentThumbImageTag", "baseName": "ParentThumbImageTag", "type": "string" }, { "name": "parentPrimaryImageItemId", "baseName": "ParentPrimaryImageItemId", "type": "string" }, { "name": "parentPrimaryImageTag", "baseName": "ParentPrimaryImageTag", "type": "string" }, { "name": "chapters", "baseName": "Chapters", "type": "Array" }, { "name": "locationType", "baseName": "LocationType", "type": "LocationType" }, { "name": "isoType", "baseName": "IsoType", "type": "IsoType" }, { "name": "mediaType", "baseName": "MediaType", "type": "string" }, { "name": "endDate", "baseName": "EndDate", "type": "Date" }, { "name": "lockedFields", "baseName": "LockedFields", "type": "Array" }, { "name": "trailerCount", "baseName": "TrailerCount", "type": "number" }, { "name": "movieCount", "baseName": "MovieCount", "type": "number" }, { "name": "seriesCount", "baseName": "SeriesCount", "type": "number" }, { "name": "programCount", "baseName": "ProgramCount", "type": "number" }, { "name": "episodeCount", "baseName": "EpisodeCount", "type": "number" }, { "name": "songCount", "baseName": "SongCount", "type": "number" }, { "name": "albumCount", "baseName": "AlbumCount", "type": "number" }, { "name": "artistCount", "baseName": "ArtistCount", "type": "number" }, { "name": "musicVideoCount", "baseName": "MusicVideoCount", "type": "number" }, { "name": "lockData", "baseName": "LockData", "type": "boolean" }, { "name": "width", "baseName": "Width", "type": "number" }, { "name": "height", "baseName": "Height", "type": "number" }, { "name": "cameraMake", "baseName": "CameraMake", "type": "string" }, { "name": "cameraModel", "baseName": "CameraModel", "type": "string" }, { "name": "software", "baseName": "Software", "type": "string" }, { "name": "exposureTime", "baseName": "ExposureTime", "type": "number" }, { "name": "focalLength", "baseName": "FocalLength", "type": "number" }, { "name": "imageOrientation", "baseName": "ImageOrientation", "type": "ImageOrientation" }, { "name": "aperture", "baseName": "Aperture", "type": "number" }, { "name": "shutterSpeed", "baseName": "ShutterSpeed", "type": "number" }, { "name": "latitude", "baseName": "Latitude", "type": "number" }, { "name": "longitude", "baseName": "Longitude", "type": "number" }, { "name": "altitude", "baseName": "Altitude", "type": "number" }, { "name": "isoSpeedRating", "baseName": "IsoSpeedRating", "type": "number" }, { "name": "seriesTimerId", "baseName": "SeriesTimerId", "type": "string" }, { "name": "programId", "baseName": "ProgramId", "type": "string" }, { "name": "channelPrimaryImageTag", "baseName": "ChannelPrimaryImageTag", "type": "string" }, { "name": "startDate", "baseName": "StartDate", "type": "Date" }, { "name": "completionPercentage", "baseName": "CompletionPercentage", "type": "number" }, { "name": "isRepeat", "baseName": "IsRepeat", "type": "boolean" }, { "name": "episodeTitle", "baseName": "EpisodeTitle", "type": "string" }, { "name": "channelType", "baseName": "ChannelType", "type": "ChannelType" }, { "name": "audio", "baseName": "Audio", "type": "ProgramAudio" }, { "name": "isMovie", "baseName": "IsMovie", "type": "boolean" }, { "name": "isSports", "baseName": "IsSports", "type": "boolean" }, { "name": "isSeries", "baseName": "IsSeries", "type": "boolean" }, { "name": "isLive", "baseName": "IsLive", "type": "boolean" }, { "name": "isNews", "baseName": "IsNews", "type": "boolean" }, { "name": "isKids", "baseName": "IsKids", "type": "boolean" }, { "name": "isPremiere", "baseName": "IsPremiere", "type": "boolean" }, { "name": "timerId", "baseName": "TimerId", "type": "string" }, { "name": "currentProgram", "baseName": "CurrentProgram", "type": "BaseItemDtoCurrentProgram" } ]; static getAttributeTypeMap() { return BaseItemDtoCurrentProgram.attributeTypeMap; } } export namespace BaseItemDtoCurrentProgram { }