Class: MethodRuby::Models::Accounts::ConsentWithdrawParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::Accounts::ConsentWithdrawParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/method_ruby/models/accounts/consent_withdraw_params.rb
Overview
Defined Under Namespace
Modules: MethodVersion, Type
Instance Attribute Summary collapse
- #account_id ⇒ String
- #idempotency_key ⇒ String?
- #method_version ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawParams::MethodVersion
-
#reason ⇒ String?
Optional reason for the consent action.
-
#type ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawParams::Type
The consent action to take.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(account_id:, type:, method_version:, reason: nil, idempotency_key: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/method_ruby/models/accounts/consent_withdraw_params.rb', line 38
|
Instance Attribute Details
#account_id ⇒ String
14 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_params.rb', line 14 required :account_id, String |
#idempotency_key ⇒ String?
36 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_params.rb', line 36 optional :idempotency_key, String |
#method_version ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawParams::MethodVersion
25 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_params.rb', line 25 required :method_version, enum: -> { MethodRuby::Accounts::ConsentWithdrawParams::MethodVersion } |
#reason ⇒ String?
Optional reason for the consent action.
31 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_params.rb', line 31 optional :reason, String |
#type ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawParams::Type
The consent action to take.
20 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_params.rb', line 20 required :type, enum: -> { MethodRuby::Accounts::ConsentWithdrawParams::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/method_ruby/models/accounts/consent_withdraw_params.rb', line 57
|