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

com.vmware.vim.VirtualMachineSummary Maven / Gradle / Ivy

The newest version!

package com.vmware.vim;

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

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

 * <complexType name="VirtualMachineSummary">
 *   <complexContent>
 *     <extension base="{urn:vim2}DynamicData">
 *       <sequence>
 *         <element name="vm" type="{urn:vim2}ManagedObjectReference" minOccurs="0"/>
 *         <element name="runtime" type="{urn:vim2}VirtualMachineRuntimeInfo"/>
 *         <element name="guest" type="{urn:vim2}VirtualMachineGuestSummary" minOccurs="0"/>
 *         <element name="config" type="{urn:vim2}VirtualMachineConfigSummary"/>
 *         <element name="quickStats" type="{urn:vim2}VirtualMachineQuickStats"/>
 *         <element name="overallStatus" type="{urn:vim2}ManagedEntityStatus"/>
 *         <element name="customValue" type="{urn:vim2}CustomFieldValue" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VirtualMachineSummary", propOrder = { "vm", "runtime", "guest", "config", "quickStats", "overallStatus", "customValue" }) public class VirtualMachineSummary extends DynamicData { protected ManagedObjectReference vm; @XmlElement(required = true) protected VirtualMachineRuntimeInfo runtime; protected VirtualMachineGuestSummary guest; @XmlElement(required = true) protected VirtualMachineConfigSummary config; @XmlElement(required = true) protected VirtualMachineQuickStats quickStats; @XmlElement(required = true) protected ManagedEntityStatus overallStatus; protected List customValue; /** * Gets the value of the vm property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getVm() { return vm; } /** * Sets the value of the vm property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setVm(ManagedObjectReference value) { this.vm = value; } /** * Gets the value of the runtime property. * * @return * possible object is * {@link VirtualMachineRuntimeInfo } * */ public VirtualMachineRuntimeInfo getRuntime() { return runtime; } /** * Sets the value of the runtime property. * * @param value * allowed object is * {@link VirtualMachineRuntimeInfo } * */ public void setRuntime(VirtualMachineRuntimeInfo value) { this.runtime = value; } /** * Gets the value of the guest property. * * @return * possible object is * {@link VirtualMachineGuestSummary } * */ public VirtualMachineGuestSummary getGuest() { return guest; } /** * Sets the value of the guest property. * * @param value * allowed object is * {@link VirtualMachineGuestSummary } * */ public void setGuest(VirtualMachineGuestSummary value) { this.guest = value; } /** * Gets the value of the config property. * * @return * possible object is * {@link VirtualMachineConfigSummary } * */ public VirtualMachineConfigSummary getConfig() { return config; } /** * Sets the value of the config property. * * @param value * allowed object is * {@link VirtualMachineConfigSummary } * */ public void setConfig(VirtualMachineConfigSummary value) { this.config = value; } /** * Gets the value of the quickStats property. * * @return * possible object is * {@link VirtualMachineQuickStats } * */ public VirtualMachineQuickStats getQuickStats() { return quickStats; } /** * Sets the value of the quickStats property. * * @param value * allowed object is * {@link VirtualMachineQuickStats } * */ public void setQuickStats(VirtualMachineQuickStats value) { this.quickStats = value; } /** * Gets the value of the overallStatus property. * * @return * possible object is * {@link ManagedEntityStatus } * */ public ManagedEntityStatus getOverallStatus() { return overallStatus; } /** * Sets the value of the overallStatus property. * * @param value * allowed object is * {@link ManagedEntityStatus } * */ public void setOverallStatus(ManagedEntityStatus value) { this.overallStatus = value; } /** * Gets the value of the customValue 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 customValue property. * *

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

     *    getCustomValue().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CustomFieldValue } * * */ public List getCustomValue() { if (customValue == null) { customValue = new ArrayList(); } return this.customValue; } /** * Sets the value of the customValue property. * * @param customValue * allowed object is * {@link CustomFieldValue } * */ public void setCustomValue(List customValue) { this.customValue = customValue; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy