Class: Spotted::Models::UserRetrieveProfileResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Spotted::Models::UserRetrieveProfileResponse
- Defined in:
- lib/spotted/models/user_retrieve_profile_response.rb
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#display_name ⇒ String?
The name displayed on the user’s profile.
-
#external_urls ⇒ Spotted::Models::ExternalURLObject?
Known public external URLs for this user.
- #followers ⇒ Spotted::Models::FollowersObject? deprecated Deprecated.
-
#href ⇒ String?
A link to the Web API endpoint for this user.
-
#id ⇒ String?
The [Spotify user ID](/documentation/web-api/concepts/spotify-uris-ids) for this user.
-
#images ⇒ Array<Spotted::Models::ImageObject>?
The user’s profile image.
-
#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.
-
#type ⇒ Symbol, ...
The object type.
-
#uri ⇒ String?
The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for this user.
Instance Method Summary collapse
-
#initialize(id: nil, display_name: nil, external_urls: nil, followers: nil, href: nil, images: nil, published: nil, type: nil, uri: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see UserRetrieveProfileResponse 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: nil, display_name: nil, external_urls: nil, followers: nil, href: nil, images: nil, published: nil, type: nil, uri: nil) ⇒ Object
Some parameter documentations has been truncated, see Spotted::Models::UserRetrieveProfileResponse for more details.
|
|
# File 'lib/spotted/models/user_retrieve_profile_response.rb', line 69
|
Instance Attribute Details
#display_name ⇒ String?
The name displayed on the user’s profile. ‘null` if not available.
18 |
# File 'lib/spotted/models/user_retrieve_profile_response.rb', line 18 optional :display_name, String, nil?: true |
#external_urls ⇒ Spotted::Models::ExternalURLObject?
Known public external URLs for this user.
24 |
# File 'lib/spotted/models/user_retrieve_profile_response.rb', line 24 optional :external_urls, -> { Spotted::ExternalURLObject } |
#followers ⇒ Spotted::Models::FollowersObject?
Information about the followers of this user.
32 |
# File 'lib/spotted/models/user_retrieve_profile_response.rb', line 32 optional :followers, -> { Spotted::FollowersObject } |
#href ⇒ String?
A link to the Web API endpoint for this user.
38 |
# File 'lib/spotted/models/user_retrieve_profile_response.rb', line 38 optional :href, String |
#id ⇒ String?
The [Spotify user ID](/documentation/web-api/concepts/spotify-uris-ids) for this user.
12 |
# File 'lib/spotted/models/user_retrieve_profile_response.rb', line 12 optional :id, String |
#images ⇒ Array<Spotted::Models::ImageObject>?
The user’s profile image.
44 |
# File 'lib/spotted/models/user_retrieve_profile_response.rb', line 44 optional :images, -> { Spotted::Internal::Type::ArrayOf[Spotted::ImageObject] } |
#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)
54 |
# File 'lib/spotted/models/user_retrieve_profile_response.rb', line 54 optional :published, Spotted::Internal::Type::Boolean |
#type ⇒ Symbol, ...
The object type.
60 |
# File 'lib/spotted/models/user_retrieve_profile_response.rb', line 60 optional :type, enum: -> { Spotted::Models::UserRetrieveProfileResponse::Type } |
#uri ⇒ String?
The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for this user.
67 |
# File 'lib/spotted/models/user_retrieve_profile_response.rb', line 67 optional :uri, String |