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

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,416 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Iottid.V20190411
{
using Newtonsoft.Json;
using System.Threading.Tasks;
using TencentCloud.Common;
using TencentCloud.Common.Profile;
using TencentCloud.Iottid.V20190411.Models;
public class IottidClient : AbstractClient{
private const string endpoint = "iottid.tencentcloudapi.com";
private const string version = "2019-04-11";
/// <summary>
/// Client constructor.
/// </summary>
/// <param name="credential">Credentials.</param>
/// <param name="region">Region name, such as "ap-guangzhou".</param>
public IottidClient(Credential credential, string region)
: this(credential, region, new ClientProfile())
{
}
/// <summary>
/// Client Constructor.
/// </summary>
/// <param name="credential">Credentials.</param>
/// <param name="region">Region name, such as "ap-guangzhou".</param>
/// <param name="profile">Client profiles.</param>
public IottidClient(Credential credential, string region, ClientProfile profile)
: base(endpoint, version, credential, region, profile)
{
}
/// <summary>
/// 单向认证测试TID
/// </summary>
/// <param name="req"><see cref="AuthTestTidRequest"/></param>
/// <returns><see cref="AuthTestTidResponse"/></returns>
public async Task<AuthTestTidResponse> AuthTestTid(AuthTestTidRequest req)
{
JsonResponseModel<AuthTestTidResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "AuthTestTid");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<AuthTestTidResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 单向认证测试TID
/// </summary>
/// <param name="req"><see cref="AuthTestTidRequest"/></param>
/// <returns><see cref="AuthTestTidResponse"/></returns>
public AuthTestTidResponse AuthTestTidSync(AuthTestTidRequest req)
{
JsonResponseModel<AuthTestTidResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "AuthTestTid");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<AuthTestTidResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 安全芯片TID烧录回执
/// </summary>
/// <param name="req"><see cref="BurnTidNotifyRequest"/></param>
/// <returns><see cref="BurnTidNotifyResponse"/></returns>
public async Task<BurnTidNotifyResponse> BurnTidNotify(BurnTidNotifyRequest req)
{
JsonResponseModel<BurnTidNotifyResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "BurnTidNotify");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<BurnTidNotifyResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 安全芯片TID烧录回执
/// </summary>
/// <param name="req"><see cref="BurnTidNotifyRequest"/></param>
/// <returns><see cref="BurnTidNotifyResponse"/></returns>
public BurnTidNotifyResponse BurnTidNotifySync(BurnTidNotifyRequest req)
{
JsonResponseModel<BurnTidNotifyResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "BurnTidNotify");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<BurnTidNotifyResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 安全芯片为载体的TID空发回执绑定TID与订单号。
/// </summary>
/// <param name="req"><see cref="DeliverTidNotifyRequest"/></param>
/// <returns><see cref="DeliverTidNotifyResponse"/></returns>
public async Task<DeliverTidNotifyResponse> DeliverTidNotify(DeliverTidNotifyRequest req)
{
JsonResponseModel<DeliverTidNotifyResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DeliverTidNotify");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DeliverTidNotifyResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 安全芯片为载体的TID空发回执绑定TID与订单号。
/// </summary>
/// <param name="req"><see cref="DeliverTidNotifyRequest"/></param>
/// <returns><see cref="DeliverTidNotifyResponse"/></returns>
public DeliverTidNotifyResponse DeliverTidNotifySync(DeliverTidNotifyRequest req)
{
JsonResponseModel<DeliverTidNotifyResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DeliverTidNotify");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DeliverTidNotifyResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 设备服务商请求空发产品订单的TID信息
/// </summary>
/// <param name="req"><see cref="DeliverTidsRequest"/></param>
/// <returns><see cref="DeliverTidsResponse"/></returns>
public async Task<DeliverTidsResponse> DeliverTids(DeliverTidsRequest req)
{
JsonResponseModel<DeliverTidsResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DeliverTids");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DeliverTidsResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 设备服务商请求空发产品订单的TID信息
/// </summary>
/// <param name="req"><see cref="DeliverTidsRequest"/></param>
/// <returns><see cref="DeliverTidsResponse"/></returns>
public DeliverTidsResponse DeliverTidsSync(DeliverTidsRequest req)
{
JsonResponseModel<DeliverTidsResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DeliverTids");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DeliverTidsResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询指定订单的可空发的白盒密钥数量
/// </summary>
/// <param name="req"><see cref="DescribeAvailableLibCountRequest"/></param>
/// <returns><see cref="DescribeAvailableLibCountResponse"/></returns>
public async Task<DescribeAvailableLibCountResponse> DescribeAvailableLibCount(DescribeAvailableLibCountRequest req)
{
JsonResponseModel<DescribeAvailableLibCountResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeAvailableLibCount");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeAvailableLibCountResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询指定订单的可空发的白盒密钥数量
/// </summary>
/// <param name="req"><see cref="DescribeAvailableLibCountRequest"/></param>
/// <returns><see cref="DescribeAvailableLibCountResponse"/></returns>
public DescribeAvailableLibCountResponse DescribeAvailableLibCountSync(DescribeAvailableLibCountRequest req)
{
JsonResponseModel<DescribeAvailableLibCountResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeAvailableLibCount");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeAvailableLibCountResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询企业用户TID平台控制台权限
/// </summary>
/// <param name="req"><see cref="DescribePermissionRequest"/></param>
/// <returns><see cref="DescribePermissionResponse"/></returns>
public async Task<DescribePermissionResponse> DescribePermission(DescribePermissionRequest req)
{
JsonResponseModel<DescribePermissionResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribePermission");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribePermissionResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询企业用户TID平台控制台权限
/// </summary>
/// <param name="req"><see cref="DescribePermissionRequest"/></param>
/// <returns><see cref="DescribePermissionResponse"/></returns>
public DescribePermissionResponse DescribePermissionSync(DescribePermissionRequest req)
{
JsonResponseModel<DescribePermissionResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribePermission");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribePermissionResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 下载芯片订单的TID
/// </summary>
/// <param name="req"><see cref="DownloadTidsRequest"/></param>
/// <returns><see cref="DownloadTidsResponse"/></returns>
public async Task<DownloadTidsResponse> DownloadTids(DownloadTidsRequest req)
{
JsonResponseModel<DownloadTidsResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DownloadTids");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DownloadTidsResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 下载芯片订单的TID
/// </summary>
/// <param name="req"><see cref="DownloadTidsRequest"/></param>
/// <returns><see cref="DownloadTidsResponse"/></returns>
public DownloadTidsResponse DownloadTidsSync(DownloadTidsRequest req)
{
JsonResponseModel<DownloadTidsResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DownloadTids");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DownloadTidsResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 上传硬件唯一标识码,是软加固设备身份参数。本接口如遇到错误数据,则所有当次上传数据失效。
/// </summary>
/// <param name="req"><see cref="UploadDeviceUniqueCodeRequest"/></param>
/// <returns><see cref="UploadDeviceUniqueCodeResponse"/></returns>
public async Task<UploadDeviceUniqueCodeResponse> UploadDeviceUniqueCode(UploadDeviceUniqueCodeRequest req)
{
JsonResponseModel<UploadDeviceUniqueCodeResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "UploadDeviceUniqueCode");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<UploadDeviceUniqueCodeResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 上传硬件唯一标识码,是软加固设备身份参数。本接口如遇到错误数据,则所有当次上传数据失效。
/// </summary>
/// <param name="req"><see cref="UploadDeviceUniqueCodeRequest"/></param>
/// <returns><see cref="UploadDeviceUniqueCodeResponse"/></returns>
public UploadDeviceUniqueCodeResponse UploadDeviceUniqueCodeSync(UploadDeviceUniqueCodeRequest req)
{
JsonResponseModel<UploadDeviceUniqueCodeResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "UploadDeviceUniqueCode");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<UploadDeviceUniqueCodeResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 下载控制台验证芯片烧录信息保证TID与中心信息一致
/// </summary>
/// <param name="req"><see cref="VerifyChipBurnInfoRequest"/></param>
/// <returns><see cref="VerifyChipBurnInfoResponse"/></returns>
public async Task<VerifyChipBurnInfoResponse> VerifyChipBurnInfo(VerifyChipBurnInfoRequest req)
{
JsonResponseModel<VerifyChipBurnInfoResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "VerifyChipBurnInfo");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<VerifyChipBurnInfoResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 下载控制台验证芯片烧录信息保证TID与中心信息一致
/// </summary>
/// <param name="req"><see cref="VerifyChipBurnInfoRequest"/></param>
/// <returns><see cref="VerifyChipBurnInfoResponse"/></returns>
public VerifyChipBurnInfoResponse VerifyChipBurnInfoSync(VerifyChipBurnInfoRequest req)
{
JsonResponseModel<VerifyChipBurnInfoResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "VerifyChipBurnInfo");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<VerifyChipBurnInfoResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AuthTestTidRequest : AbstractModel
{
/// <summary>
/// 设备端SDK填入测试TID参数后生成的加密数据串
/// </summary>
[JsonProperty("Data")]
public string Data{ 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 + "Data", this.Data);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AuthTestTidResponse : AbstractModel
{
/// <summary>
/// 认证结果
/// </summary>
[JsonProperty("Pass")]
public bool? Pass{ 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 + "Pass", this.Pass);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BurnTidNotifyRequest : AbstractModel
{
/// <summary>
/// 订单编号
/// </summary>
[JsonProperty("OrderId")]
public string OrderId{ get; set; }
/// <summary>
/// TID编号
/// </summary>
[JsonProperty("Tid")]
public string Tid{ 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 + "OrderId", this.OrderId);
this.SetParamSimple(map, prefix + "Tid", this.Tid);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BurnTidNotifyResponse : AbstractModel
{
/// <summary>
/// 接收回执成功的TID
/// </summary>
[JsonProperty("Tid")]
public string Tid{ 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 + "Tid", this.Tid);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeliverTidNotifyRequest : AbstractModel
{
/// <summary>
/// 订单编号
/// </summary>
[JsonProperty("OrderId")]
public string OrderId{ get; set; }
/// <summary>
/// TID编号
/// </summary>
[JsonProperty("Tid")]
public string Tid{ 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 + "OrderId", this.OrderId);
this.SetParamSimple(map, prefix + "Tid", this.Tid);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeliverTidNotifyResponse : AbstractModel
{
/// <summary>
/// 剩余空发数量
/// </summary>
[JsonProperty("RemaindCount")]
public ulong? RemaindCount{ get; set; }
/// <summary>
/// 已回执的TID编码
/// </summary>
[JsonProperty("Tid")]
public string Tid{ get; set; }
/// <summary>
/// 产品公钥
/// </summary>
[JsonProperty("ProductKey")]
public string ProductKey{ 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 + "RemaindCount", this.RemaindCount);
this.SetParamSimple(map, prefix + "Tid", this.Tid);
this.SetParamSimple(map, prefix + "ProductKey", this.ProductKey);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeliverTidsRequest : AbstractModel
{
/// <summary>
/// 订单ID
/// </summary>
[JsonProperty("OrderId")]
public string OrderId{ get; set; }
/// <summary>
/// 数量1~100
/// </summary>
[JsonProperty("Quantity")]
public ulong? Quantity{ 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 + "OrderId", this.OrderId);
this.SetParamSimple(map, prefix + "Quantity", this.Quantity);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeliverTidsResponse : AbstractModel
{
/// <summary>
/// 空发的TID信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TidSet")]
public TidKeysInfo[] TidSet{ get; set; }
/// <summary>
/// 产品公钥
/// </summary>
[JsonProperty("ProductKey")]
public string ProductKey{ 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.SetParamArrayObj(map, prefix + "TidSet.", this.TidSet);
this.SetParamSimple(map, prefix + "ProductKey", this.ProductKey);
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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeAvailableLibCountRequest : AbstractModel
{
/// <summary>
/// 订单编号
/// </summary>
[JsonProperty("OrderId")]
public string OrderId{ 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 + "OrderId", this.OrderId);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeAvailableLibCountResponse : AbstractModel
{
/// <summary>
/// 可空发的白盒密钥数量
/// </summary>
[JsonProperty("Quantity")]
public ulong? Quantity{ 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 + "Quantity", this.Quantity);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,36 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribePermissionRequest : AbstractModel
{
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribePermissionResponse : AbstractModel
{
/// <summary>
/// 企业用户
/// </summary>
[JsonProperty("EnterpriseUser")]
public bool? EnterpriseUser{ get; set; }
/// <summary>
/// 下载控制台权限
/// </summary>
[JsonProperty("DownloadPermission")]
public string DownloadPermission{ get; set; }
/// <summary>
/// 使用控制台权限
/// </summary>
[JsonProperty("UsePermission")]
public string UsePermission{ 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 + "EnterpriseUser", this.EnterpriseUser);
this.SetParamSimple(map, prefix + "DownloadPermission", this.DownloadPermission);
this.SetParamSimple(map, prefix + "UsePermission", this.UsePermission);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DownloadTidsRequest : AbstractModel
{
/// <summary>
/// 订单编号
/// </summary>
[JsonProperty("OrderId")]
public string OrderId{ get; set; }
/// <summary>
/// 下载数量1~10
/// </summary>
[JsonProperty("Quantity")]
public ulong? Quantity{ 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 + "OrderId", this.OrderId);
this.SetParamSimple(map, prefix + "Quantity", this.Quantity);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DownloadTidsResponse : AbstractModel
{
/// <summary>
/// 下载的TID信息列表
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TidSet")]
public TidKeysInfo[] TidSet{ 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.SetParamArrayObj(map, prefix + "TidSet.", this.TidSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class TidKeysInfo : AbstractModel
{
/// <summary>
/// TID号码
/// </summary>
[JsonProperty("Tid")]
public string Tid{ get; set; }
/// <summary>
/// 公钥
/// </summary>
[JsonProperty("PublicKey")]
public string PublicKey{ get; set; }
/// <summary>
/// 私钥
/// </summary>
[JsonProperty("PrivateKey")]
public string PrivateKey{ get; set; }
/// <summary>
/// 共享密钥
/// </summary>
[JsonProperty("Psk")]
public string Psk{ get; set; }
/// <summary>
/// 软加固白盒密钥下载地址
/// </summary>
[JsonProperty("DownloadUrl")]
public string DownloadUrl{ get; set; }
/// <summary>
/// 软加固设备标识码
/// </summary>
[JsonProperty("DeviceCode")]
public string DeviceCode{ 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 + "Tid", this.Tid);
this.SetParamSimple(map, prefix + "PublicKey", this.PublicKey);
this.SetParamSimple(map, prefix + "PrivateKey", this.PrivateKey);
this.SetParamSimple(map, prefix + "Psk", this.Psk);
this.SetParamSimple(map, prefix + "DownloadUrl", this.DownloadUrl);
this.SetParamSimple(map, prefix + "DeviceCode", this.DeviceCode);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class UploadDeviceUniqueCodeRequest : AbstractModel
{
/// <summary>
/// 硬件唯一标识码
/// </summary>
[JsonProperty("CodeSet")]
public string[] CodeSet{ get; set; }
/// <summary>
/// 硬件标识码绑定的申请编号
/// </summary>
[JsonProperty("OrderId")]
public string OrderId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "CodeSet.", this.CodeSet);
this.SetParamSimple(map, prefix + "OrderId", this.OrderId);
}
}
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class UploadDeviceUniqueCodeResponse : AbstractModel
{
/// <summary>
/// 本次已上传数量
/// </summary>
[JsonProperty("Count")]
public ulong? Count{ get; set; }
/// <summary>
/// 重复的硬件唯一标识码
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ExistedCodeSet")]
public string[] ExistedCodeSet{ get; set; }
/// <summary>
/// 剩余可上传数量
/// </summary>
[JsonProperty("LeftQuantity")]
public ulong? LeftQuantity{ get; set; }
/// <summary>
/// 错误的硬件唯一标识码
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("IllegalCodeSet")]
public string[] IllegalCodeSet{ 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 + "Count", this.Count);
this.SetParamArraySimple(map, prefix + "ExistedCodeSet.", this.ExistedCodeSet);
this.SetParamSimple(map, prefix + "LeftQuantity", this.LeftQuantity);
this.SetParamArraySimple(map, prefix + "IllegalCodeSet.", this.IllegalCodeSet);
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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class VerifyChipBurnInfoRequest : AbstractModel
{
/// <summary>
/// 验证数据
/// </summary>
[JsonProperty("Data")]
public string Data{ 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 + "Data", this.Data);
}
}
}

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.Iottid.V20190411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class VerifyChipBurnInfoResponse : AbstractModel
{
/// <summary>
/// 验证结果
/// </summary>
[JsonProperty("Pass")]
public bool? Pass{ get; set; }
/// <summary>
/// 已验证次数
/// </summary>
[JsonProperty("VerifiedTimes")]
public ulong? VerifiedTimes{ get; set; }
/// <summary>
/// 剩余验证次数
/// </summary>
[JsonProperty("LeftTimes")]
public ulong? LeftTimes{ 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 + "Pass", this.Pass);
this.SetParamSimple(map, prefix + "VerifiedTimes", this.VerifiedTimes);
this.SetParamSimple(map, prefix + "LeftTimes", this.LeftTimes);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}