CheckEidTokenStatusResponse.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. /*
  3. * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License");
  6. * you may not use this file except in compliance with the License.
  7. * You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. namespace TencentCloud\Faceid\V20180301\Models;
  18. use TencentCloud\Common\AbstractModel;
  19. /**
  20. * CheckEidTokenStatus返回参数结构体
  21. *
  22. * @method string getStatus() 获取枚举:
  23. init:token未验证
  24. doing: 验证中
  25. finished: 验证完成
  26. timeout: token已超时
  27. * @method void setStatus(string $Status) 设置枚举:
  28. init:token未验证
  29. doing: 验证中
  30. finished: 验证完成
  31. timeout: token已超时
  32. * @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  33. * @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  34. */
  35. class CheckEidTokenStatusResponse extends AbstractModel
  36. {
  37. /**
  38. * @var string 枚举:
  39. init:token未验证
  40. doing: 验证中
  41. finished: 验证完成
  42. timeout: token已超时
  43. */
  44. public $Status;
  45. /**
  46. * @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  47. */
  48. public $RequestId;
  49. /**
  50. * @param string $Status 枚举:
  51. init:token未验证
  52. doing: 验证中
  53. finished: 验证完成
  54. timeout: token已超时
  55. * @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  56. */
  57. function __construct()
  58. {
  59. }
  60. /**
  61. * For internal only. DO NOT USE IT.
  62. */
  63. public function deserialize($param)
  64. {
  65. if ($param === null) {
  66. return;
  67. }
  68. if (array_key_exists("Status",$param) and $param["Status"] !== null) {
  69. $this->Status = $param["Status"];
  70. }
  71. if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
  72. $this->RequestId = $param["RequestId"];
  73. }
  74. }
  75. }