public static class IGMedia.APIRequestCreateBrandedContentPartnerPromote extends APIRequest<BrandedContentShadowIGUserID>
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 |
|---|
APIRequestCreateBrandedContentPartnerPromote(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 APIRequestCreateBrandedContentPartnerPromote(String nodeId, APIContext context)
public BrandedContentShadowIGUserID getLastResponse()
getLastResponse in class APIRequest<BrandedContentShadowIGUserID>public BrandedContentShadowIGUserID parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<BrandedContentShadowIGUserID>APIExceptionpublic BrandedContentShadowIGUserID execute() throws APIException
execute in class APIRequest<BrandedContentShadowIGUserID>APIExceptionpublic BrandedContentShadowIGUserID execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<BrandedContentShadowIGUserID>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<BrandedContentShadowIGUserID> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<BrandedContentShadowIGUserID> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic IGMedia.APIRequestCreateBrandedContentPartnerPromote setParam(String param, Object value)
setParam in class APIRequest<BrandedContentShadowIGUserID>public IGMedia.APIRequestCreateBrandedContentPartnerPromote setParams(Map<String,Object> params)
setParams in class APIRequest<BrandedContentShadowIGUserID>public IGMedia.APIRequestCreateBrandedContentPartnerPromote setPermission(Boolean permission)
public IGMedia.APIRequestCreateBrandedContentPartnerPromote setPermission(String permission)
public IGMedia.APIRequestCreateBrandedContentPartnerPromote setSponsorId(Long sponsorId)
public IGMedia.APIRequestCreateBrandedContentPartnerPromote setSponsorId(String sponsorId)
public IGMedia.APIRequestCreateBrandedContentPartnerPromote requestAllFields()
public IGMedia.APIRequestCreateBrandedContentPartnerPromote requestAllFields(boolean value)
public IGMedia.APIRequestCreateBrandedContentPartnerPromote requestFields(List<String> fields)
requestFields in class APIRequest<BrandedContentShadowIGUserID>public IGMedia.APIRequestCreateBrandedContentPartnerPromote requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<BrandedContentShadowIGUserID>public IGMedia.APIRequestCreateBrandedContentPartnerPromote requestField(String field)
requestField in class APIRequest<BrandedContentShadowIGUserID>public IGMedia.APIRequestCreateBrandedContentPartnerPromote requestField(String field, boolean value)
requestField in class APIRequest<BrandedContentShadowIGUserID>Copyright © 2024. All rights reserved.