com.tencentcloudapi.mps.v20190612.models.MediaProcessTaskResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.mps.v20190612.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class MediaProcessTaskResult extends AbstractModel{
/**
* Task type. Valid values:
Transcode: Transcoding
AnimatedGraphics: Animated image generating
SnapshotByTimeOffset: Time point screencapturing
SampleSnapshot: Sampled screencapturing
ImageSprites: Image sprite generating
CoverBySnapshot: Screencapturing for cover image
AdaptiveDynamicStreaming: Adaptive bitrate streaming
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* Query result of a transcoding task, which is valid when task type is `Transcode`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("TranscodeTask")
@Expose
private MediaProcessTaskTranscodeResult TranscodeTask;
/**
* Query result of an animated image generating task, which is valid when task type is `AnimatedGraphics`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("AnimatedGraphicTask")
@Expose
private MediaProcessTaskAnimatedGraphicResult AnimatedGraphicTask;
/**
* Query result of a time point screencapturing task, which is valid when task type is `SnapshotByTimeOffset`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("SnapshotByTimeOffsetTask")
@Expose
private MediaProcessTaskSnapshotByTimeOffsetResult SnapshotByTimeOffsetTask;
/**
* Query result of a sampled screencapturing task, which is valid when task type is `SampleSnapshot`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("SampleSnapshotTask")
@Expose
private MediaProcessTaskSampleSnapshotResult SampleSnapshotTask;
/**
* Query result of an image sprite generating task, which is valid when task type is `ImageSprite`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ImageSpriteTask")
@Expose
private MediaProcessTaskImageSpriteResult ImageSpriteTask;
/**
* Query result of an adaptive bitrate streaming task, which is valid if the task type is `AdaptiveDynamicStreaming`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("AdaptiveDynamicStreamingTask")
@Expose
private MediaProcessTaskAdaptiveDynamicStreamingResult AdaptiveDynamicStreamingTask;
/**
* Get Task type. Valid values:
Transcode: Transcoding
AnimatedGraphics: Animated image generating
SnapshotByTimeOffset: Time point screencapturing
SampleSnapshot: Sampled screencapturing
ImageSprites: Image sprite generating
CoverBySnapshot: Screencapturing for cover image
AdaptiveDynamicStreaming: Adaptive bitrate streaming
* @return Type Task type. Valid values:
Transcode: Transcoding
AnimatedGraphics: Animated image generating
SnapshotByTimeOffset: Time point screencapturing
SampleSnapshot: Sampled screencapturing
ImageSprites: Image sprite generating
CoverBySnapshot: Screencapturing for cover image
AdaptiveDynamicStreaming: Adaptive bitrate streaming
*/
public String getType() {
return this.Type;
}
/**
* Set Task type. Valid values:
Transcode: Transcoding
AnimatedGraphics: Animated image generating
SnapshotByTimeOffset: Time point screencapturing
SampleSnapshot: Sampled screencapturing
ImageSprites: Image sprite generating
CoverBySnapshot: Screencapturing for cover image
AdaptiveDynamicStreaming: Adaptive bitrate streaming
* @param Type Task type. Valid values:
Transcode: Transcoding
AnimatedGraphics: Animated image generating
SnapshotByTimeOffset: Time point screencapturing
SampleSnapshot: Sampled screencapturing
ImageSprites: Image sprite generating
CoverBySnapshot: Screencapturing for cover image
AdaptiveDynamicStreaming: Adaptive bitrate streaming
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get Query result of a transcoding task, which is valid when task type is `Transcode`.
Note: This field may return null, indicating that no valid values can be obtained.
* @return TranscodeTask Query result of a transcoding task, which is valid when task type is `Transcode`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public MediaProcessTaskTranscodeResult getTranscodeTask() {
return this.TranscodeTask;
}
/**
* Set Query result of a transcoding task, which is valid when task type is `Transcode`.
Note: This field may return null, indicating that no valid values can be obtained.
* @param TranscodeTask Query result of a transcoding task, which is valid when task type is `Transcode`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setTranscodeTask(MediaProcessTaskTranscodeResult TranscodeTask) {
this.TranscodeTask = TranscodeTask;
}
/**
* Get Query result of an animated image generating task, which is valid when task type is `AnimatedGraphics`.
Note: This field may return null, indicating that no valid values can be obtained.
* @return AnimatedGraphicTask Query result of an animated image generating task, which is valid when task type is `AnimatedGraphics`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public MediaProcessTaskAnimatedGraphicResult getAnimatedGraphicTask() {
return this.AnimatedGraphicTask;
}
/**
* Set Query result of an animated image generating task, which is valid when task type is `AnimatedGraphics`.
Note: This field may return null, indicating that no valid values can be obtained.
* @param AnimatedGraphicTask Query result of an animated image generating task, which is valid when task type is `AnimatedGraphics`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setAnimatedGraphicTask(MediaProcessTaskAnimatedGraphicResult AnimatedGraphicTask) {
this.AnimatedGraphicTask = AnimatedGraphicTask;
}
/**
* Get Query result of a time point screencapturing task, which is valid when task type is `SnapshotByTimeOffset`.
Note: This field may return null, indicating that no valid values can be obtained.
* @return SnapshotByTimeOffsetTask Query result of a time point screencapturing task, which is valid when task type is `SnapshotByTimeOffset`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public MediaProcessTaskSnapshotByTimeOffsetResult getSnapshotByTimeOffsetTask() {
return this.SnapshotByTimeOffsetTask;
}
/**
* Set Query result of a time point screencapturing task, which is valid when task type is `SnapshotByTimeOffset`.
Note: This field may return null, indicating that no valid values can be obtained.
* @param SnapshotByTimeOffsetTask Query result of a time point screencapturing task, which is valid when task type is `SnapshotByTimeOffset`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setSnapshotByTimeOffsetTask(MediaProcessTaskSnapshotByTimeOffsetResult SnapshotByTimeOffsetTask) {
this.SnapshotByTimeOffsetTask = SnapshotByTimeOffsetTask;
}
/**
* Get Query result of a sampled screencapturing task, which is valid when task type is `SampleSnapshot`.
Note: This field may return null, indicating that no valid values can be obtained.
* @return SampleSnapshotTask Query result of a sampled screencapturing task, which is valid when task type is `SampleSnapshot`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public MediaProcessTaskSampleSnapshotResult getSampleSnapshotTask() {
return this.SampleSnapshotTask;
}
/**
* Set Query result of a sampled screencapturing task, which is valid when task type is `SampleSnapshot`.
Note: This field may return null, indicating that no valid values can be obtained.
* @param SampleSnapshotTask Query result of a sampled screencapturing task, which is valid when task type is `SampleSnapshot`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setSampleSnapshotTask(MediaProcessTaskSampleSnapshotResult SampleSnapshotTask) {
this.SampleSnapshotTask = SampleSnapshotTask;
}
/**
* Get Query result of an image sprite generating task, which is valid when task type is `ImageSprite`.
Note: This field may return null, indicating that no valid values can be obtained.
* @return ImageSpriteTask Query result of an image sprite generating task, which is valid when task type is `ImageSprite`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public MediaProcessTaskImageSpriteResult getImageSpriteTask() {
return this.ImageSpriteTask;
}
/**
* Set Query result of an image sprite generating task, which is valid when task type is `ImageSprite`.
Note: This field may return null, indicating that no valid values can be obtained.
* @param ImageSpriteTask Query result of an image sprite generating task, which is valid when task type is `ImageSprite`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setImageSpriteTask(MediaProcessTaskImageSpriteResult ImageSpriteTask) {
this.ImageSpriteTask = ImageSpriteTask;
}
/**
* Get Query result of an adaptive bitrate streaming task, which is valid if the task type is `AdaptiveDynamicStreaming`.
Note: this field may return null, indicating that no valid values can be obtained.
* @return AdaptiveDynamicStreamingTask Query result of an adaptive bitrate streaming task, which is valid if the task type is `AdaptiveDynamicStreaming`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public MediaProcessTaskAdaptiveDynamicStreamingResult getAdaptiveDynamicStreamingTask() {
return this.AdaptiveDynamicStreamingTask;
}
/**
* Set Query result of an adaptive bitrate streaming task, which is valid if the task type is `AdaptiveDynamicStreaming`.
Note: this field may return null, indicating that no valid values can be obtained.
* @param AdaptiveDynamicStreamingTask Query result of an adaptive bitrate streaming task, which is valid if the task type is `AdaptiveDynamicStreaming`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public void setAdaptiveDynamicStreamingTask(MediaProcessTaskAdaptiveDynamicStreamingResult AdaptiveDynamicStreamingTask) {
this.AdaptiveDynamicStreamingTask = AdaptiveDynamicStreamingTask;
}
public MediaProcessTaskResult() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public MediaProcessTaskResult(MediaProcessTaskResult source) {
if (source.Type != null) {
this.Type = new String(source.Type);
}
if (source.TranscodeTask != null) {
this.TranscodeTask = new MediaProcessTaskTranscodeResult(source.TranscodeTask);
}
if (source.AnimatedGraphicTask != null) {
this.AnimatedGraphicTask = new MediaProcessTaskAnimatedGraphicResult(source.AnimatedGraphicTask);
}
if (source.SnapshotByTimeOffsetTask != null) {
this.SnapshotByTimeOffsetTask = new MediaProcessTaskSnapshotByTimeOffsetResult(source.SnapshotByTimeOffsetTask);
}
if (source.SampleSnapshotTask != null) {
this.SampleSnapshotTask = new MediaProcessTaskSampleSnapshotResult(source.SampleSnapshotTask);
}
if (source.ImageSpriteTask != null) {
this.ImageSpriteTask = new MediaProcessTaskImageSpriteResult(source.ImageSpriteTask);
}
if (source.AdaptiveDynamicStreamingTask != null) {
this.AdaptiveDynamicStreamingTask = new MediaProcessTaskAdaptiveDynamicStreamingResult(source.AdaptiveDynamicStreamingTask);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Type", this.Type);
this.setParamObj(map, prefix + "TranscodeTask.", this.TranscodeTask);
this.setParamObj(map, prefix + "AnimatedGraphicTask.", this.AnimatedGraphicTask);
this.setParamObj(map, prefix + "SnapshotByTimeOffsetTask.", this.SnapshotByTimeOffsetTask);
this.setParamObj(map, prefix + "SampleSnapshotTask.", this.SampleSnapshotTask);
this.setParamObj(map, prefix + "ImageSpriteTask.", this.ImageSpriteTask);
this.setParamObj(map, prefix + "AdaptiveDynamicStreamingTask.", this.AdaptiveDynamicStreamingTask);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy