public class SendUsersMessageResponse extends Object implements Serializable
| Constructor and Description |
|---|
SendUsersMessageResponse() |
| Modifier and Type | Method and Description |
|---|---|
SendUsersMessageResponse |
addResultEntry(String key,
Map<String,EndpointMessageResult> value)
A map containing of UserId to Map of EndpointId to Endpoint Message
Result.
|
SendUsersMessageResponse |
clearResultEntries()
Removes all the entries added into Result.
|
boolean |
equals(Object obj) |
String |
getApplicationId()
Application id of the message.
|
String |
getRequestId()
Original request Id for which this message was delivered.
|
Map<String,Map<String,EndpointMessageResult>> |
getResult()
A map containing of UserId to Map of EndpointId to Endpoint Message
Result.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
Application id of the message.
|
void |
setRequestId(String requestId)
Original request Id for which this message was delivered.
|
void |
setResult(Map<String,Map<String,EndpointMessageResult>> result)
A map containing of UserId to Map of EndpointId to Endpoint Message
Result.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SendUsersMessageResponse |
withApplicationId(String applicationId)
Application id of the message.
|
SendUsersMessageResponse |
withRequestId(String requestId)
Original request Id for which this message was delivered.
|
SendUsersMessageResponse |
withResult(Map<String,Map<String,EndpointMessageResult>> result)
A map containing of UserId to Map of EndpointId to Endpoint Message
Result.
|
public String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - Application id of the message.public SendUsersMessageResponse withApplicationId(String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - Application id of the message.public String getRequestId()
public void setRequestId(String requestId)
requestId - Original request Id for which this message was
delivered.public SendUsersMessageResponse withRequestId(String requestId)
Returns a reference to this object so that method calls can be chained together.
requestId - Original request Id for which this message was
delivered.public Map<String,Map<String,EndpointMessageResult>> getResult()
public void setResult(Map<String,Map<String,EndpointMessageResult>> result)
result - A map containing of UserId to Map of EndpointId to Endpoint
Message Result.public SendUsersMessageResponse withResult(Map<String,Map<String,EndpointMessageResult>> result)
Returns a reference to this object so that method calls can be chained together.
result - A map containing of UserId to Map of EndpointId to Endpoint
Message Result.public SendUsersMessageResponse addResultEntry(String key, Map<String,EndpointMessageResult> value)
The method adds a new key-value pair into Result parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Result.value - The corresponding value of the entry to be added into
Result.public SendUsersMessageResponse clearResultEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.