Sha256: 66dfbe3a28d40475ae232ef8663d71d3f96dd49e1acb47bed9541fbf5d60d9a2

Contents?: true

Size: 1.04 KB

Versions: 23

Compression:

Stored size: 1.04 KB

Contents

# OryHydraClient::SubmitSelfServiceSettingsFlow

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'ory-kratos-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-kratos-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

23 entries across 23 versions & 1 rubygems

Version Path
ory-kratos-client-0.7.3.alpha8 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.7.3.alpha6 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.7.3.alpha5 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.7.3.alpha4 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.7.3.alpha3 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.7.3.alpha2 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.7.3.alpha1 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.7.1.alpha2 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.7.1.alpha1 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.7.0.alpha1 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.6.3.alpha1 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.6.2.alpha1 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.6.1.alpha1 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.6.0.alpha17 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.6.0.alpha16 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.6.0.alpha15 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.6.0.alpha11 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.6.0.alpha8 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.6.0.alpha6 docs/SubmitSelfServiceSettingsFlow.md
ory-kratos-client-0.6.0.alpha5 docs/SubmitSelfServiceSettingsFlow.md