Returns the list of classes defined in oneOf.
require 'flat_api'
FlatApi::LtiConfiguration1p3.openapi_one_of
# =>
# [
# :'LtiConfiguration1p3Deployment',
# :'LtiConfiguration1p3Dynamic',
# :'LtiConfiguration1p3Manual'
# ]Find the appropriate object from the openapi_one_of list and casts the data into it.
require 'flat_api'
FlatApi::LtiConfiguration1p3.build(data)
# => #<LtiConfiguration1p3Deployment:0x00007fdd4aab02a0>
FlatApi::LtiConfiguration1p3.build(data_that_doesnt_match)
# => nil| Name | Type | Description |
|---|---|---|
| data | Mixed | data to be matched against the list of oneOf items |
LtiConfiguration1p3DeploymentLtiConfiguration1p3DynamicLtiConfiguration1p3Manualnil(if no type matches)