Spotify Web API v0.2.1 Spotify.Copyright View Source

An object containing copyright statements.

[Spotify Docs](https://beta.developer.spotify.com/documentation/web-api/reference/object-model/#copyright-object)

Link to this section Summary

Types

t()

The full Copyright object

The copyright text for this album

The type of copyright: C = the copyright, P = the sound recording (performance) copyright

Functions

Returns each Object Models model for json decoding

Link to this section Types

Link to this type t() View Source
t() :: %Spotify.Copyright{text: String.t(), type: String.t()}

The full Copyright object.

Contains all the values listed in the Spotify Docs

The copyright text for this album.

The type of copyright: C = the copyright, P = the sound recording (performance) copyright.

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.