Sha256: 323ae339f8f8682c435611a182048fc34408b3c111dc2dd3afda64f5ed760cd0
Contents?: true
Size: 1.45 KB
Versions: 58
Compression:
Stored size: 1.45 KB
Contents
# OryClient::UpdateVerificationFlowBody ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'ory-client' OryClient::UpdateVerificationFlowBody.openapi_one_of # => # [ # :'UpdateVerificationFlowWithCodeMethod', # :'UpdateVerificationFlowWithLinkMethod' # ] ``` ### `openapi_discriminator_name` Returns the discriminator's property name. #### Example ```ruby require 'ory-client' OryClient::UpdateVerificationFlowBody.openapi_discriminator_name # => :'method' ``` ### `openapi_discriminator_name` Returns the discriminator's mapping. #### Example ```ruby require 'ory-client' OryClient::UpdateVerificationFlowBody.openapi_discriminator_mapping # => # { # :'code' => :'UpdateVerificationFlowWithCodeMethod', # :'link' => :'UpdateVerificationFlowWithLinkMethod' # } ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'ory-client' OryClient::UpdateVerificationFlowBody.build(data) # => #<UpdateVerificationFlowWithCodeMethod:0x00007fdd4aab02a0> OryClient::UpdateVerificationFlowBody.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `UpdateVerificationFlowWithCodeMethod` - `UpdateVerificationFlowWithLinkMethod` - `nil` (if no type matches)
Version data entries
58 entries across 58 versions & 1 rubygems