Class: Onlyfans::Models::ChatListResponse::Data::Fan::SubscribedByData

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

Overview

See Also:

  • Onlyfans::Models::ChatListResponse::Data::Fan#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



1090
# File 'sig/onlyfans/models/chat_list_response.rbs', line 1090

def initialize: (

Instance Attribute Details

#discount_finished_at ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


855
# File 'lib/onlyfans/models/chat_list_response.rb', line 855

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

#discount_percent ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


860
# File 'lib/onlyfans/models/chat_list_response.rb', line 860

optional :discount_percent, Integer, api_name: :discountPercent

#discount_period ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


865
# File 'lib/onlyfans/models/chat_list_response.rb', line 865

optional :discount_period, Integer, api_name: :discountPeriod

#discount_started_at ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


870
# File 'lib/onlyfans/models/chat_list_response.rb', line 870

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

#duration ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


875
# File 'lib/onlyfans/models/chat_list_response.rb', line 875

optional :duration, String

#expired_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


880
# File 'lib/onlyfans/models/chat_list_response.rb', line 880

optional :expired_at, String, api_name: :expiredAt

#has_active_paid_subscriptions ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


885
886
887
# File 'lib/onlyfans/models/chat_list_response.rb', line 885

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

#is_muted ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


892
# File 'lib/onlyfans/models/chat_list_response.rb', line 892

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

#new_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


897
# File 'lib/onlyfans/models/chat_list_response.rb', line 897

optional :new_price, Integer, api_name: :newPrice

#price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


902
# File 'lib/onlyfans/models/chat_list_response.rb', line 902

optional :price, Integer

#regular_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


907
# File 'lib/onlyfans/models/chat_list_response.rb', line 907

optional :regular_price, Integer, api_name: :regularPrice

#renewed_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


912
# File 'lib/onlyfans/models/chat_list_response.rb', line 912

optional :renewed_at, String, api_name: :renewedAt

#show_posts_in_feed ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


917
# File 'lib/onlyfans/models/chat_list_response.rb', line 917

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

#status ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


922
# File 'lib/onlyfans/models/chat_list_response.rb', line 922

optional :status, String, nil?: true

#subscribe_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


927
# File 'lib/onlyfans/models/chat_list_response.rb', line 927

optional :subscribe_at, String, api_name: :subscribeAt

#subscribe_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


932
# File 'lib/onlyfans/models/chat_list_response.rb', line 932

optional :subscribe_price, Integer, api_name: :subscribePrice

#subscribes ⇒ Array<Onlyfans::Models::ChatListResponse::Data::Fan::SubscribedByData::Subscribe>?



937
938
# File 'lib/onlyfans/models/chat_list_response.rb', line 937

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

#unsubscribe_reason ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


943
# File 'lib/onlyfans/models/chat_list_response.rb', line 943

optional :unsubscribe_reason, String, api_name: :unsubscribeReason

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


1111
# File 'sig/onlyfans/models/chat_list_response.rbs', line 1111

def to_hash: -> {