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

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,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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CallbackInfo : AbstractModel
{
/// <summary>
/// 回调URL。
/// </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 + "Url", this.Url);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ClassificationEditingInfo : AbstractModel
{
/// <summary>
/// 是否开启视频分类识别。0为关闭1为开启。其他非0非1值默认为0。
/// </summary>
[JsonProperty("Switch")]
public long? Switch{ get; set; }
/// <summary>
/// 额外定制化服务参数。参数为序列化的Json字符串例如{"k1":"v1"}。
/// </summary>
[JsonProperty("CustomInfo")]
public string CustomInfo{ 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 + "CustomInfo", this.CustomInfo);
}
}
}

View File

@@ -0,0 +1,67 @@
/*
* 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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ClassificationTaskResult : AbstractModel
{
/// <summary>
/// 编辑任务状态。
/// 1执行中2成功3失败。
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 编辑任务失败错误码。
/// 0成功其他值失败。
/// </summary>
[JsonProperty("ErrCode")]
public long? ErrCode{ get; set; }
/// <summary>
/// 编辑任务失败错误描述。
/// </summary>
[JsonProperty("ErrMsg")]
public string ErrMsg{ get; set; }
/// <summary>
/// 视频分类识别结果集。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ItemSet")]
public ClassificationTaskResultItem[] ItemSet{ 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 + "ErrMsg", this.ErrMsg);
this.SetParamArrayObj(map, prefix + "ItemSet.", this.ItemSet);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ClassificationTaskResultItem : AbstractModel
{
/// <summary>
/// 分类名称。
/// </summary>
[JsonProperty("Classification")]
public string Classification{ 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 + "Classification", this.Classification);
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CosAuthMode : AbstractModel
{
/// <summary>
/// 授权类型,可选值:
/// 0bucket授权需要将对应bucket授权给本服务帐号3020447271否则会读写cos失败
/// 1key托管把cos的账号id和key托管于本服务本服务会提供一个托管id
/// 3临时key授权。
/// 注意目前智能编辑还不支持临时key授权。
/// </summary>
[JsonProperty("Type")]
public long? Type{ get; set; }
/// <summary>
/// cos账号托管idType等于1时必选。
/// </summary>
[JsonProperty("HostedId")]
public string HostedId{ get; set; }
/// <summary>
/// cos身份识别idType等于3时必选。
/// </summary>
[JsonProperty("SecretId")]
public string SecretId{ get; set; }
/// <summary>
/// cos身份秘钥Type等于3时必选。
/// </summary>
[JsonProperty("SecretKey")]
public string SecretKey{ get; set; }
/// <summary>
/// 临时授权 tokenType等于3时必选。
/// </summary>
[JsonProperty("Token")]
public string Token{ 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 + "HostedId", this.HostedId);
this.SetParamSimple(map, prefix + "SecretId", this.SecretId);
this.SetParamSimple(map, prefix + "SecretKey", this.SecretKey);
this.SetParamSimple(map, prefix + "Token", this.Token);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CosInfo : AbstractModel
{
/// <summary>
/// cos 区域值。例如ap-beijing。
/// </summary>
[JsonProperty("Region")]
public string Region{ get; set; }
/// <summary>
/// cos 存储桶格式为BuketName-AppId。例如test-123456。
/// </summary>
[JsonProperty("Bucket")]
public string Bucket{ get; set; }
/// <summary>
/// cos 路径。
/// 对于写表示目录,例如:/test
/// 对于读表示文件路径,例如:/test/test.mp4。
/// </summary>
[JsonProperty("Path")]
public string Path{ get; set; }
/// <summary>
/// cos 授权信息,不填默认为公有权限。
/// </summary>
[JsonProperty("CosAuthMode")]
public CosAuthMode CosAuthMode{ 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 + "Region", this.Region);
this.SetParamSimple(map, prefix + "Bucket", this.Bucket);
this.SetParamSimple(map, prefix + "Path", this.Path);
this.SetParamObj(map, prefix + "CosAuthMode.", this.CosAuthMode);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CoverEditingInfo : AbstractModel
{
/// <summary>
/// 是否开启智能封面。0为关闭1为开启。其他非0非1值默认为0。
/// </summary>
[JsonProperty("Switch")]
public long? Switch{ get; set; }
/// <summary>
/// 额外定制化服务参数。参数为序列化的Json字符串例如{"k1":"v1"}。
/// </summary>
[JsonProperty("CustomInfo")]
public string CustomInfo{ 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 + "CustomInfo", this.CustomInfo);
}
}
}

View File

@@ -0,0 +1,67 @@
/*
* 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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CoverTaskResult : AbstractModel
{
/// <summary>
/// 编辑任务状态。
/// 1执行中2成功3失败。
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 编辑任务失败错误码。
/// 0成功其他值失败。
/// </summary>
[JsonProperty("ErrCode")]
public long? ErrCode{ get; set; }
/// <summary>
/// 编辑任务失败错误描述。
/// </summary>
[JsonProperty("ErrMsg")]
public string ErrMsg{ get; set; }
/// <summary>
/// 智能封面结果集。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ItemSet")]
public CoverTaskResultItem[] ItemSet{ 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 + "ErrMsg", this.ErrMsg);
this.SetParamArrayObj(map, prefix + "ItemSet.", this.ItemSet);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CoverTaskResultItem : AbstractModel
{
/// <summary>
/// 智能封面地址。
/// </summary>
[JsonProperty("CoverUrl")]
public string CoverUrl{ 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 + "CoverUrl", this.CoverUrl);
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateEditingTaskRequest : AbstractModel
{
/// <summary>
/// 智能编辑任务参数。
/// </summary>
[JsonProperty("EditingInfo")]
public EditingInfo EditingInfo{ get; set; }
/// <summary>
/// 视频源信息。
/// </summary>
[JsonProperty("DownInfo")]
public DownInfo DownInfo{ get; set; }
/// <summary>
/// 结果存储信息。对于包含智能拆条、智能集锦或者智能封面的任务必选。
/// </summary>
[JsonProperty("SaveInfo")]
public SaveInfo SaveInfo{ get; set; }
/// <summary>
/// 任务结果回调地址信息。
/// </summary>
[JsonProperty("CallbackInfo")]
public CallbackInfo CallbackInfo{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "EditingInfo.", this.EditingInfo);
this.SetParamObj(map, prefix + "DownInfo.", this.DownInfo);
this.SetParamObj(map, prefix + "SaveInfo.", this.SaveInfo);
this.SetParamObj(map, prefix + "CallbackInfo.", this.CallbackInfo);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateEditingTaskResponse : AbstractModel
{
/// <summary>
/// 编辑任务 ID可以通过该 ID 查询任务状态。
/// </summary>
[JsonProperty("TaskId")]
public string TaskId{ 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 + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeEditingTaskResultRequest : AbstractModel
{
/// <summary>
/// 编辑任务 ID。
/// </summary>
[JsonProperty("TaskId")]
public string TaskId{ 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 + "TaskId", this.TaskId);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeEditingTaskResultResponse : AbstractModel
{
/// <summary>
/// 编辑任务结果信息。
/// </summary>
[JsonProperty("TaskResult")]
public EditingTaskResult TaskResult{ 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.SetParamObj(map, prefix + "TaskResult.", this.TaskResult);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DownInfo : AbstractModel
{
/// <summary>
/// 下载类型,可选值:
/// 0UrlInfo
/// 1CosInfo。
/// </summary>
[JsonProperty("Type")]
public long? Type{ get; set; }
/// <summary>
/// Url形式下载信息当Type等于0时必选。
/// </summary>
[JsonProperty("UrlInfo")]
public UrlInfo UrlInfo{ get; set; }
/// <summary>
/// Cos形式下载信息当Type等于1时必选。
/// </summary>
[JsonProperty("CosInfo")]
public CosInfo CosInfo{ 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 + "UrlInfo.", this.UrlInfo);
this.SetParamObj(map, prefix + "CosInfo.", this.CosInfo);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class EditingInfo : AbstractModel
{
/// <summary>
/// 视频标签识别任务参数,不填则不开启。
/// </summary>
[JsonProperty("TagEditingInfo")]
public TagEditingInfo TagEditingInfo{ get; set; }
/// <summary>
/// 视频分类识别任务参数,不填则不开启。
/// </summary>
[JsonProperty("ClassificationEditingInfo")]
public ClassificationEditingInfo ClassificationEditingInfo{ get; set; }
/// <summary>
/// 智能拆条任务参数,不填则不开启。
/// </summary>
[JsonProperty("StripEditingInfo")]
public StripEditingInfo StripEditingInfo{ get; set; }
/// <summary>
/// 智能集锦任务参数,不填则不开启。
/// </summary>
[JsonProperty("HighlightsEditingInfo")]
public HighlightsEditingInfo HighlightsEditingInfo{ get; set; }
/// <summary>
/// 智能封面任务参数,不填则不开启。
/// </summary>
[JsonProperty("CoverEditingInfo")]
public CoverEditingInfo CoverEditingInfo{ get; set; }
/// <summary>
/// 片头片尾识别任务参数,不填则不开启。
/// </summary>
[JsonProperty("OpeningEndingEditingInfo")]
public OpeningEndingEditingInfo OpeningEndingEditingInfo{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "TagEditingInfo.", this.TagEditingInfo);
this.SetParamObj(map, prefix + "ClassificationEditingInfo.", this.ClassificationEditingInfo);
this.SetParamObj(map, prefix + "StripEditingInfo.", this.StripEditingInfo);
this.SetParamObj(map, prefix + "HighlightsEditingInfo.", this.HighlightsEditingInfo);
this.SetParamObj(map, prefix + "CoverEditingInfo.", this.CoverEditingInfo);
this.SetParamObj(map, prefix + "OpeningEndingEditingInfo.", this.OpeningEndingEditingInfo);
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* 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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class EditingTaskResult : AbstractModel
{
/// <summary>
/// 编辑任务 ID。
/// </summary>
[JsonProperty("TaskId")]
public string TaskId{ get; set; }
/// <summary>
/// 编辑任务状态。
/// 1执行中2已完成。
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 视频标签识别结果。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TagTaskResult")]
public TagTaskResult TagTaskResult{ get; set; }
/// <summary>
/// 视频分类识别结果。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ClassificationTaskResult")]
public ClassificationTaskResult ClassificationTaskResult{ get; set; }
/// <summary>
/// 智能拆条结果。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("StripTaskResult")]
public StripTaskResult StripTaskResult{ get; set; }
/// <summary>
/// 智能集锦结果。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("HighlightsTaskResult")]
public HighlightsTaskResult HighlightsTaskResult{ get; set; }
/// <summary>
/// 智能封面结果。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CoverTaskResult")]
public CoverTaskResult CoverTaskResult{ get; set; }
/// <summary>
/// 片头片尾识别结果。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OpeningEndingTaskResult")]
public OpeningEndingTaskResult OpeningEndingTaskResult{ 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 + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamObj(map, prefix + "TagTaskResult.", this.TagTaskResult);
this.SetParamObj(map, prefix + "ClassificationTaskResult.", this.ClassificationTaskResult);
this.SetParamObj(map, prefix + "StripTaskResult.", this.StripTaskResult);
this.SetParamObj(map, prefix + "HighlightsTaskResult.", this.HighlightsTaskResult);
this.SetParamObj(map, prefix + "CoverTaskResult.", this.CoverTaskResult);
this.SetParamObj(map, prefix + "OpeningEndingTaskResult.", this.OpeningEndingTaskResult);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class HighlightsEditingInfo : AbstractModel
{
/// <summary>
/// 是否开启智能集锦。0为关闭1为开启。其他非0非1值默认为0。
/// </summary>
[JsonProperty("Switch")]
public long? Switch{ get; set; }
/// <summary>
/// 额外定制化服务参数。参数为序列化的Json字符串例如{"k1":"v1"}。
/// </summary>
[JsonProperty("CustomInfo")]
public string CustomInfo{ 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 + "CustomInfo", this.CustomInfo);
}
}
}

View File

@@ -0,0 +1,67 @@
/*
* 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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class HighlightsTaskResult : AbstractModel
{
/// <summary>
/// 编辑任务状态。
/// 1执行中2成功3失败。
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 编辑任务失败错误码。
/// 0成功其他值失败。
/// </summary>
[JsonProperty("ErrCode")]
public long? ErrCode{ get; set; }
/// <summary>
/// 编辑任务失败错误描述。
/// </summary>
[JsonProperty("ErrMsg")]
public string ErrMsg{ get; set; }
/// <summary>
/// 智能集锦结果集。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ItemSet")]
public HighlightsTaskResultItem[] ItemSet{ 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 + "ErrMsg", this.ErrMsg);
this.SetParamArrayObj(map, prefix + "ItemSet.", this.ItemSet);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class HighlightsTaskResultItem : AbstractModel
{
/// <summary>
/// 智能集锦地址。
/// </summary>
[JsonProperty("HighlightUrl")]
public string HighlightUrl{ get; set; }
/// <summary>
/// 智能集锦封面地址。
/// </summary>
[JsonProperty("CovImgUrl")]
public string CovImgUrl{ get; set; }
/// <summary>
/// 置信度,取值范围是 0 到 100。
/// </summary>
[JsonProperty("Confidence")]
public float? Confidence{ get; set; }
/// <summary>
/// 智能集锦持续时间,单位:秒。
/// </summary>
[JsonProperty("Duration")]
public float? Duration{ get; set; }
/// <summary>
/// 智能集锦子片段结果集,集锦片段由这些子片段拼接生成。
/// </summary>
[JsonProperty("SegmentSet")]
public HighlightsTaskResultItemSegment[] 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 + "HighlightUrl", this.HighlightUrl);
this.SetParamSimple(map, prefix + "CovImgUrl", this.CovImgUrl);
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
this.SetParamSimple(map, prefix + "Duration", this.Duration);
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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class HighlightsTaskResultItemSegment : 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>
/// 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);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class OpeningEndingEditingInfo : AbstractModel
{
/// <summary>
/// 是否开启片头片尾识别。0为关闭1为开启。其他非0非1值默认为0。
/// </summary>
[JsonProperty("Switch")]
public long? Switch{ get; set; }
/// <summary>
/// 额外定制化服务参数。参数为序列化的Json字符串例如{"k1":"v1"}。
/// </summary>
[JsonProperty("CustomInfo")]
public string CustomInfo{ 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 + "CustomInfo", this.CustomInfo);
}
}
}

View File

@@ -0,0 +1,67 @@
/*
* 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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class OpeningEndingTaskResult : AbstractModel
{
/// <summary>
/// 编辑任务状态。
/// 1执行中2成功3失败。
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 编辑任务失败错误码。
/// 0成功其他值失败。
/// </summary>
[JsonProperty("ErrCode")]
public long? ErrCode{ get; set; }
/// <summary>
/// 编辑任务失败错误描述。
/// </summary>
[JsonProperty("ErrMsg")]
public string ErrMsg{ get; set; }
/// <summary>
/// 片头片尾识别结果项。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Item")]
public OpeningEndingTaskResultItem Item{ 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 + "ErrMsg", this.ErrMsg);
this.SetParamObj(map, prefix + "Item.", this.Item);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class OpeningEndingTaskResultItem : AbstractModel
{
/// <summary>
/// 视频片头的结束时间点,单位:秒。
/// </summary>
[JsonProperty("OpeningTimeOffset")]
public float? OpeningTimeOffset{ get; set; }
/// <summary>
/// 片头识别置信度,取值范围是 0 到 100。
/// </summary>
[JsonProperty("OpeningConfidence")]
public float? OpeningConfidence{ get; set; }
/// <summary>
/// 视频片尾的开始时间点,单位:秒。
/// </summary>
[JsonProperty("EndingTimeOffset")]
public float? EndingTimeOffset{ get; set; }
/// <summary>
/// 片尾识别置信度,取值范围是 0 到 100。
/// </summary>
[JsonProperty("EndingConfidence")]
public float? EndingConfidence{ 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 + "OpeningTimeOffset", this.OpeningTimeOffset);
this.SetParamSimple(map, prefix + "OpeningConfidence", this.OpeningConfidence);
this.SetParamSimple(map, prefix + "EndingTimeOffset", this.EndingTimeOffset);
this.SetParamSimple(map, prefix + "EndingConfidence", this.EndingConfidence);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* 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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class SaveInfo : AbstractModel
{
/// <summary>
/// 存储类型,可选值:
/// 1CosInfo。
/// </summary>
[JsonProperty("Type")]
public long? Type{ get; set; }
/// <summary>
/// Cos形式存储信息当Type等于1时必选。
/// </summary>
[JsonProperty("CosInfo")]
public CosInfo CosInfo{ 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 + "CosInfo.", this.CosInfo);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class StripEditingInfo : AbstractModel
{
/// <summary>
/// 是否开启智能拆条。0为关闭1为开启。其他非0非1值默认为0。
/// </summary>
[JsonProperty("Switch")]
public long? Switch{ get; set; }
/// <summary>
/// 额外定制化服务参数。参数为序列化的Json字符串例如{"k1":"v1"}。
/// </summary>
[JsonProperty("CustomInfo")]
public string CustomInfo{ 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 + "CustomInfo", this.CustomInfo);
}
}
}

View File

@@ -0,0 +1,67 @@
/*
* 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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class StripTaskResult : AbstractModel
{
/// <summary>
/// 编辑任务状态。
/// 1执行中2成功3失败。
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 编辑任务失败错误码。
/// 0成功其他值失败。
/// </summary>
[JsonProperty("ErrCode")]
public long? ErrCode{ get; set; }
/// <summary>
/// 编辑任务失败错误描述。
/// </summary>
[JsonProperty("ErrMsg")]
public string ErrMsg{ get; set; }
/// <summary>
/// 智能拆条结果集。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ItemSet")]
public StripTaskResultItem[] ItemSet{ 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 + "ErrMsg", this.ErrMsg);
this.SetParamArrayObj(map, prefix + "ItemSet.", this.ItemSet);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class StripTaskResultItem : AbstractModel
{
/// <summary>
/// 视频拆条片段地址。
/// </summary>
[JsonProperty("SegmentUrl")]
public string SegmentUrl{ get; set; }
/// <summary>
/// 拆条封面图片地址。
/// </summary>
[JsonProperty("CovImgUrl")]
public string CovImgUrl{ get; set; }
/// <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>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "SegmentUrl", this.SegmentUrl);
this.SetParamSimple(map, prefix + "CovImgUrl", this.CovImgUrl);
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
this.SetParamSimple(map, prefix + "StartTimeOffset", this.StartTimeOffset);
this.SetParamSimple(map, prefix + "EndTimeOffset", this.EndTimeOffset);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class TagEditingInfo : AbstractModel
{
/// <summary>
/// 是否开启视频标签识别。0为关闭1为开启。其他非0非1值默认为0。
/// </summary>
[JsonProperty("Switch")]
public long? Switch{ get; set; }
/// <summary>
/// 额外定制化服务参数。参数为序列化的Json字符串例如{"k1":"v1"}。
/// </summary>
[JsonProperty("CustomInfo")]
public string CustomInfo{ 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 + "CustomInfo", this.CustomInfo);
}
}
}

View File

@@ -0,0 +1,67 @@
/*
* 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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class TagTaskResult : AbstractModel
{
/// <summary>
/// 编辑任务状态。
/// 1执行中2成功3失败。
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 编辑任务失败错误码。
/// 0成功其他值失败。
/// </summary>
[JsonProperty("ErrCode")]
public long? ErrCode{ get; set; }
/// <summary>
/// 编辑任务失败错误描述。
/// </summary>
[JsonProperty("ErrMsg")]
public string ErrMsg{ get; set; }
/// <summary>
/// 视频标签识别结果集。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ItemSet")]
public TagTaskResultItem[] ItemSet{ 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 + "ErrMsg", this.ErrMsg);
this.SetParamArrayObj(map, prefix + "ItemSet.", this.ItemSet);
}
}
}

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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class TagTaskResultItem : AbstractModel
{
/// <summary>
/// 标签名称。
/// </summary>
[JsonProperty("Tag")]
public string Tag{ 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 + "Tag", this.Tag);
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
}
}
}

View File

@@ -0,0 +1,61 @@
/*
* 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.Ie.V20200304.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class UrlInfo : AbstractModel
{
/// <summary>
/// 视频 URL。音视频支持mp4、ts等格式直播流支持flv、rtmp格式。
/// 注意:目前智能编辑还不支持直播流场景。
/// </summary>
[JsonProperty("Url")]
public string Url{ get; set; }
/// <summary>
/// 视频地址格式,可选值:
/// 0音视频 ;
/// 1直播流。
/// 默认为0。其他非0非1值默认为0。
/// </summary>
[JsonProperty("Format")]
public long? Format{ get; set; }
/// <summary>
/// 指定请求资源时HTTP头部host的值。
/// </summary>
[JsonProperty("Host")]
public string Host{ 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 + "Url", this.Url);
this.SetParamSimple(map, prefix + "Format", this.Format);
this.SetParamSimple(map, prefix + "Host", this.Host);
}
}
}