struct Tidal::API::Track

Included Modules

Defined in:

api/models/track.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def album : NamedTuple(id: Int32, title: String, cover: String) #

[View source]
def allow_streaming : Bool #

[View source]
def artist : NamedTuple(id: Int32, name: String, type: String) #

[View source]
def artists : Array(NamedTuple(id: Int32, name: String, type: String)) #

[View source]
def audio_quality : String #

[View source]
def copyright : String #

[View source]
def duration : Int32 #

[View source]
def editable : Bool #

[View source]
def explicit : Bool #

[View source]
def id : Int32 #

[View source]
def isrc : String #

[View source]
def peak : Float64 #

[View source]
def popularity : Int32 #

[View source]
def premium_streaming_only : Bool #

[View source]
def replayGain : Float64 #

[View source]
def stream_ready : Bool #

[View source]
def stream_start_date : String #

[View source]
def surround_types : Array(String) | Nil #

[View source]
def title : String #

[View source]
def track_number : Int32 #

[View source]
def url : String #

[View source]
def version : String | Nil #

[View source]
def volume_number : Int32 #

[View source]