Class: Spotted::Models::AlbumRetrieveResponse::Tracks
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Spotted::Models::AlbumRetrieveResponse::Tracks
- Defined in:
- lib/spotted/models/album_retrieve_response.rb
Overview
Instance Attribute Summary collapse
-
#href ⇒ String
A link to the Web API endpoint returning the full result of the request.
- #items ⇒ Array<Spotted::Models::SimplifiedTrackObject>
-
#limit ⇒ Integer
The maximum number of items in the response (as set in the query or by default).
-
#next_ ⇒ String?
URL to the next page of items.
-
#offset ⇒ Integer
The offset of the items returned (as set in the query or by default).
-
#previous ⇒ String?
URL to the previous page of items.
-
#total ⇒ Integer
The total number of items available to return.
Instance Method Summary collapse
-
#initialize(href: , items: , limit: , next_: , offset: , previous: , total: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see Tracks for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(href: , items: , limit: , next_: , offset: , previous: , total: ) ⇒ Object
Some parameter documentations has been truncated, see Spotted::Models::AlbumRetrieveResponse::Tracks for more details.
The tracks of the album.
|
|
# File 'lib/spotted/models/album_retrieve_response.rb', line 265
|
Instance Attribute Details
#href ⇒ String
A link to the Web API endpoint returning the full result of the request
228 |
# File 'lib/spotted/models/album_retrieve_response.rb', line 228 required :href, String |
#items ⇒ Array<Spotted::Models::SimplifiedTrackObject>
233 |
# File 'lib/spotted/models/album_retrieve_response.rb', line 233 required :items, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedTrackObject] } |
#limit ⇒ Integer
The maximum number of items in the response (as set in the query or by default).
239 |
# File 'lib/spotted/models/album_retrieve_response.rb', line 239 required :limit, Integer |
#next_ ⇒ String?
URL to the next page of items. ( ‘null` if none)
245 |
# File 'lib/spotted/models/album_retrieve_response.rb', line 245 required :next_, String, api_name: :next, nil?: true |
#offset ⇒ Integer
The offset of the items returned (as set in the query or by default)
251 |
# File 'lib/spotted/models/album_retrieve_response.rb', line 251 required :offset, Integer |
#previous ⇒ String?
URL to the previous page of items. ( ‘null` if none)
257 |
# File 'lib/spotted/models/album_retrieve_response.rb', line 257 required :previous, String, nil?: true |
#total ⇒ Integer
The total number of items available to return.
263 |
# File 'lib/spotted/models/album_retrieve_response.rb', line 263 required :total, Integer |