Class: Onlyfans::Models::Engagement::MessageGetTopMessageResponse::Data::Purchases::Media::VideoSources

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/onlyfans/models/engagement/message_get_top_message_response.rb,
sig/onlyfans/models/engagement/message_get_top_message_response.rbs

Overview

See Also:

  • Onlyfans::Models::Engagement::MessageGetTopMessageResponse::Data::Purchases::Media#video_sources

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



675
# File 'sig/onlyfans/models/engagement/message_get_top_message_response.rbs', line 675

def initialize: (

Instance Attribute Details

#number_240 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


516
# File 'lib/onlyfans/models/engagement/message_get_top_message_response.rb', line 516

optional :number_240, String, api_name: :"240"

#number_720 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


521
# File 'lib/onlyfans/models/engagement/message_get_top_message_response.rb', line 521

optional :number_720, String, api_name: :"720"

Instance Method Details

#to_hash ⇒ { :number_240 => String, :number_720 => String }

Returns:

  • ({ :number_240 => String, :number_720 => String })


680
# File 'sig/onlyfans/models/engagement/message_get_top_message_response.rbs', line 680

def to_hash: -> { :number_240 => String, :number_720 => String }