public class BlockDeviceMapEntry extends QApiType
QApiTypeDescriptor{name=BlockDeviceMapEntry, data={start=int, length=int, depth=int, zero=bool, data=bool, *offset=int}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
boolean |
data |
long |
depth |
long |
length |
Long |
offset |
long |
start |
boolean |
zero |
Constructor and Description |
---|
BlockDeviceMapEntry() |
BlockDeviceMapEntry(long start,
long length,
long depth,
boolean zero,
boolean data,
Long offset) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
BlockDeviceMapEntry |
withData(boolean value) |
BlockDeviceMapEntry |
withDepth(long value) |
BlockDeviceMapEntry |
withLength(long value) |
BlockDeviceMapEntry |
withOffset(Long value) |
BlockDeviceMapEntry |
withStart(long value) |
BlockDeviceMapEntry |
withZero(boolean value) |
toString
@CheckForNull public Long offset
public BlockDeviceMapEntry()
public BlockDeviceMapEntry(long start, long length, long depth, boolean zero, boolean data, Long offset)
@Nonnull public BlockDeviceMapEntry withStart(long value)
@Nonnull public BlockDeviceMapEntry withLength(long value)
@Nonnull public BlockDeviceMapEntry withDepth(long value)
@Nonnull public BlockDeviceMapEntry withZero(boolean value)
@Nonnull public BlockDeviceMapEntry withData(boolean value)
@Nonnull public BlockDeviceMapEntry withOffset(Long value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException