Sha256: 5df0c021444c27b48b7bc42aabb40b212bee664dce54c6d64b205e3d68e8f221

Contents?: true

Size: 1.56 KB

Versions: 12

Compression:

Stored size: 1.56 KB

Contents

# OryClient::ContinueWith

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'ory-client'

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

### `openapi_discriminator_name`

Returns the discriminator's property name.

#### Example

```ruby
require 'ory-client'

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

### `openapi_discriminator_name`

Returns the discriminator's mapping.

#### Example

```ruby
require 'ory-client'

OryClient::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-client'

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

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

12 entries across 12 versions & 1 rubygems

Version Path
ory-client-1.6.2 docs/ContinueWith.md
ory-client-1.6.1 docs/ContinueWith.md
ory-client-1.5.2 docs/ContinueWith.md
ory-client-1.5.1 docs/ContinueWith.md
ory-client-1.5.0 docs/ContinueWith.md
ory-client-1.4.9 docs/ContinueWith.md
ory-client-1.4.8 docs/ContinueWith.md
ory-client-1.4.7 docs/ContinueWith.md
ory-client-1.4.6 docs/ContinueWith.md
ory-client-1.4.5 docs/ContinueWith.md
ory-client-1.4.4 docs/ContinueWith.md
ory-client-1.4.3 docs/ContinueWith.md