Sha256: 86dadfbada95ac41bee9fe1fb2a84d8919199c060ff887719aa9d83426e15e11

Contents?: true

Size: 1.39 KB

Versions: 194

Compression:

Stored size: 1.39 KB

Contents

# OryClient::SubmitSelfServiceRecoveryFlowBody

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'ory-client'

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

### `openapi_discriminator_name`

Returns the discriminator's property name.

#### Example

```ruby
require 'ory-client'

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

### `openapi_discriminator_name`

Returns the discriminator's mapping.

#### Example

```ruby
require 'ory-client'

OryClient::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-client'

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

OryClient::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

194 entries across 194 versions & 1 rubygems

Version Path
ory-client-0.2.0.alpha48 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha47 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha46 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha45 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha44 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha43 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha42 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha41 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha40 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha39 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha38 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha37 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha36 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha35 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha34 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha33 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha32 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha31 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha30 docs/SubmitSelfServiceRecoveryFlowBody.md
ory-client-0.2.0.alpha29 docs/SubmitSelfServiceRecoveryFlowBody.md