ExternalIdInfo

data class ExternalIdInfo(val name: String, val key: String, val type: ExternalIdMediaType? = null, val urlFormatString: String? = null)

Represents the external id information for serialization to the client.

Constructors

Link copied to clipboard
constructor(name: String, key: String, type: ExternalIdMediaType? = null, urlFormatString: String? = null)

Properties

Link copied to clipboard
val key: String

The unique key for this id. This key should be unique across all providers.

Link copied to clipboard

The display name of the external id provider (IE: IMDB, MusicBrainz, etc).

Link copied to clipboard

Gets or sets the specific media type for this id. This is used to distinguish between the different external id types for providers with multiple ids. A null value indicates there is no specific media type associated with the external id, or this is the default id for the external provider so there is no need to specify a type.

Link copied to clipboard
val urlFormatString: String? = null

The URL format string.