Spotify Web API v0.4.0 Spotify.Playlists.PlaylistSimple View Source

A simplified Playlist object.

Spotify Docs

Link to this section Summary

Types

t()

A simplified Playlist object

Functions

Returns each Object Models’ model for json decoding

Link to this section Types

Link to this type t() View Source
t() :: %Spotify.Playlists.PlaylistSimple{collaborative: Spotify.Playlists.collaborative() | nil, external_urls: Spotify.Playlists.external_urls() | nil, href: Spotify.Playlists.href() | nil, id: Spotify.Playlists.id() | nil, images: Spotify.Playlists.images() | nil, name: Spotify.Playlists.name() | nil, owner: Spotify.Playlists.owner() | nil, public: Spotify.Playlists.public() | nil, snapshot_id: Spotify.Playlists.snapshot_id() | nil, tracks: Spotify.Playlists.tracks() | nil, type: Spotify.Playlists.type() | nil, uri: Spotify.Playlists.uri() | nil}

A simplified Playlist object.

Link to this section Functions

Returns each Object Models’ model for json decoding.

This callback is passed into Poison.decode :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.