Class: Onlyfans::Models::Media::UploadGetStatusResponse::UnionMember3

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/media/upload_get_status_response.rb,
sig/onlyfans/models/media/upload_get_status_response.rbs

Defined Under Namespace

Classes: Media

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(credits_used: nil, media: nil, prefixed_id: nil, status: nil) ⇒ Object

Completed POST /media/upload upload

Parameters:



# File 'lib/onlyfans/models/media/upload_get_status_response.rb', line 254

Instance Attribute Details

#credits_used ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


237
# File 'lib/onlyfans/models/media/upload_get_status_response.rb', line 237

optional :credits_used, Integer

#media ⇒ Onlyfans::Models::Media::UploadGetStatusResponse::UnionMember3::Media?



242
# File 'lib/onlyfans/models/media/upload_get_status_response.rb', line 242

optional :media, -> { Onlyfans::Models::Media::UploadGetStatusResponse::UnionMember3::Media }

#prefixed_id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


247
# File 'lib/onlyfans/models/media/upload_get_status_response.rb', line 247

optional :prefixed_id, String

#status ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


252
# File 'lib/onlyfans/models/media/upload_get_status_response.rb', line 252

optional :status, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


302
# File 'sig/onlyfans/models/media/upload_get_status_response.rbs', line 302

def to_hash: -> {