public class EventsResponse extends Object implements Serializable
| Constructor and Description |
|---|
EventsResponse() |
| Modifier and Type | Method and Description |
|---|---|
EventsResponse |
addResultsEntry(String key,
ItemResponse value)
A map containing a multi part response for each endpoint, with the
endpoint id as the key and item response as the value
|
EventsResponse |
clearResultsEntries()
Removes all the entries added into Results.
|
boolean |
equals(Object obj) |
Map<String,ItemResponse> |
getResults()
A map containing a multi part response for each endpoint, with the
endpoint id as the key and item response as the value
|
int |
hashCode() |
void |
setResults(Map<String,ItemResponse> results)
A map containing a multi part response for each endpoint, with the
endpoint id as the key and item response as the value
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventsResponse |
withResults(Map<String,ItemResponse> results)
A map containing a multi part response for each endpoint, with the
endpoint id as the key and item response as the value
|
public Map<String,ItemResponse> getResults()
public void setResults(Map<String,ItemResponse> results)
results - A map containing a multi part response for each endpoint,
with the endpoint id as the key and item response as the valuepublic EventsResponse withResults(Map<String,ItemResponse> results)
Returns a reference to this object so that method calls can be chained together.
results - A map containing a multi part response for each endpoint,
with the endpoint id as the key and item response as the valuepublic EventsResponse addResultsEntry(String key, ItemResponse value)
The method adds a new key-value pair into Results 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 Results.value - The corresponding value of the entry to be added into
Results.public EventsResponse clearResultsEntries()
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.