The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with Net::Async::Spotify::Object::Generated::SimplifiedTrack at lib/Net/Async/Spotify/Object/Generated/SimplifiedTrack.pm (on the system that originally ran this). If you do edit this file, and don't want your changes to be removed, make sure you change the first line.

NAME

Net::Async::Spotify::Object::Generated::SimplifiedTrack - Package representing Spotify SimplifiedTrack Object

DESCRIPTION

Autogenerated module. Based on https://developer.spotify.com/documentation/web-api/reference/#objects-index Check crawl-api-doc.pl for more information.

PARAMETERS

Those are Spotify SimplifiedTrack Object attributes:

artists

Type:Array[SimplifiedArtistObject] Description:The artists who performed the track. Each artist object includes a link in href to more detailed information about the artist.

available_markets

Type:Array[String] Description:A list of the countries in which the track can be played, identified by their ISO 3166-1 alpha-2 code.

disc_number

Type:Integer Description:The disc number (usually 1 unless the album consists of more than one disc).

duration_ms

Type:Integer Description:The track length in milliseconds.

explicit

Type:Boolean Description:Whether or not the track has explicit lyrics ( true = yes it does; false = no it does not OR unknown).

external_urls

Type:ExternalUrlObject Description:External URLs for this track.

href

Type:String Description:A link to the Web API endpoint providing full details of the track.

id

Type:String Description:The Spotify ID for the track.

is_local

Type:Boolean Description:Whether or not the track is from a local file.

is_playable

Type:Boolean Description:Part of the response when Track Relinking is applied. If true , the track is playable in the given market. Otherwise false.

linked_from

Type:LinkedTrackObject Description:Part of the response when Track Relinking is applied and is only part of the response if the track linking, in fact, exists. The requested track has been replaced with a different track. The track in the linked_from object contains information about the originally requested track.

name

Type:String Description:The name of the track.

preview_url

Type:String Description:A URL to a 30 second preview (MP3 format) of the track.

restrictions

Type:TrackRestrictionObject Description:Included in the response when a content restriction is applied. See Restriction Object for more details.

track_number

Type:Integer Description:The number of the track. If an album has several discs, the track number is the number on the specified disc.

type

Type:String Description:The object type: “track”.

uri

Type:String Description:The Spotify URI for the track.

INHERITED METHODS

Net::Async::Spotify::Object::Base

apply_type, extra_fields, fields, generate, to_hash, to_human, to_json