public final class Disk extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the dataflow. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Disk() |
Modifier and Type | Method and Description |
---|---|
Disk |
clone() |
String |
getDiskType() |
String |
getMountPoint() |
Integer |
getSizeGb() |
Disk |
set(String fieldName,
Object value) |
Disk |
setDiskType(String diskType) |
Disk |
setMountPoint(String mountPoint) |
Disk |
setSizeGb(Integer sizeGb) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getDiskType()
null
for nonepublic Disk setDiskType(String diskType)
diskType
- diskType or null
for nonepublic String getMountPoint()
null
for nonepublic Disk setMountPoint(String mountPoint)
mountPoint
- mountPoint or null
for nonepublic Integer getSizeGb()
null
for nonepublic Disk set(String fieldName, Object value)
set
in class GenericJson
public Disk clone()
clone
in class GenericJson