Class: Onlyfans::Models::Fans::NoteClearNotesResponse::Data::SubscribedByData

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

Overview

See Also:

  • Onlyfans::Models::Fans::NoteClearNotesResponse::Data#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



739
# File 'sig/onlyfans/models/fans/note_clear_notes_response.rbs', line 739

def initialize: (

Instance Attribute Details

#discount_finished_at ⇒ String?

Parameters:

Returns:



554
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 554

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

#discount_percent ⇒ Integer?

Parameters:

Returns:



559
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 559

optional :discount_percent, Integer, api_name: :discountPercent

#discount_period ⇒ Integer?

Parameters:

Returns:



564
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 564

optional :discount_period, Integer, api_name: :discountPeriod

#discount_started_at ⇒ String?

Parameters:

Returns:



569
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 569

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

#duration ⇒ String?

Parameters:

Returns:



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

optional :duration, String

#expired_at ⇒ String?

Parameters:

Returns:



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

optional :expired_at, String, api_name: :expiredAt

#has_active_paid_subscriptions ⇒ Boolean?

Parameters:

Returns:



584
585
586
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 584

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

#is_muted ⇒ Boolean?

Parameters:

Returns:



591
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 591

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

#new_price ⇒ Integer?

Parameters:

Returns:



596
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 596

optional :new_price, Integer, api_name: :newPrice

#price ⇒ Integer?

Parameters:

Returns:



601
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 601

optional :price, Integer

#regular_price ⇒ Float?

Parameters:

Returns:



606
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 606

optional :regular_price, Float, api_name: :regularPrice

#renewed_at ⇒ String?

Parameters:

Returns:



611
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 611

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

#show_posts_in_feed ⇒ Boolean?

Parameters:

Returns:



616
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 616

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

#status ⇒ String?

Parameters:

Returns:



621
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 621

optional :status, String

#subscribe_at ⇒ String?

Parameters:

Returns:



626
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 626

optional :subscribe_at, String, api_name: :subscribeAt

#subscribe_price ⇒ Float?

Parameters:

Returns:



631
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 631

optional :subscribe_price, Float, api_name: :subscribePrice

#subscribes ⇒ Array<Onlyfans::Models::Fans::NoteClearNotesResponse::Data::SubscribedByData::Subscribe>?

Returns:



636
637
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 636

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

#unsubscribe_reason ⇒ String?

Parameters:

Returns:



642
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 642

optional :unsubscribe_reason, String, api_name: :unsubscribeReason

Instance Method Details

#to_hash ⇒ {

Returns:



760
# File 'sig/onlyfans/models/fans/note_clear_notes_response.rbs', line 760

def to_hash: -> {