using System;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace Top.Api.Response
{
    /// <summary>
    /// OpenAccountTokenApplyResponse.
    /// </summary>
    public class OpenAccountTokenApplyResponse : TopResponse
    {
        /// <summary>
        /// 返回的token结果
        /// </summary>
        [XmlElement("data")]
        public OpenAccountTokenApplyResultDomain Data { get; set; }

	/// <summary>
/// OpenAccountTokenApplyResultDomain Data Structure.
/// </summary>
[Serializable]

public class OpenAccountTokenApplyResultDomain : TopObject
{
	        /// <summary>
	        /// 错误码
	        /// </summary>
	        [XmlElement("code")]
	        public long Code { get; set; }
	
	        /// <summary>
	        /// token
	        /// </summary>
	        [XmlElement("data")]
	        public string Data { get; set; }
	
	        /// <summary>
	        /// 错误信息
	        /// </summary>
	        [XmlElement("message")]
	        public string Message { get; set; }
	
	        /// <summary>
	        /// 是否成功
	        /// </summary>
	        [XmlElement("successful")]
	        public bool Successful { get; set; }
}

    }
}
