using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Top.Api.Response { /// /// RarAuthQueryResponse. /// public class RarAuthQueryResponse : TopResponse { /// /// 授权信息列表 /// [XmlArray("results")] [XmlArrayItem("rar_authorization")] public List Results { get; set; } /// /// RarAuthorizationDomain Data Structure. /// [Serializable] public class RarAuthorizationDomain : TopObject { /// /// 授权状态。0:无效,1:有效 /// [XmlElement("status")] public long Status { get; set; } /// /// token,调用SQL查询API的时候使用 /// [XmlElement("token")] public string Token { get; set; } /// /// 数据类型 1:会员,2:订单,3:门店,4:商品 /// [XmlElement("type")] public long Type { get; set; } /// /// 授权的用户昵称 /// [XmlElement("user_nick")] public string UserNick { get; set; } } } }