Class: Onlyfans::Models::PayoutRequestManualWithdrawalResponse::UnionMember0::Data::List
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::PayoutRequestManualWithdrawalResponse::UnionMember0::Data::List
- Defined in:
- lib/onlyfans/models/payout_request_manual_withdrawal_response.rb,
sig/onlyfans/models/payout_request_manual_withdrawal_response.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(list: nil) ⇒ List
constructor
A new instance of List.
- #to_hash ⇒ { reject_reason: String?, state: String }
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(list: nil) ⇒ List
Returns a new instance of List.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'lib/onlyfans/models/payout_request_manual_withdrawal_response.rb', line 134 class List < Onlyfans::Internal::Type::BaseModel # @!attribute reject_reason # # @return [String, nil] optional :reject_reason, String, api_name: :rejectReason, nil?: true # @!attribute state # # @return [String, nil] optional :state, String # @!method initialize(reject_reason: nil, state: nil) # @param reject_reason [String, nil] # @param state [String] end |
Instance Attribute Details
#reject_reason ⇒ String?
138 |
# File 'lib/onlyfans/models/payout_request_manual_withdrawal_response.rb', line 138 optional :reject_reason, String, api_name: :rejectReason, nil?: true |
#state ⇒ String?
143 |
# File 'lib/onlyfans/models/payout_request_manual_withdrawal_response.rb', line 143 optional :state, String |
Instance Method Details
#to_hash ⇒ { reject_reason: String?, state: String }
189 |
# File 'sig/onlyfans/models/payout_request_manual_withdrawal_response.rbs', line 189
def to_hash: -> { reject_reason: String?, state: String }
|