Sha256: 03b97bfc85584f914c2e7741c506ddb46ba2aa6d3de4ccfbcf634aa1ad0d0ea4

Contents?: true

Size: 1.69 KB

Versions: 22

Compression:

Stored size: 1.69 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',
#   :'ContinueWithRedirectBrowserTo',
#   :'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
# =>
# {
#   :'redirect_browser_to' => :'ContinueWithRedirectBrowserTo',
#   :'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`
- `ContinueWithRedirectBrowserTo`
- `ContinueWithSetOrySessionToken`
- `ContinueWithSettingsUi`
- `ContinueWithVerificationUi`
- `nil` (if no type matches)

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
ory-client-1.16.2 docs/ContinueWith.md
ory-client-1.16.1 docs/ContinueWith.md
ory-client-1.16.0 docs/ContinueWith.md
ory-client-1.15.17 docs/ContinueWith.md
ory-client-1.15.16 docs/ContinueWith.md
ory-client-1.15.15 docs/ContinueWith.md
ory-client-1.15.14 docs/ContinueWith.md
ory-client-1.15.13 docs/ContinueWith.md
ory-client-1.15.12 docs/ContinueWith.md
ory-client-1.15.10 docs/ContinueWith.md
ory-client-1.15.7 docs/ContinueWith.md
ory-client-1.15.6 docs/ContinueWith.md
ory-client-1.15.5 docs/ContinueWith.md
ory-client-1.15.4 docs/ContinueWith.md
ory-client-1.15.3 docs/ContinueWith.md
ory-client-1.15.0 docs/ContinueWith.md
ory-client-1.14.5 docs/ContinueWith.md
ory-client-1.14.4 docs/ContinueWith.md
ory-client-1.14.3 docs/ContinueWith.md
ory-client-1.14.2 docs/ContinueWith.md