public class BlkdebugInjectErrorOptions extends QApiType
QApiTypeDescriptor{name=BlkdebugInjectErrorOptions, data={event=BlkdebugEvent, *state=int, *errno=int, *sector=int, *once=bool, *immediately=bool}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
Long |
errno |
BlkdebugEvent |
event |
Boolean |
immediately |
Boolean |
once |
Long |
sector |
Long |
state |
Constructor and Description |
---|
BlkdebugInjectErrorOptions() |
BlkdebugInjectErrorOptions(BlkdebugEvent event,
Long state,
Long errno,
Long sector,
Boolean once,
Boolean immediately) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
BlkdebugInjectErrorOptions |
withErrno(Long value) |
BlkdebugInjectErrorOptions |
withEvent(BlkdebugEvent value) |
BlkdebugInjectErrorOptions |
withImmediately(Boolean value) |
BlkdebugInjectErrorOptions |
withOnce(Boolean value) |
BlkdebugInjectErrorOptions |
withSector(Long value) |
BlkdebugInjectErrorOptions |
withState(Long value) |
toString
@Nonnull public BlkdebugEvent event
@CheckForNull public Long state
@CheckForNull public Long errno
@CheckForNull public Long sector
@CheckForNull public Boolean once
@CheckForNull public Boolean immediately
public BlkdebugInjectErrorOptions()
public BlkdebugInjectErrorOptions(BlkdebugEvent event, Long state, Long errno, Long sector, Boolean once, Boolean immediately)
@Nonnull public BlkdebugInjectErrorOptions withEvent(BlkdebugEvent value)
@Nonnull public BlkdebugInjectErrorOptions withState(Long value)
@Nonnull public BlkdebugInjectErrorOptions withErrno(Long value)
@Nonnull public BlkdebugInjectErrorOptions withSector(Long value)
@Nonnull public BlkdebugInjectErrorOptions withOnce(Boolean value)
@Nonnull public BlkdebugInjectErrorOptions withImmediately(Boolean value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException