Modifier and Type | Field and Description |
---|---|
String |
device |
List<BlockDirtyInfo> |
dirtyBitmaps |
BlockDeviceInfo |
inserted |
BlockDeviceIoStatus |
ioStatus |
boolean |
locked |
boolean |
removable |
Boolean |
trayOpen |
String |
type |
Constructor and Description |
---|
BlockInfo() |
BlockInfo(String device,
String type,
boolean removable,
boolean locked,
BlockDeviceInfo inserted,
Boolean trayOpen,
BlockDeviceIoStatus ioStatus,
List<BlockDirtyInfo> dirtyBitmaps) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
BlockInfo |
withDevice(String value) |
BlockInfo |
withDirtyBitmaps(List<BlockDirtyInfo> value) |
BlockInfo |
withInserted(BlockDeviceInfo value) |
BlockInfo |
withIoStatus(BlockDeviceIoStatus value) |
BlockInfo |
withLocked(boolean value) |
BlockInfo |
withRemovable(boolean value) |
BlockInfo |
withTrayOpen(Boolean value) |
BlockInfo |
withType(String value) |
toString
@CheckForNull public BlockDeviceInfo inserted
@CheckForNull public Boolean trayOpen
@CheckForNull public BlockDeviceIoStatus ioStatus
@CheckForNull public List<BlockDirtyInfo> dirtyBitmaps
public BlockInfo()
public BlockInfo(String device, String type, boolean removable, boolean locked, BlockDeviceInfo inserted, Boolean trayOpen, BlockDeviceIoStatus ioStatus, List<BlockDirtyInfo> dirtyBitmaps)
@Nonnull public BlockInfo withDevice(String value)
@Nonnull public BlockInfo withRemovable(boolean value)
@Nonnull public BlockInfo withLocked(boolean value)
@Nonnull public BlockInfo withInserted(BlockDeviceInfo value)
@Nonnull public BlockInfo withTrayOpen(Boolean value)
@Nonnull public BlockInfo withIoStatus(BlockDeviceIoStatus value)
@Nonnull public BlockInfo withDirtyBitmaps(List<BlockDirtyInfo> value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException