Sha256: c17f01991cded15d6b20aabaf119f13de83ae089fcbd66269ce69dcf70235c5f
Contents?: true
Size: 1.51 KB
Versions: 8
Compression:
Stored size: 1.51 KB
Contents
# OryKratosClient::SubmitSelfServiceLoginFlowBody ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'ory-kratos-client' OryKratosClient::SubmitSelfServiceLoginFlowBody.openapi_one_of # => # [ # :'SubmitSelfServiceLoginFlowWithPasswordMethodBody' # ] ``` ### `openapi_discriminator_name` Returns the discriminator's property name. #### Example ```ruby require 'ory-kratos-client' OryKratosClient::SubmitSelfServiceLoginFlowBody.openapi_discriminator_name # => :'method' ``` ### `openapi_discriminator_name` Returns the discriminator's mapping. #### Example ```ruby require 'ory-kratos-client' OryKratosClient::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' OryKratosClient::SubmitSelfServiceLoginFlowBody.build(data) # => #<SubmitSelfServiceLoginFlowWithPasswordMethodBody:0x00007fdd4aab02a0> OryKratosClient::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
8 entries across 8 versions & 1 rubygems