TopSecretGetResponse.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. using System.Xml.Serialization;
  3. using System.Collections.Generic;
  4. namespace Top.Api.Response
  5. {
  6. /// <summary>
  7. /// TopSecretGetResponse.
  8. /// </summary>
  9. public class TopSecretGetResponse : TopResponse
  10. {
  11. /// <summary>
  12. /// app配置信息
  13. /// </summary>
  14. [XmlElement("app_config")]
  15. public string AppConfig { get; set; }
  16. /// <summary>
  17. /// 下次更新秘钥间隔,单位(秒)
  18. /// </summary>
  19. [XmlElement("interval")]
  20. public long Interval { get; set; }
  21. /// <summary>
  22. /// 最长有效期,容灾使用,单位(秒)
  23. /// </summary>
  24. [XmlElement("max_interval")]
  25. public long MaxInterval { get; set; }
  26. /// <summary>
  27. /// 秘钥值
  28. /// </summary>
  29. [XmlElement("secret")]
  30. public string Secret { get; set; }
  31. /// <summary>
  32. /// 秘钥版本号
  33. /// </summary>
  34. [XmlElement("secret_version")]
  35. public long SecretVersion { get; set; }
  36. }
  37. }