Sha256: 67a9e882d8d0db4c35a4eb5dbb7810b5001a3edfa750ffc43fbeb4c364d8ff62

Contents?: true

Size: 864 Bytes

Versions: 15

Compression:

Stored size: 864 Bytes

Contents

# OryHydraClient::UiNodeInputAttributesValue

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'ory-client'

OryHydraClient::UiNodeInputAttributesValue.openapi_one_of
# =>
# [
#   :'Boolean',
#   :'Float',
#   :'String'
# ]
```

### build

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

#### Example

```ruby
require 'ory-client'

OryHydraClient::UiNodeInputAttributesValue.build(data)
# => #<Boolean:0x00007fdd4aab02a0>

OryHydraClient::UiNodeInputAttributesValue.build(data_that_doesnt_match)
# => nil
```

#### Parameters

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

#### Return type

- `Boolean`
- `Float`
- `String`
- `nil` (if no type matches)

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ory-client-0.0.1.alpha19 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha18 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha17 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha16 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha15 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha14 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha13 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha12 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha11 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha10 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha9 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha8 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha7 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha6 docs/UiNodeInputAttributesValue.md
ory-client-0.0.1.alpha5 docs/UiNodeInputAttributesValue.md