Class: Onlyfans::Models::FanSetCustomNameResponse::Data::SubscribedByData

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

Overview

See Also:

  • Onlyfans::Models::FanSetCustomNameResponse::Data#subscribed_by_data

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/fan_set_custom_name_response.rbs', line 715

def initialize: (

Instance Attribute Details

#discount_finished_at ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


537
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 537

optional :discount_finished_at, String, api_name: :discountFinishedAt, nil?: true

#discount_percent ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


542
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 542

optional :discount_percent, Integer, api_name: :discountPercent

#discount_period ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


547
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 547

optional :discount_period, Integer, api_name: :discountPeriod

#discount_started_at ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


552
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 552

optional :discount_started_at, String, api_name: :discountStartedAt, nil?: true

#duration ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


557
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 557

optional :duration, String

#expired_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


562
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 562

optional :expired_at, String, api_name: :expiredAt

#has_active_paid_subscriptions ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


567
568
569
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 567

optional :has_active_paid_subscriptions,
Onlyfans::Internal::Type::Boolean,
api_name: :hasActivePaidSubscriptions

#is_muted ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


574
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 574

optional :is_muted, Onlyfans::Internal::Type::Boolean, api_name: :isMuted

#new_posts_after_expire_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


579
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 579

optional :new_posts_after_expire_count, Integer, api_name: :newPostsAfterExpireCount

#new_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


584
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 584

optional :new_price, Integer, api_name: :newPrice

#price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


589
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 589

optional :price, Integer

#regular_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


594
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 594

optional :regular_price, Integer, api_name: :regularPrice

#renewed_at ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


599
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 599

optional :renewed_at, String, api_name: :renewedAt, nil?: true

#show_posts_in_feed ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


604
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 604

optional :show_posts_in_feed, Onlyfans::Internal::Type::Boolean, api_name: :showPostsInFeed

#status ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


609
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 609

optional :status, String, nil?: true

#subscribe_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


614
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 614

optional :subscribe_at, String, api_name: :subscribeAt

#subscribe_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


619
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 619

optional :subscribe_price, Integer, api_name: :subscribePrice

#subscribes ⇒ Array<Object>?

Parameters:

  • (::Array[top])

Returns:

  • (Array<Object>, nil)


624
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 624

optional :subscribes, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown]

#unsubscribe_reason ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


629
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 629

optional :unsubscribe_reason, String, api_name: :unsubscribeReason

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


737
# File 'sig/onlyfans/models/fan_set_custom_name_response.rbs', line 737

def to_hash: -> {