代码修改后的版本,全部提交

This commit is contained in:
ss001
2026-02-07 15:48:27 +08:00
parent cccbaa37c9
commit c2cda58c65
15604 changed files with 2455502 additions and 0 deletions

View 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 AiAnalysisTaskClassificationResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 AiAnalysisTaskCoverResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 AiAnalysisTaskFrameTagResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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.AsrAsr 文字鉴黄</li>
/// <li>Porn.OcrOcr 文字鉴黄</li>
/// <li>Porn.Voice声音鉴黄</li>
/// <li>Political.AsrAsr 文字鉴政</li>
/// <li>Political.OcrOcr 文字鉴政</li>
/// <li>Terrorism.OcrOcr 文字鉴恐</li>
/// <li>Prohibited.AsrAsr 文字鉴违禁</li>
/// <li>Prohibited.OcrOcr 文字鉴违禁</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);
}
}
}

View 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 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);
}
}
}

View 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);
}
}
}

View 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 AiRecognitionTaskAsrFullTextResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 AiRecognitionTaskAsrWordsResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 AiRecognitionTaskFaceResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 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);
}
}
}

View File

@@ -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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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);
}
}
}

View 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 AiRecognitionTaskOcrFullTextResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 AiRecognitionTaskOcrWordsResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View File

@@ -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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 AiReviewTaskPoliticalAsrResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 AiReviewTaskPoliticalOcrResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS <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);
}
}
}

View 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 AiReviewTaskPoliticalResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 AiReviewTaskPornAsrResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 AiReviewTaskPornOcrResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View File

@@ -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>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View File

@@ -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>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View File

@@ -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>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 AiReviewTaskTerrorismResult : AbstractModel
{
/// <summary>
/// 任务状态,有 PROCESSINGSUCCESS 和 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View File

@@ -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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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 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);
}
}
}

View 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 为 0Height 非 0则 Width 按比例缩放;</li>
/// <li>当 Width 非 0Height 为 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 为 0Height 非 0则 Width 按比例缩放;</li>
/// <li>当 Width 非 0Height 为 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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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);
}
}
}

View 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 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);
}
}
}

View 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);
}
}
}

View File

@@ -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);
}
}
}

View 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 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);
}
}
}

View 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 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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);
}
}
}

View 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 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);
}
}
}

View File

@@ -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);
}
}
}

View 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 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);
}
}
}

View File

@@ -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