Class: Spotted::Models::Browse::CategoryRetrieveResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Spotted::Models::Browse::CategoryRetrieveResponse
- Defined in:
- lib/spotted/models/browse/category_retrieve_response.rb
Overview
Instance Attribute Summary collapse
-
#href ⇒ String
A link to the Web API endpoint returning full details of the category.
-
#icons ⇒ Array<Spotted::Models::ImageObject>
The category icon, in various sizes.
-
#id ⇒ String
The [Spotify category ID](/documentation/web-api/concepts/spotify-uris-ids) of the category.
-
#name ⇒ String
The name of the category.
Instance Method Summary collapse
-
#initialize(id: , href: , icons: , name: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see CategoryRetrieveResponse 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(id: , href: , icons: , name: ) ⇒ Object
Some parameter documentations has been truncated, see Spotted::Models::Browse::CategoryRetrieveResponse for more details.
|
|
# File 'lib/spotted/models/browse/category_retrieve_response.rb', line 33
|
Instance Attribute Details
#href ⇒ String
A link to the Web API endpoint returning full details of the category.
19 |
# File 'lib/spotted/models/browse/category_retrieve_response.rb', line 19 required :href, String |
#icons ⇒ Array<Spotted::Models::ImageObject>
The category icon, in various sizes.
25 |
# File 'lib/spotted/models/browse/category_retrieve_response.rb', line 25 required :icons, -> { Spotted::Internal::Type::ArrayOf[Spotted::ImageObject] } |
#id ⇒ String
The [Spotify category ID](/documentation/web-api/concepts/spotify-uris-ids) of the category.
13 |
# File 'lib/spotted/models/browse/category_retrieve_response.rb', line 13 required :id, String |
#name ⇒ String
The name of the category.
31 |
# File 'lib/spotted/models/browse/category_retrieve_response.rb', line 31 required :name, String |