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.0.1.alpha177 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha176 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha175 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha169 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha168 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha167 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha166 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha165 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha164 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha163 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha162 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha161 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha160 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha159 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha158 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha157 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha156 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha155 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha154 docs/SubmitSelfServiceVerificationFlowBody.md
ory-client-0.0.1.alpha153 docs/SubmitSelfServiceVerificationFlowBody.md