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