public static class User.APIRequestCreatePhoto extends APIRequest<Photo>
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 |
---|
APIRequestCreatePhoto(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 APIRequestCreatePhoto(String nodeId, APIContext context)
public Photo getLastResponse()
getLastResponse
in class APIRequest<Photo>
public Photo parseResponse(String response, String header) throws APIException
parseResponse
in class APIRequest<Photo>
APIException
public Photo execute() throws APIException
execute
in class APIRequest<Photo>
APIException
public Photo execute(Map<String,Object> extraParams) throws APIException
execute
in class APIRequest<Photo>
APIException
public com.google.common.util.concurrent.ListenableFuture<Photo> executeAsync() throws APIException
APIException
public com.google.common.util.concurrent.ListenableFuture<Photo> executeAsync(Map<String,Object> extraParams) throws APIException
APIException
public User.APIRequestCreatePhoto setParam(String param, Object value)
setParam
in class APIRequest<Photo>
public User.APIRequestCreatePhoto setParams(Map<String,Object> params)
setParams
in class APIRequest<Photo>
public User.APIRequestCreatePhoto setAid(String aid)
public User.APIRequestCreatePhoto setAllowSphericalPhoto(Boolean allowSphericalPhoto)
public User.APIRequestCreatePhoto setAllowSphericalPhoto(String allowSphericalPhoto)
public User.APIRequestCreatePhoto setAltTextCustom(String altTextCustom)
public User.APIRequestCreatePhoto setAndroidKeyHash(String androidKeyHash)
public User.APIRequestCreatePhoto setApplicationId(String applicationId)
public User.APIRequestCreatePhoto setAttempt(Long attempt)
public User.APIRequestCreatePhoto setAttempt(String attempt)
public User.APIRequestCreatePhoto setAudienceExp(Boolean audienceExp)
public User.APIRequestCreatePhoto setAudienceExp(String audienceExp)
public User.APIRequestCreatePhoto setBackdatedTime(String backdatedTime)
public User.APIRequestCreatePhoto setBackdatedTimeGranularity(Photo.EnumBackdatedTimeGranularity backdatedTimeGranularity)
public User.APIRequestCreatePhoto setBackdatedTimeGranularity(String backdatedTimeGranularity)
public User.APIRequestCreatePhoto setCaption(String caption)
public User.APIRequestCreatePhoto setComposerSessionId(String composerSessionId)
public User.APIRequestCreatePhoto setDirectShareStatus(Long directShareStatus)
public User.APIRequestCreatePhoto setDirectShareStatus(String directShareStatus)
public User.APIRequestCreatePhoto setFeedTargeting(Object feedTargeting)
public User.APIRequestCreatePhoto setFeedTargeting(String feedTargeting)
public User.APIRequestCreatePhoto setFilterType(Long filterType)
public User.APIRequestCreatePhoto setFilterType(String filterType)
public User.APIRequestCreatePhoto setFullResIsComingLater(Boolean fullResIsComingLater)
public User.APIRequestCreatePhoto setFullResIsComingLater(String fullResIsComingLater)
public User.APIRequestCreatePhoto setInitialViewHeadingOverrideDegrees(Long initialViewHeadingOverrideDegrees)
public User.APIRequestCreatePhoto setInitialViewHeadingOverrideDegrees(String initialViewHeadingOverrideDegrees)
public User.APIRequestCreatePhoto setInitialViewPitchOverrideDegrees(Long initialViewPitchOverrideDegrees)
public User.APIRequestCreatePhoto setInitialViewPitchOverrideDegrees(String initialViewPitchOverrideDegrees)
public User.APIRequestCreatePhoto setInitialViewVerticalFovOverrideDegrees(Long initialViewVerticalFovOverrideDegrees)
public User.APIRequestCreatePhoto setInitialViewVerticalFovOverrideDegrees(String initialViewVerticalFovOverrideDegrees)
public User.APIRequestCreatePhoto setIosBundleId(String iosBundleId)
public User.APIRequestCreatePhoto setIsExplicitLocation(Boolean isExplicitLocation)
public User.APIRequestCreatePhoto setIsExplicitLocation(String isExplicitLocation)
public User.APIRequestCreatePhoto setIsExplicitPlace(Boolean isExplicitPlace)
public User.APIRequestCreatePhoto setIsExplicitPlace(String isExplicitPlace)
public User.APIRequestCreatePhoto setIsVisualSearch(Boolean isVisualSearch)
public User.APIRequestCreatePhoto setIsVisualSearch(String isVisualSearch)
public User.APIRequestCreatePhoto setManualPrivacy(Boolean manualPrivacy)
public User.APIRequestCreatePhoto setManualPrivacy(String manualPrivacy)
public User.APIRequestCreatePhoto setMessage(String message)
public User.APIRequestCreatePhoto setName(String name)
public User.APIRequestCreatePhoto setNoStory(Boolean noStory)
public User.APIRequestCreatePhoto setNoStory(String noStory)
public User.APIRequestCreatePhoto setOfflineId(Long offlineId)
public User.APIRequestCreatePhoto setOfflineId(String offlineId)
public User.APIRequestCreatePhoto setOgActionTypeId(String ogActionTypeId)
public User.APIRequestCreatePhoto setOgIconId(String ogIconId)
public User.APIRequestCreatePhoto setOgObjectId(String ogObjectId)
public User.APIRequestCreatePhoto setOgPhrase(String ogPhrase)
public User.APIRequestCreatePhoto setOgSetProfileBadge(Boolean ogSetProfileBadge)
public User.APIRequestCreatePhoto setOgSetProfileBadge(String ogSetProfileBadge)
public User.APIRequestCreatePhoto setOgSuggestionMechanism(String ogSuggestionMechanism)
public User.APIRequestCreatePhoto setPlace(Object place)
public User.APIRequestCreatePhoto setPlace(String place)
public User.APIRequestCreatePhoto setPrivacy(String privacy)
public User.APIRequestCreatePhoto setProfileId(Long profileId)
public User.APIRequestCreatePhoto setProfileId(String profileId)
public User.APIRequestCreatePhoto setProxiedAppId(String proxiedAppId)
public User.APIRequestCreatePhoto setPublished(Boolean published)
public User.APIRequestCreatePhoto setPublished(String published)
public User.APIRequestCreatePhoto setQn(String qn)
public User.APIRequestCreatePhoto setScheduledPublishTime(Long scheduledPublishTime)
public User.APIRequestCreatePhoto setScheduledPublishTime(String scheduledPublishTime)
public User.APIRequestCreatePhoto setSphericalMetadata(Map<String,String> sphericalMetadata)
public User.APIRequestCreatePhoto setSphericalMetadata(String sphericalMetadata)
public User.APIRequestCreatePhoto setSponsorId(String sponsorId)
public User.APIRequestCreatePhoto setSponsorRelationship(Long sponsorRelationship)
public User.APIRequestCreatePhoto setSponsorRelationship(String sponsorRelationship)
public User.APIRequestCreatePhoto setTags(List<Object> tags)
public User.APIRequestCreatePhoto setTags(String tags)
public User.APIRequestCreatePhoto setTargetId(Long targetId)
public User.APIRequestCreatePhoto setTargetId(String targetId)
public User.APIRequestCreatePhoto setTargeting(Object targeting)
public User.APIRequestCreatePhoto setTargeting(String targeting)
public User.APIRequestCreatePhoto setTimeSinceOriginalPost(Long timeSinceOriginalPost)
public User.APIRequestCreatePhoto setTimeSinceOriginalPost(String timeSinceOriginalPost)
public User.APIRequestCreatePhoto setUid(Long uid)
public User.APIRequestCreatePhoto setUid(String uid)
public User.APIRequestCreatePhoto setUnpublishedContentType(Photo.EnumUnpublishedContentType unpublishedContentType)
public User.APIRequestCreatePhoto setUnpublishedContentType(String unpublishedContentType)
public User.APIRequestCreatePhoto setUrl(String url)
public User.APIRequestCreatePhoto setUserSelectedTags(Boolean userSelectedTags)
public User.APIRequestCreatePhoto setUserSelectedTags(String userSelectedTags)
public User.APIRequestCreatePhoto setVaultImageId(String vaultImageId)
public User.APIRequestCreatePhoto requestAllFields()
public User.APIRequestCreatePhoto requestAllFields(boolean value)
public User.APIRequestCreatePhoto requestFields(List<String> fields)
requestFields
in class APIRequest<Photo>
public User.APIRequestCreatePhoto requestFields(List<String> fields, boolean value)
requestFields
in class APIRequest<Photo>
public User.APIRequestCreatePhoto requestField(String field)
requestField
in class APIRequest<Photo>
public User.APIRequestCreatePhoto requestField(String field, boolean value)
requestField
in class APIRequest<Photo>
Copyright © 2020. All rights reserved.