All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.ComplianceResult Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version

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 ComplianceResult complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="ComplianceResult">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="profile" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
 *         <element name="complianceStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="entity" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
 *         <element name="checkTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="failure" type="{urn:vim25}ComplianceFailure" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ComplianceResult", propOrder = { "profile", "complianceStatus", "entity", "checkTime", "failure" }) public class ComplianceResult extends DynamicData { protected ManagedObjectReference profile; @XmlElement(required = true) protected String complianceStatus; protected ManagedObjectReference entity; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar checkTime; protected List failure; /** * Gets the value of the profile property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getProfile() { return profile; } /** * Sets the value of the profile property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setProfile(ManagedObjectReference value) { this.profile = value; } /** * Gets the value of the complianceStatus property. * * @return * possible object is * {@link String } * */ public String getComplianceStatus() { return complianceStatus; } /** * Sets the value of the complianceStatus property. * * @param value * allowed object is * {@link String } * */ public void setComplianceStatus(String value) { this.complianceStatus = value; } /** * Gets the value of the entity property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getEntity() { return entity; } /** * Sets the value of the entity property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setEntity(ManagedObjectReference value) { this.entity = value; } /** * Gets the value of the checkTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCheckTime() { return checkTime; } /** * Sets the value of the checkTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setCheckTime(XMLGregorianCalendar value) { this.checkTime = value; } /** * Gets the value of the failure 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 failure property. * *

* For example, to add a new item, do as follows: *

     *    getFailure().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ComplianceFailure } * * */ public List getFailure() { if (failure == null) { failure = new ArrayList(); } return this.failure; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy