public static class Page.APIRequestGetThreads extends APIRequest<UnifiedThread>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>, APIRequest.ResponseWrapper
Modifier and Type | Field and Description |
---|---|
static String[] |
FIELDS |
static String[] |
PARAMS |
context, endpoint, method, nodeId, paramNames, params, parser, returnFields, USER_AGENT, useVideoEndpoint
Constructor and Description |
---|
APIRequestGetThreads(String nodeId,
APIContext context) |
addToBatch, addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpoint
public APIRequestGetThreads(String nodeId, APIContext context)
public APINodeList<UnifiedThread> getLastResponse()
getLastResponse
in class APIRequest<UnifiedThread>
public APINodeList<UnifiedThread> parseResponse(String response, String header) throws APIException
parseResponse
in class APIRequest<UnifiedThread>
APIException
public APINodeList<UnifiedThread> execute() throws APIException
execute
in class APIRequest<UnifiedThread>
APIException
public APINodeList<UnifiedThread> execute(Map<String,Object> extraParams) throws APIException
execute
in class APIRequest<UnifiedThread>
APIException
public com.google.common.util.concurrent.ListenableFuture<APINodeList<UnifiedThread>> executeAsync() throws APIException
APIException
public com.google.common.util.concurrent.ListenableFuture<APINodeList<UnifiedThread>> executeAsync(Map<String,Object> extraParams) throws APIException
APIException
public Page.APIRequestGetThreads setParam(String param, Object value)
setParam
in class APIRequest<UnifiedThread>
public Page.APIRequestGetThreads setParams(Map<String,Object> params)
setParams
in class APIRequest<UnifiedThread>
public Page.APIRequestGetThreads setFolder(String folder)
public Page.APIRequestGetThreads setTags(List<String> tags)
public Page.APIRequestGetThreads setTags(String tags)
public Page.APIRequestGetThreads setUserId(String userId)
public Page.APIRequestGetThreads requestAllFields()
public Page.APIRequestGetThreads requestAllFields(boolean value)
public Page.APIRequestGetThreads requestFields(List<String> fields)
requestFields
in class APIRequest<UnifiedThread>
public Page.APIRequestGetThreads requestFields(List<String> fields, boolean value)
requestFields
in class APIRequest<UnifiedThread>
public Page.APIRequestGetThreads requestField(String field)
requestField
in class APIRequest<UnifiedThread>
public Page.APIRequestGetThreads requestField(String field, boolean value)
requestField
in class APIRequest<UnifiedThread>
public Page.APIRequestGetThreads requestCanReplyField()
public Page.APIRequestGetThreads requestCanReplyField(boolean value)
public Page.APIRequestGetThreads requestFormerParticipantsField()
public Page.APIRequestGetThreads requestFormerParticipantsField(boolean value)
public Page.APIRequestGetThreads requestIdField()
public Page.APIRequestGetThreads requestIdField(boolean value)
public Page.APIRequestGetThreads requestIsSubscribedField()
public Page.APIRequestGetThreads requestIsSubscribedField(boolean value)
public Page.APIRequestGetThreads requestLinkField()
public Page.APIRequestGetThreads requestLinkField(boolean value)
public Page.APIRequestGetThreads requestMessageCountField()
public Page.APIRequestGetThreads requestMessageCountField(boolean value)
public Page.APIRequestGetThreads requestNameField()
public Page.APIRequestGetThreads requestNameField(boolean value)
public Page.APIRequestGetThreads requestParticipantsField()
public Page.APIRequestGetThreads requestParticipantsField(boolean value)
public Page.APIRequestGetThreads requestScopedThreadKeyField()
public Page.APIRequestGetThreads requestScopedThreadKeyField(boolean value)
public Page.APIRequestGetThreads requestSendersField()
public Page.APIRequestGetThreads requestSendersField(boolean value)
public Page.APIRequestGetThreads requestSnippetField()
public Page.APIRequestGetThreads requestSnippetField(boolean value)
public Page.APIRequestGetThreads requestSubjectField()
public Page.APIRequestGetThreads requestSubjectField(boolean value)
public Page.APIRequestGetThreads requestUnreadCountField()
public Page.APIRequestGetThreads requestUnreadCountField(boolean value)
public Page.APIRequestGetThreads requestUpdatedTimeField()
public Page.APIRequestGetThreads requestUpdatedTimeField(boolean value)
public Page.APIRequestGetThreads requestWallpaperField()
public Page.APIRequestGetThreads requestWallpaperField(boolean value)
Copyright © 2020. All rights reserved.