Class: Onlyfans::Models::PostUnarchiveResponse::Data::LabelState

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/post_unarchive_response.rb

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(id: nil, is_clear_in_progress: nil, name: nil, posts: nil, posts_count: nil, type: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)
  • is_clear_in_progress (Boolean) (defaults to: nil)
  • name (String) (defaults to: nil)
  • posts (Array<Object>) (defaults to: nil)
  • posts_count (Integer) (defaults to: nil)
  • type (String) (defaults to: nil)


# File 'lib/onlyfans/models/post_unarchive_response.rb', line 215

Instance Attribute Details

#idString?

Returns:

  • (String, nil)


188
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 188

optional :id, String

#is_clear_in_progressBoolean?

Returns:

  • (Boolean, nil)


193
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 193

optional :is_clear_in_progress, Onlyfans::Internal::Type::Boolean, api_name: :isClearInProgress

#nameString?

Returns:

  • (String, nil)


198
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 198

optional :name, String

#postsArray<Object>?

Returns:

  • (Array<Object>, nil)


203
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 203

optional :posts, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown]

#posts_countInteger?

Returns:

  • (Integer, nil)


208
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 208

optional :posts_count, Integer, api_name: :postsCount

#typeString?

Returns:

  • (String, nil)


213
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 213

optional :type, String