VMware vCloud Suite SDK Perl
The VMware vCloud Suite SDK for Perl supports the client-side vCloud Suite API for access to vCloud services and capabilities
All Classes Files Functions
List of all members
Com::Vmware::Vapi::Metadata::Metamodel::Enumeration Class Reference
Inheritance diagram for Com::Vmware::Vapi::Metadata::Metamodel::Enumeration:
Com::Vmware::Vapi::Bindings::VapiInterface

Avaliable Methods

public method get ()
 
public method new ()
 
public method list ()
 

Detailed Description

The Com::Vmware::Vapi::Metadata::Metamodel::Enumeration interface provides methods* to retrieve metamodel information about an enumeration element in the interface definition language.

The Com::Vmware::Vapi::Metadata::Metamodel::Enumeration has a list of enumeration value elements.

Constant String::RESOURCE_TYPE # Resource type for enumeration.

Member Function Documentation

public method Com::Vmware::Vapi::Metadata::Metamodel::Enumeration::get ( )

Retrieves information about the enumeration element corresponding to enumeration_id .

The class Com::Vmware::Vapi::Metadata::Metamodel::EnumerationInfo contains the metamodel information about the enumeration value element contained in the enumeration element.

Parameters
enumeration_id[REQUIRED] Identifier of the enumeration element. The value must be an identifier for the resource type getQualifiedName(com.vmware.vapi.enumeration). . The value must be str.
Return values
Theclass Com::Vmware::Vapi::Metadata::Metamodel::EnumerationInfo instance that corresponds to enumeration_id The return type will be Com::Vmware::Vapi::Metadata::Metamodel::EnumerationInfo
Exceptions
Com::Vmware::Vapi::Std::Errors::NotFoundif the enumeration element associated with enumeration_id is not contained in any of the package elements, service elements and structure elements.
Code:
click to view
public method Com::Vmware::Vapi::Metadata::Metamodel::Enumeration::list ( )

Returns the identifiers for the enumeration elements that are contained in all the package elements, service elements and structure elements.

Return values
Thelist of identifiers for the enumeration elements. The value will be an identifier for the resource type getQualifiedName(com.vmware.vapi.enumeration). The return type will be Array of str
Code:
click to view
public method Com::Vmware::Vapi::Metadata::Metamodel::Enumeration::new ( )

Constructor to initialize the object

Parameters
api_provider- protocol connection to use with stubs created by this factory
StubConfig- Stub's additional configuration
Return values
Blessedobject
Code:
click to view

The documentation for this class was generated from the following file: