Class RemoveChannelChannelGroup
- java.lang.Object
-
- com.pubnub.api.endpoints.Endpoint<Envelope,PNChannelGroupsRemoveChannelResult>
-
- com.pubnub.api.endpoints.channel_groups.RemoveChannelChannelGroup
-
- All Implemented Interfaces:
RemoteAction<PNChannelGroupsRemoveChannelResult>
public class RemoveChannelChannelGroup extends Endpoint<Envelope,PNChannelGroupsRemoveChannelResult>
-
-
Constructor Summary
Constructors Constructor Description RemoveChannelChannelGroup(PubNub pubnub, TelemetryManager telemetryManager, RetrofitManager retrofit, TokenManager tokenManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoveChannelChannelGroup
channelGroup(java.lang.String channelGroup)
RemoveChannelChannelGroup
channels(java.util.List<java.lang.String> channels)
protected PNChannelGroupsRemoveChannelResult
createResponse(retrofit2.Response<Envelope> input)
protected retrofit2.Call<Envelope>
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()
protected boolean
isAuthRequired()
protected void
validateParams()
-
Methods inherited from class com.pubnub.api.endpoints.Endpoint
async, createBaseParams, encodeParams, getPubnub, getRetrofit, isError, queryParam, retry, silentCancel, sync
-
-
-
-
Constructor Detail
-
RemoveChannelChannelGroup
public RemoveChannelChannelGroup(PubNub pubnub, TelemetryManager telemetryManager, RetrofitManager retrofit, TokenManager tokenManager)
-
-
Method Detail
-
getAffectedChannels
protected java.util.List<java.lang.String> getAffectedChannels()
- Specified by:
getAffectedChannels
in classEndpoint<Envelope,PNChannelGroupsRemoveChannelResult>
-
getAffectedChannelGroups
protected java.util.List<java.lang.String> getAffectedChannelGroups()
- Specified by:
getAffectedChannelGroups
in classEndpoint<Envelope,PNChannelGroupsRemoveChannelResult>
-
validateParams
protected void validateParams() throws PubNubException
- Specified by:
validateParams
in classEndpoint<Envelope,PNChannelGroupsRemoveChannelResult>
- Throws:
PubNubException
-
doWork
protected retrofit2.Call<Envelope> doWork(java.util.Map<java.lang.String,java.lang.String> params)
- Specified by:
doWork
in classEndpoint<Envelope,PNChannelGroupsRemoveChannelResult>
-
createResponse
protected PNChannelGroupsRemoveChannelResult createResponse(retrofit2.Response<Envelope> input) throws PubNubException
- Specified by:
createResponse
in classEndpoint<Envelope,PNChannelGroupsRemoveChannelResult>
- Throws:
PubNubException
-
getOperationType
protected PNOperationType getOperationType()
- Specified by:
getOperationType
in classEndpoint<Envelope,PNChannelGroupsRemoveChannelResult>
-
isAuthRequired
protected boolean isAuthRequired()
- Specified by:
isAuthRequired
in classEndpoint<Envelope,PNChannelGroupsRemoveChannelResult>
-
channelGroup
public RemoveChannelChannelGroup channelGroup(java.lang.String channelGroup)
- Returns:
this
.
-
channels
public RemoveChannelChannelGroup channels(java.util.List<java.lang.String> channels)
- Returns:
this
.
-
-