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

45 lines
1.5 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>
/// 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; }
}
}