com.vmware.vim25.SharesInfo Maven / Gradle / Ivy
package com.vmware.vim25;
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;
/**
* Java class for SharesInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SharesInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="shares" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="level" type="{urn:vim25}SharesLevel"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SharesInfo", propOrder = {
"shares",
"level"
})
public class SharesInfo
extends DynamicData
{
protected int shares;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected SharesLevel level;
/**
* Gets the value of the shares property.
*
*/
public int getShares() {
return shares;
}
/**
* Sets the value of the shares property.
*
*/
public void setShares(int value) {
this.shares = value;
}
/**
* Gets the value of the level property.
*
* @return
* possible object is
* {@link SharesLevel }
*
*/
public SharesLevel getLevel() {
return level;
}
/**
* Sets the value of the level property.
*
* @param value
* allowed object is
* {@link SharesLevel }
*
*/
public void setLevel(SharesLevel value) {
this.level = value;
}
}