
com.vmware.vim25.Extension Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Java class for Extension complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Extension">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="description" type="{urn:vim25}Description"/>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="company" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="subjectName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="server" type="{urn:vim25}ExtensionServerInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="client" type="{urn:vim25}ExtensionClientInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="taskList" type="{urn:vim25}ExtensionTaskTypeInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="eventList" type="{urn:vim25}ExtensionEventTypeInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="faultList" type="{urn:vim25}ExtensionFaultTypeInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="privilegeList" type="{urn:vim25}ExtensionPrivilegeInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="resourceList" type="{urn:vim25}ExtensionResourceInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="lastHeartbeatTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="healthInfo" type="{urn:vim25}ExtensionHealthInfo" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Extension", propOrder = {
"description",
"key",
"company",
"type",
"version",
"subjectName",
"server",
"client",
"taskList",
"eventList",
"faultList",
"privilegeList",
"resourceList",
"lastHeartbeatTime",
"healthInfo"
})
public class Extension
extends DynamicData
{
@XmlElement(required = true)
protected Description description;
@XmlElement(required = true)
protected String key;
protected String company;
protected String type;
@XmlElement(required = true)
protected String version;
protected String subjectName;
protected List server;
protected List client;
protected List taskList;
protected List eventList;
protected List faultList;
protected List privilegeList;
protected List resourceList;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar lastHeartbeatTime;
protected ExtensionHealthInfo healthInfo;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link Description }
*
*/
public Description getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link Description }
*
*/
public void setDescription(Description value) {
this.description = value;
}
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the company property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCompany() {
return company;
}
/**
* Sets the value of the company property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCompany(String value) {
this.company = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the subjectName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSubjectName() {
return subjectName;
}
/**
* Sets the value of the subjectName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSubjectName(String value) {
this.subjectName = value;
}
/**
* Gets the value of the server 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 server property.
*
*
* For example, to add a new item, do as follows:
*
* getServer().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExtensionServerInfo }
*
*
*/
public List getServer() {
if (server == null) {
server = new ArrayList();
}
return this.server;
}
/**
* Gets the value of the client 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 client property.
*
*
* For example, to add a new item, do as follows:
*
* getClient().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExtensionClientInfo }
*
*
*/
public List getClient() {
if (client == null) {
client = new ArrayList();
}
return this.client;
}
/**
* Gets the value of the taskList 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 taskList property.
*
*
* For example, to add a new item, do as follows:
*
* getTaskList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExtensionTaskTypeInfo }
*
*
*/
public List getTaskList() {
if (taskList == null) {
taskList = new ArrayList();
}
return this.taskList;
}
/**
* Gets the value of the eventList 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 eventList property.
*
*
* For example, to add a new item, do as follows:
*
* getEventList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExtensionEventTypeInfo }
*
*
*/
public List getEventList() {
if (eventList == null) {
eventList = new ArrayList();
}
return this.eventList;
}
/**
* Gets the value of the faultList 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 faultList property.
*
*
* For example, to add a new item, do as follows:
*
* getFaultList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExtensionFaultTypeInfo }
*
*
*/
public List getFaultList() {
if (faultList == null) {
faultList = new ArrayList();
}
return this.faultList;
}
/**
* Gets the value of the privilegeList 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 privilegeList property.
*
*
* For example, to add a new item, do as follows:
*
* getPrivilegeList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExtensionPrivilegeInfo }
*
*
*/
public List getPrivilegeList() {
if (privilegeList == null) {
privilegeList = new ArrayList();
}
return this.privilegeList;
}
/**
* Gets the value of the resourceList 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 resourceList property.
*
*
* For example, to add a new item, do as follows:
*
* getResourceList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExtensionResourceInfo }
*
*
*/
public List getResourceList() {
if (resourceList == null) {
resourceList = new ArrayList();
}
return this.resourceList;
}
/**
* Gets the value of the lastHeartbeatTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getLastHeartbeatTime() {
return lastHeartbeatTime;
}
/**
* Sets the value of the lastHeartbeatTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setLastHeartbeatTime(XMLGregorianCalendar value) {
this.lastHeartbeatTime = value;
}
/**
* Gets the value of the healthInfo property.
*
* @return
* possible object is
* {@link ExtensionHealthInfo }
*
*/
public ExtensionHealthInfo getHealthInfo() {
return healthInfo;
}
/**
* Sets the value of the healthInfo property.
*
* @param value
* allowed object is
* {@link ExtensionHealthInfo }
*
*/
public void setHealthInfo(ExtensionHealthInfo value) {
this.healthInfo = value;
}
/**
* Sets the value of the server property.
*
* @param server
* allowed object is
* {@link ExtensionServerInfo }
*
*/
public void setServer(List server) {
this.server = server;
}
/**
* Sets the value of the client property.
*
* @param client
* allowed object is
* {@link ExtensionClientInfo }
*
*/
public void setClient(List client) {
this.client = client;
}
/**
* Sets the value of the taskList property.
*
* @param taskList
* allowed object is
* {@link ExtensionTaskTypeInfo }
*
*/
public void setTaskList(List taskList) {
this.taskList = taskList;
}
/**
* Sets the value of the eventList property.
*
* @param eventList
* allowed object is
* {@link ExtensionEventTypeInfo }
*
*/
public void setEventList(List eventList) {
this.eventList = eventList;
}
/**
* Sets the value of the faultList property.
*
* @param faultList
* allowed object is
* {@link ExtensionFaultTypeInfo }
*
*/
public void setFaultList(List faultList) {
this.faultList = faultList;
}
/**
* Sets the value of the privilegeList property.
*
* @param privilegeList
* allowed object is
* {@link ExtensionPrivilegeInfo }
*
*/
public void setPrivilegeList(List privilegeList) {
this.privilegeList = privilegeList;
}
/**
* Sets the value of the resourceList property.
*
* @param resourceList
* allowed object is
* {@link ExtensionResourceInfo }
*
*/
public void setResourceList(List resourceList) {
this.resourceList = resourceList;
}
}