Class: Spotted::Models::MeRetrieveResponse::ExplicitContent Deprecated

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/spotted/models/me_retrieve_response.rb

Overview

Deprecated.

See Also:

Instance Attribute Summary collapse

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(filter_enabled: nil, filter_locked: nil, published: nil) ⇒ Object

Some parameter documentations has been truncated, see Spotted::Models::MeRetrieveResponse::ExplicitContent for more details.

The user’s explicit content settings. _This field is only available when the current user has granted access to the [user-read-private](/documentation/web-api/concepts/scopes/#list-of-scopes) scope._

Parameters:

  • filter_enabled (Boolean) (defaults to: nil)

    When ‘true`, indicates that explicit content should not be played.

  • filter_locked (Boolean) (defaults to: nil)

    When ‘true`, indicates that the explicit content setting is locked and can’t be

  • published (Boolean) (defaults to: nil)

    The playlist’s public/private status (if it should be added to the user’s profil



# File 'lib/spotted/models/me_retrieve_response.rb', line 176

Instance Attribute Details

#filter_enabledBoolean?

When ‘true`, indicates that explicit content should not be played.

Returns:

  • (Boolean, nil)


157
# File 'lib/spotted/models/me_retrieve_response.rb', line 157

optional :filter_enabled, Spotted::Internal::Type::Boolean

#filter_lockedBoolean?

When ‘true`, indicates that the explicit content setting is locked and can’t be changed by the user.

Returns:

  • (Boolean, nil)


164
# File 'lib/spotted/models/me_retrieve_response.rb', line 164

optional :filter_locked, Spotted::Internal::Type::Boolean

#publishedBoolean?

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)

Returns:

  • (Boolean, nil)


174
# File 'lib/spotted/models/me_retrieve_response.rb', line 174

optional :published, Spotted::Internal::Type::Boolean