|
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
|
Classes | |
| class | Type |
Avaliable Methods | |
| public method | get_fields () |
| public method | get_enumerations () |
| public method | set_type () |
| public method | get_documentation () |
| public method | set_constants () |
| public method | get_constants () |
| public method | set_name () |
| public method | set_metadata () |
| public method | get_metadata () |
| public method | set_documentation () |
| public method | set_fields () |
| public method | set_enumerations () |
| public method | new () |
| public method | get_type () |
| public method | get_name () |
The Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo class contains the metamodel information of all the field elements, constant elements and enumeration elements contained in the structure element.
In the interface definition language, API designers have the ability to include all the fields from one structure to another structure. This is done by using an annotation \@Include on the structure in which we want to add the fields. If this annotation is present, the list of fields in the Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo will also contain the fields that are being included. The annotation information is also retained in the :attr:Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo.metadata element as well.
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::get_constants | ( | ) |
Gets the value of 'constants' property.
| constants | - The current value of the field. Metamodel information of all the constant elements contained in the structure element. The key in the map is the name of the constant element and the value in the map is the metamodel information for the constant element. Map# |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::get_documentation | ( | ) |
Gets the value of 'documentation' property.
| documentation | - The current value of the field. English language documentation for a structure element. It can contain HTML markup and Javadoc tags. The first sentence of the structure documentation is a complete sentence that identifies the structure by name and summarizes the purpose of the structure. String# |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::get_enumerations | ( | ) |
Gets the value of 'enumerations' property.
| enumerations | - The current value of the field. Metamodel information of all the enumeration elements contained in the structure element. The key in the map is the identifier of the enumeration element and the value is the metamodel information of the enumeration element. Map# |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::get_fields | ( | ) |
Gets the value of 'fields' property.
| fields | - The current value of the field. Metamodel information of all the field elements. The order of the field elements in the list matches the order in which the fields are defined in the service. List# |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::get_metadata | ( | ) |
Gets the value of 'metadata' property.
| metadata | - The current value of the field. Generic metadata elements for the structure element. The key in the map is the name of the metadata element and the value is the data associated with that metadata element. |
The class Com::Vmware::Vapi::Metadata::Metamodel::MetadataIdentifier contains possible string values for keys in the map .
Map#
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::get_name | ( | ) |
Gets the value of 'name' property.
| name | - The current value of the field. Dot separated name of the structure element. The segments in the name reflect the organization of the APIs. The format of each segment is lower case with underscores. Each underscore represents a word boundary. If there are acronyms in the word, the capitalization is preserved. This format makes it easy to translate the segment into a different naming convention. String# |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::get_type | ( | ) |
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::new | ( | ) |
Constructor to initialize the Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo structure
| Blessed | object |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::set_constants | ( | ) |
Sets the given value for 'constants' property.
| constants | - New value for the field. Metamodel information of all the constant elements contained in the structure element. The key in the map is the name of the constant element and the value in the map is the metamodel information for the constant element. |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::set_documentation | ( | ) |
Sets the given value for 'documentation' property.
| documentation | - New value for the field. English language documentation for a structure element. It can contain HTML markup and Javadoc tags. The first sentence of the structure documentation is a complete sentence that identifies the structure by name and summarizes the purpose of the structure. |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::set_enumerations | ( | ) |
Sets the given value for 'enumerations' property.
| enumerations | - New value for the field. Metamodel information of all the enumeration elements contained in the structure element. The key in the map is the identifier of the enumeration element and the value is the metamodel information of the enumeration element. |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::set_fields | ( | ) |
Sets the given value for 'fields' property.
| fields | - New value for the field. Metamodel information of all the field elements. The order of the field elements in the list matches the order in which the fields are defined in the service. |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::set_metadata | ( | ) |
Sets the given value for 'metadata' property.
| metadata | - New value for the field. Generic metadata elements for the structure element. The key in the map is the name of the metadata element and the value is the data associated with that metadata element. |
The class Com::Vmware::Vapi::Metadata::Metamodel::MetadataIdentifier contains possible string values for keys in the map .
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::set_name | ( | ) |
Sets the given value for 'name' property.
| name | - New value for the field. Dot separated name of the structure element. The segments in the name reflect the organization of the APIs. The format of each segment is lower case with underscores. Each underscore represents a word boundary. If there are acronyms in the word, the capitalization is preserved. This format makes it easy to translate the segment into a different naming convention. |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::set_type | ( | ) |
Sets the given value for 'type' property.
| type | - New value for the field. Type of the structure. |
Code: