Skip to content
Client
Server

Reference / @open-music-sdk/types / tGenre

Interface: tGenre ​

Defined in: genre.ts:4

A resource object that represents a music genre.

Properties ​

attributes? ​

ts
optional attributes?: tGenreAttributes;

Defined in: genre.ts:12

The attributes for the genre.


href ​

ts
href: string;

Defined in: genre.ts:10

The relative location for the genre resource.


id ​

ts
id: string;

Defined in: genre.ts:6

The identifier for the genre.


type ​

ts
type: "genres";

Defined in: genre.ts:8

This value must always be genres.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.