Skip to content
Oleksandr Bretsko edited this page Dec 27, 2020 · 1 revision

Track

public struct Track: Codable

Inheritance

Codable

Properties

id

let id: Int

user_id

let user_id: Int

user

let user: User

title

let title: String

permalink

let permalink: String

permalink_url

let permalink_url: String

uri

let uri: String

sharing

let sharing: Sharing

embeddable_by

let embeddable_by: EmbeddableBy?

artwork_url

let artwork_url: String?

description

let description: String?

label

let label: User

duration

let duration: Int64

genre

let genre: String?

created_at

let created_at: String

purchase_url

let purchase_url: String?

tag_list

let tag_list: String

label_id

let label_id: Int64?

label_name

let label_name: String?

release

let release: Int?

release_day

let release_day: Int?

release_month

let release_month: Int?

release_year

let release_year: Int?

streamable

let streamable: Bool

downloadable

let downloadable: Bool

state

let state: EncodingState

license

let license: License

track_type

let track_type: TrackType?

waveform_url

let waveform_url: String

download_url

let download_url: String

stream_url

let stream_url: String

comment_count

let comment_count: Int

download_count

let download_count: Int

playback_count

let playback_count: Int

video_url

let video_url: String?

bpm

let bpm: Int?

commentable

let commentable: Bool

isrc

let isrc: String?

key_signature

let key_signature: String?

favoritings_count

let favoritings_count: Int

original_format

let original_format: String

original_content_size

let original_content_size: Int64

created_with

let created_with: App

attachments_uri

let attachments_uri: String?

thumbnailURL

var thumbnailURL: URL?

artworkURL

t500x500

var artworkURL: URL?

Methods

getURL(for:)

func getURL(for type: ArtworkType) -> URL?

Clone this wiki locally