代码修改后的版本,全部提交
This commit is contained in:
103
TencentCloud/Mps/V20190612/Models/AIAnalysisTemplateItem.cs
Normal file
103
TencentCloud/Mps/V20190612/Models/AIAnalysisTemplateItem.cs
Normal file
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AIAnalysisTemplateItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 智能分析模板唯一标识。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public long? Definition{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能分析模板名称。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能分析模板描述信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Comment")]
|
||||
public string Comment{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能分类任务控制参数。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClassificationConfigure")]
|
||||
public ClassificationConfigureInfo ClassificationConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能标签任务控制参数。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TagConfigure")]
|
||||
public TagConfigureInfo TagConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能封面任务控制参数。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CoverConfigure")]
|
||||
public CoverConfigureInfo CoverConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能按帧标签任务控制参数。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("FrameTagConfigure")]
|
||||
public FrameTagConfigureInfo FrameTagConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateTime")]
|
||||
public string UpdateTime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Comment", this.Comment);
|
||||
this.SetParamObj(map, prefix + "ClassificationConfigure.", this.ClassificationConfigure);
|
||||
this.SetParamObj(map, prefix + "TagConfigure.", this.TagConfigure);
|
||||
this.SetParamObj(map, prefix + "CoverConfigure.", this.CoverConfigure);
|
||||
this.SetParamObj(map, prefix + "FrameTagConfigure.", this.FrameTagConfigure);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
106
TencentCloud/Mps/V20190612/Models/AIRecognitionTemplateItem.cs
Normal file
106
TencentCloud/Mps/V20190612/Models/AIRecognitionTemplateItem.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AIRecognitionTemplateItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容识别模板唯一标识。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public long? Definition{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容识别模板名称。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容识别模板描述信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Comment")]
|
||||
public string Comment{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸识别控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("FaceConfigure")]
|
||||
public FaceConfigureInfo FaceConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本全文识别控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("OcrFullTextConfigure")]
|
||||
public OcrFullTextConfigureInfo OcrFullTextConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本关键词识别控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("OcrWordsConfigure")]
|
||||
public OcrWordsConfigureInfo OcrWordsConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语音全文识别控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("AsrFullTextConfigure")]
|
||||
public AsrFullTextConfigureInfo AsrFullTextConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语音关键词识别控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("AsrWordsConfigure")]
|
||||
public AsrWordsConfigureInfo AsrWordsConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateTime")]
|
||||
public string UpdateTime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Comment", this.Comment);
|
||||
this.SetParamObj(map, prefix + "FaceConfigure.", this.FaceConfigure);
|
||||
this.SetParamObj(map, prefix + "OcrFullTextConfigure.", this.OcrFullTextConfigure);
|
||||
this.SetParamObj(map, prefix + "OcrWordsConfigure.", this.OcrWordsConfigure);
|
||||
this.SetParamObj(map, prefix + "AsrFullTextConfigure.", this.AsrFullTextConfigure);
|
||||
this.SetParamObj(map, prefix + "AsrWordsConfigure.", this.AsrWordsConfigure);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
80
TencentCloud/Mps/V20190612/Models/AiAnalysisResult.cs
Normal file
80
TencentCloud/Mps/V20190612/Models/AiAnalysisResult.cs
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务的类型,可以取的值有:
|
||||
/// <li>Classification:智能分类</li>
|
||||
/// <li>Cover:智能封面</li>
|
||||
/// <li>Tag:智能标签</li>
|
||||
/// <li>FrameTag:智能按帧标签</li>
|
||||
/// <li>Highlight:智能精彩集锦</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClassificationTask")]
|
||||
public AiAnalysisTaskClassificationResult ClassificationTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容分析智能封面任务的查询结果,当任务类型为 Cover 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CoverTask")]
|
||||
public AiAnalysisTaskCoverResult CoverTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容分析智能标签任务的查询结果,当任务类型为 Tag 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TagTask")]
|
||||
public AiAnalysisTaskTagResult TagTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容分析智能按帧标签任务的查询结果,当任务类型为 FrameTag 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("FrameTagTask")]
|
||||
public AiAnalysisTaskFrameTagResult FrameTagTask{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskClassificationInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频智能分类模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskClassificationOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频智能分类列表。
|
||||
/// </summary>
|
||||
[JsonProperty("ClassificationSet")]
|
||||
public MediaAiAnalysisClassificationItem[] ClassificationSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "ClassificationSet.", this.ClassificationSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskClassificationResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能分类任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiAnalysisTaskClassificationInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能分类任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiAnalysisTaskClassificationOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskCoverInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频智能封面模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskCoverOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 智能封面列表。
|
||||
/// </summary>
|
||||
[JsonProperty("CoverSet")]
|
||||
public MediaAiAnalysisCoverItem[] CoverSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能封面的存储位置。
|
||||
/// </summary>
|
||||
[JsonProperty("OutputStorage")]
|
||||
public TaskOutputStorage OutputStorage{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "CoverSet.", this.CoverSet);
|
||||
this.SetParamObj(map, prefix + "OutputStorage.", this.OutputStorage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskCoverResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能封面任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiAnalysisTaskCoverInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能封面任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiAnalysisTaskCoverOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskFrameTagInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频智能按帧标签模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskFrameTagOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频按帧标签列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public MediaAiAnalysisFrameTagSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskFrameTagResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能按帧标签任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiAnalysisTaskFrameTagInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能按帧标签任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiAnalysisTaskFrameTagOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Mps/V20190612/Models/AiAnalysisTaskInput.cs
Normal file
43
TencentCloud/Mps/V20190612/Models/AiAnalysisTaskInput.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容分析模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Mps/V20190612/Models/AiAnalysisTaskTagInput.cs
Normal file
43
TencentCloud/Mps/V20190612/Models/AiAnalysisTaskTagInput.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskTagInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频智能标签模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Mps/V20190612/Models/AiAnalysisTaskTagOutput.cs
Normal file
43
TencentCloud/Mps/V20190612/Models/AiAnalysisTaskTagOutput.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskTagOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频智能标签列表。
|
||||
/// </summary>
|
||||
[JsonProperty("TagSet")]
|
||||
public MediaAiAnalysisTagItem[] TagSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "TagSet.", this.TagSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
72
TencentCloud/Mps/V20190612/Models/AiAnalysisTaskTagResult.cs
Normal file
72
TencentCloud/Mps/V20190612/Models/AiAnalysisTaskTagResult.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiAnalysisTaskTagResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能标签任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiAnalysisTaskTagInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能标签任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiAnalysisTaskTagOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
148
TencentCloud/Mps/V20190612/Models/AiContentReviewResult.cs
Normal file
148
TencentCloud/Mps/V20190612/Models/AiContentReviewResult.cs
Normal file
@@ -0,0 +1,148 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiContentReviewResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务的类型,可以取的值有:
|
||||
/// <li>Porn:图片鉴黄</li>
|
||||
/// <li>Terrorism:图片鉴恐</li>
|
||||
/// <li>Political:图片鉴政</li>
|
||||
/// <li>Porn.Asr:Asr 文字鉴黄</li>
|
||||
/// <li>Porn.Ocr:Ocr 文字鉴黄</li>
|
||||
/// <li>Porn.Voice:声音鉴黄</li>
|
||||
/// <li>Political.Asr:Asr 文字鉴政</li>
|
||||
/// <li>Political.Ocr:Ocr 文字鉴政</li>
|
||||
/// <li>Terrorism.Ocr:Ocr 文字鉴恐</li>
|
||||
/// <li>Prohibited.Asr:Asr 文字鉴违禁</li>
|
||||
/// <li>Prohibited.Ocr:Ocr 文字鉴违禁</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 采样频率,即对视频每秒截取进行审核的帧数。
|
||||
/// </summary>
|
||||
[JsonProperty("SampleRate")]
|
||||
public float? SampleRate{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 审核的视频时长,单位:秒。
|
||||
/// </summary>
|
||||
[JsonProperty("Duration")]
|
||||
public float? Duration{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容审核智能画面鉴黄任务的查询结果,当任务类型为 Porn 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PornTask")]
|
||||
public AiReviewTaskPornResult PornTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容审核智能画面鉴恐任务的查询结果,当任务类型为 Terrorism 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TerrorismTask")]
|
||||
public AiReviewTaskTerrorismResult TerrorismTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容审核智能画面鉴政任务的查询结果,当任务类型为 Political 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PoliticalTask")]
|
||||
public AiReviewTaskPoliticalResult PoliticalTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容审核 Asr 文字鉴黄任务的查询结果,当任务类型为 Porn.Asr 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PornAsrTask")]
|
||||
public AiReviewTaskPornAsrResult PornAsrTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容审核 Ocr 文字鉴黄任务的查询结果,当任务类型为 Porn.Ocr 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PornOcrTask")]
|
||||
public AiReviewTaskPornOcrResult PornOcrTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容审核 Asr 文字鉴政任务的查询结果,当任务类型为 Political.Asr 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PoliticalAsrTask")]
|
||||
public AiReviewTaskPoliticalAsrResult PoliticalAsrTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容审核 Ocr 文字鉴政任务的查询结果,当任务类型为 Political.Ocr 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PoliticalOcrTask")]
|
||||
public AiReviewTaskPoliticalOcrResult PoliticalOcrTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容审核 Ocr 文字鉴恐任务的查询结果,当任务类型为 Terrorism.Ocr 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TerrorismOcrTask")]
|
||||
public AiReviewTaskTerrorismOcrResult TerrorismOcrTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容审核 Asr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Asr 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ProhibitedAsrTask")]
|
||||
public AiReviewTaskProhibitedAsrResult ProhibitedAsrTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容审核 Ocr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Ocr 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ProhibitedOcrTask")]
|
||||
public AiReviewTaskProhibitedOcrResult ProhibitedOcrTask{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "SampleRate", this.SampleRate);
|
||||
this.SetParamSimple(map, prefix + "Duration", this.Duration);
|
||||
this.SetParamObj(map, prefix + "PornTask.", this.PornTask);
|
||||
this.SetParamObj(map, prefix + "TerrorismTask.", this.TerrorismTask);
|
||||
this.SetParamObj(map, prefix + "PoliticalTask.", this.PoliticalTask);
|
||||
this.SetParamObj(map, prefix + "PornAsrTask.", this.PornAsrTask);
|
||||
this.SetParamObj(map, prefix + "PornOcrTask.", this.PornOcrTask);
|
||||
this.SetParamObj(map, prefix + "PoliticalAsrTask.", this.PoliticalAsrTask);
|
||||
this.SetParamObj(map, prefix + "PoliticalOcrTask.", this.PoliticalOcrTask);
|
||||
this.SetParamObj(map, prefix + "TerrorismOcrTask.", this.TerrorismOcrTask);
|
||||
this.SetParamObj(map, prefix + "ProhibitedAsrTask.", this.ProhibitedAsrTask);
|
||||
this.SetParamObj(map, prefix + "ProhibitedOcrTask.", this.ProhibitedOcrTask);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiContentReviewTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容审核模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
95
TencentCloud/Mps/V20190612/Models/AiRecognitionResult.cs
Normal file
95
TencentCloud/Mps/V20190612/Models/AiRecognitionResult.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务的类型,取值范围:
|
||||
/// <li>FaceRecognition:人脸识别,</li>
|
||||
/// <li>AsrWordsRecognition:语音关键词识别,</li>
|
||||
/// <li>OcrWordsRecognition:文本关键词识别,</li>
|
||||
/// <li>AsrFullTextRecognition:语音全文识别,</li>
|
||||
/// <li>OcrFullTextRecognition:文本全文识别,</li>
|
||||
/// <li>HeadTailRecognition:视频片头片尾识别,</li>
|
||||
/// <li>ObjectRecognition:物体识别。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸识别结果,当 Type 为
|
||||
/// FaceRecognition 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("FaceTask")]
|
||||
public AiRecognitionTaskFaceResult FaceTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语音关键词识别结果,当 Type 为
|
||||
/// AsrWordsRecognition 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("AsrWordsTask")]
|
||||
public AiRecognitionTaskAsrWordsResult AsrWordsTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语音全文识别结果,当 Type 为
|
||||
/// AsrFullTextRecognition 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("AsrFullTextTask")]
|
||||
public AiRecognitionTaskAsrFullTextResult AsrFullTextTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本关键词识别结果,当 Type 为
|
||||
/// OcrWordsRecognition 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("OcrWordsTask")]
|
||||
public AiRecognitionTaskOcrWordsResult OcrWordsTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本全文识别结果,当 Type 为
|
||||
/// OcrFullTextRecognition 时有效。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("OcrFullTextTask")]
|
||||
public AiRecognitionTaskOcrFullTextResult OcrFullTextTask{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamObj(map, prefix + "FaceTask.", this.FaceTask);
|
||||
this.SetParamObj(map, prefix + "AsrWordsTask.", this.AsrWordsTask);
|
||||
this.SetParamObj(map, prefix + "AsrFullTextTask.", this.AsrFullTextTask);
|
||||
this.SetParamObj(map, prefix + "OcrWordsTask.", this.OcrWordsTask);
|
||||
this.SetParamObj(map, prefix + "OcrFullTextTask.", this.OcrFullTextTask);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskAsrFullTextResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语音全文识别任务输入信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiRecognitionTaskAsrFullTextResultInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语音全文识别任务输出信息。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiRecognitionTaskAsrFullTextResultOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskAsrFullTextResultInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 语音全文识别模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public long? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskAsrFullTextResultOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 语音全文识别片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public AiRecognitionTaskAsrFullTextSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字幕文件地址。
|
||||
/// </summary>
|
||||
[JsonProperty("SubtitlePath")]
|
||||
public string SubtitlePath{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字幕文件存储位置。
|
||||
/// </summary>
|
||||
[JsonProperty("OutputStorage")]
|
||||
public TaskOutputStorage OutputStorage{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
this.SetParamSimple(map, prefix + "SubtitlePath", this.SubtitlePath);
|
||||
this.SetParamObj(map, prefix + "OutputStorage.", this.OutputStorage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskAsrFullTextSegmentItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段置信度。取值:0~100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段起始的偏移时间,单位:秒。
|
||||
/// </summary>
|
||||
[JsonProperty("StartTimeOffset")]
|
||||
public float? StartTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段终止的偏移时间,单位:秒。
|
||||
/// </summary>
|
||||
[JsonProperty("EndTimeOffset")]
|
||||
public float? EndTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别文本。
|
||||
/// </summary>
|
||||
[JsonProperty("Text")]
|
||||
public string Text{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamSimple(map, prefix + "StartTimeOffset", this.StartTimeOffset);
|
||||
this.SetParamSimple(map, prefix + "EndTimeOffset", this.EndTimeOffset);
|
||||
this.SetParamSimple(map, prefix + "Text", this.Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskAsrWordsResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语音关键词识别任务输入信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiRecognitionTaskAsrWordsResultInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语音关键词识别任务输出信息。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiRecognitionTaskAsrWordsResultOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskAsrWordsResultInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 语音关键词识别模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public long? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskAsrWordsResultItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 语音关键词。
|
||||
/// </summary>
|
||||
[JsonProperty("Word")]
|
||||
public string Word{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语音关键词出现的时间片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public AiRecognitionTaskAsrWordsSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Word", this.Word);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskAsrWordsResultOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 语音关键词识别结果集。
|
||||
/// </summary>
|
||||
[JsonProperty("ResultSet")]
|
||||
public AiRecognitionTaskAsrWordsResultItem[] ResultSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "ResultSet.", this.ResultSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskAsrWordsSegmentItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段起始的偏移时间,单位:秒。
|
||||
/// </summary>
|
||||
[JsonProperty("StartTimeOffset")]
|
||||
public float? StartTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段终止的偏移时间,单位:秒。
|
||||
/// </summary>
|
||||
[JsonProperty("EndTimeOffset")]
|
||||
public float? EndTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段置信度。取值:0~100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "StartTimeOffset", this.StartTimeOffset);
|
||||
this.SetParamSimple(map, prefix + "EndTimeOffset", this.EndTimeOffset);
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskFaceResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸识别任务输入信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiRecognitionTaskFaceResultInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸识别任务输出信息。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiRecognitionTaskFaceResultOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskFaceResultInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 人脸识别模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public long? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskFaceResultItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 人物唯一标识 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Id")]
|
||||
public string Id{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人物库类型,表示识别出的人物来自哪个人物库:
|
||||
/// <li>Default:默认人物库;</li>
|
||||
/// <li>UserDefine:用户自定义人物库。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人物名称。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人物出现的片段结果集。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public AiRecognitionTaskFaceSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Id", this.Id);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskFaceResultOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 智能人脸识别结果集。
|
||||
/// </summary>
|
||||
[JsonProperty("ResultSet")]
|
||||
public AiRecognitionTaskFaceResultItem[] ResultSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "ResultSet.", this.ResultSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskFaceSegmentItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段起始的偏移时间,单位:秒。
|
||||
/// </summary>
|
||||
[JsonProperty("StartTimeOffset")]
|
||||
public float? StartTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段终止的偏移时间,单位:秒。
|
||||
/// </summary>
|
||||
[JsonProperty("EndTimeOffset")]
|
||||
public float? EndTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段置信度。取值:0~100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
|
||||
/// </summary>
|
||||
[JsonProperty("AreaCoordSet")]
|
||||
public long?[] AreaCoordSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "StartTimeOffset", this.StartTimeOffset);
|
||||
this.SetParamSimple(map, prefix + "EndTimeOffset", this.EndTimeOffset);
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamArraySimple(map, prefix + "AreaCoordSet.", this.AreaCoordSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Mps/V20190612/Models/AiRecognitionTaskInput.cs
Normal file
43
TencentCloud/Mps/V20190612/Models/AiRecognitionTaskInput.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频智能识别模板 ID 。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskOcrFullTextResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本全文识别任务输入信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiRecognitionTaskOcrFullTextResultInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本全文识别任务输出信息。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiRecognitionTaskOcrFullTextResultOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskOcrFullTextResultInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 文本全文识别模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public long? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskOcrFullTextResultOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 文本全文识别结果集。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public AiRecognitionTaskOcrFullTextSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskOcrFullTextSegmentItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段起始的偏移时间,单位:秒。
|
||||
/// </summary>
|
||||
[JsonProperty("StartTimeOffset")]
|
||||
public float? StartTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段终止的偏移时间,单位:秒。
|
||||
/// </summary>
|
||||
[JsonProperty("EndTimeOffset")]
|
||||
public float? EndTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段结果集。
|
||||
/// </summary>
|
||||
[JsonProperty("TextSet")]
|
||||
public AiRecognitionTaskOcrFullTextSegmentTextItem[] TextSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "StartTimeOffset", this.StartTimeOffset);
|
||||
this.SetParamSimple(map, prefix + "EndTimeOffset", this.EndTimeOffset);
|
||||
this.SetParamArrayObj(map, prefix + "TextSet.", this.TextSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskOcrFullTextSegmentTextItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段置信度。取值:0~100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
|
||||
/// </summary>
|
||||
[JsonProperty("AreaCoordSet")]
|
||||
public long?[] AreaCoordSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别文本。
|
||||
/// </summary>
|
||||
[JsonProperty("Text")]
|
||||
public string Text{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamArraySimple(map, prefix + "AreaCoordSet.", this.AreaCoordSet);
|
||||
this.SetParamSimple(map, prefix + "Text", this.Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskOcrWordsResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本关键词识别任务输入信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiRecognitionTaskOcrWordsResultInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本关键词识别任务输出信息。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiRecognitionTaskOcrWordsResultOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskOcrWordsResultInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 文本关键词识别模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public long? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskOcrWordsResultItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 文本关键词。
|
||||
/// </summary>
|
||||
[JsonProperty("Word")]
|
||||
public string Word{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本关键出现的片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public AiRecognitionTaskOcrWordsSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Word", this.Word);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskOcrWordsResultOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 文本关键词识别结果集。
|
||||
/// </summary>
|
||||
[JsonProperty("ResultSet")]
|
||||
public AiRecognitionTaskOcrWordsResultItem[] ResultSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "ResultSet.", this.ResultSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiRecognitionTaskOcrWordsSegmentItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段起始的偏移时间,单位:秒。
|
||||
/// </summary>
|
||||
[JsonProperty("StartTimeOffset")]
|
||||
public float? StartTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段终止的偏移时间,单位:秒。
|
||||
/// </summary>
|
||||
[JsonProperty("EndTimeOffset")]
|
||||
public float? EndTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别片段置信度。取值:0~100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
|
||||
/// </summary>
|
||||
[JsonProperty("AreaCoordSet")]
|
||||
public long?[] AreaCoordSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "StartTimeOffset", this.StartTimeOffset);
|
||||
this.SetParamSimple(map, prefix + "EndTimeOffset", this.EndTimeOffset);
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamArraySimple(map, prefix + "AreaCoordSet.", this.AreaCoordSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPoliticalAsrTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 鉴政模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPoliticalAsrTaskOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Asr 文字涉政、敏感评分,分值为0到100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Asr 文字涉政、敏感结果建议,取值范围:
|
||||
/// <li>pass。</li>
|
||||
/// <li>review。</li>
|
||||
/// <li>block。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Suggestion")]
|
||||
public string Suggestion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Asr 文字有涉政、敏感嫌疑的视频片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public MediaContentReviewAsrTextSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPoliticalOcrTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 鉴政模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPoliticalOcrTaskOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字涉政、敏感评分,分值为0到100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字涉政、敏感结果建议,取值范围:
|
||||
/// <li>pass。</li>
|
||||
/// <li>review。</li>
|
||||
/// <li>block。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Suggestion")]
|
||||
public string Suggestion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字有涉政、敏感嫌疑的视频片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public MediaContentReviewOcrTextSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPoliticalTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 鉴政模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPoliticalTaskOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频涉政评分,分值为0到100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 涉政结果建议,取值范围:
|
||||
/// <li>pass。</li>
|
||||
/// <li>review。</li>
|
||||
/// <li>block。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Suggestion")]
|
||||
public string Suggestion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频鉴政结果标签,取值范围:
|
||||
/// <li>politician:政治人物。</li>
|
||||
/// <li>violation_photo:违规图标。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Label")]
|
||||
public string Label{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 有涉政嫌疑的视频片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public MediaContentReviewPoliticalSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
||||
this.SetParamSimple(map, prefix + "Label", this.Label);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPornAsrTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 鉴黄模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPornAsrTaskOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Asr 文字涉黄评分,分值为0到100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Asr 文字涉黄结果建议,取值范围:
|
||||
/// <li>pass。</li>
|
||||
/// <li>review。</li>
|
||||
/// <li>block。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Suggestion")]
|
||||
public string Suggestion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Asr 文字有涉黄嫌疑的视频片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public MediaContentReviewAsrTextSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPornOcrTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 鉴黄模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPornOcrTaskOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字涉黄评分,分值为0到100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字涉黄结果建议,取值范围:
|
||||
/// <li>pass。</li>
|
||||
/// <li>review。</li>
|
||||
/// <li>block。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Suggestion")]
|
||||
public string Suggestion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字有涉黄嫌疑的视频片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public MediaContentReviewOcrTextSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Mps/V20190612/Models/AiReviewPornTaskInput.cs
Normal file
43
TencentCloud/Mps/V20190612/Models/AiReviewPornTaskInput.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPornTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 鉴黄模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Mps/V20190612/Models/AiReviewPornTaskOutput.cs
Normal file
71
TencentCloud/Mps/V20190612/Models/AiReviewPornTaskOutput.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewPornTaskOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频鉴黄评分,分值为0到100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 鉴黄结果建议,取值范围:
|
||||
/// <li>pass。</li>
|
||||
/// <li>review。</li>
|
||||
/// <li>block。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Suggestion")]
|
||||
public string Suggestion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频鉴黄结果标签,取值范围:
|
||||
/// <li>porn:色情。</li>
|
||||
/// <li>sexy:性感。</li>
|
||||
/// <li>vulgar:低俗。</li>
|
||||
/// <li>intimacy:亲密行为。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Label")]
|
||||
public string Label{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 有涉黄嫌疑的视频片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public MediaContentReviewSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
||||
this.SetParamSimple(map, prefix + "Label", this.Label);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewProhibitedAsrTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 鉴违禁模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewProhibitedAsrTaskOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Asr 文字涉违禁评分,分值为0到100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Asr 文字涉违禁结果建议,取值范围:
|
||||
/// <li>pass。</li>
|
||||
/// <li>review。</li>
|
||||
/// <li>block。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Suggestion")]
|
||||
public string Suggestion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Asr 文字有涉违禁嫌疑的视频片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public MediaContentReviewAsrTextSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewProhibitedOcrTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 鉴违禁模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewProhibitedOcrTaskOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字涉违禁评分,分值为0到100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字涉违禁结果建议,取值范围:
|
||||
/// <li>pass。</li>
|
||||
/// <li>review。</li>
|
||||
/// <li>block。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Suggestion")]
|
||||
public string Suggestion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字有涉违禁嫌疑的视频片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public MediaContentReviewOcrTextSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTaskPoliticalAsrResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Asr 文字鉴政任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiReviewPoliticalAsrTaskInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Asr 文字鉴政任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiReviewPoliticalAsrTaskOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTaskPoliticalOcrResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS <20><> FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Ocr 文字鉴政任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiReviewPoliticalOcrTaskInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Ocr 文字鉴政任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiReviewPoliticalOcrTaskOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTaskPoliticalResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核鉴政任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiReviewPoliticalTaskInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核鉴政任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiReviewPoliticalTaskOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTaskPornAsrResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Asr 文字鉴黄任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiReviewPornAsrTaskInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Asr 文字鉴黄任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiReviewPornAsrTaskOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTaskPornOcrResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Ocr 文字鉴黄任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiReviewPornOcrTaskInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Ocr 文字鉴黄任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiReviewPornOcrTaskOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
72
TencentCloud/Mps/V20190612/Models/AiReviewTaskPornResult.cs
Normal file
72
TencentCloud/Mps/V20190612/Models/AiReviewTaskPornResult.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTaskPornResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核鉴黄任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiReviewPornTaskInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核鉴黄任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiReviewPornTaskOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTaskProhibitedAsrResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0 表示成功,其他值表示失败:
|
||||
/// <li>40000:输入参数不合法,请检查输入参数;</li>
|
||||
/// <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
|
||||
/// <li>70000:内部服务错误,建议重试。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Asr 文字鉴违禁任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiReviewProhibitedAsrTaskInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Asr 文字鉴违禁任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiReviewProhibitedAsrTaskOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTaskProhibitedOcrResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0 表示成功,其他值表示失败:
|
||||
/// <li>40000:输入参数不合法,请检查输入参数;</li>
|
||||
/// <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
|
||||
/// <li>70000:内部服务错误,建议重试。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Ocr 文字鉴违禁任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiReviewProhibitedOcrTaskInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Ocr 文字鉴违禁任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiReviewProhibitedOcrTaskOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTaskTerrorismOcrResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0 表示成功,其他值表示失败:
|
||||
/// <li>40000:输入参数不合法,请检查输入参数;</li>
|
||||
/// <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
|
||||
/// <li>70000:内部服务错误,建议重试。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Ocr 文字鉴恐任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiReviewTerrorismOcrTaskInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核 Ocr 文字鉴恐任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiReviewTerrorismOcrTaskOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTaskTerrorismResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,0:成功,其他值:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核鉴恐任务输入。
|
||||
/// </summary>
|
||||
[JsonProperty("Input")]
|
||||
public AiReviewTerrorismTaskInput Input{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核鉴恐任务输出。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Output")]
|
||||
public AiReviewTerrorismTaskOutput Output{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamObj(map, prefix + "Input.", this.Input);
|
||||
this.SetParamObj(map, prefix + "Output.", this.Output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTerrorismOcrTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 鉴恐模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTerrorismOcrTaskOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字涉恐评分,分值为0到100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字涉恐结果建议,取值范围:
|
||||
/// <li>pass。</li>
|
||||
/// <li>review。</li>
|
||||
/// <li>block。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Suggestion")]
|
||||
public string Suggestion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ocr 文字有涉恐嫌疑的视频片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public MediaContentReviewOcrTextSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTerrorismTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 鉴恐模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiReviewTerrorismTaskOutput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频暴恐评分,分值为0到100。
|
||||
/// </summary>
|
||||
[JsonProperty("Confidence")]
|
||||
public float? Confidence{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 暴恐结果建议,取值范围:
|
||||
/// <li>pass。</li>
|
||||
/// <li>review。</li>
|
||||
/// <li>block。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Suggestion")]
|
||||
public string Suggestion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频暴恐结果标签,取值范围:
|
||||
/// <li>guns:武器枪支。</li>
|
||||
/// <li>crowd:人群聚集。</li>
|
||||
/// <li>police:警察部队。</li>
|
||||
/// <li>bloody:血腥画面。</li>
|
||||
/// <li>banners:暴恐旗帜。</li>
|
||||
/// <li>militant:武装分子。</li>
|
||||
/// <li>explosion:爆炸火灾。</li>
|
||||
/// <li>terrorists:暴恐人物。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Label")]
|
||||
public string Label{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 有暴恐嫌疑的视频片段列表。
|
||||
/// </summary>
|
||||
[JsonProperty("SegmentSet")]
|
||||
public MediaContentReviewSegmentItem[] SegmentSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||||
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
||||
this.SetParamSimple(map, prefix + "Label", this.Label);
|
||||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Mps/V20190612/Models/AiSampleFaceInfo.cs
Normal file
50
TencentCloud/Mps/V20190612/Models/AiSampleFaceInfo.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiSampleFaceInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 人脸图片 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("FaceId")]
|
||||
public string FaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸图片地址。
|
||||
/// </summary>
|
||||
[JsonProperty("Url")]
|
||||
public string Url{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FaceId", this.FaceId);
|
||||
this.SetParamSimple(map, prefix + "Url", this.Url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
60
TencentCloud/Mps/V20190612/Models/AiSampleFaceOperation.cs
Normal file
60
TencentCloud/Mps/V20190612/Models/AiSampleFaceOperation.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiSampleFaceOperation : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸 ID 集合,当 Type为delete 时,该字段必填。
|
||||
/// </summary>
|
||||
[JsonProperty("FaceIds")]
|
||||
public string[] FaceIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。
|
||||
/// <li>当 Type为add 或 reset 时,该字段必填;</li>
|
||||
/// <li>数组长度限制:5 张图片。</li>
|
||||
/// 注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。
|
||||
/// </summary>
|
||||
[JsonProperty("FaceContents")]
|
||||
public string[] FaceContents{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamArraySimple(map, prefix + "FaceIds.", this.FaceIds);
|
||||
this.SetParamArraySimple(map, prefix + "FaceContents.", this.FaceContents);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
59
TencentCloud/Mps/V20190612/Models/AiSampleFailFaceInfo.cs
Normal file
59
TencentCloud/Mps/V20190612/Models/AiSampleFailFaceInfo.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiSampleFailFaceInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 对应入参 FaceContents 中错误图片下标,从 0 开始。
|
||||
/// </summary>
|
||||
[JsonProperty("Index")]
|
||||
public ulong? Index{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码,取值:
|
||||
/// <li>0:成功;</li>
|
||||
/// <li>其他:失败。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("ErrCode")]
|
||||
public long? ErrCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误描述。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Index", this.Index);
|
||||
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Mps/V20190612/Models/AiSamplePerson.cs
Normal file
92
TencentCloud/Mps/V20190612/Models/AiSamplePerson.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiSamplePerson : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 人物 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("PersonId")]
|
||||
public string PersonId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人物名称。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人物描述。
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸信息。
|
||||
/// </summary>
|
||||
[JsonProperty("FaceInfoSet")]
|
||||
public AiSampleFaceInfo[] FaceInfoSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人物标签。
|
||||
/// </summary>
|
||||
[JsonProperty("TagSet")]
|
||||
public string[] TagSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用场景。
|
||||
/// </summary>
|
||||
[JsonProperty("UsageSet")]
|
||||
public string[] UsageSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateTime")]
|
||||
public string UpdateTime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "PersonId", this.PersonId);
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamArrayObj(map, prefix + "FaceInfoSet.", this.FaceInfoSet);
|
||||
this.SetParamArraySimple(map, prefix + "TagSet.", this.TagSet);
|
||||
this.SetParamArraySimple(map, prefix + "UsageSet.", this.UsageSet);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Mps/V20190612/Models/AiSampleTagOperation.cs
Normal file
50
TencentCloud/Mps/V20190612/Models/AiSampleTagOperation.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiSampleTagOperation : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标签,长度限制:128 个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("Tags")]
|
||||
public string[] Tags{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamArraySimple(map, prefix + "Tags.", this.Tags);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Mps/V20190612/Models/AiSampleWord.cs
Normal file
71
TencentCloud/Mps/V20190612/Models/AiSampleWord.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiSampleWord : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 关键词。
|
||||
/// </summary>
|
||||
[JsonProperty("Keyword")]
|
||||
public string Keyword{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关键词标签。
|
||||
/// </summary>
|
||||
[JsonProperty("TagSet")]
|
||||
public string[] TagSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关键词应用场景。
|
||||
/// </summary>
|
||||
[JsonProperty("UsageSet")]
|
||||
public string[] UsageSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateTime")]
|
||||
public string UpdateTime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Keyword", this.Keyword);
|
||||
this.SetParamArraySimple(map, prefix + "TagSet.", this.TagSet);
|
||||
this.SetParamArraySimple(map, prefix + "UsageSet.", this.UsageSet);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
52
TencentCloud/Mps/V20190612/Models/AiSampleWordInfo.cs
Normal file
52
TencentCloud/Mps/V20190612/Models/AiSampleWordInfo.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AiSampleWordInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 关键词,长度限制:20 个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("Keyword")]
|
||||
public string Keyword{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关键词标签
|
||||
/// <li>数组长度限制:20 个标签;</li>
|
||||
/// <li>单个标签长度限制:128 个字符。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Tags")]
|
||||
public string[] Tags{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Keyword", this.Keyword);
|
||||
this.SetParamArraySimple(map, prefix + "Tags.", this.Tags);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AnimatedGraphicTaskInput : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频转动图模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 动图在视频中的开始时间,单位为秒。
|
||||
/// </summary>
|
||||
[JsonProperty("StartTimeOffset")]
|
||||
public float? StartTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 动图在视频中的结束时间,单位为秒。
|
||||
/// </summary>
|
||||
[JsonProperty("EndTimeOffset")]
|
||||
public float? EndTimeOffset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("OutputStorage")]
|
||||
public TaskOutputStorage OutputStorage{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 转动图后文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。
|
||||
/// </summary>
|
||||
[JsonProperty("OutputObjectPath")]
|
||||
public string OutputObjectPath{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
this.SetParamSimple(map, prefix + "StartTimeOffset", this.StartTimeOffset);
|
||||
this.SetParamSimple(map, prefix + "EndTimeOffset", this.EndTimeOffset);
|
||||
this.SetParamObj(map, prefix + "OutputStorage.", this.OutputStorage);
|
||||
this.SetParamSimple(map, prefix + "OutputObjectPath", this.OutputObjectPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
135
TencentCloud/Mps/V20190612/Models/AnimatedGraphicsTemplate.cs
Normal file
135
TencentCloud/Mps/V20190612/Models/AnimatedGraphicsTemplate.cs
Normal file
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AnimatedGraphicsTemplate : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 转动图模板唯一标识。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public ulong? Definition{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板类型,取值范围:
|
||||
/// <li>Preset:系统预置模板;</li>
|
||||
/// <li>Custom:用户自定义模板。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 转动图模板名称。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 转动图模板描述。
|
||||
/// </summary>
|
||||
[JsonProperty("Comment")]
|
||||
public string Comment{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
||||
/// <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
||||
/// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
||||
/// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
||||
/// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
||||
/// 默认值:0。
|
||||
/// </summary>
|
||||
[JsonProperty("Width")]
|
||||
public ulong? Width{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
||||
/// <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
||||
/// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
||||
/// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
||||
/// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
||||
/// 默认值:0。
|
||||
/// </summary>
|
||||
[JsonProperty("Height")]
|
||||
public ulong? Height{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分辨率自适应,可选值:
|
||||
/// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
|
||||
/// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
||||
/// 默认值:open。
|
||||
/// </summary>
|
||||
[JsonProperty("ResolutionAdaptive")]
|
||||
public string ResolutionAdaptive{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 动图格式。
|
||||
/// </summary>
|
||||
[JsonProperty("Format")]
|
||||
public string Format{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 帧率。
|
||||
/// </summary>
|
||||
[JsonProperty("Fps")]
|
||||
public ulong? Fps{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 图片质量。
|
||||
/// </summary>
|
||||
[JsonProperty("Quality")]
|
||||
public float? Quality{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateTime")]
|
||||
public string UpdateTime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Comment", this.Comment);
|
||||
this.SetParamSimple(map, prefix + "Width", this.Width);
|
||||
this.SetParamSimple(map, prefix + "Height", this.Height);
|
||||
this.SetParamSimple(map, prefix + "ResolutionAdaptive", this.ResolutionAdaptive);
|
||||
this.SetParamSimple(map, prefix + "Format", this.Format);
|
||||
this.SetParamSimple(map, prefix + "Fps", this.Fps);
|
||||
this.SetParamSimple(map, prefix + "Quality", this.Quality);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AsrFullTextConfigureInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 语音全文识别任务开关,可选值:
|
||||
/// <li>ON:开启智能语音全文识别任务;</li>
|
||||
/// <li>OFF:关闭智能语音全文识别任务。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Switch")]
|
||||
public string Switch{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生成的字幕文件格式,不填或者填空字符串表示不生成字幕文件,可选值:
|
||||
/// <li>vtt:生成 WebVTT 字幕文件。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("SubtitleFormat")]
|
||||
public string SubtitleFormat{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Switch", this.Switch);
|
||||
this.SetParamSimple(map, prefix + "SubtitleFormat", this.SubtitleFormat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AsrFullTextConfigureInfoForUpdate : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 语音全文识别任务开关,可选值:
|
||||
/// <li>ON:开启智能语音全文识别任务;</li>
|
||||
/// <li>OFF:关闭智能语音全文识别任务。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Switch")]
|
||||
public string Switch{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:
|
||||
/// <li>vtt:生成 WebVTT 字幕文件。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("SubtitleFormat")]
|
||||
public string SubtitleFormat{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Switch", this.Switch);
|
||||
this.SetParamSimple(map, prefix + "SubtitleFormat", this.SubtitleFormat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
53
TencentCloud/Mps/V20190612/Models/AsrWordsConfigureInfo.cs
Normal file
53
TencentCloud/Mps/V20190612/Models/AsrWordsConfigureInfo.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AsrWordsConfigureInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 语音关键词识别任务开关,可选值:
|
||||
/// <li>ON:开启语音关键词识别任务;</li>
|
||||
/// <li>OFF:关闭语音关键词识别任务。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Switch")]
|
||||
public string Switch{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关键词过滤标签,指定需要返回的关键词的标签。如果未填或者为空,则全部结果都返回。
|
||||
/// 标签个数最多 10 个,每个标签长度最多 16 个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("LabelSet")]
|
||||
public string[] LabelSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Switch", this.Switch);
|
||||
this.SetParamArraySimple(map, prefix + "LabelSet.", this.LabelSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AsrWordsConfigureInfoForUpdate : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 语音关键词识别任务开关,可选值:
|
||||
/// <li>ON:开启语音关键词识别任务;</li>
|
||||
/// <li>OFF:关闭语音关键词识别任务。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Switch")]
|
||||
public string Switch{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关键词过滤标签,指定需要返回的关键词的标签。如果未填或者为空,则全部结果都返回。
|
||||
/// 标签个数最多 10 个,每个标签长度最多 16 个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("LabelSet")]
|
||||
public string[] LabelSet{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Switch", this.Switch);
|
||||
this.SetParamArraySimple(map, prefix + "LabelSet.", this.LabelSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
88
TencentCloud/Mps/V20190612/Models/AudioTemplateInfo.cs
Normal file
88
TencentCloud/Mps/V20190612/Models/AudioTemplateInfo.cs
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AudioTemplateInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 音频流的编码格式。
|
||||
/// 当外层参数 Container 为 mp3 时,可选值为:
|
||||
/// <li>libmp3lame。</li>
|
||||
/// 当外层参数 Container 为 ogg 或 flac 时,可选值为:
|
||||
/// <li>flac。</li>
|
||||
/// 当外层参数 Container 为 m4a 时,可选值为:
|
||||
/// <li>libfdk_aac;</li>
|
||||
/// <li>libmp3lame;</li>
|
||||
/// <li>ac3。</li>
|
||||
/// 当外层参数 Container 为 mp4 或 flv 时,可选值为:
|
||||
/// <li>libfdk_aac:更适合 mp4;</li>
|
||||
/// <li>libmp3lame:更适合 flv;</li>
|
||||
/// <li>mp2。</li>
|
||||
/// 当外层参数 Container 为 hls 时,可选值为:
|
||||
/// <li>libfdk_aac;</li>
|
||||
/// <li>libmp3lame。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Codec")]
|
||||
public string Codec{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。
|
||||
/// 当取值为 0,表示音频码率和原始音频保持一致。
|
||||
/// </summary>
|
||||
[JsonProperty("Bitrate")]
|
||||
public ulong? Bitrate{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 音频流的采样率,可选值:
|
||||
/// <li>32000</li>
|
||||
/// <li>44100</li>
|
||||
/// <li>48000</li>
|
||||
/// 单位:Hz。
|
||||
/// </summary>
|
||||
[JsonProperty("SampleRate")]
|
||||
public ulong? SampleRate{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 音频通道方式,可选值:
|
||||
/// <li>1:单通道</li>
|
||||
/// <li>2:双通道</li>
|
||||
/// <li>6:立体声</li>
|
||||
/// 默认值:2。
|
||||
/// </summary>
|
||||
[JsonProperty("AudioChannel")]
|
||||
public long? AudioChannel{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Codec", this.Codec);
|
||||
this.SetParamSimple(map, prefix + "Bitrate", this.Bitrate);
|
||||
this.SetParamSimple(map, prefix + "SampleRate", this.SampleRate);
|
||||
this.SetParamSimple(map, prefix + "AudioChannel", this.AudioChannel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AudioTemplateInfoForUpdate : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 音频流的编码格式。
|
||||
/// 当外层参数 Container 为 mp3 时,可选值为:
|
||||
/// <li>libmp3lame。</li>
|
||||
/// 当外层参数 Container 为 ogg 或 flac 时,可选值为:
|
||||
/// <li>flac。</li>
|
||||
/// 当外层参数 Container 为 m4a 时,可选值为:
|
||||
/// <li>libfdk_aac;</li>
|
||||
/// <li>libmp3lame;</li>
|
||||
/// <li>ac3。</li>
|
||||
/// 当外层参数 Container 为 mp4 或 flv 时,可选值为:
|
||||
/// <li>libfdk_aac:更适合 mp4;</li>
|
||||
/// <li>libmp3lame:更适合 flv;</li>
|
||||
/// <li>mp2。</li>
|
||||
/// 当外层参数 Container 为 hls 时,可选值为:
|
||||
/// <li>libfdk_aac;</li>
|
||||
/// <li>libmp3lame。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Codec")]
|
||||
public string Codec{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。 当取值为 0,表示音频码率和原始音频保持一致。
|
||||
/// </summary>
|
||||
[JsonProperty("Bitrate")]
|
||||
public ulong? Bitrate{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 音频流的采样率,可选值:
|
||||
/// <li>32000</li>
|
||||
/// <li>44100</li>
|
||||
/// <li>48000</li>
|
||||
/// 单位:Hz。
|
||||
/// </summary>
|
||||
[JsonProperty("SampleRate")]
|
||||
public ulong? SampleRate{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 音频通道方式,可选值:
|
||||
/// <li>1:单通道</li>
|
||||
/// <li>2:双通道</li>
|
||||
/// <li>6:立体声</li>
|
||||
/// </summary>
|
||||
[JsonProperty("AudioChannel")]
|
||||
public long? AudioChannel{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Codec", this.Codec);
|
||||
this.SetParamSimple(map, prefix + "Bitrate", this.Bitrate);
|
||||
this.SetParamSimple(map, prefix + "SampleRate", this.SampleRate);
|
||||
this.SetParamSimple(map, prefix + "AudioChannel", this.AudioChannel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ClassificationConfigureInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 智能分类任务开关,可选值:
|
||||
/// <li>ON:开启智能分类任务;</li>
|
||||
/// <li>OFF:关闭智能分类任务。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Switch")]
|
||||
public string Switch{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Switch", this.Switch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ClassificationConfigureInfoForUpdate : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 智能分类任务开关,可选值:
|
||||
/// <li>ON:开启智能分类任务;</li>
|
||||
/// <li>OFF:关闭智能分类任务。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Switch")]
|
||||
public string Switch{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Switch", this.Switch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
114
TencentCloud/Mps/V20190612/Models/ContentReviewTemplateItem.cs
Normal file
114
TencentCloud/Mps/V20190612/Models/ContentReviewTemplateItem.cs
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ContentReviewTemplateItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核模板唯一标识。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public long? Definition{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核模板名称,长度限制:64 个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容审核模板描述信息,长度限制:256 个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("Comment")]
|
||||
public string Comment{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 鉴黄控制参数。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PornConfigure")]
|
||||
public PornConfigureInfo PornConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 鉴恐控制参数。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TerrorismConfigure")]
|
||||
public TerrorismConfigureInfo TerrorismConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 鉴政控制参数。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PoliticalConfigure")]
|
||||
public PoliticalConfigureInfo PoliticalConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 违禁控制参数。违禁内容包括:
|
||||
/// <li>谩骂;</li>
|
||||
/// <li>涉毒违法。</li>
|
||||
/// 注意:此参数尚未支持。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ProhibitedConfigure")]
|
||||
public ProhibitedConfigureInfo ProhibitedConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户自定义内容审核控制参数。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UserDefineConfigure")]
|
||||
public UserDefineConfigureInfo UserDefineConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateTime")]
|
||||
public string UpdateTime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Comment", this.Comment);
|
||||
this.SetParamObj(map, prefix + "PornConfigure.", this.PornConfigure);
|
||||
this.SetParamObj(map, prefix + "TerrorismConfigure.", this.TerrorismConfigure);
|
||||
this.SetParamObj(map, prefix + "PoliticalConfigure.", this.PoliticalConfigure);
|
||||
this.SetParamObj(map, prefix + "ProhibitedConfigure.", this.ProhibitedConfigure);
|
||||
this.SetParamObj(map, prefix + "UserDefineConfigure.", this.UserDefineConfigure);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Mps/V20190612/Models/CosFileUploadTrigger.cs
Normal file
64
TencentCloud/Mps/V20190612/Models/CosFileUploadTrigger.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CosFileUploadTrigger : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 工作流绑定的 COS Bucket 名,如 TopRankVideo-125xxx88。
|
||||
/// </summary>
|
||||
[JsonProperty("Bucket")]
|
||||
public string Bucket{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工作流绑定的 COS Bucket 所属园区,如 ap-chongiqng。
|
||||
/// </summary>
|
||||
[JsonProperty("Region")]
|
||||
public string Region{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工作流绑定的输入路径目录,必须为绝对路径,即以 `/` 开头和结尾。如`/movie/201907/`,不填代表根目录`/`。
|
||||
/// </summary>
|
||||
[JsonProperty("Dir")]
|
||||
public string Dir{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工作流允许触发的文件格式列表,如 ["mp4", "flv", "mov"]。不填代表所有格式的文件都可以触发工作流。
|
||||
/// </summary>
|
||||
[JsonProperty("Formats")]
|
||||
public string[] Formats{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Bucket", this.Bucket);
|
||||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||||
this.SetParamSimple(map, prefix + "Dir", this.Dir);
|
||||
this.SetParamArraySimple(map, prefix + "Formats.", this.Formats);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Mps/V20190612/Models/CosInputInfo.cs
Normal file
57
TencentCloud/Mps/V20190612/Models/CosInputInfo.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CosInputInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频处理对象文件所在的 COS Bucket 名,如 TopRankVideo-125xxx88。
|
||||
/// </summary>
|
||||
[JsonProperty("Bucket")]
|
||||
public string Bucket{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频处理对象文件所在的 COS Bucket 所属园区,如 ap-chongqing。
|
||||
/// </summary>
|
||||
[JsonProperty("Region")]
|
||||
public string Region{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频处理对象文件的输入路径,如`/movie/201907/WildAnimal.mov`。
|
||||
/// </summary>
|
||||
[JsonProperty("Object")]
|
||||
public string Object{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Bucket", this.Bucket);
|
||||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||||
this.SetParamSimple(map, prefix + "Object", this.Object);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Mps/V20190612/Models/CosOutputStorage.cs
Normal file
50
TencentCloud/Mps/V20190612/Models/CosOutputStorage.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CosOutputStorage : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频处理生成的文件输出的目标 Bucket 名,如 TopRankVideo-125xxx88。如果不填,表示继承上层。
|
||||
/// </summary>
|
||||
[JsonProperty("Bucket")]
|
||||
public string Bucket{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频处理生成的文件输出的目标 Bucket 的园区,如 ap-chongqing。如果不填,表示继承上层。
|
||||
/// </summary>
|
||||
[JsonProperty("Region")]
|
||||
public string Region{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Bucket", this.Bucket);
|
||||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
45
TencentCloud/Mps/V20190612/Models/CoverConfigureInfo.cs
Normal file
45
TencentCloud/Mps/V20190612/Models/CoverConfigureInfo.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CoverConfigureInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 智能封面任务开关,可选值:
|
||||
/// <li>ON:开启智能封面任务;</li>
|
||||
/// <li>OFF:关闭智能封面任务。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Switch")]
|
||||
public string Switch{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Switch", this.Switch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CoverConfigureInfoForUpdate : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 智能封面任务开关,可选值:
|
||||
/// <li>ON:开启智能封面任务;</li>
|
||||
/// <li>OFF:关闭智能封面任务。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Switch")]
|
||||
public string Switch{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Switch", this.Switch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateAIAnalysisTemplateRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容分析模板名称,长度限制:64 个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容分析模板描述信息,长度限制:256 个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("Comment")]
|
||||
public string Comment{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能分类任务控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("ClassificationConfigure")]
|
||||
public ClassificationConfigureInfo ClassificationConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能标签任务控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("TagConfigure")]
|
||||
public TagConfigureInfo TagConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能封面任务控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("CoverConfigure")]
|
||||
public CoverConfigureInfo CoverConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能按帧标签任务控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("FrameTagConfigure")]
|
||||
public FrameTagConfigureInfo FrameTagConfigure{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Comment", this.Comment);
|
||||
this.SetParamObj(map, prefix + "ClassificationConfigure.", this.ClassificationConfigure);
|
||||
this.SetParamObj(map, prefix + "TagConfigure.", this.TagConfigure);
|
||||
this.SetParamObj(map, prefix + "CoverConfigure.", this.CoverConfigure);
|
||||
this.SetParamObj(map, prefix + "FrameTagConfigure.", this.FrameTagConfigure);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateAIAnalysisTemplateResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容分析模板唯一标识。
|
||||
/// </summary>
|
||||
[JsonProperty("Definition")]
|
||||
public long? Definition{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Definition", this.Definition);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* 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.Mps.V20190612.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateAIRecognitionTemplateRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容识别模板名称,长度限制:64 个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频内容识别模板描述信息,长度限制:256 个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("Comment")]
|
||||
public string Comment{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸识别控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("FaceConfigure")]
|
||||
public FaceConfigureInfo FaceConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本全文识别控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("OcrFullTextConfigure")]
|
||||
public OcrFullTextConfigureInfo OcrFullTextConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本关键词识别控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("OcrWordsConfigure")]
|
||||
public OcrWordsConfigureInfo OcrWordsConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语音全文识别控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("AsrFullTextConfigure")]
|
||||
public AsrFullTextConfigureInfo AsrFullTextConfigure{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语音关键词识别控制参数。
|
||||
/// </summary>
|
||||
[JsonProperty("AsrWordsConfigure")]
|
||||
public AsrWordsConfigureInfo AsrWordsConfigure{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Comment", this.Comment);
|
||||
this.SetParamObj(map, prefix + "FaceConfigure.", this.FaceConfigure);
|
||||
this.SetParamObj(map, prefix + "OcrFullTextConfigure.", this.OcrFullTextConfigure);
|
||||
this.SetParamObj(map, prefix + "OcrWordsConfigure.", this.OcrWordsConfigure);
|
||||
this.SetParamObj(map, prefix + "AsrFullTextConfigure.", this.AsrFullTextConfigure);
|
||||
this.SetParamObj(map, prefix + "AsrWordsConfigure.", this.AsrWordsConfigure);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user