Class: Spotted::Models::SearchQueryResponse::Tracks
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Spotted::Models::SearchQueryResponse::Tracks
- Defined in:
- lib/spotted/models/search_query_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::TrackObject>?
-
#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.
-
#published ⇒ Boolean?
The playlist’s public/private status (if it should be added to the user’s profile or not): ‘true` the playlist will be public, `false` the playlist will be private, `null` the playlist status is not relevant.
-
#total ⇒ Integer
The total number of items available to return.
Instance Method Summary collapse
-
#initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil, published: nil) ⇒ 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:, limit:, next_:, offset:, previous:, total:, items: nil, published: nil) ⇒ Object
Some parameter documentations has been truncated, see Spotted::Models::SearchQueryResponse::Tracks for more details.
|
|
# File 'lib/spotted/models/search_query_response.rb', line 641
|
Instance Attribute Details
#href ⇒ String
A link to the Web API endpoint returning the full result of the request
594 |
# File 'lib/spotted/models/search_query_response.rb', line 594 required :href, String |
#items ⇒ Array<Spotted::Models::TrackObject>?
629 |
# File 'lib/spotted/models/search_query_response.rb', line 629 optional :items, -> { Spotted::Internal::Type::ArrayOf[Spotted::TrackObject] } |
#limit ⇒ Integer
The maximum number of items in the response (as set in the query or by default).
600 |
# File 'lib/spotted/models/search_query_response.rb', line 600 required :limit, Integer |
#next_ ⇒ String?
URL to the next page of items. ( ‘null` if none)
606 |
# File 'lib/spotted/models/search_query_response.rb', line 606 required :next_, String, api_name: :next, nil?: true |
#offset ⇒ Integer
The offset of the items returned (as set in the query or by default)
612 |
# File 'lib/spotted/models/search_query_response.rb', line 612 required :offset, Integer |
#previous ⇒ String?
URL to the previous page of items. ( ‘null` if none)
618 |
# File 'lib/spotted/models/search_query_response.rb', line 618 required :previous, String, nil?: true |
#published ⇒ Boolean?
The playlist’s public/private status (if it should be added to the user’s profile or not): ‘true` the playlist will be public, `false` the playlist will be private, `null` the playlist status is not relevant. For more about public/private status, see [Working with Playlists](/documentation/web-api/concepts/playlists)
639 |
# File 'lib/spotted/models/search_query_response.rb', line 639 optional :published, Spotted::Internal::Type::Boolean |
#total ⇒ Integer
The total number of items available to return.
624 |
# File 'lib/spotted/models/search_query_response.rb', line 624 required :total, Integer |