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

Version Path
ory-client-0.0.1.alpha19 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha18 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha17 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha16 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha15 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha14 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha13 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha12 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha11 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha10 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha9 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha8 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha7 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha6 docs/SubmitSelfServiceSettingsFlow.md
ory-client-0.0.1.alpha5 docs/SubmitSelfServiceSettingsFlow.md