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

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

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

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

 * <complexType name="ClusterRecommendation">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="rating" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="reason" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="reasonText" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="warningText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="warningDetails" type="{urn:vim25}LocalizableMessage" minOccurs="0"/>
 *         <element name="prerequisite" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="action" type="{urn:vim25}ClusterAction" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="target" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ClusterRecommendation", propOrder = { "key", "type", "time", "rating", "reason", "reasonText", "warningText", "warningDetails", "prerequisite", "action", "target" }) public class ClusterRecommendation extends DynamicData { @XmlElement(required = true) protected String key; @XmlElement(required = true) protected String type; @XmlElement(required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar time; protected int rating; @XmlElement(required = true) protected String reason; @XmlElement(required = true) protected String reasonText; protected String warningText; protected LocalizableMessage warningDetails; protected List prerequisite; protected List action; protected ManagedObjectReference target; /** * 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 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 time property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setTime(XMLGregorianCalendar value) { this.time = value; } /** * Gets the value of the rating property. * */ public int getRating() { return rating; } /** * Sets the value of the rating property. * */ public void setRating(int value) { this.rating = value; } /** * Gets the value of the reason property. * * @return * possible object is * {@link String } * */ public String getReason() { return reason; } /** * Sets the value of the reason property. * * @param value * allowed object is * {@link String } * */ public void setReason(String value) { this.reason = value; } /** * Gets the value of the reasonText property. * * @return * possible object is * {@link String } * */ public String getReasonText() { return reasonText; } /** * Sets the value of the reasonText property. * * @param value * allowed object is * {@link String } * */ public void setReasonText(String value) { this.reasonText = value; } /** * Gets the value of the warningText property. * * @return * possible object is * {@link String } * */ public String getWarningText() { return warningText; } /** * Sets the value of the warningText property. * * @param value * allowed object is * {@link String } * */ public void setWarningText(String value) { this.warningText = value; } /** * Gets the value of the warningDetails property. * * @return * possible object is * {@link LocalizableMessage } * */ public LocalizableMessage getWarningDetails() { return warningDetails; } /** * Sets the value of the warningDetails property. * * @param value * allowed object is * {@link LocalizableMessage } * */ public void setWarningDetails(LocalizableMessage value) { this.warningDetails = value; } /** * Gets the value of the prerequisite 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 prerequisite property. * *

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

     *    getPrerequisite().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getPrerequisite() { if (prerequisite == null) { prerequisite = new ArrayList(); } return this.prerequisite; } /** * Gets the value of the action 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 action property. * *

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

     *    getAction().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ClusterAction } * * */ public List getAction() { if (action == null) { action = new ArrayList(); } return this.action; } /** * Gets the value of the target property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getTarget() { return target; } /** * Sets the value of the target property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setTarget(ManagedObjectReference value) { this.target = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy