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