123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310 |
- <?php
- namespace TencentCloud\Faceid\V20180301\Models;
- use TencentCloud\Common\AbstractModel;
- class CompareResult extends AbstractModel
- {
-
- public $ErrorCode;
-
- public $ErrorMsg;
-
- public $LiveData;
-
- public $LiveVideo;
-
- public $LiveErrorCode;
-
- public $LiveErrorMsg;
-
- public $BestFrame;
-
- public $ProfileImage;
-
- public $CompareErrorCode;
-
- public $CompareErrorMsg;
-
- public $Sim;
-
- public $IsNeedCharge;
-
- public $CardInfoInputJson;
-
- public $RequestId;
-
- function __construct()
- {
- }
-
- public function deserialize($param)
- {
- if ($param === null) {
- return;
- }
- if (array_key_exists("ErrorCode",$param) and $param["ErrorCode"] !== null) {
- $this->ErrorCode = $param["ErrorCode"];
- }
- if (array_key_exists("ErrorMsg",$param) and $param["ErrorMsg"] !== null) {
- $this->ErrorMsg = $param["ErrorMsg"];
- }
- if (array_key_exists("LiveData",$param) and $param["LiveData"] !== null) {
- $this->LiveData = new FileInfo();
- $this->LiveData->deserialize($param["LiveData"]);
- }
- if (array_key_exists("LiveVideo",$param) and $param["LiveVideo"] !== null) {
- $this->LiveVideo = new FileInfo();
- $this->LiveVideo->deserialize($param["LiveVideo"]);
- }
- if (array_key_exists("LiveErrorCode",$param) and $param["LiveErrorCode"] !== null) {
- $this->LiveErrorCode = $param["LiveErrorCode"];
- }
- if (array_key_exists("LiveErrorMsg",$param) and $param["LiveErrorMsg"] !== null) {
- $this->LiveErrorMsg = $param["LiveErrorMsg"];
- }
- if (array_key_exists("BestFrame",$param) and $param["BestFrame"] !== null) {
- $this->BestFrame = new FileInfo();
- $this->BestFrame->deserialize($param["BestFrame"]);
- }
- if (array_key_exists("ProfileImage",$param) and $param["ProfileImage"] !== null) {
- $this->ProfileImage = new FileInfo();
- $this->ProfileImage->deserialize($param["ProfileImage"]);
- }
- if (array_key_exists("CompareErrorCode",$param) and $param["CompareErrorCode"] !== null) {
- $this->CompareErrorCode = $param["CompareErrorCode"];
- }
- if (array_key_exists("CompareErrorMsg",$param) and $param["CompareErrorMsg"] !== null) {
- $this->CompareErrorMsg = $param["CompareErrorMsg"];
- }
- if (array_key_exists("Sim",$param) and $param["Sim"] !== null) {
- $this->Sim = $param["Sim"];
- }
- if (array_key_exists("IsNeedCharge",$param) and $param["IsNeedCharge"] !== null) {
- $this->IsNeedCharge = $param["IsNeedCharge"];
- }
- if (array_key_exists("CardInfoInputJson",$param) and $param["CardInfoInputJson"] !== null) {
- $this->CardInfoInputJson = new FileInfo();
- $this->CardInfoInputJson->deserialize($param["CardInfoInputJson"]);
- }
- if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
- $this->RequestId = $param["RequestId"];
- }
- }
- }
|