public class Message extends JSONBase
| Modifier and Type | Method and Description |
|---|---|
static Message |
create(Integer id,
String format) |
boolean |
equals(Object obj) |
String |
getFormat()
A format string for the message.
|
int |
getId()
Unique identifier for the message.
|
Boolean |
getSendTelemetry()
If true send to telemetry.
|
Boolean |
getShowUser()
If true show user.
|
String |
getUrl()
An optional url where additional information about this message can be found.
|
String |
getUrlLabel()
An optional label that is presented to the user as the UI for opening the url.
|
Map<String,String> |
getVariables()
An object used as a dictionary for looking up the variables in the format string.
|
int |
hashCode() |
Message |
setFormat(String format) |
Message |
setId(int id) |
Message |
setSendTelemetry(Boolean sendTelemetry) |
Message |
setShowUser(Boolean showUser) |
Message |
setUrl(String url) |
Message |
setUrlLabel(String urlLabel) |
Message |
setVariables(Map<String,String> variables) |
public int getId()
public Message setId(int id)
public String getFormat()
public Map<String,String> getVariables()
public Boolean getSendTelemetry()
public Boolean getShowUser()
public String getUrl()
public String getUrlLabel()