Spotify Web API v0.2.1 Spotify.Tracks.TrackLink View Source

A Track Link object.

Spotify Docs

Link to this section Summary

Types

t()

A Track Link object

Functions

Returns each Object Models model for json decoding

Link to this section Types

Link to this type t() View Source
t() :: %Spotify.Tracks.TrackLink{external_urls: Spotify.Tracks.external_urls(), href: Spotify.Tracks.href(), id: Spotify.Tracks.id(), type: Spotify.Tracks.type(), uri: Spotify.Tracks.uri()}

A Track Link object.

Link to this section Functions

Returns each Object Models model for json decoding.

This callback is passed into Poison.decode’s :as option for formatting incoming json as structs. Each Object Model should implement it, and nest other Object Models’ as functions in their own as needed.

Callback implementation for Spotify.ObjectModel.as/0.