Class: Spotted::Models::BrowseGetNewReleasesResponse::Albums
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Spotted::Models::BrowseGetNewReleasesResponse::Albums
- Defined in:
- lib/spotted/models/browse_get_new_releases_response.rb
Overview
Defined Under Namespace
Classes: Item
Instance Attribute Summary collapse
-
#href ⇒ String
A link to the Web API endpoint returning the full result of the request.
- #items ⇒ Array<Spotted::Models::BrowseGetNewReleasesResponse::Albums::Item>
-
#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.
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Spotted::Internal::Type::BaseModel
Instance Attribute Details
#href ⇒ String
A link to the Web API endpoint returning the full result of the request
21 |
# File 'lib/spotted/models/browse_get_new_releases_response.rb', line 21 required :href, String |
#items ⇒ Array<Spotted::Models::BrowseGetNewReleasesResponse::Albums::Item>
26 27 |
# File 'lib/spotted/models/browse_get_new_releases_response.rb', line 26 required :items, -> { Spotted::Internal::Type::ArrayOf[Spotted::Models::BrowseGetNewReleasesResponse::Albums::Item] } |
#limit ⇒ Integer
The maximum number of items in the response (as set in the query or by default).
33 |
# File 'lib/spotted/models/browse_get_new_releases_response.rb', line 33 required :limit, Integer |
#next_ ⇒ String?
URL to the next page of items. ( ‘null` if none)
39 |
# File 'lib/spotted/models/browse_get_new_releases_response.rb', line 39 required :next_, String, api_name: :next, nil?: true |
#offset ⇒ Integer
The offset of the items returned (as set in the query or by default)
45 |
# File 'lib/spotted/models/browse_get_new_releases_response.rb', line 45 required :offset, Integer |
#previous ⇒ String?
URL to the previous page of items. ( ‘null` if none)
51 |
# File 'lib/spotted/models/browse_get_new_releases_response.rb', line 51 required :previous, String, nil?: true |
#total ⇒ Integer
The total number of items available to return.
57 |
# File 'lib/spotted/models/browse_get_new_releases_response.rb', line 57 required :total, Integer |