public static class Page.APIRequestCreatePassThreadControl extends APIRequest<Page>
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 |
|---|
APIRequestCreatePassThreadControl(String nodeId,
APIContext context) |
addToBatch, addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpointpublic APIRequestCreatePassThreadControl(String nodeId, APIContext context)
public Page getLastResponse()
getLastResponse in class APIRequest<Page>public Page parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<Page>APIExceptionpublic Page execute() throws APIException
execute in class APIRequest<Page>APIExceptionpublic Page execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<Page>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<Page> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<Page> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic Page.APIRequestCreatePassThreadControl setParam(String param, Object value)
setParam in class APIRequest<Page>public Page.APIRequestCreatePassThreadControl setParams(Map<String,Object> params)
setParams in class APIRequest<Page>public Page.APIRequestCreatePassThreadControl setMetadata(String metadata)
public Page.APIRequestCreatePassThreadControl setRecipient(Object recipient)
public Page.APIRequestCreatePassThreadControl setRecipient(String recipient)
public Page.APIRequestCreatePassThreadControl setTargetAppId(Long targetAppId)
public Page.APIRequestCreatePassThreadControl setTargetAppId(String targetAppId)
public Page.APIRequestCreatePassThreadControl requestAllFields()
public Page.APIRequestCreatePassThreadControl requestAllFields(boolean value)
public Page.APIRequestCreatePassThreadControl requestFields(List<String> fields)
requestFields in class APIRequest<Page>public Page.APIRequestCreatePassThreadControl requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<Page>public Page.APIRequestCreatePassThreadControl requestField(String field)
requestField in class APIRequest<Page>public Page.APIRequestCreatePassThreadControl requestField(String field, boolean value)
requestField in class APIRequest<Page>Copyright © 2020. All rights reserved.