Sha256: c82f7ddb916173d4d02cc1169717f404d90df954b1b46f4335bac643f97cc378
Contents?: true
Size: 1.55 KB
Versions: 2
Compression:
Stored size: 1.55 KB
Contents
# OryHydraClient::SubmitSelfServiceRegistrationFlowBody ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'ory-client' OryHydraClient::SubmitSelfServiceRegistrationFlowBody.openapi_one_of # => # [ # :'SubmitSelfServiceRegistrationFlowWithPasswordMethodBody' # ] ``` ### `openapi_discriminator_name` Returns the discriminator's property name. #### Example ```ruby require 'ory-client' OryHydraClient::SubmitSelfServiceRegistrationFlowBody.openapi_discriminator_name # => :'method' ``` ### `openapi_discriminator_name` Returns the discriminator's mapping. #### Example ```ruby require 'ory-client' OryHydraClient::SubmitSelfServiceRegistrationFlowBody.openapi_discriminator_mapping # => # { # :'oidc' => :'SubmitSelfServiceRegistrationFlowWithOidcMethodBody', # :'password' => :'SubmitSelfServiceRegistrationFlowWithPasswordMethodBody' # } ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'ory-client' OryHydraClient::SubmitSelfServiceRegistrationFlowBody.build(data) # => #<SubmitSelfServiceRegistrationFlowWithPasswordMethodBody:0x00007fdd4aab02a0> OryHydraClient::SubmitSelfServiceRegistrationFlowBody.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `SubmitSelfServiceRegistrationFlowWithPasswordMethodBody` - `nil` (if no type matches)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ory-client-0.0.1.alpha17 | docs/SubmitSelfServiceRegistrationFlowBody.md |
ory-client-0.0.1.alpha16 | docs/SubmitSelfServiceRegistrationFlowBody.md |