TaobaoTopSecretGetResponse.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using System.Collections.Generic;
  2. using System.Text.Json.Serialization;
  3. using Topsdk.Util;
  4. namespace Topsdk.Top.Ability304.Response;
  5. public class TaobaoTopSecretGetResponse : AbstractTopApiResponse
  6. {
  7. /*
  8. 下次更新秘钥间隔,单位(秒)
  9. */
  10. private long? interval;
  11. /*
  12. 最长有效期,容灾使用,单位(秒)
  13. */
  14. private long? maxInterval;
  15. /*
  16. 秘钥值
  17. */
  18. private string? secret;
  19. /*
  20. 秘钥版本号
  21. */
  22. private long? secretVersion;
  23. /*
  24. app配置信息
  25. */
  26. private string? appConfig;
  27. [JsonPropertyName("interval")]
  28. public long? Interval
  29. {
  30. get => interval;
  31. set => this.interval = value;
  32. }
  33. [JsonPropertyName("max_interval")]
  34. public long? MaxInterval
  35. {
  36. get => maxInterval;
  37. set => this.maxInterval = value;
  38. }
  39. [JsonPropertyName("secret")]
  40. public string? Secret
  41. {
  42. get => secret;
  43. set => this.secret = value;
  44. }
  45. [JsonPropertyName("secret_version")]
  46. public long? SecretVersion
  47. {
  48. get => secretVersion;
  49. set => this.secretVersion = value;
  50. }
  51. [JsonPropertyName("app_config")]
  52. public string? AppConfig
  53. {
  54. get => appConfig;
  55. set => this.appConfig = value;
  56. }
  57. }