123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <?php
- namespace TencentCloud\Faceid\V20180301\Models;
- use TencentCloud\Common\AbstractModel;
- class ImageRecognitionRequest extends AbstractModel
- {
-
- public $IdCard;
-
- public $Name;
-
- public $ImageBase64;
-
- 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("ImageBase64",$param) and $param["ImageBase64"] !== null) {
- $this->ImageBase64 = $param["ImageBase64"];
- }
- 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"]);
- }
- }
- }
|