public static class ProductCatalog.APIRequestCreateVideo extends APIRequest<AdVideo>
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 |
|---|
APIRequestCreateVideo(String nodeId,
APIContext context) |
addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpointpublic APIRequestCreateVideo(String nodeId, APIContext context)
public AdVideo getLastResponse()
getLastResponse in class APIRequest<AdVideo>public AdVideo parseResponse(String response) throws APIException
parseResponse in class APIRequest<AdVideo>APIExceptionpublic AdVideo execute() throws APIException
execute in class APIRequest<AdVideo>APIExceptionpublic AdVideo execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<AdVideo>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<AdVideo> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<AdVideo> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic ProductCatalog.APIRequestCreateVideo setParam(String param, Object value)
setParam in class APIRequest<AdVideo>public ProductCatalog.APIRequestCreateVideo setParams(Map<String,Object> params)
setParams in class APIRequest<AdVideo>public ProductCatalog.APIRequestCreateVideo setTitle(String title)
public ProductCatalog.APIRequestCreateVideo setSource(String source)
public ProductCatalog.APIRequestCreateVideo setUnpublishedContentType(AdVideo.EnumUnpublishedContentType unpublishedContentType)
public ProductCatalog.APIRequestCreateVideo setUnpublishedContentType(String unpublishedContentType)
public ProductCatalog.APIRequestCreateVideo setTimeSinceOriginalPost(Long timeSinceOriginalPost)
public ProductCatalog.APIRequestCreateVideo setTimeSinceOriginalPost(String timeSinceOriginalPost)
public ProductCatalog.APIRequestCreateVideo setFileUrl(String fileUrl)
public ProductCatalog.APIRequestCreateVideo setComposerSessionId(String composerSessionId)
public ProductCatalog.APIRequestCreateVideo setWaterfallId(String waterfallId)
public ProductCatalog.APIRequestCreateVideo setOgActionTypeId(String ogActionTypeId)
public ProductCatalog.APIRequestCreateVideo setOgObjectId(String ogObjectId)
public ProductCatalog.APIRequestCreateVideo setOgPhrase(String ogPhrase)
public ProductCatalog.APIRequestCreateVideo setOgIconId(String ogIconId)
public ProductCatalog.APIRequestCreateVideo setOgSuggestionMechanism(String ogSuggestionMechanism)
public ProductCatalog.APIRequestCreateVideo setManualPrivacy(Boolean manualPrivacy)
public ProductCatalog.APIRequestCreateVideo setManualPrivacy(String manualPrivacy)
public ProductCatalog.APIRequestCreateVideo setIsExplicitShare(Boolean isExplicitShare)
public ProductCatalog.APIRequestCreateVideo setIsExplicitShare(String isExplicitShare)
public ProductCatalog.APIRequestCreateVideo setThumb(File thumb)
public ProductCatalog.APIRequestCreateVideo setThumb(String thumb)
public ProductCatalog.APIRequestCreateVideo setSpherical(Boolean spherical)
public ProductCatalog.APIRequestCreateVideo setSpherical(String spherical)
public ProductCatalog.APIRequestCreateVideo setOriginalProjectionType(AdVideo.EnumOriginalProjectionType originalProjectionType)
public ProductCatalog.APIRequestCreateVideo setOriginalProjectionType(String originalProjectionType)
public ProductCatalog.APIRequestCreateVideo setInitialHeading(Long initialHeading)
public ProductCatalog.APIRequestCreateVideo setInitialHeading(String initialHeading)
public ProductCatalog.APIRequestCreateVideo setInitialPitch(Long initialPitch)
public ProductCatalog.APIRequestCreateVideo setInitialPitch(String initialPitch)
public ProductCatalog.APIRequestCreateVideo setFov(Long fov)
public ProductCatalog.APIRequestCreateVideo setFov(String fov)
public ProductCatalog.APIRequestCreateVideo setOriginalFov(Long originalFov)
public ProductCatalog.APIRequestCreateVideo setOriginalFov(String originalFov)
public ProductCatalog.APIRequestCreateVideo setFisheyeVideoCropped(Boolean fisheyeVideoCropped)
public ProductCatalog.APIRequestCreateVideo setFisheyeVideoCropped(String fisheyeVideoCropped)
public ProductCatalog.APIRequestCreateVideo setFrontZRotation(Double frontZRotation)
public ProductCatalog.APIRequestCreateVideo setFrontZRotation(String frontZRotation)
public ProductCatalog.APIRequestCreateVideo setGuideEnabled(Boolean guideEnabled)
public ProductCatalog.APIRequestCreateVideo setGuideEnabled(String guideEnabled)
public ProductCatalog.APIRequestCreateVideo setGuide(List<List<Long>> guide)
public ProductCatalog.APIRequestCreateVideo setGuide(String guide)
public ProductCatalog.APIRequestCreateVideo setAudioStoryWaveAnimationHandle(String audioStoryWaveAnimationHandle)
public ProductCatalog.APIRequestCreateVideo setAdaptiveType(String adaptiveType)
public ProductCatalog.APIRequestCreateVideo setAnimatedEffectId(Long animatedEffectId)
public ProductCatalog.APIRequestCreateVideo setAnimatedEffectId(String animatedEffectId)
public ProductCatalog.APIRequestCreateVideo setAskedFunFactPromptId(Long askedFunFactPromptId)
public ProductCatalog.APIRequestCreateVideo setAskedFunFactPromptId(String askedFunFactPromptId)
public ProductCatalog.APIRequestCreateVideo setComposerEntryPicker(String composerEntryPicker)
public ProductCatalog.APIRequestCreateVideo setComposerEntryPoint(String composerEntryPoint)
public ProductCatalog.APIRequestCreateVideo setComposerEntryTime(Long composerEntryTime)
public ProductCatalog.APIRequestCreateVideo setComposerEntryTime(String composerEntryTime)
public ProductCatalog.APIRequestCreateVideo setComposerSessionEventsLog(String composerSessionEventsLog)
public ProductCatalog.APIRequestCreateVideo setComposerSourceSurface(String composerSourceSurface)
public ProductCatalog.APIRequestCreateVideo setComposerType(String composerType)
public ProductCatalog.APIRequestCreateVideo setFormatting(AdVideo.EnumFormatting formatting)
public ProductCatalog.APIRequestCreateVideo setFormatting(String formatting)
public ProductCatalog.APIRequestCreateVideo setFunFactPromptId(String funFactPromptId)
public ProductCatalog.APIRequestCreateVideo setFunFactToasteeId(Long funFactToasteeId)
public ProductCatalog.APIRequestCreateVideo setFunFactToasteeId(String funFactToasteeId)
public ProductCatalog.APIRequestCreateVideo setIsGroupLinkingPost(Boolean isGroupLinkingPost)
public ProductCatalog.APIRequestCreateVideo setIsGroupLinkingPost(String isGroupLinkingPost)
public ProductCatalog.APIRequestCreateVideo setHasNickname(Boolean hasNickname)
public ProductCatalog.APIRequestCreateVideo setHasNickname(String hasNickname)
public ProductCatalog.APIRequestCreateVideo setHolidayCard(String holidayCard)
public ProductCatalog.APIRequestCreateVideo setInstantGameEntryPointData(String instantGameEntryPointData)
public ProductCatalog.APIRequestCreateVideo setIsBoostIntended(Boolean isBoostIntended)
public ProductCatalog.APIRequestCreateVideo setIsBoostIntended(String isBoostIntended)
public ProductCatalog.APIRequestCreateVideo setLocationSourceId(String locationSourceId)
public ProductCatalog.APIRequestCreateVideo setDescription(String description)
public ProductCatalog.APIRequestCreateVideo setOfferLikePostId(String offerLikePostId)
public ProductCatalog.APIRequestCreateVideo setPublishEventId(Long publishEventId)
public ProductCatalog.APIRequestCreateVideo setPublishEventId(String publishEventId)
public ProductCatalog.APIRequestCreateVideo setReactModeMetadata(String reactModeMetadata)
public ProductCatalog.APIRequestCreateVideo setSalesPromoId(Long salesPromoId)
public ProductCatalog.APIRequestCreateVideo setSalesPromoId(String salesPromoId)
public ProductCatalog.APIRequestCreateVideo setTextFormatMetadata(String textFormatMetadata)
public ProductCatalog.APIRequestCreateVideo setThrowbackCameraRollMedia(String throwbackCameraRollMedia)
public ProductCatalog.APIRequestCreateVideo setVideoStartTimeMs(Long videoStartTimeMs)
public ProductCatalog.APIRequestCreateVideo setVideoStartTimeMs(String videoStartTimeMs)
public ProductCatalog.APIRequestCreateVideo setApplicationId(String applicationId)
public ProductCatalog.APIRequestCreateVideo setUploadPhase(AdVideo.EnumUploadPhase uploadPhase)
public ProductCatalog.APIRequestCreateVideo setUploadPhase(String uploadPhase)
public ProductCatalog.APIRequestCreateVideo setFileSize(Long fileSize)
public ProductCatalog.APIRequestCreateVideo setFileSize(String fileSize)
public ProductCatalog.APIRequestCreateVideo setStartOffset(Long startOffset)
public ProductCatalog.APIRequestCreateVideo setStartOffset(String startOffset)
public ProductCatalog.APIRequestCreateVideo setEndOffset(Long endOffset)
public ProductCatalog.APIRequestCreateVideo setEndOffset(String endOffset)
public ProductCatalog.APIRequestCreateVideo setVideoFileChunk(String videoFileChunk)
public ProductCatalog.APIRequestCreateVideo setFbuploaderVideoFileChunk(String fbuploaderVideoFileChunk)
public ProductCatalog.APIRequestCreateVideo setUploadSessionId(String uploadSessionId)
public ProductCatalog.APIRequestCreateVideo setIsVoiceClip(Boolean isVoiceClip)
public ProductCatalog.APIRequestCreateVideo setIsVoiceClip(String isVoiceClip)
public ProductCatalog.APIRequestCreateVideo setAttributionAppId(String attributionAppId)
public ProductCatalog.APIRequestCreateVideo setContentCategory(AdVideo.EnumContentCategory contentCategory)
public ProductCatalog.APIRequestCreateVideo setContentCategory(String contentCategory)
public ProductCatalog.APIRequestCreateVideo setEmbeddable(Boolean embeddable)
public ProductCatalog.APIRequestCreateVideo setEmbeddable(String embeddable)
public ProductCatalog.APIRequestCreateVideo setSlideshowSpec(Map<String,String> slideshowSpec)
public ProductCatalog.APIRequestCreateVideo setSlideshowSpec(String slideshowSpec)
public ProductCatalog.APIRequestCreateVideo setUploadSettingProperties(String uploadSettingProperties)
public ProductCatalog.APIRequestCreateVideo setTranscodeSettingProperties(String transcodeSettingProperties)
public ProductCatalog.APIRequestCreateVideo setContainerType(AdVideo.EnumContainerType containerType)
public ProductCatalog.APIRequestCreateVideo setContainerType(String containerType)
public ProductCatalog.APIRequestCreateVideo setReferencedStickerId(String referencedStickerId)
public ProductCatalog.APIRequestCreateVideo setReplaceVideoId(String replaceVideoId)
public ProductCatalog.APIRequestCreateVideo setSwapMode(AdVideo.EnumSwapMode swapMode)
public ProductCatalog.APIRequestCreateVideo setSwapMode(String swapMode)
public ProductCatalog.APIRequestCreateVideo requestAllFields()
public ProductCatalog.APIRequestCreateVideo requestAllFields(boolean value)
public ProductCatalog.APIRequestCreateVideo requestFields(List<String> fields)
requestFields in class APIRequest<AdVideo>public ProductCatalog.APIRequestCreateVideo requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<AdVideo>public ProductCatalog.APIRequestCreateVideo requestField(String field)
requestField in class APIRequest<AdVideo>public ProductCatalog.APIRequestCreateVideo requestField(String field, boolean value)
requestField in class APIRequest<AdVideo>Copyright © 2018. All rights reserved.