Sha256: 86a1261c8309b01f77f5ecca3e9be6d7355ebafa1da895d5dbae26a26ba739bf
Contents?: true
Size: 1.97 KB
Versions: 3
Compression:
Stored size: 1.97 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ory-client-1.9.0 | docs/UpdateSettingsFlowBody.md |
ory-client-1.8.1 | docs/UpdateSettingsFlowBody.md |
ory-client-1.8.0 | docs/UpdateSettingsFlowBody.md |