Subgenre

data class Subgenre(val id: String? = null, val name: String? = null, val locale: String? = null, val links: Links? = null)

Represents a subgenre in the Discovery API.

Holds subgenre details, including ID, name, locale, and links.

Constructors

Link copied to clipboard
constructor(id: String? = null, name: String? = null, locale: String? = null, links: Links? = null)

Properties

Link copied to clipboard
val id: String? = null

The subgenre's ID, if available.

Link copied to clipboard
@SerializedName(value = "_links")
val links: Links? = null

Links associated with the subgenre, if available.

Link copied to clipboard
val locale: String? = null

The subgenre's locale, if available.

Link copied to clipboard
val name: String? = null

The subgenre's name, if available.