public class BlockdevCacheInfo extends QApiType
QApiTypeDescriptor{name=BlockdevCacheInfo, data={writeback=bool, direct=bool, no-flush=bool}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
boolean |
direct |
boolean |
noFlush |
boolean |
writeback |
Constructor and Description |
---|
BlockdevCacheInfo() |
BlockdevCacheInfo(boolean writeback,
boolean direct,
boolean noFlush) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
BlockdevCacheInfo |
withDirect(boolean value) |
BlockdevCacheInfo |
withNoFlush(boolean value) |
BlockdevCacheInfo |
withWriteback(boolean value) |
toString
public BlockdevCacheInfo()
public BlockdevCacheInfo(boolean writeback, boolean direct, boolean noFlush)
@Nonnull public BlockdevCacheInfo withWriteback(boolean value)
@Nonnull public BlockdevCacheInfo withDirect(boolean value)
@Nonnull public BlockdevCacheInfo withNoFlush(boolean value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException