public final class PushResponse
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PushResponse.Builder
PushResponse Builder
|
Constructor and Description |
---|
PushResponse(java.lang.String operationId,
<any> pushIds,
boolean ok,
<any> messageIds,
<any> contentUrls,
<any> localizedIds,
java.lang.String error,
ErrorDetails errorDetails) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<<any>> |
getContentUrls() |
java.util.Optional<java.lang.String> |
getError()
Get the error if present
|
java.util.Optional<ErrorDetails> |
getErrorDetails()
Get the error details if present
|
java.util.Optional<<any>> |
getLocalizedIds() |
java.util.Optional<<any>> |
getMessageIds() |
boolean |
getOk()
Get the response status as a boolean
|
java.util.Optional<java.lang.String> |
getOperationId()
Get the operation id for this response.
|
java.util.Optional<<any>> |
getPushIds()
List of push id's, one for every actual push message that moves through
the API.
|
int |
hashCode() |
static PushResponse.Builder |
newBuilder() |
java.lang.String |
toString() |
public PushResponse(java.lang.String operationId, <any> pushIds, boolean ok, <any> messageIds, <any> contentUrls, <any> localizedIds, java.lang.String error, ErrorDetails errorDetails)
public static PushResponse.Builder newBuilder()
public java.util.Optional<java.lang.String> getOperationId()
public java.util.Optional<<any>> getPushIds()
public boolean getOk()
public java.util.Optional<<any>> getMessageIds()
public java.util.Optional<<any>> getContentUrls()
public java.util.Optional<<any>> getLocalizedIds()
public java.util.Optional<java.lang.String> getError()
public java.util.Optional<ErrorDetails> getErrorDetails()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object