TopSecretGetResponse.cs 1009 B

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