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

com.vmware.vim25.ClusterDrsFaultsFaultsByVm 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for ClusterDrsFaultsFaultsByVm complex type. * *

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

 * <complexType name="ClusterDrsFaultsFaultsByVm">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="vm" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
 *         <element name="fault" type="{urn:vim25}LocalizedMethodFault" maxOccurs="unbounded"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ClusterDrsFaultsFaultsByVm", propOrder = { "vm", "fault" }) @XmlSeeAlso({ ClusterDrsFaultsFaultsByVirtualDisk.class }) public class ClusterDrsFaultsFaultsByVm extends DynamicData { protected ManagedObjectReference vm; @XmlElement(required = true) protected List fault; /** * 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 fault 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 fault property. * *

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

     *    getFault().add(newItem);
     * 
* * *

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy