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

com.vmware.vim25.VirtualMachineFileLayoutExSnapshotLayout 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.XmlType;


/**
 * 

Java class for VirtualMachineFileLayoutExSnapshotLayout complex type. * *

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

 * <complexType name="VirtualMachineFileLayoutExSnapshotLayout">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="key" type="{urn:vim25}ManagedObjectReference"/>
 *         <element name="dataKey" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="memoryKey" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="disk" type="{urn:vim25}VirtualMachineFileLayoutExDiskLayout" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VirtualMachineFileLayoutExSnapshotLayout", propOrder = { "key", "dataKey", "memoryKey", "disk" }) public class VirtualMachineFileLayoutExSnapshotLayout extends DynamicData { @XmlElement(required = true) protected ManagedObjectReference key; protected int dataKey; protected Integer memoryKey; protected List disk; /** * Gets the value of the key property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getKey() { return key; } /** * Sets the value of the key property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setKey(ManagedObjectReference value) { this.key = value; } /** * Gets the value of the dataKey property. * */ public int getDataKey() { return dataKey; } /** * Sets the value of the dataKey property. * */ public void setDataKey(int value) { this.dataKey = value; } /** * Gets the value of the memoryKey property. * * @return * possible object is * {@link Integer } * */ public Integer getMemoryKey() { return memoryKey; } /** * Sets the value of the memoryKey property. * * @param value * allowed object is * {@link Integer } * */ public void setMemoryKey(Integer value) { this.memoryKey = value; } /** * Gets the value of the disk 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 disk property. * *

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

     *    getDisk().add(newItem);
     * 
* * *

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy