SimpleShow

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

Basic information about a Spotify show

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”.

Constructors

SimpleShow
Link copied to clipboard
common
fun SimpleShow(availableMarketsString: List<String> = listOf(), externalUrlsString: Map<String, String>, copyrights: List<SpotifyCopyright>, description: String? = null, explicit: Boolean, href: String, id: String, images: List<SpotifyImage>, isExternallyHosted: Boolean? = null, languagesString: List<String>, mediaType: String, name: String, publisher: String, type: String, uri: SpotifyUri)
The copyright statements of the show.

Functions

component11
Link copied to clipboard
common
operator fun component11(): 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(): SpotifyUri
component3
Link copied to clipboard
common
operator fun component3(): List<SpotifyCopyright>
component4
Link copied to clipboard
common
operator fun component4(): String?
component5
Link copied to clipboard
common
operator fun component5(): Boolean
component6
Link copied to clipboard
common
operator fun component6(): String
component7
Link copied to clipboard
common
operator fun component7(): String
component8
Link copied to clipboard
common
operator fun component8(): List<SpotifyImage>
component9
Link copied to clipboard
common
operator fun component9(): Boolean?
copy
Link copied to clipboard
common
fun copy(availableMarketsString: List<String> = listOf(), externalUrlsString: Map<String, String>, copyrights: List<SpotifyCopyright>, description: String? = null, explicit: Boolean, href: String, id: String, images: List<SpotifyImage>, isExternallyHosted: Boolean? = null, languagesString: List<String>, mediaType: String, name: String, publisher: String, type: String, uri: SpotifyUri): SimpleShow
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
toFullShow
Link copied to clipboard
common
suspend fun toFullShow(market: Market): Show?
Converts this SimpleShow to a full Show object
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.
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.
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: SpotifyUri
The URI associated with the object

Sources

(source)
Link copied to clipboard