Sha256: 9b9a8383a79c4686e76586db049c10e7364a195fdbdb856f83699ada69a54527
Contents?: true
Size: 1.96 KB
Versions: 84
Compression:
Stored size: 1.96 KB
Contents
# OryClient::UpdateSettingsFlowBody ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'ory-client' OryClient::UpdateSettingsFlowBody.openapi_one_of # => # [ # :'UpdateSettingsFlowWithLookupMethod', # :'UpdateSettingsFlowWithOidcMethod', # :'UpdateSettingsFlowWithPasswordMethod', # :'UpdateSettingsFlowWithProfileMethod', # :'UpdateSettingsFlowWithTotpMethod', # :'UpdateSettingsFlowWithWebAuthnMethod' # ] ``` ### `openapi_discriminator_name` Returns the discriminator's property name. #### Example ```ruby require 'ory-client' OryClient::UpdateSettingsFlowBody.openapi_discriminator_name # => :'method' ``` ### `openapi_discriminator_name` Returns the discriminator's mapping. #### Example ```ruby require 'ory-client' OryClient::UpdateSettingsFlowBody.openapi_discriminator_mapping # => # { # :'lookup_secret' => :'UpdateSettingsFlowWithLookupMethod', # :'oidc' => :'UpdateSettingsFlowWithOidcMethod', # :'password' => :'UpdateSettingsFlowWithPasswordMethod', # :'profile' => :'UpdateSettingsFlowWithProfileMethod', # :'totp' => :'UpdateSettingsFlowWithTotpMethod', # :'webauthn' => :'UpdateSettingsFlowWithWebAuthnMethod' # } ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'ory-client' OryClient::UpdateSettingsFlowBody.build(data) # => #<UpdateSettingsFlowWithLookupMethod:0x00007fdd4aab02a0> OryClient::UpdateSettingsFlowBody.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `UpdateSettingsFlowWithLookupMethod` - `UpdateSettingsFlowWithOidcMethod` - `UpdateSettingsFlowWithPasswordMethod` - `UpdateSettingsFlowWithProfileMethod` - `UpdateSettingsFlowWithTotpMethod` - `UpdateSettingsFlowWithWebAuthnMethod` - `nil` (if no type matches)
Version data entries
84 entries across 84 versions & 1 rubygems