123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <?php
- namespace TencentCloud\Faceid\V20180301\Models;
- use TencentCloud\Common\AbstractModel;
- class GetEidTokenConfig extends AbstractModel
- {
-
- public $InputType;
-
- public $UseIntentionVerify;
-
- public $IntentionMode;
-
- public $IntentionVerifyText;
-
- public $IntentionQuestions;
-
- public $IntentionRecognition;
-
- function __construct()
- {
- }
-
- public function deserialize($param)
- {
- if ($param === null) {
- return;
- }
- if (array_key_exists("InputType",$param) and $param["InputType"] !== null) {
- $this->InputType = $param["InputType"];
- }
- if (array_key_exists("UseIntentionVerify",$param) and $param["UseIntentionVerify"] !== null) {
- $this->UseIntentionVerify = $param["UseIntentionVerify"];
- }
- if (array_key_exists("IntentionMode",$param) and $param["IntentionMode"] !== null) {
- $this->IntentionMode = $param["IntentionMode"];
- }
- if (array_key_exists("IntentionVerifyText",$param) and $param["IntentionVerifyText"] !== null) {
- $this->IntentionVerifyText = $param["IntentionVerifyText"];
- }
- if (array_key_exists("IntentionQuestions",$param) and $param["IntentionQuestions"] !== null) {
- $this->IntentionQuestions = [];
- foreach ($param["IntentionQuestions"] as $key => $value){
- $obj = new IntentionQuestion();
- $obj->deserialize($value);
- array_push($this->IntentionQuestions, $obj);
- }
- }
- if (array_key_exists("IntentionRecognition",$param) and $param["IntentionRecognition"] !== null) {
- $this->IntentionRecognition = $param["IntentionRecognition"];
- }
- }
- }
|