Class: Onlyfans::Models::FanListLatestResponse::Data::User::PromoOffer

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



679
# File 'sig/onlyfans/models/fan_list_latest_response.rbs', line 679

def initialize: (

Instance Attribute Details

#created_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


548
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 548

optional :created_at, String, api_name: :createdAt

#expired_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


553
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 553

optional :expired_at, String, api_name: :expiredAt

#finished_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


558
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 558

optional :finished_at, String, api_name: :finishedAt

#id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


543
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 543

optional :id, Integer

#subscribe_days ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


563
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 563

optional :subscribe_days, Integer, api_name: :subscribeDays

#subscriber_id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


568
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 568

optional :subscriber_id, String, api_name: :subscriberId

#user_id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


573
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 573

optional :user_id, String, api_name: :userId

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


689
# File 'sig/onlyfans/models/fan_list_latest_response.rbs', line 689

def to_hash: -> {