NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayCommerceIotMdevicepro...

51 lines
1.6 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayCommerceIotMdeviceprodDeviceBindModel Data Structure.
/// </summary>
[Serializable]
public class AlipayCommerceIotMdeviceprodDeviceBindModel : AopObject
{
/// <summary>
/// 设备唯一标识设备id;identity_type='ID'时必填
/// </summary>
[XmlElement("biz_tid")]
public string BizTid { get; set; }
/// <summary>
/// 设备SN与supplier_id配合作为设备识别的唯一标识;identity_type='SN'时必填
/// </summary>
[XmlElement("device_sn")]
public string DeviceSn { get; set; }
/// <summary>
/// 绑定扩展信息
/// </summary>
[XmlElement("ext_info")]
public string ExtInfo { get; set; }
/// <summary>
/// 可选项[SN,ID] SN-使用device_sn、supplier_id联合作为设备唯一识别标识 ID-使用biz_tid作为设备唯一识别标识
/// </summary>
[XmlElement("identify_type")]
public string IdentifyType { get; set; }
/// <summary>
/// 绑定关系
/// </summary>
[XmlArray("principal")]
[XmlArrayItem("iot_device_principal")]
public List<IotDevicePrincipal> Principal { get; set; }
/// <summary>
/// 设备供应商id与device_sn配合作为设备识别唯一标识;identity_type='SN'时必填
/// </summary>
[XmlElement("supplier_id")]
public string SupplierId { get; set; }
}
}