135 lines
4.2 KiB
C#
135 lines
4.2 KiB
C#
/*
|
||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||
*
|
||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
* you may not use this file except in compliance with the License.
|
||
* You may obtain a copy of the License at
|
||
*
|
||
* http://www.apache.org/licenses/LICENSE-2.0
|
||
*
|
||
* Unless required by applicable law or agreed to in writing,
|
||
* software distributed under the License is distributed on an
|
||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
* KIND, either express or implied. See the License for the
|
||
* specific language governing permissions and limitations
|
||
* under the License.
|
||
*/
|
||
|
||
namespace TencentCloud.Iot.V20180123.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class ProductEntry : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 产品Id
|
||
/// </summary>
|
||
[JsonProperty("ProductId")]
|
||
public string ProductId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 产品Key
|
||
/// </summary>
|
||
[JsonProperty("ProductKey")]
|
||
public string ProductKey{ get; set; }
|
||
|
||
/// <summary>
|
||
/// AppId
|
||
/// </summary>
|
||
[JsonProperty("AppId")]
|
||
public ulong? AppId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 产品名称
|
||
/// </summary>
|
||
[JsonProperty("Name")]
|
||
public string Name{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 产品描述
|
||
/// </summary>
|
||
[JsonProperty("Description")]
|
||
public string Description{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 连接域名
|
||
/// </summary>
|
||
[JsonProperty("Domain")]
|
||
public string Domain{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 鉴权类型(0:直连,1:Token)
|
||
/// </summary>
|
||
[JsonProperty("AuthType")]
|
||
public ulong? AuthType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 数据协议(native/template)
|
||
/// </summary>
|
||
[JsonProperty("DataProtocol")]
|
||
public string DataProtocol{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 删除(0未删除)
|
||
/// </summary>
|
||
[JsonProperty("Deleted")]
|
||
public ulong? Deleted{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 备注
|
||
/// </summary>
|
||
[JsonProperty("Message")]
|
||
public string Message{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 创建时间
|
||
/// </summary>
|
||
[JsonProperty("CreateTime")]
|
||
public string CreateTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 通信方式
|
||
/// </summary>
|
||
[JsonProperty("CommProtocol")]
|
||
public string CommProtocol{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 地域
|
||
/// </summary>
|
||
[JsonProperty("Region")]
|
||
public string Region{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 设备类型
|
||
/// </summary>
|
||
[JsonProperty("DeviceType")]
|
||
public string DeviceType{ 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 + "ProductId", this.ProductId);
|
||
this.SetParamSimple(map, prefix + "ProductKey", this.ProductKey);
|
||
this.SetParamSimple(map, prefix + "AppId", this.AppId);
|
||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||
this.SetParamSimple(map, prefix + "Domain", this.Domain);
|
||
this.SetParamSimple(map, prefix + "AuthType", this.AuthType);
|
||
this.SetParamSimple(map, prefix + "DataProtocol", this.DataProtocol);
|
||
this.SetParamSimple(map, prefix + "Deleted", this.Deleted);
|
||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||
this.SetParamSimple(map, prefix + "CommProtocol", this.CommProtocol);
|
||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||
this.SetParamSimple(map, prefix + "DeviceType", this.DeviceType);
|
||
}
|
||
}
|
||
}
|
||
|