AlipaySystemOauthTokenResponse.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // This file is auto-generated, don't edit it. Thanks.
  2. using System;
  3. using System.Collections.Generic;
  4. using System.IO;
  5. using Tea;
  6. namespace Alipay.EasySDK.Base.OAuth.Models
  7. {
  8. public class AlipaySystemOauthTokenResponse : TeaModel {
  9. /// <summary>
  10. /// 响应原始字符串
  11. /// </summary>
  12. [NameInMap("http_body")]
  13. [Validation(Required=true)]
  14. public string HttpBody { get; set; }
  15. [NameInMap("code")]
  16. [Validation(Required=true)]
  17. public string Code { get; set; }
  18. [NameInMap("msg")]
  19. [Validation(Required=true)]
  20. public string Msg { get; set; }
  21. [NameInMap("sub_code")]
  22. [Validation(Required=true)]
  23. public string SubCode { get; set; }
  24. [NameInMap("sub_msg")]
  25. [Validation(Required=true)]
  26. public string SubMsg { get; set; }
  27. [NameInMap("user_id")]
  28. [Validation(Required=true)]
  29. public string UserId { get; set; }
  30. [NameInMap("access_token")]
  31. [Validation(Required=true)]
  32. public string AccessToken { get; set; }
  33. [NameInMap("expires_in")]
  34. [Validation(Required=true)]
  35. public long ExpiresIn { get; set; }
  36. [NameInMap("refresh_token")]
  37. [Validation(Required=true)]
  38. public string RefreshToken { get; set; }
  39. [NameInMap("re_expires_in")]
  40. [Validation(Required=true)]
  41. public long ReExpiresIn { get; set; }
  42. }
  43. }