com.tencentcloudapi.vod.v20180717.models.AiAnalysisTaskClassificationOutput Maven / Gradle / Ivy
/*
* 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 AiAnalysisTaskClassificationOutput extends AbstractModel {
/**
* List of intelligently generated video categories
Note: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `ClassificationSetFileUrl`.
*/
@SerializedName("ClassificationSet")
@Expose
private MediaAiAnalysisClassificationItem [] ClassificationSet;
/**
* URL to the file for intelligently generated video categories. The file is in JSON format and has the same data structure as `ClassificationSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `ClassificationSetFileUrlExpireTime`.
*/
@SerializedName("ClassificationSetFileUrl")
@Expose
private String ClassificationSetFileUrl;
/**
* Expiration time of the URL to the file for intelligently generated video categories, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
*/
@SerializedName("ClassificationSetFileUrlExpireTime")
@Expose
private String ClassificationSetFileUrlExpireTime;
/**
* Get List of intelligently generated video categories
Note: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `ClassificationSetFileUrl`.
* @return ClassificationSet List of intelligently generated video categories
Note: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `ClassificationSetFileUrl`.
*/
public MediaAiAnalysisClassificationItem [] getClassificationSet() {
return this.ClassificationSet;
}
/**
* Set List of intelligently generated video categories
Note: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `ClassificationSetFileUrl`.
* @param ClassificationSet List of intelligently generated video categories
Note: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `ClassificationSetFileUrl`.
*/
public void setClassificationSet(MediaAiAnalysisClassificationItem [] ClassificationSet) {
this.ClassificationSet = ClassificationSet;
}
/**
* Get URL to the file for intelligently generated video categories. The file is in JSON format and has the same data structure as `ClassificationSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `ClassificationSetFileUrlExpireTime`.
* @return ClassificationSetFileUrl URL to the file for intelligently generated video categories. The file is in JSON format and has the same data structure as `ClassificationSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `ClassificationSetFileUrlExpireTime`.
*/
public String getClassificationSetFileUrl() {
return this.ClassificationSetFileUrl;
}
/**
* Set URL to the file for intelligently generated video categories. The file is in JSON format and has the same data structure as `ClassificationSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `ClassificationSetFileUrlExpireTime`.
* @param ClassificationSetFileUrl URL to the file for intelligently generated video categories. The file is in JSON format and has the same data structure as `ClassificationSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `ClassificationSetFileUrlExpireTime`.
*/
public void setClassificationSetFileUrl(String ClassificationSetFileUrl) {
this.ClassificationSetFileUrl = ClassificationSetFileUrl;
}
/**
* Get Expiration time of the URL to the file for intelligently generated video categories, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
* @return ClassificationSetFileUrlExpireTime Expiration time of the URL to the file for intelligently generated video categories, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
*/
public String getClassificationSetFileUrlExpireTime() {
return this.ClassificationSetFileUrlExpireTime;
}
/**
* Set Expiration time of the URL to the file for intelligently generated video categories, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
* @param ClassificationSetFileUrlExpireTime Expiration time of the URL to the file for intelligently generated video categories, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
*/
public void setClassificationSetFileUrlExpireTime(String ClassificationSetFileUrlExpireTime) {
this.ClassificationSetFileUrlExpireTime = ClassificationSetFileUrlExpireTime;
}
public AiAnalysisTaskClassificationOutput() {
}
/**
* 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 AiAnalysisTaskClassificationOutput(AiAnalysisTaskClassificationOutput source) {
if (source.ClassificationSet != null) {
this.ClassificationSet = new MediaAiAnalysisClassificationItem[source.ClassificationSet.length];
for (int i = 0; i < source.ClassificationSet.length; i++) {
this.ClassificationSet[i] = new MediaAiAnalysisClassificationItem(source.ClassificationSet[i]);
}
}
if (source.ClassificationSetFileUrl != null) {
this.ClassificationSetFileUrl = new String(source.ClassificationSetFileUrl);
}
if (source.ClassificationSetFileUrlExpireTime != null) {
this.ClassificationSetFileUrlExpireTime = new String(source.ClassificationSetFileUrlExpireTime);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamArrayObj(map, prefix + "ClassificationSet.", this.ClassificationSet);
this.setParamSimple(map, prefix + "ClassificationSetFileUrl", this.ClassificationSetFileUrl);
this.setParamSimple(map, prefix + "ClassificationSetFileUrlExpireTime", this.ClassificationSetFileUrlExpireTime);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy