Class: Spotted::Models::Me::ContextObject
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Spotted::Models::Me::ContextObject
- Defined in:
- lib/spotted/models/me/context_object.rb
Instance Attribute Summary collapse
-
#external_urls ⇒ Spotted::Models::ExternalURLObject?
External URLs for this context.
-
#href ⇒ String?
A link to the Web API endpoint providing full details of the track.
-
#type ⇒ String?
The object type, e.g.
-
#uri ⇒ String?
The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for the context.
Instance Method Summary collapse
-
#initialize(external_urls: nil, href: nil, type: nil, uri: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see ContextObject 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(external_urls: nil, href: nil, type: nil, uri: nil) ⇒ Object
Some parameter documentations has been truncated, see Spotted::Models::Me::ContextObject for more details.
|
|
# File 'lib/spotted/models/me/context_object.rb', line 32
|
Instance Attribute Details
#external_urls ⇒ Spotted::Models::ExternalURLObject?
External URLs for this context.
11 |
# File 'lib/spotted/models/me/context_object.rb', line 11 optional :external_urls, -> { Spotted::ExternalURLObject } |
#href ⇒ String?
A link to the Web API endpoint providing full details of the track.
17 |
# File 'lib/spotted/models/me/context_object.rb', line 17 optional :href, String |
#type ⇒ String?
The object type, e.g. “artist”, “playlist”, “album”, “show”.
23 |
# File 'lib/spotted/models/me/context_object.rb', line 23 optional :type, String |
#uri ⇒ String?
The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for the context.
30 |
# File 'lib/spotted/models/me/context_object.rb', line 30 optional :uri, String |