/* * Copyright (c) 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. */ namespace TencentCloud.Gme.V20180711.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class DescribeScanResult : AbstractModel { /// /// 业务返回码 /// [JsonProperty("Code")] public long? Code{ get; set; } /// /// 数据唯一 ID /// [JsonProperty("DataId")] public string DataId{ get; set; } /// /// 检测完成的时间戳 /// [JsonProperty("ScanFinishTime")] public ulong? ScanFinishTime{ get; set; } /// /// 是否违规 /// [JsonProperty("HitFlag")] public bool? HitFlag{ get; set; } /// /// 是否为流 /// [JsonProperty("Live")] public bool? Live{ get; set; } /// /// 业务返回描述 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Msg")] public string Msg{ get; set; } /// /// 检测结果,Code 为 0 时返回 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ScanPiece")] public ScanPiece[] ScanPiece{ get; set; } /// /// 提交检测的时间戳 /// [JsonProperty("ScanStartTime")] public ulong? ScanStartTime{ get; set; } /// /// 语音检测场景,对应请求时的 Scene /// [JsonProperty("Scenes")] public string[] Scenes{ get; set; } /// /// 语音检测任务 ID,由后台分配 /// [JsonProperty("TaskId")] public string TaskId{ get; set; } /// /// 文件或接流地址 /// [JsonProperty("Url")] public string Url{ get; set; } /// /// 检测任务执行结果状态,分别为: ///
  • Start: 任务开始
  • ///
  • Success: 成功结束
  • ///
  • Error: 异常
  • ///
    [JsonProperty("Status")] public string Status{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Code", this.Code); this.SetParamSimple(map, prefix + "DataId", this.DataId); this.SetParamSimple(map, prefix + "ScanFinishTime", this.ScanFinishTime); this.SetParamSimple(map, prefix + "HitFlag", this.HitFlag); this.SetParamSimple(map, prefix + "Live", this.Live); this.SetParamSimple(map, prefix + "Msg", this.Msg); this.SetParamArrayObj(map, prefix + "ScanPiece.", this.ScanPiece); this.SetParamSimple(map, prefix + "ScanStartTime", this.ScanStartTime); this.SetParamArraySimple(map, prefix + "Scenes.", this.Scenes); this.SetParamSimple(map, prefix + "TaskId", this.TaskId); this.SetParamSimple(map, prefix + "Url", this.Url); this.SetParamSimple(map, prefix + "Status", this.Status); } } }