Show

@Serializable
data class Show(availableMarketsString: List<String> = listOf(), val copyrights: List<SpotifyCopyright>, val description: String? = null, val explicit: Boolean, val episodes: NullablePagingObject<SimpleEpisode>, externalUrlsString: Map<String, String>, val href: String, val id: String, val images: List<SpotifyImage>, val isExternallyHosted: Boolean? = null, val languagesString: List<String>, val mediaType: String, val name: String, val publisher: String, val type: String, val uri: ShowUri) : CoreObject(source)

Information about a Spotify show, including its episodes

Parameters

copyrights

The copyright statements of the show.

description

A description of the show.

explicit

Whether or not the show has explicit content (true = yes it does; false = no it does not OR unknown).

images

The cover art for the show in various sizes, widest first.

isExternallyHosted

True if all of the show’s episodes are hosted outside of Spotify’s CDN. This field might be null in some cases.

mediaType

The media type of the show.

name

The name of the show.

publisher

The publisher of the show.

type

The object type: “show”.

episodes

A NullablePagingObject of the show’s episodes.

Constructors

Link copied to clipboard
constructor(availableMarketsString: List<String> = listOf(), copyrights: List<SpotifyCopyright>, description: String? = null, explicit: Boolean, episodes: NullablePagingObject<SimpleEpisode>, externalUrlsString: Map<String, String>, href: String, id: String, images: List<SpotifyImage>, isExternallyHosted: Boolean? = null, languagesString: List<String>, mediaType: String, name: String, publisher: String, type: String, uri: ShowUri)

Properties

Link copied to clipboard
@Transient
lateinit var api: GenericSpotifyApi

The API client associated with the request

Link copied to clipboard

A list of the countries in which the show can be played, identified by their ISO 3166-1 alpha-2 code.

Link copied to clipboard
Link copied to clipboard
val description: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Known external URLs for this object

Link copied to clipboard
open override val href: String

A link to the Spotify web api endpoint associated with this request

Link copied to clipboard
open override val id: String

The Spotify id of the associated object

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "is_externally_hosted")
val isExternallyHosted: Boolean? = null
Link copied to clipboard

A list of the languages used in the show, identified by their ISO 639 code.

Link copied to clipboard
@SerialName(value = "languages")
val languagesString: List<String>
Link copied to clipboard
@SerialName(value = "media_type")
val mediaType: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val uri: ShowUri

The URI associated with the object

Functions