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