Sha256: 975b45e5345b742825fd84069d42bd920cfbe8e8dedaccff1822f9918ebe9a4d
Contents?: true
Size: 1.9 KB
Versions: 32
Compression:
Stored size: 1.9 KB
Contents
# OryClient::UpdateLoginFlowBody ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'ory-client' OryClient::UpdateLoginFlowBody.openapi_one_of # => # [ # :'UpdateLoginFlowWithCodeMethod', # :'UpdateLoginFlowWithLookupSecretMethod', # :'UpdateLoginFlowWithOidcMethod', # :'UpdateLoginFlowWithPasswordMethod', # :'UpdateLoginFlowWithTotpMethod', # :'UpdateLoginFlowWithWebAuthnMethod' # ] ``` ### `openapi_discriminator_name` Returns the discriminator's property name. #### Example ```ruby require 'ory-client' OryClient::UpdateLoginFlowBody.openapi_discriminator_name # => :'method' ``` ### `openapi_discriminator_name` Returns the discriminator's mapping. #### Example ```ruby require 'ory-client' OryClient::UpdateLoginFlowBody.openapi_discriminator_mapping # => # { # :'code' => :'UpdateLoginFlowWithCodeMethod', # :'lookup_secret' => :'UpdateLoginFlowWithLookupSecretMethod', # :'oidc' => :'UpdateLoginFlowWithOidcMethod', # :'password' => :'UpdateLoginFlowWithPasswordMethod', # :'totp' => :'UpdateLoginFlowWithTotpMethod', # :'webauthn' => :'UpdateLoginFlowWithWebAuthnMethod' # } ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'ory-client' OryClient::UpdateLoginFlowBody.build(data) # => #<UpdateLoginFlowWithCodeMethod:0x00007fdd4aab02a0> OryClient::UpdateLoginFlowBody.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `UpdateLoginFlowWithCodeMethod` - `UpdateLoginFlowWithLookupSecretMethod` - `UpdateLoginFlowWithOidcMethod` - `UpdateLoginFlowWithPasswordMethod` - `UpdateLoginFlowWithTotpMethod` - `UpdateLoginFlowWithWebAuthnMethod` - `nil` (if no type matches)
Version data entries
32 entries across 32 versions & 1 rubygems