Class: Onlyfans::Models::UserRetrieveResponse::Data::SubscribedOnData

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

Overview

See Also:

  • Onlyfans::Models::UserRetrieveResponse::Data#subscribed_on_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



1266
# File 'sig/onlyfans/models/user_retrieve_response.rbs', line 1266

def initialize: (

Instance Attribute Details

#discount_finished_at ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


997
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 997

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

#discount_percent ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1002
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1002

optional :discount_percent, Integer, api_name: :discountPercent

#discount_period ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1007
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1007

optional :discount_period, Integer, api_name: :discountPeriod

#discount_started_at ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1012
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1012

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

#duration ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


1017
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1017

optional :duration, String

#expired_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


1022
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1022

optional :expired_at, String, api_name: :expiredAt

#has_active_paid_subscriptions ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


1027
1028
1029
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1027

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

#is_muted ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


1034
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1034

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

#messages_summ ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1039
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1039

optional :messages_summ, Integer, api_name: :messagesSumm

#new_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1044
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1044

optional :new_price, Integer, api_name: :newPrice

#posts_summ ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1049
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1049

optional :posts_summ, Integer, api_name: :postsSumm

#price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1054
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1054

optional :price, Integer

#regular_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1059
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1059

optional :regular_price, Integer, api_name: :regularPrice

#renewed_at ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1064
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1064

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

#status ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1069
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1069

optional :status, String, nil?: true

#streams_summ ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1074
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1074

optional :streams_summ, Integer, api_name: :streamsSumm

#subscribe_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


1079
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1079

optional :subscribe_at, String, api_name: :subscribeAt

#subscribe_price ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1084
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1084

optional :subscribe_price, Integer, api_name: :subscribePrice

#subscribes ⇒ Array<Object>?

Parameters:

  • (::Array[top])

Returns:

  • (Array<Object>, nil)


1089
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1089

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

#subscribes_summ ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1094
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1094

optional :subscribes_summ, Integer, api_name: :subscribesSumm

#tips_summ ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1099
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1099

optional :tips_summ, Integer, api_name: :tipsSumm

#total_summ ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


1104
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1104

optional :total_summ, Integer, api_name: :totalSumm

#unsubscribe_reason ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


1109
# File 'lib/onlyfans/models/user_retrieve_response.rb', line 1109

optional :unsubscribe_reason, String, api_name: :unsubscribeReason

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


1292
# File 'sig/onlyfans/models/user_retrieve_response.rbs', line 1292

def to_hash: -> {