Returns the list of classes defined in oneOf.
require 'intersight_client'
IntersightClient::HclOperatingSystemRelationship.openapi_one_of
# =>
# [
# :'HclOperatingSystem',
# :'MoMoRef',
# :'Null'
# ]Returns the discriminator's property name.
require 'intersight_client'
IntersightClient::HclOperatingSystemRelationship.openapi_discriminator_name
# => :'class_id'Returns the discriminator's mapping.
require 'intersight_client'
IntersightClient::HclOperatingSystemRelationship.openapi_discriminator_mapping
# =>
# {
# :'hcl.OperatingSystem' => :'HclOperatingSystem',
# :'mo.MoRef' => :'MoMoRef'
# }
### build
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
#### Example
```ruby
require 'intersight_client'
IntersightClient::HclOperatingSystemRelationship.build(data)
# => #<HclOperatingSystem:0x00007fdd4aab02a0>
IntersightClient::HclOperatingSystemRelationship.build(data_that_doesnt_match)
# => nil| Name | Type | Description |
|---|---|---|
| data | Mixed | data to be matched against the list of oneOf items |
HclOperatingSystemMoMoRefNullnil(if no type matches)