Sha256: 9a4d72b94c46577ac01c0c783990539d325b3db3263e45faac67c858989720e2
Contents?: true
Size: 1.03 KB
Versions: 15
Compression:
Stored size: 1.03 KB
Contents
# OryHydraClient::SubmitSelfServiceSettingsFlow ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'ory-client' OryHydraClient::SubmitSelfServiceSettingsFlow.openapi_one_of # => # [ # :'SubmitSelfServiceSettingsFlowWithPasswordMethod', # :'SubmitSelfServiceSettingsFlowWithProfileMethod' # ] ``` ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'ory-client' OryHydraClient::SubmitSelfServiceSettingsFlow.build(data) # => #<SubmitSelfServiceSettingsFlowWithPasswordMethod:0x00007fdd4aab02a0> OryHydraClient::SubmitSelfServiceSettingsFlow.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `SubmitSelfServiceSettingsFlowWithPasswordMethod` - `SubmitSelfServiceSettingsFlowWithProfileMethod` - `nil` (if no type matches)
Version data entries
15 entries across 15 versions & 1 rubygems