Sha256: 915775ca0e58c0511c6fb9e43b6cb972f5333c240c3ce2207d1ac0adfd2b7ba5

Contents?: true

Size: 1.45 KB

Versions: 25

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

25 entries across 25 versions & 1 rubygems

Version Path
ory-client-1.15.12 docs/UpdateVerificationFlowBody.md
ory-client-1.15.10 docs/UpdateVerificationFlowBody.md
ory-client-1.15.7 docs/UpdateVerificationFlowBody.md
ory-client-1.15.6 docs/UpdateVerificationFlowBody.md
ory-client-1.15.5 docs/UpdateVerificationFlowBody.md
ory-client-1.15.4 docs/UpdateVerificationFlowBody.md
ory-client-1.15.3 docs/UpdateVerificationFlowBody.md
ory-client-1.15.0 docs/UpdateVerificationFlowBody.md
ory-client-1.14.5 docs/UpdateVerificationFlowBody.md
ory-client-1.14.4 docs/UpdateVerificationFlowBody.md
ory-client-1.14.3 docs/UpdateVerificationFlowBody.md
ory-client-1.14.2 docs/UpdateVerificationFlowBody.md
ory-client-1.14.1 docs/UpdateVerificationFlowBody.md
ory-client-1.14.0 docs/UpdateVerificationFlowBody.md
ory-client-1.13.10 docs/UpdateVerificationFlowBody.md
ory-client-1.13.6 docs/UpdateVerificationFlowBody.md
ory-client-1.13.4 docs/UpdateVerificationFlowBody.md
ory-client-1.13.3 docs/UpdateVerificationFlowBody.md
ory-client-1.13.2 docs/UpdateVerificationFlowBody.md
ory-client-1.13.1 docs/UpdateVerificationFlowBody.md