ApplyLivenessTokenRequest.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. * ApplyLivenessToken请求参数结构体
  21. *
  22. * @method string getSecureLevel() 获取枚举值,取值范围:1、2、3、4
  23. 各个含义如下
  24. 1-静默
  25. 2-眨眼
  26. 3-光线
  27. 4-眨眼+光线 (默认)
  28. * @method void setSecureLevel(string $SecureLevel) 设置枚举值,取值范围:1、2、3、4
  29. 各个含义如下
  30. 1-静默
  31. 2-眨眼
  32. 3-光线
  33. 4-眨眼+光线 (默认)
  34. */
  35. class ApplyLivenessTokenRequest extends AbstractModel
  36. {
  37. /**
  38. * @var string 枚举值,取值范围:1、2、3、4
  39. 各个含义如下
  40. 1-静默
  41. 2-眨眼
  42. 3-光线
  43. 4-眨眼+光线 (默认)
  44. */
  45. public $SecureLevel;
  46. /**
  47. * @param string $SecureLevel 枚举值,取值范围:1、2、3、4
  48. 各个含义如下
  49. 1-静默
  50. 2-眨眼
  51. 3-光线
  52. 4-眨眼+光线 (默认)
  53. */
  54. function __construct()
  55. {
  56. }
  57. /**
  58. * For internal only. DO NOT USE IT.
  59. */
  60. public function deserialize($param)
  61. {
  62. if ($param === null) {
  63. return;
  64. }
  65. if (array_key_exists("SecureLevel",$param) and $param["SecureLevel"] !== null) {
  66. $this->SecureLevel = $param["SecureLevel"];
  67. }
  68. }
  69. }