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