143 lines
4.6 KiB
C#
143 lines
4.6 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.Iotexplorer.V20190423.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>
|
|||
|
|
/// 产品名称
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ProductName")]
|
|||
|
|
public string ProductName{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 产品分组模板ID
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("CategoryId")]
|
|||
|
|
public long? CategoryId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 加密类型
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("EncryptionType")]
|
|||
|
|
public string EncryptionType{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 连接类型
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("NetType")]
|
|||
|
|
public string NetType{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 数据协议
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("DataProtocol")]
|
|||
|
|
public long? DataProtocol{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 产品描述
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ProductDesc")]
|
|||
|
|
public string ProductDesc{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 状态
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("DevStatus")]
|
|||
|
|
public string DevStatus{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("CreateTime")]
|
|||
|
|
public ulong? CreateTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新时间
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("UpdateTime")]
|
|||
|
|
public ulong? UpdateTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 区域
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Region")]
|
|||
|
|
public string Region{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 产品类型
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ProductType")]
|
|||
|
|
public long? ProductType{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 项目ID
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ProjectId")]
|
|||
|
|
public string ProjectId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 产品ModuleId
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ModuleId")]
|
|||
|
|
public long? ModuleId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 是否使用脚本进行二进制转json功能 可以取值 true / false
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("EnableProductScript")]
|
|||
|
|
public string EnableProductScript{ 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 + "ProductName", this.ProductName);
|
|||
|
|
this.SetParamSimple(map, prefix + "CategoryId", this.CategoryId);
|
|||
|
|
this.SetParamSimple(map, prefix + "EncryptionType", this.EncryptionType);
|
|||
|
|
this.SetParamSimple(map, prefix + "NetType", this.NetType);
|
|||
|
|
this.SetParamSimple(map, prefix + "DataProtocol", this.DataProtocol);
|
|||
|
|
this.SetParamSimple(map, prefix + "ProductDesc", this.ProductDesc);
|
|||
|
|
this.SetParamSimple(map, prefix + "DevStatus", this.DevStatus);
|
|||
|
|
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
|||
|
|
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
|
|||
|
|
this.SetParamSimple(map, prefix + "Region", this.Region);
|
|||
|
|
this.SetParamSimple(map, prefix + "ProductType", this.ProductType);
|
|||
|
|
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
|
|||
|
|
this.SetParamSimple(map, prefix + "ModuleId", this.ModuleId);
|
|||
|
|
this.SetParamSimple(map, prefix + "EnableProductScript", this.EnableProductScript);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|