vapi metadata metamodel: element value
The
element_value
structure describes the value of the metadata element.Representation:
{
"list_value" : [
"string",
"string"
],
"string_value" : "string",
"structure_id" : "obj-103",
"type" : "LONG",
"structure_ids" : [
"obj-103",
"obj-103"
],
"long_value" : 1
}
"list_value" : [
"string",
"string"
],
"string_value" : "string",
"structure_id" : "obj-103",
"type" : "LONG",
"structure_ids" : [
"obj-103",
"obj-103"
],
"long_value" : 1
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
type | string | Type of the value. Defines the valid types for values in metadata elements. Value is 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. |
Optional | ||
long_value | long | Long value of the metadata element. Optional. It is only relevant when type has value LONG. This field is optional and it is only relevant when the value of type is LONG. |
string_value | string | String value of the metadata element. Optional. It is only relevant when type has value STRING. This field is optional and it is only relevant when the value of type is STRING. |
list_value | string[] | List of strings value of the metadata element. Optional. It is only relevant when type has value STRING_LIST. This field is optional and it is only relevant when the value of type is STRING_LIST. |
structure_id | string | Identifier of the structure element. Optional. It is only relevant when type has value STRUCTURE_REFERENCE. This field is optional and it is only relevant when the value of 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 . |
structure_ids | string[] | List of identifiers of the structure elements. Optional. It is only relevant when type has value STRUCTURE_REFERENCE_LIST. This field is optional and it is only relevant when the value of 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 . |