Sha256: 029d94a764ce657d586a867b5700d1297859f3614a03dd4d36e62e3ea8521720

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 KB

Contents

# OryKratosClient::ContinueWith

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

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

OryKratosClient::ContinueWith.openapi_one_of
# =>
# [
#   :'ContinueWithRecoveryUi',
#   :'ContinueWithSetOrySessionToken',
#   :'ContinueWithSettingsUi',
#   :'ContinueWithVerificationUi'
# ]
```

### `openapi_discriminator_name`

Returns the discriminator's property name.

#### Example

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

OryKratosClient::ContinueWith.openapi_discriminator_name
# => :'action'
```

### `openapi_discriminator_name`

Returns the discriminator's mapping.

#### Example

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

OryKratosClient::ContinueWith.openapi_discriminator_mapping
# =>
# {
#   :'set_ory_session_token' => :'ContinueWithSetOrySessionToken',
#   :'show_recovery_ui' => :'ContinueWithRecoveryUi',
#   :'show_settings_ui' => :'ContinueWithSettingsUi',
#   :'show_verification_ui' => :'ContinueWithVerificationUi'
# }

### build

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

#### Example

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

OryKratosClient::ContinueWith.build(data)
# => #<ContinueWithRecoveryUi:0x00007fdd4aab02a0>

OryKratosClient::ContinueWith.build(data_that_doesnt_match)
# => nil
```

#### Parameters

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

#### Return type

- `ContinueWithRecoveryUi`
- `ContinueWithSetOrySessionToken`
- `ContinueWithSettingsUi`
- `ContinueWithVerificationUi`
- `nil` (if no type matches)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ory-kratos-client-1.1.0 docs/ContinueWith.md