using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Top.Api.Response
{
///
/// WdkRexDeviceIotRegisterResponse.
///
public class WdkRexDeviceIotRegisterResponse : TopResponse
{
///
/// 结果封装
///
[XmlElement("result")]
public MtopResponseDomain Result { get; set; }
///
/// IotRegisterResultDomain Data Structure.
///
[Serializable]
public class IotRegisterResultDomain : TopObject
{
///
/// 阿里云deviceName
///
[XmlElement("device_name")]
public string DeviceName { get; set; }
///
/// 阿里云deviceSecrect
///
[XmlElement("device_secret")]
public string DeviceSecret { get; set; }
}
///
/// MtopResponseDomain Data Structure.
///
[Serializable]
public class MtopResponseDomain : TopObject
{
///
/// http头
///
[XmlElement("headers")]
public string Headers { get; set; }
///
/// http返回值
///
[XmlElement("http_status_code")]
public long HttpStatusCode { get; set; }
///
/// mtop字段
///
[XmlElement("mapping_code")]
public string MappingCode { get; set; }
///
/// 业务结果封装
///
[XmlElement("model")]
public IotRegisterResultDomain Model { get; set; }
///
/// 错误码
///
[XmlElement("msg_code")]
public string MsgCode { get; set; }
///
/// 错误信息
///
[XmlElement("msg_info")]
public string MsgInfo { get; set; }
///
/// 成功与否
///
[XmlElement("success")]
public bool Success { get; set; }
}
}
}