element_value
structure describes the value of the metadata element.
{
"list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" }
<?xml version="1.0" ?>
<ns0:ElementValue xmlns:ns0="http://vmware.com/vapi/metadata/metamodel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </ns0:ElementValue> |
Name | Type | Required | Description |
---|---|---|---|
type* |
com.vmware.vapi.metadata.metamodel.element_value.type | Yes | Type of the value. The type enumerated type defines the valid types for values in metadata elements.Values one of 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 | long | No. This field is optional and it is only relevant when the value of type is LONG. |
Long value of the metadata element. Required if type has value LONG. |
string_value | string | No. This field is optional and it is only relevant when the value of type is STRING. |
String value of the metadata element. Required if type has value STRING. |
list_value | List<string> | No. This field is optional and it is only relevant when the value of type is STRING_LIST. |
List of strings value of the metadata element. Required if type has value STRING_LIST. |
structure_id | ID | No. This field is optional and it is only relevant when the value of type is STRUCTURE_REFERENCE. |
Identifier of the structure element. Required if type has value STRUCTURE_REFERENCE. Id of type com.vmware.vapi.structure. |
structure_ids | List<ID> | No. This field is optional and it is only relevant when the value of type is STRUCTURE_REFERENCE_LIST. |
List of identifiers of the structure elements. Required if type has value STRUCTURE_REFERENCE_LIST. Id of type com.vmware.vapi.structure. |
Copyright © 2014. All Rights Reserved.