Sha256: 48a7571079fba94b7df62ab934adad0658cc3c1176a5dbad694dadbf2172237c

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 KB

Contents

# OryHydraClient::SubmitSelfServiceVerificationFlowBody

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'ory-kratos-client'

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

### `openapi_discriminator_name`

Returns the discriminator's property name.

#### Example

```ruby
require 'ory-kratos-client'

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

### `openapi_discriminator_name`

Returns the discriminator's mapping.

#### Example

```ruby
require 'ory-kratos-client'

OryHydraClient::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-kratos-client'

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

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

2 entries across 2 versions & 1 rubygems

Version Path
ory-kratos-client-0.7.1.alpha1 docs/SubmitSelfServiceVerificationFlowBody.md
ory-kratos-client-0.7.0.alpha1 docs/SubmitSelfServiceVerificationFlowBody.md