45 lines
1.5 KiB
C#
45 lines
1.5 KiB
C#
using System;
|
||
using System.Xml.Serialization;
|
||
using System.Collections.Generic;
|
||
|
||
namespace Aop.Api.Domain
|
||
{
|
||
/// <summary>
|
||
/// AlipayCommerceIotMdeviceprodDeviceUnbindModel Data Structure.
|
||
/// </summary>
|
||
[Serializable]
|
||
public class AlipayCommerceIotMdeviceprodDeviceUnbindModel : 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>
|
||
/// 可选项[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; }
|
||
}
|
||
}
|