public final class PushInfoResponse
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PushInfoResponse.Builder |
static class |
PushInfoResponse.PushType |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getDirectResponses()
Get the number of direct responses to the push
|
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<java.util.UUID> |
getGroupID()
Get the group ID
|
boolean |
getOk()
Get the OK status as a boolean
|
java.util.UUID |
getPushId()
Get the push uuid
|
DateTime |
getPushTime()
Get the time when the push was created
|
PushInfoResponse.PushType |
getPushType()
Get the type of push -- can be one of
UNICAST_PUSH ,
BROADCAST_PUSH , TAG_PUSH , SCHEDULED_PUSH ,
or SEGMENTS_PUSH . |
int |
getSends()
Get the number of push sends
|
int |
hashCode() |
static PushInfoResponse.Builder |
newBuilder()
New SinglePushInfoResponse builder
|
java.lang.String |
toString() |
public static PushInfoResponse.Builder newBuilder()
public java.util.UUID getPushId()
public int getDirectResponses()
public int getSends()
public PushInfoResponse.PushType getPushType()
UNICAST_PUSH
,
BROADCAST_PUSH
, TAG_PUSH
, SCHEDULED_PUSH
,
or SEGMENTS_PUSH
.public DateTime getPushTime()
public java.util.Optional<java.util.UUID> getGroupID()
public boolean getOk()
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object