Class: Spotted::Models::ChapterListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Spotted::Models::ChapterListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/spotted/models/chapter_list_params.rb
Overview
Instance Attribute Summary collapse
-
#ids ⇒ String
A comma-separated list of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids).
-
#market ⇒ String?
An [ISO 3166-1 alpha-2 country code](en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(ids: , market: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ChapterListParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(ids: , market: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Spotted::Models::ChapterListParams for more details.
|
|
# File 'lib/spotted/models/chapter_list_params.rb', line 32
|
Instance Attribute Details
#ids ⇒ String
A comma-separated list of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: ‘ids=0IsXVP0JmcB2adSE338GkK,3ZXb8FKZGU0EHALYX6uCzU`. Maximum: 50 IDs.
16 |
# File 'lib/spotted/models/chapter_list_params.rb', line 16 required :ids, String |
#market ⇒ String?
An [ISO 3166-1 alpha-2 country code](en.wikipedia.org/wiki/ISO_3166-1_alpha-2). If a country code is specified, only content that is available in that market will be returned.<br/> If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/> _Note: If neither market or user country are provided, the content is considered unavailable for the client._<br/> Users can view the country that is associated with their account in the [account settings](www.spotify.com/account/overview/).
30 |
# File 'lib/spotted/models/chapter_list_params.rb', line 30 optional :market, String |