Spotify Web API v0.4.0 Spotify.Users.UserPrivate View Source

A private User object.

Spotify Docs

Link to this section Summary

Types

t()

A private User object

Functions

Returns each Object Models’ model for json decoding

Link to this section Types

Link to this type t() View Source
t() :: %Spotify.Users.UserPrivate{birthdate: Spotify.Users.birthdate() | nil, country: Spotify.Users.country() | nil, display_name: Spotify.Users.display_name() | nil, email: Spotify.Users.email() | nil, external_urls: Spotify.Users.external_urls() | nil, followers: Spotify.Users.followers() | nil, href: Spotify.Users.href() | nil, id: Spotify.Users.id() | nil, images: Spotify.Users.images() | nil, product: Spotify.Users.product() | nil, type: Spotify.Users.type() | nil, uri: Spotify.Users.uri() | nil}

A private User 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.