Class PNFetchMessageItem
- java.lang.Object
-
- com.pubnub.api.models.consumer.history.PNFetchMessageItem
-
public class PNFetchMessageItem extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PNFetchMessageItem.Action
static class
PNFetchMessageItem.PNFetchMessageItemBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PNFetchMessageItem.PNFetchMessageItemBuilder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.util.List<PNFetchMessageItem.Action>>>
getActions()
PubNubError
getError()
The error associated with message retrieval, if any.com.google.gson.JsonElement
getMessage()
HistoryMessageType
getMessageType()
com.google.gson.JsonElement
getMeta()
java.lang.Long
getTimetoken()
java.lang.String
getUuid()
int
hashCode()
PNFetchMessageItem.PNFetchMessageItemBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getMessageType
public HistoryMessageType getMessageType()
-
builder
public static PNFetchMessageItem.PNFetchMessageItemBuilder builder()
-
toBuilder
public PNFetchMessageItem.PNFetchMessageItemBuilder toBuilder()
-
getMessage
public com.google.gson.JsonElement getMessage()
-
getMeta
public com.google.gson.JsonElement getMeta()
-
getTimetoken
public java.lang.Long getTimetoken()
-
getActions
public java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.util.List<PNFetchMessageItem.Action>>> getActions()
-
getUuid
public java.lang.String getUuid()
-
getError
public PubNubError getError()
The error associated with message retrieval, if any. Can be null. Currently, the only possible error isPubNubErrorBuilder.PNERROBJ_PNERR_CRYPTO_IS_CONFIGURED_BUT_MESSAGE_IS_NOT_ENCRYPTED
when the message was unencrypted, but PubNub instance is configured with a crypto module. In that case, the unencrypted message content will still be available inmessage
.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-