Sha256: 7060d6bf9026a8e32454d8724d38c946a51bc842e2d649c79d576876a01d3451
Contents?: true
Size: 878 Bytes
Versions: 23
Compression:
Stored size: 878 Bytes
Contents
# OryHydraClient::UiNodeInputAttributesValue ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'ory-kratos-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-kratos-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
23 entries across 23 versions & 1 rubygems