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

- Main Page
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Files Functions
List of all members
Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::Type Class Reference
Inheritance diagram for Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::Type:

## Avaliable Methods
public method | new ()

## Detailed Description

The `Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::Type` enumerated type defines the kind of this structure element. In the interface definition language, structure element and error element have similar characteristics. The difference is that only error elements can be used to describe the errors of an operation element. Constant Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::Type::STRUCTURE # If the type is a structure element. Constant Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::Type::ERROR # If the type is an error element.

## Member Function Documentation

public method Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::Type::new | ( |  | ) |

Constructor to initialize the Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::Type enumeration.

Return values

  Blessed | object

Code:
click to view
# Number of lines of code in new: 12
sub new {
my ($class, %args) = @_;
$class = ref($class) || $class;
my $self = $class->SUPER::new();
my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType(
'name' => 'com.vmware.vapi.metadata.metamodel.structure_info.type',
'binding_class' => 'Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo::Type');
$class->SUPER::set_binding_type('binding_type' => $bindingType);
bless $self, $class;
return $self;
}

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

- Com/Vmware/Vapi/Metadata/Metamodel/StructureInfo.pm