代码修改后的版本,全部提交
This commit is contained in:
43
TencentCloud/Ie/V20200304/Models/CallbackInfo.cs
Normal file
43
TencentCloud/Ie/V20200304/Models/CallbackInfo.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
67
TencentCloud/Ie/V20200304/Models/ClassificationTaskResult.cs
Normal file
67
TencentCloud/Ie/V20200304/Models/ClassificationTaskResult.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
75
TencentCloud/Ie/V20200304/Models/CosAuthMode.cs
Normal file
75
TencentCloud/Ie/V20200304/Models/CosAuthMode.cs
Normal 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>
|
||||
/// 授权类型,可选值:
|
||||
/// 0:bucket授权,需要将对应bucket授权给本服务帐号(3020447271),否则会读写cos失败;
|
||||
/// 1:key托管,把cos的账号id和key托管于本服务,本服务会提供一个托管id;
|
||||
/// 3:临时key授权。
|
||||
/// 注意:目前智能编辑还不支持临时key授权。
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public long? Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// cos账号托管id,Type等于1时必选。
|
||||
/// </summary>
|
||||
[JsonProperty("HostedId")]
|
||||
public string HostedId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// cos身份识别id,Type等于3时必选。
|
||||
/// </summary>
|
||||
[JsonProperty("SecretId")]
|
||||
public string SecretId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// cos身份秘钥,Type等于3时必选。
|
||||
/// </summary>
|
||||
[JsonProperty("SecretKey")]
|
||||
public string SecretKey{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 临时授权 token,Type等于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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
66
TencentCloud/Ie/V20200304/Models/CosInfo.cs
Normal file
66
TencentCloud/Ie/V20200304/Models/CosInfo.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Ie/V20200304/Models/CoverEditingInfo.cs
Normal file
50
TencentCloud/Ie/V20200304/Models/CoverEditingInfo.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
67
TencentCloud/Ie/V20200304/Models/CoverTaskResult.cs
Normal file
67
TencentCloud/Ie/V20200304/Models/CoverTaskResult.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Ie/V20200304/Models/CoverTaskResultItem.cs
Normal file
50
TencentCloud/Ie/V20200304/Models/CoverTaskResultItem.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Ie/V20200304/Models/CreateEditingTaskRequest.cs
Normal file
64
TencentCloud/Ie/V20200304/Models/CreateEditingTaskRequest.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
59
TencentCloud/Ie/V20200304/Models/DownInfo.cs
Normal file
59
TencentCloud/Ie/V20200304/Models/DownInfo.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Ie.V20200304.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DownInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 下载类型,可选值:
|
||||
/// 0:UrlInfo;
|
||||
/// 1:CosInfo。
|
||||
/// </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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
78
TencentCloud/Ie/V20200304/Models/EditingInfo.cs
Normal file
78
TencentCloud/Ie/V20200304/Models/EditingInfo.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
99
TencentCloud/Ie/V20200304/Models/EditingTaskResult.cs
Normal file
99
TencentCloud/Ie/V20200304/Models/EditingTaskResult.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Ie/V20200304/Models/HighlightsEditingInfo.cs
Normal file
50
TencentCloud/Ie/V20200304/Models/HighlightsEditingInfo.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
67
TencentCloud/Ie/V20200304/Models/HighlightsTaskResult.cs
Normal file
67
TencentCloud/Ie/V20200304/Models/HighlightsTaskResult.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Ie/V20200304/Models/HighlightsTaskResultItem.cs
Normal file
71
TencentCloud/Ie/V20200304/Models/HighlightsTaskResultItem.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Ie/V20200304/Models/OpeningEndingEditingInfo.cs
Normal file
50
TencentCloud/Ie/V20200304/Models/OpeningEndingEditingInfo.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
67
TencentCloud/Ie/V20200304/Models/OpeningEndingTaskResult.cs
Normal file
67
TencentCloud/Ie/V20200304/Models/OpeningEndingTaskResult.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Ie/V20200304/Models/SaveInfo.cs
Normal file
51
TencentCloud/Ie/V20200304/Models/SaveInfo.cs
Normal 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>
|
||||
/// 存储类型,可选值:
|
||||
/// 1:CosInfo。
|
||||
/// </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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Ie/V20200304/Models/StripEditingInfo.cs
Normal file
50
TencentCloud/Ie/V20200304/Models/StripEditingInfo.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
67
TencentCloud/Ie/V20200304/Models/StripTaskResult.cs
Normal file
67
TencentCloud/Ie/V20200304/Models/StripTaskResult.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Ie/V20200304/Models/StripTaskResultItem.cs
Normal file
71
TencentCloud/Ie/V20200304/Models/StripTaskResultItem.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Ie/V20200304/Models/TagEditingInfo.cs
Normal file
50
TencentCloud/Ie/V20200304/Models/TagEditingInfo.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
67
TencentCloud/Ie/V20200304/Models/TagTaskResult.cs
Normal file
67
TencentCloud/Ie/V20200304/Models/TagTaskResult.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Ie/V20200304/Models/TagTaskResultItem.cs
Normal file
50
TencentCloud/Ie/V20200304/Models/TagTaskResultItem.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
61
TencentCloud/Ie/V20200304/Models/UrlInfo.cs
Normal file
61
TencentCloud/Ie/V20200304/Models/UrlInfo.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user