public class DeleteUser extends Endpoint<EntityEnvelope<com.google.gson.JsonElement>,PNDeleteUserResult> implements TokenManagerPropertyProvider
| Constructor and Description |
|---|
DeleteUser(PubNub pubnubInstance,
TelemetryManager telemetry,
RetrofitManager retrofitInstance) |
| Modifier and Type | Method and Description |
|---|---|
protected PNDeleteUserResult |
createResponse(retrofit2.Response<EntityEnvelope<com.google.gson.JsonElement>> input) |
protected retrofit2.Call<EntityEnvelope<com.google.gson.JsonElement>> |
doWork(java.util.Map<java.lang.String,java.lang.String> params) |
protected java.util.List<java.lang.String> |
getAffectedChannelGroups() |
protected java.util.List<java.lang.String> |
getAffectedChannels() |
protected PNOperationType |
getOperationType() |
TokenManagerProperties |
getTmsProperties() |
protected boolean |
isAuthRequired() |
DeleteUser |
userId(java.lang.String userId) |
protected void |
validateParams() |
appendInclusionParams, appendLimitParam, async, createBaseParams, encodeParams, getPubnub, getRetrofit, queryParam, retry, silentCancel, syncpublic DeleteUser(PubNub pubnubInstance, TelemetryManager telemetry, RetrofitManager retrofitInstance)
protected java.util.List<java.lang.String> getAffectedChannels()
getAffectedChannels in class Endpoint<EntityEnvelope<com.google.gson.JsonElement>,PNDeleteUserResult>protected java.util.List<java.lang.String> getAffectedChannelGroups()
getAffectedChannelGroups in class Endpoint<EntityEnvelope<com.google.gson.JsonElement>,PNDeleteUserResult>protected void validateParams()
throws PubNubException
validateParams in class Endpoint<EntityEnvelope<com.google.gson.JsonElement>,PNDeleteUserResult>PubNubExceptionprotected retrofit2.Call<EntityEnvelope<com.google.gson.JsonElement>> doWork(java.util.Map<java.lang.String,java.lang.String> params)
doWork in class Endpoint<EntityEnvelope<com.google.gson.JsonElement>,PNDeleteUserResult>protected PNDeleteUserResult createResponse(retrofit2.Response<EntityEnvelope<com.google.gson.JsonElement>> input) throws PubNubException
createResponse in class Endpoint<EntityEnvelope<com.google.gson.JsonElement>,PNDeleteUserResult>PubNubExceptionprotected PNOperationType getOperationType()
getOperationType in class Endpoint<EntityEnvelope<com.google.gson.JsonElement>,PNDeleteUserResult>protected boolean isAuthRequired()
isAuthRequired in class Endpoint<EntityEnvelope<com.google.gson.JsonElement>,PNDeleteUserResult>public TokenManagerProperties getTmsProperties()
getTmsProperties in interface TokenManagerPropertyProviderpublic DeleteUser userId(java.lang.String userId)