Spotify Web API v0.4.0 Spotify.Cursor View Source

An object containing cursor information.

Spotify Docs

Link to this section Summary

Types

The cursor to use as key to find the next page of items

t()

The full Cursor object

Functions

Returns each Object Models’ model for json decoding

Link to this section Types

Link to this type after_cursor() View Source
after_cursor() :: String.t()

The cursor to use as key to find the next page of items.

Link to this type t() View Source
t() :: %Spotify.Cursor{after: Spotify.Cursor.after_cursor() | nil}

The full Cursor object.

Contains all the values listed in the Spotify Docs

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.