public static class ProgressStartEvent.EventBody extends JSONBase
| Modifier and Type | Method and Description |
|---|---|
static ProgressStartEvent.EventBody |
create(String progressId,
String title) |
boolean |
equals(Object obj) |
Boolean |
getCancellable()
If true, the request that reports progress may be canceled with a 'cancel' request.
|
String |
getMessage()
Optional, more detailed progress message.
|
Integer |
getPercentage()
Optional progress percentage to display (value range: 0 to 100).
|
String |
getProgressId()
An ID that must be used in subsequent 'progressUpdate' and 'progressEnd' events to make
them refer to the same progress reporting.
|
Integer |
getRequestId()
The request ID that this progress report is related to.
|
String |
getTitle()
Mandatory (short) title of the progress reporting.
|
int |
hashCode() |
ProgressStartEvent.EventBody |
setCancellable(Boolean cancellable) |
ProgressStartEvent.EventBody |
setMessage(String message) |
ProgressStartEvent.EventBody |
setPercentage(Integer percentage) |
ProgressStartEvent.EventBody |
setProgressId(String progressId) |
ProgressStartEvent.EventBody |
setRequestId(Integer requestId) |
ProgressStartEvent.EventBody |
setTitle(String title) |
public String getProgressId()
public ProgressStartEvent.EventBody setProgressId(String progressId)
public String getTitle()
public ProgressStartEvent.EventBody setTitle(String title)
public Integer getRequestId()
public ProgressStartEvent.EventBody setRequestId(Integer requestId)
public Boolean getCancellable()
public ProgressStartEvent.EventBody setCancellable(Boolean cancellable)
public String getMessage()
public ProgressStartEvent.EventBody setMessage(String message)
public Integer getPercentage()
public ProgressStartEvent.EventBody setPercentage(Integer percentage)
public static ProgressStartEvent.EventBody create(String progressId, String title)