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