Metadata_Metamodel_ElementValue
The ElementValue structure describes the value of the metadata element.
{
"type": "string",
"long_value": 0,
"string_value": "string",
"list_value": [
"string"
],
"structure_id": "string",
"structure_ids": [
"string"
]
}
The ElementValue.Type enumerated type defines the valid types for values in metadata elements.
LONG : Indicates the type of the value is a long (64 bit signed integer).
STRING : Indicates the type of the value is a string (a variable length sequence of characters). The encoding is UTF-8.
STRING_LIST : Indicates the type of the value is a list of strings.
STRUCTURE_REFERENCE : Indicates the type of the value is an identifier for a structure element.
STRUCTURE_REFERENCE_LIST : Indicates the type of the value is a list of identifiers for a structure element.
Long value of the metadata element. This field is optional and it is only relevant when the value of ElementValue.type is LONG.
String value of the metadata element. This field is optional and it is only relevant when the value of ElementValue.type is STRING.
List of strings value of the metadata element. This field is optional and it is only relevant when the value of ElementValue.type is STRING_LIST.
Identifier of the structure element. This field is optional and it is only relevant when the value of ElementValue.type is STRUCTURE_REFERENCE. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vapi.structure. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vapi.structure.
List of identifiers of the structure elements. This field is optional and it is only relevant when the value of ElementValue.type is STRUCTURE_REFERENCE_LIST. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.vapi.structure. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.vapi.structure.