GenerateReflectSequenceRequest.php 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. * GenerateReflectSequence请求参数结构体
  21. *
  22. * @method string getDeviceDataUrl() 获取SDK生成的打包数据的资源链接。
  23. * @method void setDeviceDataUrl(string $DeviceDataUrl) 设置SDK生成的打包数据的资源链接。
  24. * @method string getDeviceDataMd5() 获取SDK生成的打包数据的MD5值。
  25. * @method void setDeviceDataMd5(string $DeviceDataMd5) 设置SDK生成的打包数据的MD5值。
  26. * @method string getSecurityLevel() 获取1-静默
  27. 2-眨眼
  28. 3-光线
  29. 4-眨眼+光线 (默认)
  30. * @method void setSecurityLevel(string $SecurityLevel) 设置1-静默
  31. 2-眨眼
  32. 3-光线
  33. 4-眨眼+光线 (默认)
  34. */
  35. class GenerateReflectSequenceRequest extends AbstractModel
  36. {
  37. /**
  38. * @var string SDK生成的打包数据的资源链接。
  39. */
  40. public $DeviceDataUrl;
  41. /**
  42. * @var string SDK生成的打包数据的MD5值。
  43. */
  44. public $DeviceDataMd5;
  45. /**
  46. * @var string 1-静默
  47. 2-眨眼
  48. 3-光线
  49. 4-眨眼+光线 (默认)
  50. */
  51. public $SecurityLevel;
  52. /**
  53. * @param string $DeviceDataUrl SDK生成的打包数据的资源链接。
  54. * @param string $DeviceDataMd5 SDK生成的打包数据的MD5值。
  55. * @param string $SecurityLevel 1-静默
  56. 2-眨眼
  57. 3-光线
  58. 4-眨眼+光线 (默认)
  59. */
  60. function __construct()
  61. {
  62. }
  63. /**
  64. * For internal only. DO NOT USE IT.
  65. */
  66. public function deserialize($param)
  67. {
  68. if ($param === null) {
  69. return;
  70. }
  71. if (array_key_exists("DeviceDataUrl",$param) and $param["DeviceDataUrl"] !== null) {
  72. $this->DeviceDataUrl = $param["DeviceDataUrl"];
  73. }
  74. if (array_key_exists("DeviceDataMd5",$param) and $param["DeviceDataMd5"] !== null) {
  75. $this->DeviceDataMd5 = $param["DeviceDataMd5"];
  76. }
  77. if (array_key_exists("SecurityLevel",$param) and $param["SecurityLevel"] !== null) {
  78. $this->SecurityLevel = $param["SecurityLevel"];
  79. }
  80. }
  81. }