Class: Onlyfans::Models::UserLists::UserListResponse::Data::List::PromoOffer

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/user_lists/user_list_response.rb,
sig/onlyfans/models/user_lists/user_list_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



715
# File 'sig/onlyfans/models/user_lists/user_list_response.rbs', line 715

def initialize: (

Instance Attribute Details

#created_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


576
# File 'lib/onlyfans/models/user_lists/user_list_response.rb', line 576

optional :created_at, String, api_name: :createdAt

#expired_at ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


581
# File 'lib/onlyfans/models/user_lists/user_list_response.rb', line 581

optional :expired_at, String, api_name: :expiredAt, nil?: true

#finished_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


586
# File 'lib/onlyfans/models/user_lists/user_list_response.rb', line 586

optional :finished_at, String, api_name: :finishedAt

#id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


571
# File 'lib/onlyfans/models/user_lists/user_list_response.rb', line 571

optional :id, Integer

#subscribe_days ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


591
# File 'lib/onlyfans/models/user_lists/user_list_response.rb', line 591

optional :subscribe_days, Integer, api_name: :subscribeDays

#subscriber_id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


596
# File 'lib/onlyfans/models/user_lists/user_list_response.rb', line 596

optional :subscriber_id, String, api_name: :subscriberId

#user_id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


601
# File 'lib/onlyfans/models/user_lists/user_list_response.rb', line 601

optional :user_id, String, api_name: :userId

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


725
# File 'sig/onlyfans/models/user_lists/user_list_response.rbs', line 725

def to_hash: -> {