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

Avaliable Methods

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

Detailed Description

The Com::Vmware::Vapi::Metadata::Metamodel::Structure interface providers methods* to retrieve metamodel information about a structure element in the interface definition language. Constant String::RESOURCE_TYPE # Resource type for structure.

Member Function Documentation

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

Retrieves information about the structure element corresponding to structure_id .

The class Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo contains the metamodel information about the structure element. It contains information about all the field elements and enumeration elements contained in this structure element.

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

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

Return values
Thelist of identifiers for the structure elements. The value will be an identifier for the resource type getQualifiedName(com.vmware.vapi.structure). The return type will be Array of str
Code:
click to view
public method Com::Vmware::Vapi::Metadata::Metamodel::Structure::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: