vapi metadata metamodel: user defined type
The
user_defined_type
structure contains the metamodel type information of a typed element whose type is a user defined named type.Representations:
{
"resource_id": "obj-103",
"resource_type": "string"
}
"resource_id": "obj-103",
"resource_type": "string"
}
<?xml version="1.0" ?>
<ns0:UserDefinedType xmlns:ns0="http://vmware.com/vapi/metadata/metamodel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<resource_id>obj-103</resource_id>
<resource_type>string</resource_type>
</ns0:UserDefinedType>
<ns0:UserDefinedType xmlns:ns0="http://vmware.com/vapi/metadata/metamodel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<resource_id>obj-103</resource_id>
<resource_type>string</resource_type>
</ns0:UserDefinedType>
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
resource_type | string | Category of the user defined named type. The named type could be a structure element or an enumeration element. When clients pass a value of this structure as a parameter, the field must be one of com.vmware.vapi.structure or com.vmware.vapi.enumeration . When operations return a value of this structure as a result, the field will be one of com.vmware.vapi.structure or com.vmware.vapi.enumeration . |
resource_id | string | Identifier of the user defined named type. When clients pass a value of this structure as a parameter, the field must be an identifier for one of these resource types: com.vmware.vapi.structure or com.vmware.vapi.enumeration . When operations return a value of this structure as a result, the field will be an identifier for one of these resource types: com.vmware.vapi.structure or com.vmware.vapi.enumeration . |