com.tencentcloudapi.vod.v20180717.models.AiAnalysisResult 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.vod.v20180717.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class AiAnalysisResult extends AbstractModel {
/**
* Task type. Valid values:
Classification: intelligent categorization
Cover: intelligent cover generating
Tag: intelligent tagging
FrameTag: intelligent frame tagging
Highlight: intelligent highlight generating
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* Query result of intelligent categorization task in video content analysis, which is valid if task type is `Classification`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ClassificationTask")
@Expose
private AiAnalysisTaskClassificationResult ClassificationTask;
/**
* Query result of intelligent cover generating task in video content analysis, which is valid if task type is `Cover`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("CoverTask")
@Expose
private AiAnalysisTaskCoverResult CoverTask;
/**
* Query result of intelligent tagging task in video content analysis, which is valid if task type is `Tag`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("TagTask")
@Expose
private AiAnalysisTaskTagResult TagTask;
/**
* Query result of intelligent frame-specific tagging task in video content analysis, which is valid if task type is `FrameTag`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("FrameTagTask")
@Expose
private AiAnalysisTaskFrameTagResult FrameTagTask;
/**
* Query result of an intelligent highlight generating task in video content analysis, which is valid when task type is `Highlight`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("HighlightTask")
@Expose
private AiAnalysisTaskHighlightResult HighlightTask;
/**
* Get Task type. Valid values:
Classification: intelligent categorization
Cover: intelligent cover generating
Tag: intelligent tagging
FrameTag: intelligent frame tagging
Highlight: intelligent highlight generating
* @return Type Task type. Valid values:
Classification: intelligent categorization
Cover: intelligent cover generating
Tag: intelligent tagging
FrameTag: intelligent frame tagging
Highlight: intelligent highlight generating
*/
public String getType() {
return this.Type;
}
/**
* Set Task type. Valid values:
Classification: intelligent categorization
Cover: intelligent cover generating
Tag: intelligent tagging
FrameTag: intelligent frame tagging
Highlight: intelligent highlight generating
* @param Type Task type. Valid values:
Classification: intelligent categorization
Cover: intelligent cover generating
Tag: intelligent tagging
FrameTag: intelligent frame tagging
Highlight: intelligent highlight generating
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get Query result of intelligent categorization task in video content analysis, which is valid if task type is `Classification`.
Note: this field may return null, indicating that no valid values can be obtained.
* @return ClassificationTask Query result of intelligent categorization task in video content analysis, which is valid if task type is `Classification`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public AiAnalysisTaskClassificationResult getClassificationTask() {
return this.ClassificationTask;
}
/**
* Set Query result of intelligent categorization task in video content analysis, which is valid if task type is `Classification`.
Note: this field may return null, indicating that no valid values can be obtained.
* @param ClassificationTask Query result of intelligent categorization task in video content analysis, which is valid if task type is `Classification`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public void setClassificationTask(AiAnalysisTaskClassificationResult ClassificationTask) {
this.ClassificationTask = ClassificationTask;
}
/**
* Get Query result of intelligent cover generating task in video content analysis, which is valid if task type is `Cover`.
Note: this field may return null, indicating that no valid values can be obtained.
* @return CoverTask Query result of intelligent cover generating task in video content analysis, which is valid if task type is `Cover`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public AiAnalysisTaskCoverResult getCoverTask() {
return this.CoverTask;
}
/**
* Set Query result of intelligent cover generating task in video content analysis, which is valid if task type is `Cover`.
Note: this field may return null, indicating that no valid values can be obtained.
* @param CoverTask Query result of intelligent cover generating task in video content analysis, which is valid if task type is `Cover`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public void setCoverTask(AiAnalysisTaskCoverResult CoverTask) {
this.CoverTask = CoverTask;
}
/**
* Get Query result of intelligent tagging task in video content analysis, which is valid if task type is `Tag`.
Note: this field may return null, indicating that no valid values can be obtained.
* @return TagTask Query result of intelligent tagging task in video content analysis, which is valid if task type is `Tag`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public AiAnalysisTaskTagResult getTagTask() {
return this.TagTask;
}
/**
* Set Query result of intelligent tagging task in video content analysis, which is valid if task type is `Tag`.
Note: this field may return null, indicating that no valid values can be obtained.
* @param TagTask Query result of intelligent tagging task in video content analysis, which is valid if task type is `Tag`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public void setTagTask(AiAnalysisTaskTagResult TagTask) {
this.TagTask = TagTask;
}
/**
* Get Query result of intelligent frame-specific tagging task in video content analysis, which is valid if task type is `FrameTag`.
Note: this field may return null, indicating that no valid values can be obtained.
* @return FrameTagTask Query result of intelligent frame-specific tagging task in video content analysis, which is valid if task type is `FrameTag`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public AiAnalysisTaskFrameTagResult getFrameTagTask() {
return this.FrameTagTask;
}
/**
* Set Query result of intelligent frame-specific tagging task in video content analysis, which is valid if task type is `FrameTag`.
Note: this field may return null, indicating that no valid values can be obtained.
* @param FrameTagTask Query result of intelligent frame-specific tagging task in video content analysis, which is valid if task type is `FrameTag`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public void setFrameTagTask(AiAnalysisTaskFrameTagResult FrameTagTask) {
this.FrameTagTask = FrameTagTask;
}
/**
* Get Query result of an intelligent highlight generating task in video content analysis, which is valid when task type is `Highlight`.
Note: this field may return null, indicating that no valid values can be obtained.
* @return HighlightTask Query result of an intelligent highlight generating task in video content analysis, which is valid when task type is `Highlight`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public AiAnalysisTaskHighlightResult getHighlightTask() {
return this.HighlightTask;
}
/**
* Set Query result of an intelligent highlight generating task in video content analysis, which is valid when task type is `Highlight`.
Note: this field may return null, indicating that no valid values can be obtained.
* @param HighlightTask Query result of an intelligent highlight generating task in video content analysis, which is valid when task type is `Highlight`.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public void setHighlightTask(AiAnalysisTaskHighlightResult HighlightTask) {
this.HighlightTask = HighlightTask;
}
public AiAnalysisResult() {
}
/**
* 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 AiAnalysisResult(AiAnalysisResult source) {
if (source.Type != null) {
this.Type = new String(source.Type);
}
if (source.ClassificationTask != null) {
this.ClassificationTask = new AiAnalysisTaskClassificationResult(source.ClassificationTask);
}
if (source.CoverTask != null) {
this.CoverTask = new AiAnalysisTaskCoverResult(source.CoverTask);
}
if (source.TagTask != null) {
this.TagTask = new AiAnalysisTaskTagResult(source.TagTask);
}
if (source.FrameTagTask != null) {
this.FrameTagTask = new AiAnalysisTaskFrameTagResult(source.FrameTagTask);
}
if (source.HighlightTask != null) {
this.HighlightTask = new AiAnalysisTaskHighlightResult(source.HighlightTask);
}
}
/**
* 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 + "ClassificationTask.", this.ClassificationTask);
this.setParamObj(map, prefix + "CoverTask.", this.CoverTask);
this.setParamObj(map, prefix + "TagTask.", this.TagTask);
this.setParamObj(map, prefix + "FrameTagTask.", this.FrameTagTask);
this.setParamObj(map, prefix + "HighlightTask.", this.HighlightTask);
}
}