Sha256: 323ae339f8f8682c435611a182048fc34408b3c111dc2dd3afda64f5ed760cd0

Contents?: true

Size: 1.45 KB

Versions: 58

Compression:

Stored size: 1.45 KB

Contents

# OryClient::UpdateVerificationFlowBody

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'ory-client'

OryClient::UpdateVerificationFlowBody.openapi_one_of
# =>
# [
#   :'UpdateVerificationFlowWithCodeMethod',
#   :'UpdateVerificationFlowWithLinkMethod'
# ]
```

### `openapi_discriminator_name`

Returns the discriminator's property name.

#### Example

```ruby
require 'ory-client'

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

### `openapi_discriminator_name`

Returns the discriminator's mapping.

#### Example

```ruby
require 'ory-client'

OryClient::UpdateVerificationFlowBody.openapi_discriminator_mapping
# =>
# {
#   :'code' => :'UpdateVerificationFlowWithCodeMethod',
#   :'link' => :'UpdateVerificationFlowWithLinkMethod'
# }

### build

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

#### Example

```ruby
require 'ory-client'

OryClient::UpdateVerificationFlowBody.build(data)
# => #<UpdateVerificationFlowWithCodeMethod:0x00007fdd4aab02a0>

OryClient::UpdateVerificationFlowBody.build(data_that_doesnt_match)
# => nil
```

#### Parameters

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

#### Return type

- `UpdateVerificationFlowWithCodeMethod`
- `UpdateVerificationFlowWithLinkMethod`
- `nil` (if no type matches)

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
ory-client-1.6.2 docs/UpdateVerificationFlowBody.md
ory-client-1.6.1 docs/UpdateVerificationFlowBody.md
ory-client-1.5.2 docs/UpdateVerificationFlowBody.md
ory-client-1.5.1 docs/UpdateVerificationFlowBody.md
ory-client-1.5.0 docs/UpdateVerificationFlowBody.md
ory-client-1.4.9 docs/UpdateVerificationFlowBody.md
ory-client-1.4.8 docs/UpdateVerificationFlowBody.md
ory-client-1.4.7 docs/UpdateVerificationFlowBody.md
ory-client-1.4.6 docs/UpdateVerificationFlowBody.md
ory-client-1.4.5 docs/UpdateVerificationFlowBody.md
ory-client-1.4.4 docs/UpdateVerificationFlowBody.md
ory-client-1.4.3 docs/UpdateVerificationFlowBody.md
ory-client-1.4.2 docs/UpdateVerificationFlowBody.md
ory-client-1.4.1 docs/UpdateVerificationFlowBody.md
ory-client-1.4.0 docs/UpdateVerificationFlowBody.md
ory-client-1.3.0 docs/UpdateVerificationFlowBody.md
ory-client-1.2.17 docs/UpdateVerificationFlowBody.md
ory-client-1.2.16 docs/UpdateVerificationFlowBody.md
ory-client-1.2.15 docs/UpdateVerificationFlowBody.md
ory-client-1.2.14 docs/UpdateVerificationFlowBody.md