public class GetMessageActions extends Endpoint<com.google.gson.JsonObject,PNGetMessageActionsResult>
| Constructor and Description |
|---|
GetMessageActions(PubNub pubnubInstance,
TelemetryManager telemetry,
RetrofitManager retrofitInstance) |
| Modifier and Type | Method and Description |
|---|---|
GetMessageActions |
channel(java.lang.String channel) |
protected PNGetMessageActionsResult |
createResponse(retrofit2.Response<com.google.gson.JsonObject> input) |
protected retrofit2.Call<com.google.gson.JsonObject> |
doWork(java.util.Map<java.lang.String,java.lang.String> params) |
GetMessageActions |
end(java.lang.Long end) |
protected java.util.List<java.lang.String> |
getAffectedChannelGroups() |
protected java.util.List<java.lang.String> |
getAffectedChannels() |
protected PNOperationType |
getOperationType() |
protected boolean |
isAuthRequired() |
GetMessageActions |
limit(java.lang.Integer limit) |
GetMessageActions |
start(java.lang.Long start) |
protected void |
validateParams() |
appendInclusionParams, appendLimitParam, async, createBaseParams, encodeParams, getPubnub, getRetrofit, queryParam, retry, silentCancel, syncpublic GetMessageActions(PubNub pubnubInstance, TelemetryManager telemetry, RetrofitManager retrofitInstance)
protected java.util.List<java.lang.String> getAffectedChannels()
getAffectedChannels in class Endpoint<com.google.gson.JsonObject,PNGetMessageActionsResult>protected java.util.List<java.lang.String> getAffectedChannelGroups()
getAffectedChannelGroups in class Endpoint<com.google.gson.JsonObject,PNGetMessageActionsResult>protected void validateParams()
throws PubNubException
validateParams in class Endpoint<com.google.gson.JsonObject,PNGetMessageActionsResult>PubNubExceptionprotected retrofit2.Call<com.google.gson.JsonObject> doWork(java.util.Map<java.lang.String,java.lang.String> params)
doWork in class Endpoint<com.google.gson.JsonObject,PNGetMessageActionsResult>protected PNGetMessageActionsResult createResponse(retrofit2.Response<com.google.gson.JsonObject> input) throws PubNubException
createResponse in class Endpoint<com.google.gson.JsonObject,PNGetMessageActionsResult>PubNubExceptionprotected PNOperationType getOperationType()
getOperationType in class Endpoint<com.google.gson.JsonObject,PNGetMessageActionsResult>protected boolean isAuthRequired()
isAuthRequired in class Endpoint<com.google.gson.JsonObject,PNGetMessageActionsResult>public GetMessageActions channel(java.lang.String channel)
public GetMessageActions start(java.lang.Long start)
public GetMessageActions end(java.lang.Long end)
public GetMessageActions limit(java.lang.Integer limit)