DetectInfoVideoData.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. * 核身视频信息
  21. *
  22. * @method string getLivenessVideo() 获取活体视频的base64编码
  23. 注意:此字段可能返回 null,表示取不到有效值。
  24. * @method void setLivenessVideo(string $LivenessVideo) 设置活体视频的base64编码
  25. 注意:此字段可能返回 null,表示取不到有效值。
  26. */
  27. class DetectInfoVideoData extends AbstractModel
  28. {
  29. /**
  30. * @var string 活体视频的base64编码
  31. 注意:此字段可能返回 null,表示取不到有效值。
  32. */
  33. public $LivenessVideo;
  34. /**
  35. * @param string $LivenessVideo 活体视频的base64编码
  36. 注意:此字段可能返回 null,表示取不到有效值。
  37. */
  38. function __construct()
  39. {
  40. }
  41. /**
  42. * For internal only. DO NOT USE IT.
  43. */
  44. public function deserialize($param)
  45. {
  46. if ($param === null) {
  47. return;
  48. }
  49. if (array_key_exists("LivenessVideo",$param) and $param["LivenessVideo"] !== null) {
  50. $this->LivenessVideo = $param["LivenessVideo"];
  51. }
  52. }
  53. }