Show

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

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

Show
Link copied to clipboard
common
fun Show(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)
The copyright statements of the show.

Functions

component10
Link copied to clipboard
common
operator fun component10(): Boolean?
component11
Link copied to clipboard
common
operator fun component11(): List<String>
component12
Link copied to clipboard
common
operator fun component12(): String
component13
Link copied to clipboard
common
operator fun component13(): String
component14
Link copied to clipboard
common
operator fun component14(): String
component15
Link copied to clipboard
common
operator fun component15(): String
component16
Link copied to clipboard
common
operator fun component16(): ShowUri
component2
Link copied to clipboard
common
operator fun component2(): List<SpotifyCopyright>
component3
Link copied to clipboard
common
operator fun component3(): String?
component4
Link copied to clipboard
common
operator fun component4(): Boolean
component5
Link copied to clipboard
common
operator fun component5(): NullablePagingObject<SimpleEpisode>
component7
Link copied to clipboard
common
operator fun component7(): String
component8
Link copied to clipboard
common
operator fun component8(): String
component9
Link copied to clipboard
common
operator fun component9(): List<SpotifyImage>
copy
Link copied to clipboard
common
fun copy(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): Show
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
getMembersThatNeedApiInstantiation
Link copied to clipboard
common
open override fun getMembersThatNeedApiInstantiation(): List<NeedsApi?>
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

api
Link copied to clipboard
common
lateinit var api: GenericSpotifyApi
The API client associated with the request
availableMarkets
Link copied to clipboard
common
val availableMarkets: List<Market>
A list of the countries in which the show can be played, identified by their ISO 3166-1 alpha-2 code.
copyrights
Link copied to clipboard
common
val copyrights: List<SpotifyCopyright>
The copyright statements of the show.
description
Link copied to clipboard
common
val description: String? = null
A description of the show.
episodes
Link copied to clipboard
common
val episodes: NullablePagingObject<SimpleEpisode>
A NullablePagingObject of the show’s episodes.
explicit
Link copied to clipboard
common
val explicit: Boolean
Whether or not the show has explicit content (true = yes it does; false = no it does not OR unknown).
externalUrls
Link copied to clipboard
common
val externalUrls: List<ExternalUrl>
Known external URLs for this object
href
Link copied to clipboard
common
open override val href: String
A link to the Spotify web api endpoint associated with this request
id
Link copied to clipboard
common
open override val id: String
The Spotify id of the associated object
images
Link copied to clipboard
common
val images: List<SpotifyImage>
The cover art for the show in various sizes, widest first.
isExternallyHosted
Link copied to clipboard
common
val isExternallyHosted: Boolean? = null
True if all of the show’s episodes are hosted outside of Spotify’s CDN.
languages
Link copied to clipboard
common
val languages: List<Locale>
A list of the languages used in the show, identified by their ISO 639 code.
languagesString
Link copied to clipboard
common
val languagesString: List<String>
mediaType
Link copied to clipboard
common
val mediaType: String
The media type of the show.
name
Link copied to clipboard
common
val name: String
The name of the show.
publisher
Link copied to clipboard
common
val publisher: String
The publisher of the show.
type
Link copied to clipboard
common
val type: String
The object type: “show”.
uri
Link copied to clipboard
common
open override val uri: ShowUri
The URI associated with the object

Sources

(source)
Link copied to clipboard