Class: Onlyfans::Models::PayoutRequestManualWithdrawalResponse::UnionMember1::Data::List

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/payout_request_manual_withdrawal_response.rb

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(reject_reason: nil, state: nil) ⇒ Object

Parameters:

  • reject_reason (String, nil) (defaults to: nil)
  • state (String) (defaults to: nil)


273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'lib/onlyfans/models/payout_request_manual_withdrawal_response.rb', line 273

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_reasonString?

Returns:

  • (String, nil)


277
# File 'lib/onlyfans/models/payout_request_manual_withdrawal_response.rb', line 277

optional :reject_reason, String, api_name: :rejectReason, nil?: true

#stateString?

Returns:

  • (String, nil)


282
# File 'lib/onlyfans/models/payout_request_manual_withdrawal_response.rb', line 282

optional :state, String