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

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

Overview

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) ⇒ 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



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

Instance Attribute Details

#filter_enabledBoolean?

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

Returns:

  • (Boolean, nil)


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

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)


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

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