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

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


/**
 * 

Java class for VmDiskFileInfo complex type. * *

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

 * <complexType name="VmDiskFileInfo">
 *   <complexContent>
 *     <extension base="{urn:vim25}FileInfo">
 *       <sequence>
 *         <element name="diskType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="capacityKb" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="hardwareVersion" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="controllerType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="diskExtents" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="thin" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="encryption" type="{urn:vim25}VmDiskFileEncryptionInfo" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VmDiskFileInfo", propOrder = { "diskType", "capacityKb", "hardwareVersion", "controllerType", "diskExtents", "thin", "encryption" }) public class VmDiskFileInfo extends FileInfo { protected String diskType; protected Long capacityKb; protected Integer hardwareVersion; protected String controllerType; protected List diskExtents; protected Boolean thin; protected VmDiskFileEncryptionInfo encryption; /** * Gets the value of the diskType property. * * @return * possible object is * {@link String } * */ public String getDiskType() { return diskType; } /** * Sets the value of the diskType property. * * @param value * allowed object is * {@link String } * */ public void setDiskType(String value) { this.diskType = value; } /** * Gets the value of the capacityKb property. * * @return * possible object is * {@link Long } * */ public Long getCapacityKb() { return capacityKb; } /** * Sets the value of the capacityKb property. * * @param value * allowed object is * {@link Long } * */ public void setCapacityKb(Long value) { this.capacityKb = value; } /** * Gets the value of the hardwareVersion property. * * @return * possible object is * {@link Integer } * */ public Integer getHardwareVersion() { return hardwareVersion; } /** * Sets the value of the hardwareVersion property. * * @param value * allowed object is * {@link Integer } * */ public void setHardwareVersion(Integer value) { this.hardwareVersion = value; } /** * Gets the value of the controllerType property. * * @return * possible object is * {@link String } * */ public String getControllerType() { return controllerType; } /** * Sets the value of the controllerType property. * * @param value * allowed object is * {@link String } * */ public void setControllerType(String value) { this.controllerType = value; } /** * Gets the value of the diskExtents 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 diskExtents property. * *

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

     *    getDiskExtents().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getDiskExtents() { if (diskExtents == null) { diskExtents = new ArrayList(); } return this.diskExtents; } /** * Gets the value of the thin property. * * @return * possible object is * {@link Boolean } * */ public Boolean isThin() { return thin; } /** * Sets the value of the thin property. * * @param value * allowed object is * {@link Boolean } * */ public void setThin(Boolean value) { this.thin = value; } /** * Gets the value of the encryption property. * * @return * possible object is * {@link VmDiskFileEncryptionInfo } * */ public VmDiskFileEncryptionInfo getEncryption() { return encryption; } /** * Sets the value of the encryption property. * * @param value * allowed object is * {@link VmDiskFileEncryptionInfo } * */ public void setEncryption(VmDiskFileEncryptionInfo value) { this.encryption = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy