Sha256: ac983c48e5bf4839d18e21f4cc00dcf75bbc0457843987a631829538d3457063

Contents?: true

Size: 1.43 KB

Versions: 195

Compression:

Stored size: 1.43 KB

Contents

# OryClient::SubmitSelfServiceVerificationFlowBody

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'ory-client'

OryClient::SubmitSelfServiceVerificationFlowBody.openapi_one_of
# =>
# [
#   :'SubmitSelfServiceVerificationFlowWithLinkMethodBody'
# ]
```

### `openapi_discriminator_name`

Returns the discriminator's property name.

#### Example

```ruby
require 'ory-client'

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

### `openapi_discriminator_name`

Returns the discriminator's mapping.

#### Example

```ruby
require 'ory-client'

OryClient::SubmitSelfServiceVerificationFlowBody.openapi_discriminator_mapping
# =>
# {
#   :'link' => :'SubmitSelfServiceVerificationFlowWithLinkMethodBody'
# }

### build

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

#### Example

```ruby
require 'ory-client'

OryClient::SubmitSelfServiceVerificationFlowBody.build(data)
# => #<SubmitSelfServiceVerificationFlowWithLinkMethodBody:0x00007fdd4aab02a0>

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

#### Parameters

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

#### Return type

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

Version data entries

195 entries across 195 versions & 1 rubygems

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