MetadataMetamodelElementValue

The ElementValue structure describes the value of the metadata element.


Properties

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.


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.


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.


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.

Possible values are: LONGSTRINGSTRING_LISTSTRUCTURE_REFERENCESTRUCTURE_REFERENCE_LIST

JSON Example

{
	"type": "LONG"
}

Feedback

Was this page helpful?