Class: Onlyfans::Models::Fans::NoteClearNotesResponse::Data::SubscriptionBundle
- 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
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: nil, can_buy: nil, discount: nil, duration: nil, price: nil) ⇒ Object
|
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 942
|
Instance Attribute Details
#can_buy ⇒ Boolean?
925
|
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 925
optional :can_buy, Onlyfans::Internal::Type::Boolean, api_name: :canBuy
|
#discount ⇒ Integer?
930
|
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 930
optional :discount, Integer
|
#duration ⇒ Integer?
935
|
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 935
optional :duration, Integer
|
#id ⇒ Integer?
920
|
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 920
optional :id, Integer
|
#price ⇒ Float?
940
|
# File 'lib/onlyfans/models/fans/note_clear_notes_response.rb', line 940
optional :price, Float
|
Instance Method Details
#to_hash ⇒ {
1112
|
# File 'sig/onlyfans/models/fans/note_clear_notes_response.rbs', line 1112
def to_hash: -> {
|