Sha256: 9015c550152c183569d243e3ade04f0b3137b3f525ea1ff154be608264dfb89a

Contents?: true

Size: 1.46 KB

Versions: 20

Compression:

Stored size: 1.46 KB

Contents

# OryKratosClient::SubmitSelfServiceRecoveryFlowBody

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'ory-kratos-client'

OryKratosClient::SubmitSelfServiceRecoveryFlowBody.openapi_one_of
# =>
# [
#   :'SubmitSelfServiceRecoveryFlowWithLinkMethodBody'
# ]
```

### `openapi_discriminator_name`

Returns the discriminator's property name.

#### Example

```ruby
require 'ory-kratos-client'

OryKratosClient::SubmitSelfServiceRecoveryFlowBody.openapi_discriminator_name
# => :'method'
```

### `openapi_discriminator_name`

Returns the discriminator's mapping.

#### Example

```ruby
require 'ory-kratos-client'

OryKratosClient::SubmitSelfServiceRecoveryFlowBody.openapi_discriminator_mapping
# =>
# {
#   :'link' => :'SubmitSelfServiceRecoveryFlowWithLinkMethodBody'
# }

### build

Find the appropriate object from the `openapi_one_of` list and casts the data into it.

#### Example

```ruby
require 'ory-kratos-client'

OryKratosClient::SubmitSelfServiceRecoveryFlowBody.build(data)
# => #<SubmitSelfServiceRecoveryFlowWithLinkMethodBody:0x00007fdd4aab02a0>

OryKratosClient::SubmitSelfServiceRecoveryFlowBody.build(data_that_doesnt_match)
# => nil
```

#### Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| **data** | **Mixed** | data to be matched against the list of oneOf items |

#### Return type

- `SubmitSelfServiceRecoveryFlowWithLinkMethodBody`
- `nil` (if no type matches)

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ory-kratos-client-0.10.1 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.9.0.alpha3 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.9.0.alpha2 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.8.2.alpha1 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.8.0.alpha2 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.6.alpha7 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.6.alpha6 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.6.alpha5 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.6.alpha4 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.6.alpha3 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.6.alpha1 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.5.alpha2 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.3.alpha8 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.3.alpha6 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.3.alpha5 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.3.alpha4 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.3.alpha3 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.3.alpha2 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.3.alpha1 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-kratos-client-0.7.1.alpha2 docs/SubmitSelfServiceRecoveryFlowBody.md