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