using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiSmartdeviceBindCreateResponse. /// public class OapiSmartdeviceBindCreateResponse : DingTalkResponse { /// /// 错误代码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 返回结果 /// [XmlElement("result")] public DeviceBindRespVoDomain Result { get; set; } /// /// 是否成功 /// [XmlElement("success")] public bool Success { get; set; } /// /// DeviceBindRespVoDomain Data Structure. /// [Serializable] public class DeviceBindRespVoDomain : TopObject { /// /// 设备ID /// [XmlElement("device_id")] public string DeviceId { get; set; } } } }