Class: Spotted::Models::SimplifiedPlaylistObject::Owner

Inherits:
PlaylistUserObject show all
Defined in:
lib/spotted/models/simplified_playlist_object.rb

Overview

See Also:

Instance Attribute Summary collapse

Attributes inherited from PlaylistUserObject

#external_urls, #href, #id, #type, #uri

Instance Method Summary collapse

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(display_name: nil) ⇒ Object

Some parameter documentations has been truncated, see Spotted::Models::SimplifiedPlaylistObject::Owner for more details.

The user who owns the playlist

Parameters:

  • display_name (String, nil) (defaults to: nil)

    The name displayed on the user’s profile. ‘null` if not available.



# File 'lib/spotted/models/simplified_playlist_object.rb', line 137

Instance Attribute Details

#display_nameString?

The name displayed on the user’s profile. ‘null` if not available.

Returns:

  • (String, nil)


135
# File 'lib/spotted/models/simplified_playlist_object.rb', line 135

optional :display_name, String, nil?: true