com.vmware.vim25.HostPatchManagerStatus 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 HostPatchManagerStatus complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostPatchManagerStatus">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="applicable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="reason" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="integrity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="installed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="installState" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="prerequisitePatch" type="{urn:vim25}HostPatchManagerStatusPrerequisitePatch" maxOccurs="unbounded" minOccurs="0"/>
* <element name="restartRequired" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="reconnectRequired" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="vmOffRequired" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="supersededPatchIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostPatchManagerStatus", propOrder = {
"id",
"applicable",
"reason",
"integrity",
"installed",
"installState",
"prerequisitePatch",
"restartRequired",
"reconnectRequired",
"vmOffRequired",
"supersededPatchIds"
})
public class HostPatchManagerStatus
extends DynamicData
{
@XmlElement(required = true)
protected String id;
protected boolean applicable;
protected List reason;
protected String integrity;
protected boolean installed;
protected List installState;
protected List prerequisitePatch;
protected boolean restartRequired;
protected boolean reconnectRequired;
protected boolean vmOffRequired;
protected List supersededPatchIds;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the applicable property.
*
*/
public boolean isApplicable() {
return applicable;
}
/**
* Sets the value of the applicable property.
*
*/
public void setApplicable(boolean value) {
this.applicable = value;
}
/**
* Gets the value of the reason 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 reason property.
*
*
* For example, to add a new item, do as follows:
*
* getReason().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getReason() {
if (reason == null) {
reason = new ArrayList();
}
return this.reason;
}
/**
* Gets the value of the integrity property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIntegrity() {
return integrity;
}
/**
* Sets the value of the integrity property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIntegrity(String value) {
this.integrity = value;
}
/**
* Gets the value of the installed property.
*
*/
public boolean isInstalled() {
return installed;
}
/**
* Sets the value of the installed property.
*
*/
public void setInstalled(boolean value) {
this.installed = value;
}
/**
* Gets the value of the installState 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 installState property.
*
*
* For example, to add a new item, do as follows:
*
* getInstallState().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getInstallState() {
if (installState == null) {
installState = new ArrayList();
}
return this.installState;
}
/**
* Gets the value of the prerequisitePatch 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 prerequisitePatch property.
*
*
* For example, to add a new item, do as follows:
*
* getPrerequisitePatch().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostPatchManagerStatusPrerequisitePatch }
*
*
*/
public List getPrerequisitePatch() {
if (prerequisitePatch == null) {
prerequisitePatch = new ArrayList();
}
return this.prerequisitePatch;
}
/**
* Gets the value of the restartRequired property.
*
*/
public boolean isRestartRequired() {
return restartRequired;
}
/**
* Sets the value of the restartRequired property.
*
*/
public void setRestartRequired(boolean value) {
this.restartRequired = value;
}
/**
* Gets the value of the reconnectRequired property.
*
*/
public boolean isReconnectRequired() {
return reconnectRequired;
}
/**
* Sets the value of the reconnectRequired property.
*
*/
public void setReconnectRequired(boolean value) {
this.reconnectRequired = value;
}
/**
* Gets the value of the vmOffRequired property.
*
*/
public boolean isVmOffRequired() {
return vmOffRequired;
}
/**
* Sets the value of the vmOffRequired property.
*
*/
public void setVmOffRequired(boolean value) {
this.vmOffRequired = value;
}
/**
* Gets the value of the supersededPatchIds 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 supersededPatchIds property.
*
*
* For example, to add a new item, do as follows:
*
* getSupersededPatchIds().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getSupersededPatchIds() {
if (supersededPatchIds == null) {
supersededPatchIds = new ArrayList();
}
return this.supersededPatchIds;
}
}