Sha256: 8274f45febed552d0e153ba5b492e5e4d259d6f73b7c3d54f6229424a0a45744

Contents?: true

Size: 1.63 KB

Versions: 78

Compression:

Stored size: 1.63 KB

Contents

# OryClient::SubmitSelfServiceRegistrationFlowBody

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'ory-client'

OryClient::SubmitSelfServiceRegistrationFlowBody.openapi_one_of
# =>
# [
#   :'SubmitSelfServiceRegistrationFlowWithOidcMethodBody',
#   :'SubmitSelfServiceRegistrationFlowWithPasswordMethodBody'
# ]
```

### `openapi_discriminator_name`

Returns the discriminator's property name.

#### Example

```ruby
require 'ory-client'

OryClient::SubmitSelfServiceRegistrationFlowBody.openapi_discriminator_name
# => :'method'
```

### `openapi_discriminator_name`

Returns the discriminator's mapping.

#### Example

```ruby
require 'ory-client'

OryClient::SubmitSelfServiceRegistrationFlowBody.openapi_discriminator_mapping
# =>
# {
#   :'oidc' => :'SubmitSelfServiceRegistrationFlowWithOidcMethodBody',
#   :'password' => :'SubmitSelfServiceRegistrationFlowWithPasswordMethodBody'
# }

### build

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

#### Example

```ruby
require 'ory-client'

OryClient::SubmitSelfServiceRegistrationFlowBody.build(data)
# => #<SubmitSelfServiceRegistrationFlowWithOidcMethodBody:0x00007fdd4aab02a0>

OryClient::SubmitSelfServiceRegistrationFlowBody.build(data_that_doesnt_match)
# => nil
```

#### Parameters

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

#### Return type

- `SubmitSelfServiceRegistrationFlowWithOidcMethodBody`
- `SubmitSelfServiceRegistrationFlowWithPasswordMethodBody`
- `nil` (if no type matches)

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
ory-client-0.0.1.alpha92 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha91 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha90 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha89 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha88 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha87 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha86 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha85 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha84 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha83 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha82 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha81 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha80 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha79 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha78 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha77 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha76 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha75 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha74 docs/SubmitSelfServiceRegistrationFlowBody.md
ory-client-0.0.1.alpha73 docs/SubmitSelfServiceRegistrationFlowBody.md