Sha256: 915775ca0e58c0511c6fb9e43b6cb972f5333c240c3ce2207d1ac0adfd2b7ba5
Contents?: true
Size: 1.45 KB
Versions: 25
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
25 entries across 25 versions & 1 rubygems