123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <?php
- namespace TencentCloud\Faceid\V20180301\Models;
- use TencentCloud\Common\AbstractModel;
- class LivenessRecognitionRequest extends AbstractModel
- {
-
- public $IdCard;
-
- public $Name;
-
- public $LivenessType;
-
- public $VideoBase64;
-
- public $VideoUrl;
-
- public $ValidateData;
-
- public $Optional;
-
- public $Encryption;
-
- function __construct()
- {
- }
-
- public function deserialize($param)
- {
- if ($param === null) {
- return;
- }
- if (array_key_exists("IdCard",$param) and $param["IdCard"] !== null) {
- $this->IdCard = $param["IdCard"];
- }
- if (array_key_exists("Name",$param) and $param["Name"] !== null) {
- $this->Name = $param["Name"];
- }
- if (array_key_exists("LivenessType",$param) and $param["LivenessType"] !== null) {
- $this->LivenessType = $param["LivenessType"];
- }
- if (array_key_exists("VideoBase64",$param) and $param["VideoBase64"] !== null) {
- $this->VideoBase64 = $param["VideoBase64"];
- }
- if (array_key_exists("VideoUrl",$param) and $param["VideoUrl"] !== null) {
- $this->VideoUrl = $param["VideoUrl"];
- }
- if (array_key_exists("ValidateData",$param) and $param["ValidateData"] !== null) {
- $this->ValidateData = $param["ValidateData"];
- }
- if (array_key_exists("Optional",$param) and $param["Optional"] !== null) {
- $this->Optional = $param["Optional"];
- }
- if (array_key_exists("Encryption",$param) and $param["Encryption"] !== null) {
- $this->Encryption = new Encryption();
- $this->Encryption->deserialize($param["Encryption"]);
- }
- }
- }
|