com.vmware.vim25.DVSSummary Maven / Gradle / Ivy
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for DVSSummary complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DVSSummary">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="uuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="numPorts" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="productInfo" type="{urn:vim25}DistributedVirtualSwitchProductSpec" minOccurs="0"/>
* <element name="hostMember" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="vm" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="host" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="portgroupName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="contact" type="{urn:vim25}DVSContactInfo" minOccurs="0"/>
* <element name="numHosts" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DVSSummary", propOrder = {
"name",
"uuid",
"numPorts",
"productInfo",
"hostMember",
"vm",
"host",
"portgroupName",
"description",
"contact",
"numHosts"
})
public class DVSSummary
extends DynamicData
{
@XmlElement(required = true)
protected String name;
@XmlElement(required = true)
protected String uuid;
protected int numPorts;
protected DistributedVirtualSwitchProductSpec productInfo;
protected List hostMember;
protected List vm;
protected List host;
protected List portgroupName;
protected String description;
protected DVSContactInfo contact;
protected Integer numHosts;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the uuid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUuid() {
return uuid;
}
/**
* Sets the value of the uuid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUuid(String value) {
this.uuid = value;
}
/**
* Gets the value of the numPorts property.
*
*/
public int getNumPorts() {
return numPorts;
}
/**
* Sets the value of the numPorts property.
*
*/
public void setNumPorts(int value) {
this.numPorts = value;
}
/**
* Gets the value of the productInfo property.
*
* @return
* possible object is
* {@link DistributedVirtualSwitchProductSpec }
*
*/
public DistributedVirtualSwitchProductSpec getProductInfo() {
return productInfo;
}
/**
* Sets the value of the productInfo property.
*
* @param value
* allowed object is
* {@link DistributedVirtualSwitchProductSpec }
*
*/
public void setProductInfo(DistributedVirtualSwitchProductSpec value) {
this.productInfo = value;
}
/**
* Gets the value of the hostMember property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the hostMember property.
*
*
* For example, to add a new item, do as follows:
*
* getHostMember().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ManagedObjectReference }
*
*
*/
public List getHostMember() {
if (hostMember == null) {
hostMember = new ArrayList();
}
return this.hostMember;
}
/**
* Gets the value of the vm property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the vm property.
*
*
* For example, to add a new item, do as follows:
*
* getVm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ManagedObjectReference }
*
*
*/
public List getVm() {
if (vm == null) {
vm = new ArrayList();
}
return this.vm;
}
/**
* Gets the value of the host property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the host property.
*
*
* For example, to add a new item, do as follows:
*
* getHost().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ManagedObjectReference }
*
*
*/
public List getHost() {
if (host == null) {
host = new ArrayList();
}
return this.host;
}
/**
* Gets the value of the portgroupName property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the portgroupName property.
*
*
* For example, to add a new item, do as follows:
*
* getPortgroupName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getPortgroupName() {
if (portgroupName == null) {
portgroupName = new ArrayList();
}
return this.portgroupName;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the contact property.
*
* @return
* possible object is
* {@link DVSContactInfo }
*
*/
public DVSContactInfo getContact() {
return contact;
}
/**
* Sets the value of the contact property.
*
* @param value
* allowed object is
* {@link DVSContactInfo }
*
*/
public void setContact(DVSContactInfo value) {
this.contact = value;
}
/**
* Gets the value of the numHosts property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getNumHosts() {
return numHosts;
}
/**
* Sets the value of the numHosts property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setNumHosts(Integer value) {
this.numHosts = value;
}
}