'AuthId', 'callbackToken' => 'CallbackToken', 'callbackUrl' => 'CallbackUrl', 'certName' => 'CertName', 'certNo' => 'CertNo', 'certType' => 'CertType', 'certifyId' => 'CertifyId', 'certifyUrlType' => 'CertifyUrlType', 'crop' => 'Crop', 'encryptType' => 'EncryptType', 'faceContrastPicture' => 'FaceContrastPicture', 'faceContrastPictureUrl' => 'FaceContrastPictureUrl', 'ip' => 'Ip', 'metaInfo' => 'MetaInfo', 'mobile' => 'Mobile', 'model' => 'Model', 'ossBucketName' => 'OssBucketName', 'ossObjectName' => 'OssObjectName', 'outerOrderNo' => 'OuterOrderNo', 'productCode' => 'ProductCode', 'returnUrl' => 'ReturnUrl', 'sceneId' => 'SceneId', 'userId' => 'UserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authId) { $res['AuthId'] = $this->authId; } if (null !== $this->callbackToken) { $res['CallbackToken'] = $this->callbackToken; } if (null !== $this->callbackUrl) { $res['CallbackUrl'] = $this->callbackUrl; } if (null !== $this->certName) { $res['CertName'] = $this->certName; } if (null !== $this->certNo) { $res['CertNo'] = $this->certNo; } if (null !== $this->certType) { $res['CertType'] = $this->certType; } if (null !== $this->certifyId) { $res['CertifyId'] = $this->certifyId; } if (null !== $this->certifyUrlType) { $res['CertifyUrlType'] = $this->certifyUrlType; } if (null !== $this->crop) { $res['Crop'] = $this->crop; } if (null !== $this->encryptType) { $res['EncryptType'] = $this->encryptType; } if (null !== $this->faceContrastPicture) { $res['FaceContrastPicture'] = $this->faceContrastPicture; } if (null !== $this->faceContrastPictureUrl) { $res['FaceContrastPictureUrl'] = $this->faceContrastPictureUrl; } if (null !== $this->ip) { $res['Ip'] = $this->ip; } if (null !== $this->metaInfo) { $res['MetaInfo'] = $this->metaInfo; } if (null !== $this->mobile) { $res['Mobile'] = $this->mobile; } if (null !== $this->model) { $res['Model'] = $this->model; } if (null !== $this->ossBucketName) { $res['OssBucketName'] = $this->ossBucketName; } if (null !== $this->ossObjectName) { $res['OssObjectName'] = $this->ossObjectName; } if (null !== $this->outerOrderNo) { $res['OuterOrderNo'] = $this->outerOrderNo; } if (null !== $this->productCode) { $res['ProductCode'] = $this->productCode; } if (null !== $this->returnUrl) { $res['ReturnUrl'] = $this->returnUrl; } if (null !== $this->sceneId) { $res['SceneId'] = $this->sceneId; } if (null !== $this->userId) { $res['UserId'] = $this->userId; } return $res; } /** * @param array $map * * @return InitFaceVerifyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['AuthId'])) { $model->authId = $map['AuthId']; } if (isset($map['CallbackToken'])) { $model->callbackToken = $map['CallbackToken']; } if (isset($map['CallbackUrl'])) { $model->callbackUrl = $map['CallbackUrl']; } if (isset($map['CertName'])) { $model->certName = $map['CertName']; } if (isset($map['CertNo'])) { $model->certNo = $map['CertNo']; } if (isset($map['CertType'])) { $model->certType = $map['CertType']; } if (isset($map['CertifyId'])) { $model->certifyId = $map['CertifyId']; } if (isset($map['CertifyUrlType'])) { $model->certifyUrlType = $map['CertifyUrlType']; } if (isset($map['Crop'])) { $model->crop = $map['Crop']; } if (isset($map['EncryptType'])) { $model->encryptType = $map['EncryptType']; } if (isset($map['FaceContrastPicture'])) { $model->faceContrastPicture = $map['FaceContrastPicture']; } if (isset($map['FaceContrastPictureUrl'])) { $model->faceContrastPictureUrl = $map['FaceContrastPictureUrl']; } if (isset($map['Ip'])) { $model->ip = $map['Ip']; } if (isset($map['MetaInfo'])) { $model->metaInfo = $map['MetaInfo']; } if (isset($map['Mobile'])) { $model->mobile = $map['Mobile']; } if (isset($map['Model'])) { $model->model = $map['Model']; } if (isset($map['OssBucketName'])) { $model->ossBucketName = $map['OssBucketName']; } if (isset($map['OssObjectName'])) { $model->ossObjectName = $map['OssObjectName']; } if (isset($map['OuterOrderNo'])) { $model->outerOrderNo = $map['OuterOrderNo']; } if (isset($map['ProductCode'])) { $model->productCode = $map['ProductCode']; } if (isset($map['ReturnUrl'])) { $model->returnUrl = $map['ReturnUrl']; } if (isset($map['SceneId'])) { $model->sceneId = $map['SceneId']; } if (isset($map['UserId'])) { $model->userId = $map['UserId']; } return $model; } }