public class GetSpaces extends Endpoint<EntityArrayEnvelope<PNSpace>,PNGetSpacesResult> implements InclusionParamsProvider<GetSpaces,PNSpaceFields>, ListingParamsProvider<GetSpaces>, TokenManagerPropertyProvider
| Constructor and Description |
|---|
GetSpaces(PubNub pubnubInstance,
TelemetryManager telemetry,
RetrofitManager retrofitInstance) |
| Modifier and Type | Method and Description |
|---|---|
protected PNGetSpacesResult |
createResponse(retrofit2.Response<EntityArrayEnvelope<PNSpace>> input) |
protected retrofit2.Call<EntityArrayEnvelope<PNSpace>> |
doWork(java.util.Map<java.lang.String,java.lang.String> params) |
GetSpaces |
end(java.lang.String end) |
protected java.util.List<java.lang.String> |
getAffectedChannelGroups() |
protected java.util.List<java.lang.String> |
getAffectedChannels() |
protected PNOperationType |
getOperationType() |
TokenManagerProperties |
getTmsProperties() |
GetSpaces |
includeFields(PNSpaceFields... params) |
protected boolean |
isAuthRequired() |
GetSpaces |
limit(java.lang.Integer limit) |
GetSpaces |
start(java.lang.String start) |
protected void |
validateParams() |
GetSpaces |
withTotalCount(java.lang.Boolean count) |
appendInclusionParams, appendLimitParam, async, createBaseParams, encodeParams, getPubnub, getRetrofit, queryParam, retry, silentCancel, syncpublic GetSpaces(PubNub pubnubInstance, TelemetryManager telemetry, RetrofitManager retrofitInstance)
protected java.util.List<java.lang.String> getAffectedChannels()
getAffectedChannels in class Endpoint<EntityArrayEnvelope<PNSpace>,PNGetSpacesResult>protected java.util.List<java.lang.String> getAffectedChannelGroups()
getAffectedChannelGroups in class Endpoint<EntityArrayEnvelope<PNSpace>,PNGetSpacesResult>protected void validateParams()
throws PubNubException
validateParams in class Endpoint<EntityArrayEnvelope<PNSpace>,PNGetSpacesResult>PubNubExceptionprotected retrofit2.Call<EntityArrayEnvelope<PNSpace>> doWork(java.util.Map<java.lang.String,java.lang.String> params)
doWork in class Endpoint<EntityArrayEnvelope<PNSpace>,PNGetSpacesResult>protected PNGetSpacesResult createResponse(retrofit2.Response<EntityArrayEnvelope<PNSpace>> input) throws PubNubException
createResponse in class Endpoint<EntityArrayEnvelope<PNSpace>,PNGetSpacesResult>PubNubExceptionprotected PNOperationType getOperationType()
getOperationType in class Endpoint<EntityArrayEnvelope<PNSpace>,PNGetSpacesResult>protected boolean isAuthRequired()
isAuthRequired in class Endpoint<EntityArrayEnvelope<PNSpace>,PNGetSpacesResult>public GetSpaces includeFields(PNSpaceFields... params)
includeFields in interface InclusionParamsProvider<GetSpaces,PNSpaceFields>public GetSpaces limit(java.lang.Integer limit)
limit in interface ListingParamsProvider<GetSpaces>public GetSpaces start(java.lang.String start)
start in interface ListingParamsProvider<GetSpaces>public GetSpaces end(java.lang.String end)
end in interface ListingParamsProvider<GetSpaces>public GetSpaces withTotalCount(java.lang.Boolean count)
withTotalCount in interface ListingParamsProvider<GetSpaces>public TokenManagerProperties getTmsProperties()
getTmsProperties in interface TokenManagerPropertyProvider