Class: Privy::Models::OAuthUnlinkRequestBody
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::OAuthUnlinkRequestBody
- Defined in:
- lib/privy/models/oauth_unlink_request_body.rb
Instance Attribute Summary collapse
-
#provider ⇒ Symbol, ...
The ID of an OAuth provider.
- #subject ⇒ String
Instance Method Summary collapse
-
#initialize(provider:, subject:) ⇒ Object
constructor
The request body for unlinking an OAuth account.
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(provider:, subject:) ⇒ Object
The request body for unlinking an OAuth account.
|
|
# File 'lib/privy/models/oauth_unlink_request_body.rb', line 17
|
Instance Attribute Details
#provider ⇒ Symbol, ...
The ID of an OAuth provider.
10 |
# File 'lib/privy/models/oauth_unlink_request_body.rb', line 10 required :provider, union: -> { Privy::OAuthProviderID } |
#subject ⇒ String
15 |
# File 'lib/privy/models/oauth_unlink_request_body.rb', line 15 required :subject, String |