Class: Onlyfans::Models::MassMessagingRetrieveResponse::Data::Queue

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/mass_messaging_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(id: nil, can_unsend: nil, date: nil, giphy_id: nil, has_error: nil, is_canceled: nil, is_free: nil, media_types: nil, release_forms: nil, sent_count: nil, text: nil, text_cropped: nil, unsend_seconds: nil, viewed_count: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • can_unsend (Boolean) (defaults to: nil)
  • date (String) (defaults to: nil)
  • giphy_id (String, nil) (defaults to: nil)
  • has_error (Boolean) (defaults to: nil)
  • is_canceled (Boolean) (defaults to: nil)
  • is_free (Boolean) (defaults to: nil)
  • media_types (String, nil) (defaults to: nil)
  • release_forms (Array<Object>) (defaults to: nil)
  • sent_count (Integer) (defaults to: nil)
  • text (String) (defaults to: nil)
  • text_cropped (String) (defaults to: nil)
  • unsend_seconds (Integer) (defaults to: nil)
  • viewed_count (Integer) (defaults to: nil)


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

Instance Attribute Details

#can_unsendBoolean?

Returns:

  • (Boolean, nil)


139
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 139

optional :can_unsend, Onlyfans::Internal::Type::Boolean, api_name: :canUnsend

#dateString?

Returns:

  • (String, nil)


144
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 144

optional :date, String

#giphy_idString?

Returns:

  • (String, nil)


149
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 149

optional :giphy_id, String, api_name: :giphyId, nil?: true

#has_errorBoolean?

Returns:

  • (Boolean, nil)


154
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 154

optional :has_error, Onlyfans::Internal::Type::Boolean, api_name: :hasError

#idInteger?

Returns:

  • (Integer, nil)


134
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 134

optional :id, Integer

#is_canceledBoolean?

Returns:

  • (Boolean, nil)


159
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 159

optional :is_canceled, Onlyfans::Internal::Type::Boolean, api_name: :isCanceled

#is_freeBoolean?

Returns:

  • (Boolean, nil)


164
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 164

optional :is_free, Onlyfans::Internal::Type::Boolean, api_name: :isFree

#media_typesString?

Returns:

  • (String, nil)


169
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 169

optional :media_types, String, api_name: :mediaTypes, nil?: true

#release_formsArray<Object>?

Returns:

  • (Array<Object>, nil)


174
175
176
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 174

optional :release_forms,
Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown],
api_name: :releaseForms

#sent_countInteger?

Returns:

  • (Integer, nil)


181
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 181

optional :sent_count, Integer, api_name: :sentCount

#textString?

Returns:

  • (String, nil)


186
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 186

optional :text, String

#text_croppedString?

Returns:

  • (String, nil)


191
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 191

optional :text_cropped, String, api_name: :textCropped

#unsend_secondsInteger?

Returns:

  • (Integer, nil)


196
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 196

optional :unsend_seconds, Integer, api_name: :unsendSeconds

#viewed_countInteger?

Returns:

  • (Integer, nil)


201
# File 'lib/onlyfans/models/mass_messaging_retrieve_response.rb', line 201

optional :viewed_count, Integer, api_name: :viewedCount