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