Metadata_Metamodel_ElementValue

Metadata_Metamodel_ElementValue
Metadata_Metamodel_ElementValue

The ElementValue structure describes the value of the metadata element.

JSON Example
{
    "type": "string",
    "long_value": 0,
    "string_value": "string",
    "list_value": [
        "string"
    ],
    "structure_id": "string",
    "structure_ids": [
        "string"
    ]
}
type
Required

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.

integer As int64
long_value
Optional

Long value of the metadata element. This field is optional and it is only relevant when the value of ElementValue.type is LONG.

string
string_value
Optional

String value of the metadata element. This field is optional and it is only relevant when the value of ElementValue.type is STRING.

array of string
list_value
Optional

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.

string
structure_id
Optional

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.

array of string
structure_ids
Optional

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.