Class: Privy::Models::OAuthInitICloudRecoveryInput

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/oauth_init_icloud_recovery_input.rb,
sig/privy/models/oauth_init_icloud_recovery_input.rbs

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(client_type:) ⇒ OAuthInitICloudRecoveryInput

The input for initiating an iCloud OAuth recovery flow.

Parameters:

  • client_type (Symbol, Privy::Models::ICloudClientType)

    The client type for iCloud recovery operations.

  • client_type: (Privy::Models::icloud_client_type)


# File 'lib/privy/models/oauth_init_icloud_recovery_input.rb', line 12

Instance Attribute Details

#client_typeSymbol, Privy::Models::ICloudClientType

The client type for iCloud recovery operations.

Parameters:

  • value (Privy::Models::icloud_client_type)

Returns:



10
# File 'lib/privy/models/oauth_init_icloud_recovery_input.rb', line 10

required :client_type, enum: -> { Privy::ICloudClientType }

Instance Method Details

#to_hash{ client_type: Privy::Models::icloud_client_type }

Returns:

  • ({ client_type: Privy::Models::icloud_client_type })


11
# File 'sig/privy/models/oauth_init_icloud_recovery_input.rbs', line 11

def to_hash: -> { client_type: Privy::Models::icloud_client_type }