
com.tencentcloudapi.ams.v20201229.models.CreateAudioModerationTaskRequest 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.ams.v20201229.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateAudioModerationTaskRequest extends AbstractModel{
/**
* 输入的任务信息,最多可以同时创建10个任务
*/
@SerializedName("Tasks")
@Expose
private TaskInput [] Tasks;
/**
* 默认为:default,客户可以在音频审核控制台配置自己的BizType
*/
@SerializedName("BizType")
@Expose
private String BizType;
/**
* 审核类型,这里可选:AUDIO (点播音频)和 LIVE_AUDIO(直播音频),默认为 AUDIIO
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* (可选)回调签名key,具体可以查看 回调签名示例
*/
@SerializedName("Seed")
@Expose
private String Seed;
/**
* 接收审核信息回调地址,如果设置,则审核过程中产生的违规音频片段和画面截帧发送此接口
*/
@SerializedName("CallbackUrl")
@Expose
private String CallbackUrl;
/**
* Get 输入的任务信息,最多可以同时创建10个任务
* @return Tasks 输入的任务信息,最多可以同时创建10个任务
*/
public TaskInput [] getTasks() {
return this.Tasks;
}
/**
* Set 输入的任务信息,最多可以同时创建10个任务
* @param Tasks 输入的任务信息,最多可以同时创建10个任务
*/
public void setTasks(TaskInput [] Tasks) {
this.Tasks = Tasks;
}
/**
* Get 默认为:default,客户可以在音频审核控制台配置自己的BizType
* @return BizType 默认为:default,客户可以在音频审核控制台配置自己的BizType
*/
public String getBizType() {
return this.BizType;
}
/**
* Set 默认为:default,客户可以在音频审核控制台配置自己的BizType
* @param BizType 默认为:default,客户可以在音频审核控制台配置自己的BizType
*/
public void setBizType(String BizType) {
this.BizType = BizType;
}
/**
* Get 审核类型,这里可选:AUDIO (点播音频)和 LIVE_AUDIO(直播音频),默认为 AUDIIO
* @return Type 审核类型,这里可选:AUDIO (点播音频)和 LIVE_AUDIO(直播音频),默认为 AUDIIO
*/
public String getType() {
return this.Type;
}
/**
* Set 审核类型,这里可选:AUDIO (点播音频)和 LIVE_AUDIO(直播音频),默认为 AUDIIO
* @param Type 审核类型,这里可选:AUDIO (点播音频)和 LIVE_AUDIO(直播音频),默认为 AUDIIO
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get (可选)回调签名key,具体可以查看 回调签名示例
* @return Seed (可选)回调签名key,具体可以查看 回调签名示例
*/
public String getSeed() {
return this.Seed;
}
/**
* Set (可选)回调签名key,具体可以查看 回调签名示例
* @param Seed (可选)回调签名key,具体可以查看 回调签名示例
*/
public void setSeed(String Seed) {
this.Seed = Seed;
}
/**
* Get 接收审核信息回调地址,如果设置,则审核过程中产生的违规音频片段和画面截帧发送此接口
* @return CallbackUrl 接收审核信息回调地址,如果设置,则审核过程中产生的违规音频片段和画面截帧发送此接口
*/
public String getCallbackUrl() {
return this.CallbackUrl;
}
/**
* Set 接收审核信息回调地址,如果设置,则审核过程中产生的违规音频片段和画面截帧发送此接口
* @param CallbackUrl 接收审核信息回调地址,如果设置,则审核过程中产生的违规音频片段和画面截帧发送此接口
*/
public void setCallbackUrl(String CallbackUrl) {
this.CallbackUrl = CallbackUrl;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamArrayObj(map, prefix + "Tasks.", this.Tasks);
this.setParamSimple(map, prefix + "BizType", this.BizType);
this.setParamSimple(map, prefix + "Type", this.Type);
this.setParamSimple(map, prefix + "Seed", this.Seed);
this.setParamSimple(map, prefix + "CallbackUrl", this.CallbackUrl);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy