All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.ams.v20201229.models.TaskData Maven / Gradle / Ivy

The newest version!
/*
 * 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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class TaskData extends AbstractModel {

    /**
    * 该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("DataId")
    @Expose
    private String DataId;

    /**
    * 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。
    */
    @SerializedName("TaskId")
    @Expose
    private String TaskId;

    /**
    * 该字段用于返回所查询内容的任务状态。

取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。 */ @SerializedName("Status") @Expose private String Status; /** * 该字段用于返回音频审核任务所对应的任务名称,方便后续查询和管理审核任务。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("Name") @Expose private String Name; /** * 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("BizType") @Expose private String BizType; /** * 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("Type") @Expose private String Type; /** * 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("Suggestion") @Expose private String Suggestion; /** * 输入信息 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("MediaInfo") @Expose private MediaInfo MediaInfo; /** * 该字段用于返回检测结果所对应的恶意标签。
返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("Labels") @Expose private TaskLabel [] Labels; /** * 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。 */ @SerializedName("CreatedAt") @Expose private String CreatedAt; /** * 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("UpdatedAt") @Expose private String UpdatedAt; /** * 任务信息 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("InputInfo") @Expose private InputInfo InputInfo; /** * Get 该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。 注意:此字段可能返回 null,表示取不到有效值。 * @return DataId 该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。 注意:此字段可能返回 null,表示取不到有效值。 */ public String getDataId() { return this.DataId; } /** * Set 该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。 注意:此字段可能返回 null,表示取不到有效值。 * @param DataId 该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setDataId(String DataId) { this.DataId = DataId; } /** * Get 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。 * @return TaskId 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。 */ public String getTaskId() { return this.TaskId; } /** * Set 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。 * @param TaskId 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。 */ public void setTaskId(String TaskId) { this.TaskId = TaskId; } /** * Get 该字段用于返回所查询内容的任务状态。
取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。 * @return Status 该字段用于返回所查询内容的任务状态。
取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。 */ public String getStatus() { return this.Status; } /** * Set 该字段用于返回所查询内容的任务状态。
取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。 * @param Status 该字段用于返回所查询内容的任务状态。
取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。 */ public void setStatus(String Status) { this.Status = Status; } /** * Get 该字段用于返回音频审核任务所对应的任务名称,方便后续查询和管理审核任务。 注意:此字段可能返回 null,表示取不到有效值。 * @return Name 该字段用于返回音频审核任务所对应的任务名称,方便后续查询和管理审核任务。 注意:此字段可能返回 null,表示取不到有效值。 */ public String getName() { return this.Name; } /** * Set 该字段用于返回音频审核任务所对应的任务名称,方便后续查询和管理审核任务。 注意:此字段可能返回 null,表示取不到有效值。 * @param Name 该字段用于返回音频审核任务所对应的任务名称,方便后续查询和管理审核任务。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setName(String Name) { this.Name = Name; } /** * Get 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。 注意:此字段可能返回 null,表示取不到有效值。 * @return BizType 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。 注意:此字段可能返回 null,表示取不到有效值。 */ public String getBizType() { return this.BizType; } /** * Set 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。 注意:此字段可能返回 null,表示取不到有效值。 * @param BizType 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setBizType(String BizType) { this.BizType = BizType; } /** * Get 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。 注意:此字段可能返回 null,表示取不到有效值。 * @return Type 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。 注意:此字段可能返回 null,表示取不到有效值。 */ public String getType() { return this.Type; } /** * Set 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。 注意:此字段可能返回 null,表示取不到有效值。 * @param Type 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setType(String Type) { this.Type = Type; } /** * Get 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过 注意:此字段可能返回 null,表示取不到有效值。 * @return Suggestion 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过 注意:此字段可能返回 null,表示取不到有效值。 */ public String getSuggestion() { return this.Suggestion; } /** * Set 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过 注意:此字段可能返回 null,表示取不到有效值。 * @param Suggestion 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过 注意:此字段可能返回 null,表示取不到有效值。 */ public void setSuggestion(String Suggestion) { this.Suggestion = Suggestion; } /** * Get 输入信息 注意:此字段可能返回 null,表示取不到有效值。 * @return MediaInfo 输入信息 注意:此字段可能返回 null,表示取不到有效值。 */ public MediaInfo getMediaInfo() { return this.MediaInfo; } /** * Set 输入信息 注意:此字段可能返回 null,表示取不到有效值。 * @param MediaInfo 输入信息 注意:此字段可能返回 null,表示取不到有效值。 */ public void setMediaInfo(MediaInfo MediaInfo) { this.MediaInfo = MediaInfo; } /** * Get 该字段用于返回检测结果所对应的恶意标签。
返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 注意:此字段可能返回 null,表示取不到有效值。 * @return Labels 该字段用于返回检测结果所对应的恶意标签。
返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 注意:此字段可能返回 null,表示取不到有效值。 */ public TaskLabel [] getLabels() { return this.Labels; } /** * Set 该字段用于返回检测结果所对应的恶意标签。
返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 注意:此字段可能返回 null,表示取不到有效值。 * @param Labels 该字段用于返回检测结果所对应的恶意标签。
返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setLabels(TaskLabel [] Labels) { this.Labels = Labels; } /** * Get 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。 * @return CreatedAt 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。 */ public String getCreatedAt() { return this.CreatedAt; } /** * Set 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。 * @param CreatedAt 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。 */ public void setCreatedAt(String CreatedAt) { this.CreatedAt = CreatedAt; } /** * Get 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。 注意:此字段可能返回 null,表示取不到有效值。 * @return UpdatedAt 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。 注意:此字段可能返回 null,表示取不到有效值。 */ public String getUpdatedAt() { return this.UpdatedAt; } /** * Set 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。 注意:此字段可能返回 null,表示取不到有效值。 * @param UpdatedAt 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setUpdatedAt(String UpdatedAt) { this.UpdatedAt = UpdatedAt; } /** * Get 任务信息 注意:此字段可能返回 null,表示取不到有效值。 * @return InputInfo 任务信息 注意:此字段可能返回 null,表示取不到有效值。 */ public InputInfo getInputInfo() { return this.InputInfo; } /** * Set 任务信息 注意:此字段可能返回 null,表示取不到有效值。 * @param InputInfo 任务信息 注意:此字段可能返回 null,表示取不到有效值。 */ public void setInputInfo(InputInfo InputInfo) { this.InputInfo = InputInfo; } public TaskData() { } /** * 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 TaskData(TaskData source) { if (source.DataId != null) { this.DataId = new String(source.DataId); } if (source.TaskId != null) { this.TaskId = new String(source.TaskId); } if (source.Status != null) { this.Status = new String(source.Status); } if (source.Name != null) { this.Name = new String(source.Name); } if (source.BizType != null) { this.BizType = new String(source.BizType); } if (source.Type != null) { this.Type = new String(source.Type); } if (source.Suggestion != null) { this.Suggestion = new String(source.Suggestion); } if (source.MediaInfo != null) { this.MediaInfo = new MediaInfo(source.MediaInfo); } if (source.Labels != null) { this.Labels = new TaskLabel[source.Labels.length]; for (int i = 0; i < source.Labels.length; i++) { this.Labels[i] = new TaskLabel(source.Labels[i]); } } if (source.CreatedAt != null) { this.CreatedAt = new String(source.CreatedAt); } if (source.UpdatedAt != null) { this.UpdatedAt = new String(source.UpdatedAt); } if (source.InputInfo != null) { this.InputInfo = new InputInfo(source.InputInfo); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "DataId", this.DataId); this.setParamSimple(map, prefix + "TaskId", this.TaskId); this.setParamSimple(map, prefix + "Status", this.Status); this.setParamSimple(map, prefix + "Name", this.Name); this.setParamSimple(map, prefix + "BizType", this.BizType); this.setParamSimple(map, prefix + "Type", this.Type); this.setParamSimple(map, prefix + "Suggestion", this.Suggestion); this.setParamObj(map, prefix + "MediaInfo.", this.MediaInfo); this.setParamArrayObj(map, prefix + "Labels.", this.Labels); this.setParamSimple(map, prefix + "CreatedAt", this.CreatedAt); this.setParamSimple(map, prefix + "UpdatedAt", this.UpdatedAt); this.setParamObj(map, prefix + "InputInfo.", this.InputInfo); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy