Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GenreType

The genre of a release/recording, including up to two levels of detail; maps to genre_type

Hierarchy

  • GenreType

Index

Constructors

Properties

Methods

Constructors

constructor

  • Constructor for GenreType objects. Takes all of the attributes as an object.

    Parameters

    • genre: Partial<GenreType>

      An object containing all fields for the GenreType.

    Returns GenreType

Properties

primary

primary: string = ''

Primary genre. Use the Genre enum for validation; maps to primary

Optional sub

sub: string

Subgenre. Use the SubGenre enum for validation; maps to sub

Methods

xml

  • xml(): string
  • Generates AudioSalad XML for the genre.

    Returns string

    AudioSalad XML <genre> element

Generated using TypeDoc