Class: Onlyfans::Models::FollowingListAllResponse::Data::List::SubscribedByData

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

Overview

See Also:

  • Onlyfans::Models::FollowingListAllResponse::Data::List#subscribed_by_data

Defined Under Namespace

Classes: Subscribe

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



755
# File 'sig/onlyfans/models/following_list_all_response.rbs', line 755

def initialize: (

Instance Attribute Details

#discount_finished_at ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

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

#discount_percent ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


567
# File 'lib/onlyfans/models/following_list_all_response.rb', line 567

optional :discount_percent, Integer, api_name: :discountPercent

#discount_period ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


572
# File 'lib/onlyfans/models/following_list_all_response.rb', line 572

optional :discount_period, Integer, api_name: :discountPeriod

#discount_started_at ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


577
# File 'lib/onlyfans/models/following_list_all_response.rb', line 577

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

#duration ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


582
# File 'lib/onlyfans/models/following_list_all_response.rb', line 582

optional :duration, String

#expired_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


587
# File 'lib/onlyfans/models/following_list_all_response.rb', line 587

optional :expired_at, String, api_name: :expiredAt

#has_active_paid_subscriptions ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


592
593
594
# File 'lib/onlyfans/models/following_list_all_response.rb', line 592

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

#is_muted ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

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

#new_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :new_price, Integer, api_name: :newPrice

#price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :price, Integer

#regular_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :regular_price, Integer, api_name: :regularPrice

#renewed_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :renewed_at, String, api_name: :renewedAt

#show_posts_in_feed ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

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

#status ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :status, String, nil?: true

#subscribe_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


634
# File 'lib/onlyfans/models/following_list_all_response.rb', line 634

optional :subscribe_at, String, api_name: :subscribeAt

#subscribe_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


639
# File 'lib/onlyfans/models/following_list_all_response.rb', line 639

optional :subscribe_price, Integer, api_name: :subscribePrice

#subscribes ⇒ Array<Onlyfans::Models::FollowingListAllResponse::Data::List::SubscribedByData::Subscribe>?



644
645
# File 'lib/onlyfans/models/following_list_all_response.rb', line 644

optional :subscribes,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::FollowingListAllResponse::Data::List::SubscribedByData::Subscribe] }

#unsubscribe_reason ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


650
# File 'lib/onlyfans/models/following_list_all_response.rb', line 650

optional :unsubscribe_reason, String, api_name: :unsubscribeReason

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


776
# File 'sig/onlyfans/models/following_list_all_response.rbs', line 776

def to_hash: -> {