Class: Onlyfans::Models::Users::RestrictCreateResponse::Meta::Credits
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onlyfans/models/users/restrict_create_response.rb,
sig/onlyfans/models/users/restrict_create_response.rbs
Overview
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 ⇒ Object
102
|
# File 'sig/onlyfans/models/users/restrict_create_response.rbs', line 102
def initialize: (
|
Instance Attribute Details
#balance ⇒ Integer?
66
|
# File 'lib/onlyfans/models/users/restrict_create_response.rb', line 66
optional :balance, Integer
|
#note ⇒ String?
71
|
# File 'lib/onlyfans/models/users/restrict_create_response.rb', line 71
optional :note, String
|
#used ⇒ Integer?
76
|
# File 'lib/onlyfans/models/users/restrict_create_response.rb', line 76
optional :used, Integer
|
Instance Method Details
#to_hash ⇒ { balance: Integer, note: String, used: Integer }
108
|
# File 'sig/onlyfans/models/users/restrict_create_response.rbs', line 108
def to_hash: -> { balance: Integer, note: String, used: Integer }
|