Spotify Web API v0.4.0 Spotify.Recommendations.Seed View Source

A Recommendations Seed object.

Spotify Docs

Link to this section Summary

Types

t()

A Recommendations Seed object

Functions

Returns each Object Models’ model for json decoding

Link to this section Types

Link to this type t() View Source
t() :: %Spotify.Recommendations.Seed{afterFilteringSize: Spotify.Recommendations.after_filtering_size() | nil, afterRelinkingSize: Spotify.Recommendations.after_relinking_size() | nil, href: Spotify.Recommendations.href() | nil, id: Spotify.Recommendations.id() | nil, initialPoolSize: Spotify.Recommendations.initial_pool_size() | nil, type: Spotify.Recommendations.type() | nil}

A Recommendations Seed 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.