com.vmware.vapi.metadata.metamodel

enumeration_value_info

The enumeration_value_info structure describes the enumeration value in the enumerated type.
Representations:
{
    "documentation""string",
    "metadata"[
        {
            "key""string",
            "value"{
                "elements"[
                    {
                        "key""string",
                        "value"{
                            "list_value"[
                                "string",
                                "string"
                            ],
                            "long_value"10,
                            "string_value""string",
                            "structure_id""obj-103",
                            "structure_ids"[
                                "obj-103",
                                "obj-103"
                            ],
                            "type""LONG"
                        }
                    }
                ]
            }
        }
    ],
    "value""string"
}
<?xml version="1.0" ?>
<ns0:EnumerationValueInfo xmlns:ns0="http://vmware.com/vapi/metadata/metamodel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <documentation>string</documentation>
  <value>string</value>
  <metadata-array>
    <array-item>
      <value>
        <elements-array>
          <array-item>
            <value>
              <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>
            </value>
            <key>string</key>
          </array-item>
        </elements-array>
      </value>
      <key>string</key>
    </array-item>
  </metadata-array>
</ns0:EnumerationValueInfo>

Attributes:
Name Type Required Description
value
 *
string Yes Value in the enumerated type. All the characters in the string are capitalized.
metadata
 *
Map<string, element_map> Yes Additional metadata for enumeration value in the enumerated type. The key in the key/value pairs is the name of the metadata element and the value is the data associated with that metadata element.

The com.vmware.vapi.metadata.metamodel.metadata_identifier contains possible string values for keys in the key/value pairs.

documentation
 *
string Yes English language documentation for an enumeration value. It can contain HTML markup and documentation tags (similar to Javadoc tags). The first statement will be a noun or verb phrase that describes the purpose of the enumeration value.

Copyright © 2014. All Rights Reserved.