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