Sha256: 3782a4a3a85c720649ae1a5b3a9ee8c54a325cd2109fc2e0762ae27e70a219e1

Contents?: true

Size: 1.35 KB

Versions: 47

Compression:

Stored size: 1.35 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
# =>
# [
#   :'ContinueWithSetOrySessionToken',
#   :'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_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)
# => #<ContinueWithSetOrySessionToken: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

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

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
ory-client-1.4.2 docs/ContinueWith.md
ory-client-1.4.1 docs/ContinueWith.md
ory-client-1.4.0 docs/ContinueWith.md
ory-client-1.3.0 docs/ContinueWith.md
ory-client-1.2.17 docs/ContinueWith.md
ory-client-1.2.16 docs/ContinueWith.md
ory-client-1.2.15 docs/ContinueWith.md
ory-client-1.2.14 docs/ContinueWith.md
ory-client-1.2.11 docs/ContinueWith.md
ory-client-1.2.10 docs/ContinueWith.md
ory-client-1.2.9 docs/ContinueWith.md
ory-client-1.2.8 docs/ContinueWith.md
ory-client-1.2.7 docs/ContinueWith.md
ory-client-1.2.6 docs/ContinueWith.md
ory-client-1.2.5 docs/ContinueWith.md
ory-client-1.2.4 docs/ContinueWith.md
ory-client-1.2.3 docs/ContinueWith.md
ory-client-1.2.2 docs/ContinueWith.md
ory-client-1.2.1 docs/ContinueWith.md
ory-client-1.2.0 docs/ContinueWith.md