Class: Onlyfans::Models::FanListAllResponse::Data::List::PromoOffer

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

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



672
# File 'sig/onlyfans/models/fan_list_all_response.rbs', line 672

def initialize: (

Instance Attribute Details

#created_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


541
# File 'lib/onlyfans/models/fan_list_all_response.rb', line 541

optional :created_at, String, api_name: :createdAt

#expired_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


546
# File 'lib/onlyfans/models/fan_list_all_response.rb', line 546

optional :expired_at, String, api_name: :expiredAt

#finished_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


551
# File 'lib/onlyfans/models/fan_list_all_response.rb', line 551

optional :finished_at, String, api_name: :finishedAt

#id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


536
# File 'lib/onlyfans/models/fan_list_all_response.rb', line 536

optional :id, Integer

#subscribe_days ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


556
# File 'lib/onlyfans/models/fan_list_all_response.rb', line 556

optional :subscribe_days, Integer, api_name: :subscribeDays

#subscriber_id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


561
# File 'lib/onlyfans/models/fan_list_all_response.rb', line 561

optional :subscriber_id, String, api_name: :subscriberId

#user_id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


566
# File 'lib/onlyfans/models/fan_list_all_response.rb', line 566

optional :user_id, String, api_name: :userId

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


682
# File 'sig/onlyfans/models/fan_list_all_response.rbs', line 682

def to_hash: -> {