wupengfei hace 2 años
padre
commit
b033669900
Se han modificado 100 ficheros con 9856 adiciones y 0 borrados
  1. 68 0
      application/api/controller/Sample.php
  2. 15 0
      vendor/bin/cloudauth-20190307-1.0.2/.gitignore
  3. 65 0
      vendor/bin/cloudauth-20190307-1.0.2/.php_cs.dist
  4. 12 0
      vendor/bin/cloudauth-20190307-1.0.2/ChangeLog.md
  5. 35 0
      vendor/bin/cloudauth-20190307-1.0.2/README-CN.md
  6. 35 0
      vendor/bin/cloudauth-20190307-1.0.2/README.md
  7. 17 0
      vendor/bin/cloudauth-20190307-1.0.2/autoload.php
  8. 37 0
      vendor/bin/cloudauth-20190307-1.0.2/composer.json
  9. 1151 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Cloudauth.php
  10. 191 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFaceVerifyRequest.php
  11. 88 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFaceVerifyResponse.php
  12. 74 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFaceVerifyResponse/resultObject.php
  13. 83 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFacesRequest.php
  14. 101 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFacesResponse.php
  15. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFacesResponse/data.php
  16. 241 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/ContrastFaceVerifyAdvanceRequest.php
  17. 239 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/ContrastFaceVerifyRequest.php
  18. 88 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/ContrastFaceVerifyResponse.php
  19. 100 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/ContrastFaceVerifyResponse/resultObject.php
  20. 83 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateAuthKeyRequest.php
  21. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateAuthKeyResponse.php
  22. 85 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateFaceConfigRequest.php
  23. 48 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateFaceConfigResponse.php
  24. 84 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateRPSDKRequest.php
  25. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateRPSDKResponse.php
  26. 60 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateVerifySDKRequest.php
  27. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateVerifySDKResponse.php
  28. 110 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateVerifySettingRequest.php
  29. 102 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateVerifySettingResponse.php
  30. 110 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateWhitelistRequest.php
  31. 48 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateWhitelistResponse.php
  32. 72 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DeleteWhitelistRequest.php
  33. 48 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DeleteWhitelistResponse.php
  34. 71 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeAppInfoRequest.php
  35. 113 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeAppInfoResponse.php
  36. 154 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeAppInfoResponse/appInfoList.php
  37. 48 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeAppInfoResponse/appInfoList/debugPackageInfo.php
  38. 48 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeAppInfoResponse/appInfoList/packageInfo.php
  39. 119 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeDeviceInfoRequest.php
  40. 101 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeDeviceInfoResponse.php
  41. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeDeviceInfoResponse/deviceInfoList.php
  42. 100 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeDeviceInfoResponse/deviceInfoList/deviceInfo.php
  43. 59 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceConfigRequest.php
  44. 74 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceConfigResponse.php
  45. 74 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceConfigResponse/items.php
  46. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceUsageRequest.php
  47. 87 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceUsageResponse.php
  48. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceUsageResponse/faceUsageList.php
  49. 71 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceVerifyRequest.php
  50. 88 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceVerifyResponse.php
  51. 100 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceVerifyResponse/resultObject.php
  52. 29 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeOssUploadTokenRequest.php
  53. 62 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeOssUploadTokenResponse.php
  54. 126 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeOssUploadTokenResponse/ossUploadToken.php
  55. 72 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeRPSDKRequest.php
  56. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeRPSDKResponse.php
  57. 60 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeSdkUrlRequest.php
  58. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeSdkUrlResponse.php
  59. 48 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUpdatePackageResultRequest.php
  60. 62 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUpdatePackageResultResponse.php
  61. 154 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUpdatePackageResultResponse/appInfo.php
  62. 48 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUpdatePackageResultResponse/appInfo/debugPackageInfo.php
  63. 48 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUpdatePackageResultResponse/appInfo/packageInfo.php
  64. 47 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUploadInfoRequest.php
  65. 126 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUploadInfoResponse.php
  66. 29 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUserStatusRequest.php
  67. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUserStatusResponse.php
  68. 157 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyRecordsRequest.php
  69. 126 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyRecordsResponse.php
  70. 153 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyRecordsResponse/recordsList.php
  71. 88 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyRecordsResponse/recordsList/material.php
  72. 178 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyRecordsResponse/recordsList/material/idCardInfo.php
  73. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyResultRequest.php
  74. 114 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyResultResponse.php
  75. 142 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyResultResponse/material.php
  76. 165 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyResultResponse/material/idCardInfo.php
  77. 48 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifySDKRequest.php
  78. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifySDKResponse.php
  79. 29 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifySettingRequest.php
  80. 74 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifySettingResponse.php
  81. 89 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifySettingResponse/verifySettingList.php
  82. 217 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyTokenRequest.php
  83. 88 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyTokenResponse.php
  84. 126 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyTokenResponse/ossUploadToken.php
  85. 73 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyUsageRequest.php
  86. 87 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyUsageResponse.php
  87. 100 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyUsageResponse/verifyUsageList.php
  88. 157 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeWhitelistRequest.php
  89. 113 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeWhitelistResponse.php
  90. 165 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeWhitelistResponse/items.php
  91. 60 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesRequest.php
  92. 101 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse.php
  93. 75 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data.php
  94. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos.php
  95. 63 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos/faceAttributesDetectInfo.php
  96. 154 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos/faceAttributesDetectInfo/faceAttributes.php
  97. 74 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos/faceAttributesDetectInfo/faceAttributes/headpose.php
  98. 61 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos/faceAttributesDetectInfo/faceAttributes/smiling.php
  99. 87 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos/faceAttributesDetectInfo/faceRect.php
  100. 191 0
      vendor/bin/cloudauth-20190307-1.0.2/src/Models/InitDeviceRequest.php

+ 68 - 0
application/api/controller/Sample.php

@@ -0,0 +1,68 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+namespace AlibabaCloud\SDK\Sample;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Cloudauth;
+use \Exception;
+use AlibabaCloud\Tea\Exception\TeaError;
+use AlibabaCloud\Tea\Utils\Utils;
+
+use Darabonba\OpenApi\Models\Config;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\InitFaceVerifyRequest;
+use AlibabaCloud\Tea\Utils\Utils\RuntimeOptions;
+
+class Sample {
+
+    /**
+     * 使用AK&SK初始化账号Client
+     * @param string $accessKeyId
+     * @param string $accessKeySecret
+     * @return Cloudauth Client
+     */
+    public static function createClient($accessKeyId, $accessKeySecret){
+        $config = new Config([
+            // 您的 AccessKey ID
+            "accessKeyId" => $accessKeyId,
+            // 您的 AccessKey Secret
+            "accessKeySecret" => $accessKeySecret
+        ]);
+        // 访问的域名
+        $config->endpoint = "cloudauth.aliyuncs.com";
+        return new Cloudauth($config);
+    }
+
+    /**
+     * @param string[] $args
+     * @return void
+     */
+    public static function main($args){
+        $client = self::createClient("accessKeyId", "accessKeySecret");
+        $initFaceVerifyRequest = new InitFaceVerifyRequest([
+            "sceneId" => 1000004552,
+            "outerOrderNo" => "1111",
+            "productCode" => "ID_PRO",
+            "certType" => "IDENTITY_CARD",
+            "certName" => "吴鹏飞",
+            "certNo" => "371322198907031215",
+            "returnUrl" => "/",
+            "metaInfo" => "ddd"
+        ]);
+        $runtime = new RuntimeOptions([]);
+        try {
+            // 复制代码运行请自行打印 API 的返回值
+            $client->initFaceVerifyWithOptions($initFaceVerifyRequest, $runtime);
+        } catch (Exception $error) {
+            if (!($error instanceof TeaError)) {
+                $error = new TeaError([], $error->getMessage(), $error->getCode(), $error);
+            }
+            // 如有需要,请打印 error
+            Utils::assertAsString($error->message);
+        }
+    }
+}
+$path = __DIR__ . \DIRECTORY_SEPARATOR . '..' . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php';
+if (file_exists($path)) {
+    require_once $path;
+}
+Sample::main(array_slice($argv, 1));

+ 15 - 0
vendor/bin/cloudauth-20190307-1.0.2/.gitignore

@@ -0,0 +1,15 @@
+composer.phar
+/vendor/
+
+# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
+# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
+composer.lock
+
+.vscode/
+.idea
+.DS_Store
+
+cache/
+*.cache
+runtime/
+.php_cs.cache

+ 65 - 0
vendor/bin/cloudauth-20190307-1.0.2/.php_cs.dist

@@ -0,0 +1,65 @@
+<?php
+/*
+ * This document has been generated with
+ * https://mlocati.github.io/php-cs-fixer-configurator/#version:2.15|configurator
+ * you can change this configuration by importing this file.
+ */
+
+return PhpCsFixer\Config::create()
+    ->setRiskyAllowed(true)
+    ->setIndent('    ')
+    ->setRules([
+        '@PSR2'                                       => true,
+        '@PhpCsFixer'                                 => true,
+        '@Symfony:risky'                              => true,
+        'concat_space'                                => ['spacing' => 'one'],
+        'array_syntax'                                => ['syntax' => 'short'],
+        'array_indentation'                           => true,
+        'combine_consecutive_unsets'                  => true,
+        'method_separation'                           => true,
+        'single_quote'                                => true,
+        'declare_equal_normalize'                     => true,
+        'function_typehint_space'                     => true,
+        'hash_to_slash_comment'                       => true,
+        'include'                                     => true,
+        'lowercase_cast'                              => true,
+        'no_multiline_whitespace_before_semicolons'   => true,
+        'no_leading_import_slash'                     => true,
+        'no_multiline_whitespace_around_double_arrow' => true,
+        'no_spaces_around_offset'                     => true,
+        'no_unneeded_control_parentheses'             => true,
+        'no_unused_imports'                           => true,
+        'no_whitespace_before_comma_in_array'         => true,
+        'no_whitespace_in_blank_line'                 => true,
+        'object_operator_without_whitespace'          => true,
+        'single_blank_line_before_namespace'          => true,
+        'single_class_element_per_statement'          => true,
+        'space_after_semicolon'                       => true,
+        'standardize_not_equals'                      => true,
+        'ternary_operator_spaces'                     => true,
+        'trailing_comma_in_multiline_array'           => true,
+        'trim_array_spaces'                           => true,
+        'unary_operator_spaces'                       => true,
+        'whitespace_after_comma_in_array'             => true,
+        'no_extra_consecutive_blank_lines'            => [
+            'curly_brace_block',
+            'extra',
+            'parenthesis_brace_block',
+            'square_brace_block',
+            'throw',
+            'use',
+        ],
+        'binary_operator_spaces'       => [
+            'align_double_arrow' => true,
+            'align_equals'       => true,
+        ],
+        'braces'                                    => [
+            'allow_single_line_closure' => true,
+        ],
+    ])
+    ->setFinder(
+        PhpCsFixer\Finder::create()
+            ->exclude('vendor')
+            ->exclude('tests')
+            ->in(__DIR__)
+  );

+ 12 - 0
vendor/bin/cloudauth-20190307-1.0.2/ChangeLog.md

@@ -0,0 +1,12 @@
+2021-04-20 Version: 1.0.2
+- LivenessFaceVerify ContrastFaceVerify CompareFaceVerify API Return CertifyId.
+
+2021-04-09 Version: 1.0.1
+- New API SDK.
+
+2020-12-30 Version: 2.0.0
+- AMP Version Change.
+
+2020-11-26 Version: 1.0.0
+- ContrastFaceVerify Support Video.
+

+ 35 - 0
vendor/bin/cloudauth-20190307-1.0.2/README-CN.md

@@ -0,0 +1,35 @@
+[English](README.md) | 简体中文
+
+![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
+
+# Alibaba Cloud Cloudauth SDK for PHP
+
+## 安装
+
+### Composer
+
+```bash
+composer require alibabacloud/cloudauth-20190307
+```
+
+## 问题
+
+[提交 Issue](https://github.com/aliyun/alibabacloud-php-sdk/issues/new),不符合指南的问题可能会立即关闭。
+
+## 使用说明
+
+[快速使用](https://github.com/aliyun/alibabacloud-php-sdk/blob/master/docs/0-Examples-CN.md#%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8)
+
+## 发行说明
+
+每个版本的详细更改记录在[发行说明](./ChangeLog.txt)中。
+
+## 相关
+
+* [最新源码](https://github.com/aliyun/alibabacloud-php-sdk/)
+
+## 许可证
+
+[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
+
+Copyright (c) 2009-present, Alibaba Cloud All rights reserved.

+ 35 - 0
vendor/bin/cloudauth-20190307-1.0.2/README.md

@@ -0,0 +1,35 @@
+English | [简体中文](README-CN.md)
+
+![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
+
+# Alibaba Cloud Cloudauth SDK for PHP
+
+## Installation
+
+### Composer
+
+```bash
+composer require alibabacloud/cloudauth-20190307
+```
+
+## Issues
+
+[Opening an Issue](https://github.com/aliyun/alibabacloud-php-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
+
+## Usage
+
+[Quick Examples](https://github.com/aliyun/alibabacloud-php-sdk/blob/master/docs/0-Examples-EN.md#quick-examples)
+
+## Changelog
+
+Detailed changes for each release are documented in the [release notes](./ChangeLog.txt).
+
+## References
+
+* [Latest Release](https://github.com/aliyun/alibabacloud-php-sdk/)
+
+## License
+
+[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
+
+Copyright (c) 2009-present, Alibaba Cloud All rights reserved.

+ 17 - 0
vendor/bin/cloudauth-20190307-1.0.2/autoload.php

@@ -0,0 +1,17 @@
+<?php
+
+if (file_exists(__DIR__ . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php')) {
+    require_once __DIR__ . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php';
+}
+
+spl_autoload_register(function ($class) {
+    $name = str_replace('AlibabaCloud\\SDK\\Cloudauth\\V20190307\\', '', $class);
+    $file = __DIR__ . \DIRECTORY_SEPARATOR . 'src' . \DIRECTORY_SEPARATOR . str_replace('\\', \DIRECTORY_SEPARATOR, $name) . '.php';
+    if (file_exists($file)) {
+        require_once $file;
+
+        return true;
+    }
+
+    return false;
+});

+ 37 - 0
vendor/bin/cloudauth-20190307-1.0.2/composer.json

@@ -0,0 +1,37 @@
+{
+  "name": "alibabacloud/cloudauth-20190307",
+  "description": "Alibaba Cloud ID Verification (20190307) SDK Library for PHP",
+  "type": "library",
+  "license": "Apache-2.0",
+  "authors": [
+    {
+      "name": "Alibaba Cloud SDK",
+      "email": "sdk-team@alibabacloud.com"
+    }
+  ],
+  "require": {
+    "php": ">5.5",
+    "alibabacloud/tea-utils": "^0.2.0",
+    "alibabacloud/tea-rpc-utils": "^0.2.0",
+    "alibabacloud/tea-rpc": "^0.1.5",
+    "alibabacloud/endpoint-util": "^0.1.0",
+    "alibabacloud/tea-oss-sdk": "^0.3.0",
+    "alibabacloud/openplatform-20191219": "1.0.2",
+    "alibabacloud/tea-oss-utils": "^0.2.0",
+    "alibabacloud/tea-fileform": "^0.3.0"
+  },
+  "autoload": {
+    "psr-4": {
+      "AlibabaCloud\\SDK\\Cloudauth\\V20190307\\": "src"
+    }
+  },
+  "scripts": {
+    "fixer": "php-cs-fixer fix ./"
+  },
+  "config": {
+    "sort-packages": true,
+    "preferred-install": "dist",
+    "optimize-autoloader": true
+  },
+  "prefer-stable": true
+}

+ 1151 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Cloudauth.php

@@ -0,0 +1,1151 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307;
+
+use AlibabaCloud\Endpoint\Endpoint;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CompareFacesRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CompareFacesResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CompareFaceVerifyRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CompareFaceVerifyResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\ContrastFaceVerifyAdvanceRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\ContrastFaceVerifyRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\ContrastFaceVerifyResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateAuthKeyRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateAuthKeyResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateFaceConfigRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateFaceConfigResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateRPSDKRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateRPSDKResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateVerifySDKRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateVerifySDKResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateVerifySettingRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateVerifySettingResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateWhitelistRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CreateWhitelistResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DeleteWhitelistRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DeleteWhitelistResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeAppInfoRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeAppInfoResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeDeviceInfoRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeDeviceInfoResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceConfigRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceConfigResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceUsageRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceUsageResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceVerifyRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceVerifyResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeOssUploadTokenRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeOssUploadTokenResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeRPSDKRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeRPSDKResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeSdkUrlRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeSdkUrlResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUpdatePackageResultRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUpdatePackageResultResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUploadInfoRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUploadInfoResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUserStatusRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUserStatusResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyRecordsRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyRecordsResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyResultRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyResultResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifySDKRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifySDKResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifySettingRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifySettingResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyTokenRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyTokenResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyUsageRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyUsageResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeWhitelistRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeWhitelistResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\InitDeviceRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\InitDeviceResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\InitFaceVerifyRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\InitFaceVerifyResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\LivenessFaceVerifyRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\LivenessFaceVerifyResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\ModifyDeviceInfoRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\ModifyDeviceInfoResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\UpdateAppPackageRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\UpdateAppPackageResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\UpdateFaceConfigRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\UpdateFaceConfigResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\UpdateVerifySettingRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\UpdateVerifySettingResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\VerifyDeviceRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\VerifyDeviceResponse;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\VerifyMaterialRequest;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\VerifyMaterialResponse;
+use AlibabaCloud\SDK\OpenPlatform\V20191219\Models\AuthorizeFileUploadRequest;
+use AlibabaCloud\SDK\OpenPlatform\V20191219\Models\AuthorizeFileUploadResponse;
+use AlibabaCloud\SDK\OpenPlatform\V20191219\OpenPlatform;
+use AlibabaCloud\SDK\OSS\OSS;
+use AlibabaCloud\SDK\OSS\OSS\PostObjectRequest;
+use AlibabaCloud\SDK\OSS\OSS\PostObjectRequest\header;
+use AlibabaCloud\Tea\FileForm\FileForm\FileField;
+use AlibabaCloud\Tea\Rpc\Rpc;
+use AlibabaCloud\Tea\Rpc\Rpc\Config;
+use AlibabaCloud\Tea\RpcUtils\RpcUtils;
+use AlibabaCloud\Tea\Tea;
+use AlibabaCloud\Tea\Utils\Utils;
+use AlibabaCloud\Tea\Utils\Utils\RuntimeOptions;
+
+class Cloudauth extends Rpc
+{
+    public function __construct($config)
+    {
+        parent::__construct($config);
+        $this->_endpointRule = 'central';
+        $this->checkConfig($config);
+        $this->_endpoint = $this->getEndpoint('cloudauth', $this->_regionId, $this->_endpointRule, $this->_network, $this->_suffix, $this->_endpointMap, $this->_endpoint);
+    }
+
+    /**
+     * @param DescribeWhitelistRequest $request
+     * @param RuntimeOptions           $runtime
+     *
+     * @return DescribeWhitelistResponse
+     */
+    public function describeWhitelist($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeWhitelistResponse::fromMap($this->doRequest('DescribeWhitelist', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeWhitelistRequest $request
+     *
+     * @return DescribeWhitelistResponse
+     */
+    public function describeWhitelistSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeWhitelist($request, $runtime);
+    }
+
+    /**
+     * @param DeleteWhitelistRequest $request
+     * @param RuntimeOptions         $runtime
+     *
+     * @return DeleteWhitelistResponse
+     */
+    public function deleteWhitelist($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DeleteWhitelistResponse::fromMap($this->doRequest('DeleteWhitelist', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DeleteWhitelistRequest $request
+     *
+     * @return DeleteWhitelistResponse
+     */
+    public function deleteWhitelistSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->deleteWhitelist($request, $runtime);
+    }
+
+    /**
+     * @param CreateWhitelistRequest $request
+     * @param RuntimeOptions         $runtime
+     *
+     * @return CreateWhitelistResponse
+     */
+    public function createWhitelist($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return CreateWhitelistResponse::fromMap($this->doRequest('CreateWhitelist', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param CreateWhitelistRequest $request
+     *
+     * @return CreateWhitelistResponse
+     */
+    public function createWhitelistSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->createWhitelist($request, $runtime);
+    }
+
+    /**
+     * @param DescribeFaceConfigRequest $request
+     * @param RuntimeOptions            $runtime
+     *
+     * @return DescribeFaceConfigResponse
+     */
+    public function describeFaceConfig($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeFaceConfigResponse::fromMap($this->doRequest('DescribeFaceConfig', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeFaceConfigRequest $request
+     *
+     * @return DescribeFaceConfigResponse
+     */
+    public function describeFaceConfigSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeFaceConfig($request, $runtime);
+    }
+
+    /**
+     * @param UpdateFaceConfigRequest $request
+     * @param RuntimeOptions          $runtime
+     *
+     * @return UpdateFaceConfigResponse
+     */
+    public function updateFaceConfig($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return UpdateFaceConfigResponse::fromMap($this->doRequest('UpdateFaceConfig', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param UpdateFaceConfigRequest $request
+     *
+     * @return UpdateFaceConfigResponse
+     */
+    public function updateFaceConfigSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->updateFaceConfig($request, $runtime);
+    }
+
+    /**
+     * @param CreateFaceConfigRequest $request
+     * @param RuntimeOptions          $runtime
+     *
+     * @return CreateFaceConfigResponse
+     */
+    public function createFaceConfig($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return CreateFaceConfigResponse::fromMap($this->doRequest('CreateFaceConfig', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param CreateFaceConfigRequest $request
+     *
+     * @return CreateFaceConfigResponse
+     */
+    public function createFaceConfigSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->createFaceConfig($request, $runtime);
+    }
+
+    /**
+     * @param LivenessFaceVerifyRequest $request
+     * @param RuntimeOptions            $runtime
+     *
+     * @return LivenessFaceVerifyResponse
+     */
+    public function livenessFaceVerify($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return LivenessFaceVerifyResponse::fromMap($this->doRequest('LivenessFaceVerify', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param LivenessFaceVerifyRequest $request
+     *
+     * @return LivenessFaceVerifyResponse
+     */
+    public function livenessFaceVerifySimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->livenessFaceVerify($request, $runtime);
+    }
+
+    /**
+     * @param CompareFaceVerifyRequest $request
+     * @param RuntimeOptions           $runtime
+     *
+     * @return CompareFaceVerifyResponse
+     */
+    public function compareFaceVerify($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return CompareFaceVerifyResponse::fromMap($this->doRequest('CompareFaceVerify', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param CompareFaceVerifyRequest $request
+     *
+     * @return CompareFaceVerifyResponse
+     */
+    public function compareFaceVerifySimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->compareFaceVerify($request, $runtime);
+    }
+
+    /**
+     * @param DescribeSdkUrlRequest $request
+     * @param RuntimeOptions        $runtime
+     *
+     * @return DescribeSdkUrlResponse
+     */
+    public function describeSdkUrl($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeSdkUrlResponse::fromMap($this->doRequest('DescribeSdkUrl', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeSdkUrlRequest $request
+     *
+     * @return DescribeSdkUrlResponse
+     */
+    public function describeSdkUrlSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeSdkUrl($request, $runtime);
+    }
+
+    /**
+     * @param DescribeUpdatePackageResultRequest $request
+     * @param RuntimeOptions                     $runtime
+     *
+     * @return DescribeUpdatePackageResultResponse
+     */
+    public function describeUpdatePackageResult($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeUpdatePackageResultResponse::fromMap($this->doRequest('DescribeUpdatePackageResult', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeUpdatePackageResultRequest $request
+     *
+     * @return DescribeUpdatePackageResultResponse
+     */
+    public function describeUpdatePackageResultSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeUpdatePackageResult($request, $runtime);
+    }
+
+    /**
+     * @param UpdateAppPackageRequest $request
+     * @param RuntimeOptions          $runtime
+     *
+     * @return UpdateAppPackageResponse
+     */
+    public function updateAppPackage($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return UpdateAppPackageResponse::fromMap($this->doRequest('UpdateAppPackage', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param UpdateAppPackageRequest $request
+     *
+     * @return UpdateAppPackageResponse
+     */
+    public function updateAppPackageSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->updateAppPackage($request, $runtime);
+    }
+
+    /**
+     * @param DescribeAppInfoRequest $request
+     * @param RuntimeOptions         $runtime
+     *
+     * @return DescribeAppInfoResponse
+     */
+    public function describeAppInfo($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeAppInfoResponse::fromMap($this->doRequest('DescribeAppInfo', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeAppInfoRequest $request
+     *
+     * @return DescribeAppInfoResponse
+     */
+    public function describeAppInfoSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeAppInfo($request, $runtime);
+    }
+
+    /**
+     * @param ContrastFaceVerifyRequest $request
+     * @param RuntimeOptions            $runtime
+     *
+     * @return ContrastFaceVerifyResponse
+     */
+    public function contrastFaceVerify($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return ContrastFaceVerifyResponse::fromMap($this->doRequest('ContrastFaceVerify', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param ContrastFaceVerifyRequest $request
+     *
+     * @return ContrastFaceVerifyResponse
+     */
+    public function contrastFaceVerifySimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->contrastFaceVerify($request, $runtime);
+    }
+
+    /**
+     * @param ContrastFaceVerifyAdvanceRequest $request
+     * @param RuntimeOptions                   $runtime
+     *
+     * @return ContrastFaceVerifyResponse
+     */
+    public function contrastFaceVerifyAdvance($request, $runtime)
+    {
+        // Step 0: init client
+        $accessKeyId          = $this->_credential->getAccessKeyId();
+        $accessKeySecret      = $this->_credential->getAccessKeySecret();
+        $openPlatformEndpoint = $this->_openPlatformEndpoint;
+        if (Utils::isUnset($openPlatformEndpoint)) {
+            $openPlatformEndpoint = 'openplatform.aliyuncs.com';
+        }
+        $authConfig = new Config([
+            'accessKeyId'     => $accessKeyId,
+            'accessKeySecret' => $accessKeySecret,
+            'type'            => 'access_key',
+            'endpoint'        => $openPlatformEndpoint,
+            'protocol'        => $this->_protocol,
+            'regionId'        => $this->_regionId,
+        ]);
+        $authClient  = new OpenPlatform($authConfig);
+        $authRequest = new AuthorizeFileUploadRequest([
+            'product'  => 'Cloudauth',
+            'regionId' => $this->_regionId,
+        ]);
+        $authResponse = new AuthorizeFileUploadResponse([]);
+        $ossConfig    = new \AlibabaCloud\SDK\OSS\OSS\Config([
+            'accessKeySecret' => $accessKeySecret,
+            'type'            => 'access_key',
+            'protocol'        => $this->_protocol,
+            'regionId'        => $this->_regionId,
+        ]);
+        $ossClient     = null;
+        $fileObj       = new FileField([]);
+        $ossHeader     = new header([]);
+        $uploadRequest = new PostObjectRequest([]);
+        $ossRuntime    = new \AlibabaCloud\Tea\OSSUtils\OSSUtils\RuntimeOptions([]);
+        RpcUtils::convert($runtime, $ossRuntime);
+        $contrastFaceVerifyReq = new ContrastFaceVerifyRequest([]);
+        RpcUtils::convert($request, $contrastFaceVerifyReq);
+        $authResponse           = $authClient->authorizeFileUploadWithOptions($authRequest, $runtime);
+        $ossConfig->accessKeyId = $authResponse->accessKeyId;
+        $ossConfig->endpoint    = RpcUtils::getEndpoint($authResponse->endpoint, $authResponse->useAccelerate, $this->_endpointType);
+        $ossClient              = new OSS($ossConfig);
+        $fileObj                = new FileField([
+            'filename'    => $authResponse->objectKey,
+            'content'     => $request->faceContrastFileObject,
+            'contentType' => '',
+        ]);
+        $ossHeader = new header([
+            'accessKeyId'         => $authResponse->accessKeyId,
+            'policy'              => $authResponse->encodedPolicy,
+            'signature'           => $authResponse->signature,
+            'key'                 => $authResponse->objectKey,
+            'file'                => $fileObj,
+            'successActionStatus' => '201',
+        ]);
+        $uploadRequest = new PostObjectRequest([
+            'bucketName' => $authResponse->bucket,
+            'header'     => $ossHeader,
+        ]);
+        $ossClient->postObject($uploadRequest, $ossRuntime);
+        $contrastFaceVerifyReq->faceContrastFile = 'http://' . $authResponse->bucket . '.' . $authResponse->endpoint . '/' . $authResponse->objectKey . '';
+
+        return $this->contrastFaceVerify($contrastFaceVerifyReq, $runtime);
+    }
+
+    /**
+     * @param InitDeviceRequest $request
+     * @param RuntimeOptions    $runtime
+     *
+     * @return InitDeviceResponse
+     */
+    public function initDevice($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return InitDeviceResponse::fromMap($this->doRequest('InitDevice', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param InitDeviceRequest $request
+     *
+     * @return InitDeviceResponse
+     */
+    public function initDeviceSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->initDevice($request, $runtime);
+    }
+
+    /**
+     * @param InitFaceVerifyRequest $request
+     * @param RuntimeOptions        $runtime
+     *
+     * @return InitFaceVerifyResponse
+     */
+    public function initFaceVerify($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return InitFaceVerifyResponse::fromMap($this->doRequest('InitFaceVerify', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param InitFaceVerifyRequest $request
+     *
+     * @return InitFaceVerifyResponse
+     */
+    public function initFaceVerifySimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->initFaceVerify($request, $runtime);
+    }
+
+    /**
+     * @param DescribeFaceVerifyRequest $request
+     * @param RuntimeOptions            $runtime
+     *
+     * @return DescribeFaceVerifyResponse
+     */
+    public function describeFaceVerify($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeFaceVerifyResponse::fromMap($this->doRequest('DescribeFaceVerify', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeFaceVerifyRequest $request
+     *
+     * @return DescribeFaceVerifyResponse
+     */
+    public function describeFaceVerifySimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeFaceVerify($request, $runtime);
+    }
+
+    /**
+     * @param VerifyDeviceRequest $request
+     * @param RuntimeOptions      $runtime
+     *
+     * @return VerifyDeviceResponse
+     */
+    public function verifyDevice($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return VerifyDeviceResponse::fromMap($this->doRequest('VerifyDevice', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param VerifyDeviceRequest $request
+     *
+     * @return VerifyDeviceResponse
+     */
+    public function verifyDeviceSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->verifyDevice($request, $runtime);
+    }
+
+    /**
+     * @param ModifyDeviceInfoRequest $request
+     * @param RuntimeOptions          $runtime
+     *
+     * @return ModifyDeviceInfoResponse
+     */
+    public function modifyDeviceInfo($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return ModifyDeviceInfoResponse::fromMap($this->doRequest('ModifyDeviceInfo', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param ModifyDeviceInfoRequest $request
+     *
+     * @return ModifyDeviceInfoResponse
+     */
+    public function modifyDeviceInfoSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->modifyDeviceInfo($request, $runtime);
+    }
+
+    /**
+     * @param DescribeVerifySDKRequest $request
+     * @param RuntimeOptions           $runtime
+     *
+     * @return DescribeVerifySDKResponse
+     */
+    public function describeVerifySDK($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeVerifySDKResponse::fromMap($this->doRequest('DescribeVerifySDK', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeVerifySDKRequest $request
+     *
+     * @return DescribeVerifySDKResponse
+     */
+    public function describeVerifySDKSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeVerifySDK($request, $runtime);
+    }
+
+    /**
+     * @param DescribeDeviceInfoRequest $request
+     * @param RuntimeOptions            $runtime
+     *
+     * @return DescribeDeviceInfoResponse
+     */
+    public function describeDeviceInfo($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeDeviceInfoResponse::fromMap($this->doRequest('DescribeDeviceInfo', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeDeviceInfoRequest $request
+     *
+     * @return DescribeDeviceInfoResponse
+     */
+    public function describeDeviceInfoSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeDeviceInfo($request, $runtime);
+    }
+
+    /**
+     * @param CreateVerifySDKRequest $request
+     * @param RuntimeOptions         $runtime
+     *
+     * @return CreateVerifySDKResponse
+     */
+    public function createVerifySDK($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return CreateVerifySDKResponse::fromMap($this->doRequest('CreateVerifySDK', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param CreateVerifySDKRequest $request
+     *
+     * @return CreateVerifySDKResponse
+     */
+    public function createVerifySDKSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->createVerifySDK($request, $runtime);
+    }
+
+    /**
+     * @param CreateAuthKeyRequest $request
+     * @param RuntimeOptions       $runtime
+     *
+     * @return CreateAuthKeyResponse
+     */
+    public function createAuthKey($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return CreateAuthKeyResponse::fromMap($this->doRequest('CreateAuthKey', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param CreateAuthKeyRequest $request
+     *
+     * @return CreateAuthKeyResponse
+     */
+    public function createAuthKeySimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->createAuthKey($request, $runtime);
+    }
+
+    /**
+     * @param DetectFaceAttributesRequest $request
+     * @param RuntimeOptions              $runtime
+     *
+     * @return DetectFaceAttributesResponse
+     */
+    public function detectFaceAttributes($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DetectFaceAttributesResponse::fromMap($this->doRequest('DetectFaceAttributes', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DetectFaceAttributesRequest $request
+     *
+     * @return DetectFaceAttributesResponse
+     */
+    public function detectFaceAttributesSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->detectFaceAttributes($request, $runtime);
+    }
+
+    /**
+     * @param CompareFacesRequest $request
+     * @param RuntimeOptions      $runtime
+     *
+     * @return CompareFacesResponse
+     */
+    public function compareFaces($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return CompareFacesResponse::fromMap($this->doRequest('CompareFaces', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param CompareFacesRequest $request
+     *
+     * @return CompareFacesResponse
+     */
+    public function compareFacesSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->compareFaces($request, $runtime);
+    }
+
+    /**
+     * @param DescribeFaceUsageRequest $request
+     * @param RuntimeOptions           $runtime
+     *
+     * @return DescribeFaceUsageResponse
+     */
+    public function describeFaceUsage($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeFaceUsageResponse::fromMap($this->doRequest('DescribeFaceUsage', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeFaceUsageRequest $request
+     *
+     * @return DescribeFaceUsageResponse
+     */
+    public function describeFaceUsageSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeFaceUsage($request, $runtime);
+    }
+
+    /**
+     * @param DescribeVerifyRecordsRequest $request
+     * @param RuntimeOptions               $runtime
+     *
+     * @return DescribeVerifyRecordsResponse
+     */
+    public function describeVerifyRecords($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeVerifyRecordsResponse::fromMap($this->doRequest('DescribeVerifyRecords', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeVerifyRecordsRequest $request
+     *
+     * @return DescribeVerifyRecordsResponse
+     */
+    public function describeVerifyRecordsSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeVerifyRecords($request, $runtime);
+    }
+
+    /**
+     * @param UpdateVerifySettingRequest $request
+     * @param RuntimeOptions             $runtime
+     *
+     * @return UpdateVerifySettingResponse
+     */
+    public function updateVerifySetting($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return UpdateVerifySettingResponse::fromMap($this->doRequest('UpdateVerifySetting', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param UpdateVerifySettingRequest $request
+     *
+     * @return UpdateVerifySettingResponse
+     */
+    public function updateVerifySettingSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->updateVerifySetting($request, $runtime);
+    }
+
+    /**
+     * @param CreateVerifySettingRequest $request
+     * @param RuntimeOptions             $runtime
+     *
+     * @return CreateVerifySettingResponse
+     */
+    public function createVerifySetting($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return CreateVerifySettingResponse::fromMap($this->doRequest('CreateVerifySetting', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param CreateVerifySettingRequest $request
+     *
+     * @return CreateVerifySettingResponse
+     */
+    public function createVerifySettingSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->createVerifySetting($request, $runtime);
+    }
+
+    /**
+     * @param DescribeVerifySettingRequest $request
+     * @param RuntimeOptions               $runtime
+     *
+     * @return DescribeVerifySettingResponse
+     */
+    public function describeVerifySetting($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeVerifySettingResponse::fromMap($this->doRequest('DescribeVerifySetting', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeVerifySettingRequest $request
+     *
+     * @return DescribeVerifySettingResponse
+     */
+    public function describeVerifySettingSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeVerifySetting($request, $runtime);
+    }
+
+    /**
+     * @param DescribeVerifyUsageRequest $request
+     * @param RuntimeOptions             $runtime
+     *
+     * @return DescribeVerifyUsageResponse
+     */
+    public function describeVerifyUsage($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeVerifyUsageResponse::fromMap($this->doRequest('DescribeVerifyUsage', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeVerifyUsageRequest $request
+     *
+     * @return DescribeVerifyUsageResponse
+     */
+    public function describeVerifyUsageSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeVerifyUsage($request, $runtime);
+    }
+
+    /**
+     * @param DescribeUserStatusRequest $request
+     * @param RuntimeOptions            $runtime
+     *
+     * @return DescribeUserStatusResponse
+     */
+    public function describeUserStatus($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeUserStatusResponse::fromMap($this->doRequest('DescribeUserStatus', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeUserStatusRequest $request
+     *
+     * @return DescribeUserStatusResponse
+     */
+    public function describeUserStatusSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeUserStatus($request, $runtime);
+    }
+
+    /**
+     * @param DescribeUploadInfoRequest $request
+     * @param RuntimeOptions            $runtime
+     *
+     * @return DescribeUploadInfoResponse
+     */
+    public function describeUploadInfo($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeUploadInfoResponse::fromMap($this->doRequest('DescribeUploadInfo', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeUploadInfoRequest $request
+     *
+     * @return DescribeUploadInfoResponse
+     */
+    public function describeUploadInfoSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeUploadInfo($request, $runtime);
+    }
+
+    /**
+     * @param DescribeRPSDKRequest $request
+     * @param RuntimeOptions       $runtime
+     *
+     * @return DescribeRPSDKResponse
+     */
+    public function describeRPSDK($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeRPSDKResponse::fromMap($this->doRequest('DescribeRPSDK', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeRPSDKRequest $request
+     *
+     * @return DescribeRPSDKResponse
+     */
+    public function describeRPSDKSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeRPSDK($request, $runtime);
+    }
+
+    /**
+     * @param CreateRPSDKRequest $request
+     * @param RuntimeOptions     $runtime
+     *
+     * @return CreateRPSDKResponse
+     */
+    public function createRPSDK($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return CreateRPSDKResponse::fromMap($this->doRequest('CreateRPSDK', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param CreateRPSDKRequest $request
+     *
+     * @return CreateRPSDKResponse
+     */
+    public function createRPSDKSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->createRPSDK($request, $runtime);
+    }
+
+    /**
+     * @param VerifyMaterialRequest $request
+     * @param RuntimeOptions        $runtime
+     *
+     * @return VerifyMaterialResponse
+     */
+    public function verifyMaterial($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return VerifyMaterialResponse::fromMap($this->doRequest('VerifyMaterial', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param VerifyMaterialRequest $request
+     *
+     * @return VerifyMaterialResponse
+     */
+    public function verifyMaterialSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->verifyMaterial($request, $runtime);
+    }
+
+    /**
+     * @param DescribeVerifyResultRequest $request
+     * @param RuntimeOptions              $runtime
+     *
+     * @return DescribeVerifyResultResponse
+     */
+    public function describeVerifyResult($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeVerifyResultResponse::fromMap($this->doRequest('DescribeVerifyResult', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeVerifyResultRequest $request
+     *
+     * @return DescribeVerifyResultResponse
+     */
+    public function describeVerifyResultSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeVerifyResult($request, $runtime);
+    }
+
+    /**
+     * @param DescribeOssUploadTokenRequest $request
+     * @param RuntimeOptions                $runtime
+     *
+     * @return DescribeOssUploadTokenResponse
+     */
+    public function describeOssUploadToken($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeOssUploadTokenResponse::fromMap($this->doRequest('DescribeOssUploadToken', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeOssUploadTokenRequest $request
+     *
+     * @return DescribeOssUploadTokenResponse
+     */
+    public function describeOssUploadTokenSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeOssUploadToken($request, $runtime);
+    }
+
+    /**
+     * @param DescribeVerifyTokenRequest $request
+     * @param RuntimeOptions             $runtime
+     *
+     * @return DescribeVerifyTokenResponse
+     */
+    public function describeVerifyToken($request, $runtime)
+    {
+        Utils::validateModel($request);
+
+        return DescribeVerifyTokenResponse::fromMap($this->doRequest('DescribeVerifyToken', 'HTTPS', 'POST', '2019-03-07', 'AK', null, Tea::merge($request), $runtime));
+    }
+
+    /**
+     * @param DescribeVerifyTokenRequest $request
+     *
+     * @return DescribeVerifyTokenResponse
+     */
+    public function describeVerifyTokenSimply($request)
+    {
+        $runtime = new RuntimeOptions([]);
+
+        return $this->describeVerifyToken($request, $runtime);
+    }
+
+    /**
+     * @param string   $productId
+     * @param string   $regionId
+     * @param string   $endpointRule
+     * @param string   $network
+     * @param string   $suffix
+     * @param string[] $endpointMap
+     * @param string   $endpoint
+     *
+     * @return string
+     */
+    public function getEndpoint($productId, $regionId, $endpointRule, $network, $suffix, $endpointMap, $endpoint)
+    {
+        if (!Utils::empty_($endpoint)) {
+            return $endpoint;
+        }
+        if (!Utils::isUnset($endpointMap) && !Utils::empty_(@$endpointMap[$regionId])) {
+            return @$endpointMap[$regionId];
+        }
+
+        return Endpoint::getEndpointRules($productId, $regionId, $endpointRule, $network, $suffix);
+    }
+}

+ 191 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFaceVerifyRequest.php

@@ -0,0 +1,191 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CompareFaceVerifyRequest extends Model
+{
+    /**
+     * @var int
+     */
+    public $sceneId;
+
+    /**
+     * @var string
+     */
+    public $outerOrderNo;
+
+    /**
+     * @var string
+     */
+    public $productCode;
+
+    /**
+     * @var string
+     */
+    public $sourceFaceContrastPicture;
+
+    /**
+     * @var string
+     */
+    public $sourceFaceContrastPictureUrl;
+
+    /**
+     * @var string
+     */
+    public $sourceCertifyId;
+
+    /**
+     * @var string
+     */
+    public $sourceOssBucketName;
+
+    /**
+     * @var string
+     */
+    public $sourceOssObjectName;
+
+    /**
+     * @var string
+     */
+    public $targetFaceContrastPicture;
+
+    /**
+     * @var string
+     */
+    public $targetFaceContrastPictureUrl;
+
+    /**
+     * @var string
+     */
+    public $targetCertifyId;
+
+    /**
+     * @var string
+     */
+    public $targetOssBucketName;
+
+    /**
+     * @var string
+     */
+    public $targetOssObjectName;
+    protected $_name = [
+        'sceneId'                      => 'SceneId',
+        'outerOrderNo'                 => 'OuterOrderNo',
+        'productCode'                  => 'ProductCode',
+        'sourceFaceContrastPicture'    => 'SourceFaceContrastPicture',
+        'sourceFaceContrastPictureUrl' => 'SourceFaceContrastPictureUrl',
+        'sourceCertifyId'              => 'SourceCertifyId',
+        'sourceOssBucketName'          => 'SourceOssBucketName',
+        'sourceOssObjectName'          => 'SourceOssObjectName',
+        'targetFaceContrastPicture'    => 'TargetFaceContrastPicture',
+        'targetFaceContrastPictureUrl' => 'TargetFaceContrastPictureUrl',
+        'targetCertifyId'              => 'TargetCertifyId',
+        'targetOssBucketName'          => 'TargetOssBucketName',
+        'targetOssObjectName'          => 'TargetOssObjectName',
+    ];
+
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->sceneId) {
+            $res['SceneId'] = $this->sceneId;
+        }
+        if (null !== $this->outerOrderNo) {
+            $res['OuterOrderNo'] = $this->outerOrderNo;
+        }
+        if (null !== $this->productCode) {
+            $res['ProductCode'] = $this->productCode;
+        }
+        if (null !== $this->sourceFaceContrastPicture) {
+            $res['SourceFaceContrastPicture'] = $this->sourceFaceContrastPicture;
+        }
+        if (null !== $this->sourceFaceContrastPictureUrl) {
+            $res['SourceFaceContrastPictureUrl'] = $this->sourceFaceContrastPictureUrl;
+        }
+        if (null !== $this->sourceCertifyId) {
+            $res['SourceCertifyId'] = $this->sourceCertifyId;
+        }
+        if (null !== $this->sourceOssBucketName) {
+            $res['SourceOssBucketName'] = $this->sourceOssBucketName;
+        }
+        if (null !== $this->sourceOssObjectName) {
+            $res['SourceOssObjectName'] = $this->sourceOssObjectName;
+        }
+        if (null !== $this->targetFaceContrastPicture) {
+            $res['TargetFaceContrastPicture'] = $this->targetFaceContrastPicture;
+        }
+        if (null !== $this->targetFaceContrastPictureUrl) {
+            $res['TargetFaceContrastPictureUrl'] = $this->targetFaceContrastPictureUrl;
+        }
+        if (null !== $this->targetCertifyId) {
+            $res['TargetCertifyId'] = $this->targetCertifyId;
+        }
+        if (null !== $this->targetOssBucketName) {
+            $res['TargetOssBucketName'] = $this->targetOssBucketName;
+        }
+        if (null !== $this->targetOssObjectName) {
+            $res['TargetOssObjectName'] = $this->targetOssObjectName;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CompareFaceVerifyRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['SceneId'])) {
+            $model->sceneId = $map['SceneId'];
+        }
+        if (isset($map['OuterOrderNo'])) {
+            $model->outerOrderNo = $map['OuterOrderNo'];
+        }
+        if (isset($map['ProductCode'])) {
+            $model->productCode = $map['ProductCode'];
+        }
+        if (isset($map['SourceFaceContrastPicture'])) {
+            $model->sourceFaceContrastPicture = $map['SourceFaceContrastPicture'];
+        }
+        if (isset($map['SourceFaceContrastPictureUrl'])) {
+            $model->sourceFaceContrastPictureUrl = $map['SourceFaceContrastPictureUrl'];
+        }
+        if (isset($map['SourceCertifyId'])) {
+            $model->sourceCertifyId = $map['SourceCertifyId'];
+        }
+        if (isset($map['SourceOssBucketName'])) {
+            $model->sourceOssBucketName = $map['SourceOssBucketName'];
+        }
+        if (isset($map['SourceOssObjectName'])) {
+            $model->sourceOssObjectName = $map['SourceOssObjectName'];
+        }
+        if (isset($map['TargetFaceContrastPicture'])) {
+            $model->targetFaceContrastPicture = $map['TargetFaceContrastPicture'];
+        }
+        if (isset($map['TargetFaceContrastPictureUrl'])) {
+            $model->targetFaceContrastPictureUrl = $map['TargetFaceContrastPictureUrl'];
+        }
+        if (isset($map['TargetCertifyId'])) {
+            $model->targetCertifyId = $map['TargetCertifyId'];
+        }
+        if (isset($map['TargetOssBucketName'])) {
+            $model->targetOssBucketName = $map['TargetOssBucketName'];
+        }
+        if (isset($map['TargetOssObjectName'])) {
+            $model->targetOssObjectName = $map['TargetOssObjectName'];
+        }
+
+        return $model;
+    }
+}

+ 88 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFaceVerifyResponse.php

@@ -0,0 +1,88 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CompareFaceVerifyResponse\resultObject;
+use AlibabaCloud\Tea\Model;
+
+class CompareFaceVerifyResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $message;
+
+    /**
+     * @var string
+     */
+    public $code;
+
+    /**
+     * @var resultObject
+     */
+    public $resultObject;
+    protected $_name = [
+        'requestId'    => 'RequestId',
+        'message'      => 'Message',
+        'code'         => 'Code',
+        'resultObject' => 'ResultObject',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('message', $this->message, true);
+        Model::validateRequired('code', $this->code, true);
+        Model::validateRequired('resultObject', $this->resultObject, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->message) {
+            $res['Message'] = $this->message;
+        }
+        if (null !== $this->code) {
+            $res['Code'] = $this->code;
+        }
+        if (null !== $this->resultObject) {
+            $res['ResultObject'] = null !== $this->resultObject ? $this->resultObject->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CompareFaceVerifyResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['Message'])) {
+            $model->message = $map['Message'];
+        }
+        if (isset($map['Code'])) {
+            $model->code = $map['Code'];
+        }
+        if (isset($map['ResultObject'])) {
+            $model->resultObject = resultObject::fromMap($map['ResultObject']);
+        }
+
+        return $model;
+    }
+}

+ 74 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFaceVerifyResponse/resultObject.php

@@ -0,0 +1,74 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\CompareFaceVerifyResponse;
+
+use AlibabaCloud\Tea\Model;
+
+class resultObject extends Model
+{
+    /**
+     * @var string
+     */
+    public $passed;
+
+    /**
+     * @var float
+     */
+    public $verifyScore;
+
+    /**
+     * @var string
+     */
+    public $certifyId;
+    protected $_name = [
+        'passed'      => 'Passed',
+        'verifyScore' => 'VerifyScore',
+        'certifyId'   => 'CertifyId',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('passed', $this->passed, true);
+        Model::validateRequired('verifyScore', $this->verifyScore, true);
+        Model::validateRequired('certifyId', $this->certifyId, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->passed) {
+            $res['Passed'] = $this->passed;
+        }
+        if (null !== $this->verifyScore) {
+            $res['VerifyScore'] = $this->verifyScore;
+        }
+        if (null !== $this->certifyId) {
+            $res['CertifyId'] = $this->certifyId;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return resultObject
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Passed'])) {
+            $model->passed = $map['Passed'];
+        }
+        if (isset($map['VerifyScore'])) {
+            $model->verifyScore = $map['VerifyScore'];
+        }
+        if (isset($map['CertifyId'])) {
+            $model->certifyId = $map['CertifyId'];
+        }
+
+        return $model;
+    }
+}

+ 83 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFacesRequest.php

@@ -0,0 +1,83 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CompareFacesRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $targetImageType;
+
+    /**
+     * @var string
+     */
+    public $sourceImageType;
+
+    /**
+     * @var string
+     */
+    public $sourceImageValue;
+
+    /**
+     * @var string
+     */
+    public $targetImageValue;
+    protected $_name = [
+        'targetImageType'  => 'TargetImageType',
+        'sourceImageType'  => 'SourceImageType',
+        'sourceImageValue' => 'SourceImageValue',
+        'targetImageValue' => 'TargetImageValue',
+    ];
+
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->targetImageType) {
+            $res['TargetImageType'] = $this->targetImageType;
+        }
+        if (null !== $this->sourceImageType) {
+            $res['SourceImageType'] = $this->sourceImageType;
+        }
+        if (null !== $this->sourceImageValue) {
+            $res['SourceImageValue'] = $this->sourceImageValue;
+        }
+        if (null !== $this->targetImageValue) {
+            $res['TargetImageValue'] = $this->targetImageValue;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CompareFacesRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['TargetImageType'])) {
+            $model->targetImageType = $map['TargetImageType'];
+        }
+        if (isset($map['SourceImageType'])) {
+            $model->sourceImageType = $map['SourceImageType'];
+        }
+        if (isset($map['SourceImageValue'])) {
+            $model->sourceImageValue = $map['SourceImageValue'];
+        }
+        if (isset($map['TargetImageValue'])) {
+            $model->targetImageValue = $map['TargetImageValue'];
+        }
+
+        return $model;
+    }
+}

+ 101 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFacesResponse.php

@@ -0,0 +1,101 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\CompareFacesResponse\data;
+use AlibabaCloud\Tea\Model;
+
+class CompareFacesResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var bool
+     */
+    public $success;
+
+    /**
+     * @var string
+     */
+    public $code;
+
+    /**
+     * @var string
+     */
+    public $message;
+
+    /**
+     * @var data
+     */
+    public $data;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'success'   => 'Success',
+        'code'      => 'Code',
+        'message'   => 'Message',
+        'data'      => 'Data',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('success', $this->success, true);
+        Model::validateRequired('code', $this->code, true);
+        Model::validateRequired('message', $this->message, true);
+        Model::validateRequired('data', $this->data, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->success) {
+            $res['Success'] = $this->success;
+        }
+        if (null !== $this->code) {
+            $res['Code'] = $this->code;
+        }
+        if (null !== $this->message) {
+            $res['Message'] = $this->message;
+        }
+        if (null !== $this->data) {
+            $res['Data'] = null !== $this->data ? $this->data->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CompareFacesResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['Success'])) {
+            $model->success = $map['Success'];
+        }
+        if (isset($map['Code'])) {
+            $model->code = $map['Code'];
+        }
+        if (isset($map['Message'])) {
+            $model->message = $map['Message'];
+        }
+        if (isset($map['Data'])) {
+            $model->data = data::fromMap($map['Data']);
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CompareFacesResponse/data.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\CompareFacesResponse;
+
+use AlibabaCloud\Tea\Model;
+
+class data extends Model
+{
+    /**
+     * @var float
+     */
+    public $similarityScore;
+
+    /**
+     * @var string
+     */
+    public $confidenceThresholds;
+    protected $_name = [
+        'similarityScore'      => 'SimilarityScore',
+        'confidenceThresholds' => 'ConfidenceThresholds',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('similarityScore', $this->similarityScore, true);
+        Model::validateRequired('confidenceThresholds', $this->confidenceThresholds, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->similarityScore) {
+            $res['SimilarityScore'] = $this->similarityScore;
+        }
+        if (null !== $this->confidenceThresholds) {
+            $res['ConfidenceThresholds'] = $this->confidenceThresholds;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return data
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['SimilarityScore'])) {
+            $model->similarityScore = $map['SimilarityScore'];
+        }
+        if (isset($map['ConfidenceThresholds'])) {
+            $model->confidenceThresholds = $map['ConfidenceThresholds'];
+        }
+
+        return $model;
+    }
+}

+ 241 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/ContrastFaceVerifyAdvanceRequest.php

@@ -0,0 +1,241 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+use GuzzleHttp\Psr7\Stream;
+
+class ContrastFaceVerifyAdvanceRequest extends Model
+{
+    /**
+     * @var Stream
+     */
+    public $faceContrastFileObject;
+
+    /**
+     * @var int
+     */
+    public $sceneId;
+
+    /**
+     * @var string
+     */
+    public $outerOrderNo;
+
+    /**
+     * @var string
+     */
+    public $productCode;
+
+    /**
+     * @var string
+     */
+    public $certType;
+
+    /**
+     * @var string
+     */
+    public $certName;
+
+    /**
+     * @var string
+     */
+    public $certNo;
+
+    /**
+     * @var string
+     */
+    public $faceContrastPicture;
+
+    /**
+     * @var string
+     */
+    public $deviceToken;
+
+    /**
+     * @var string
+     */
+    public $mobile;
+
+    /**
+     * @var string
+     */
+    public $ip;
+
+    /**
+     * @var string
+     */
+    public $userId;
+
+    /**
+     * @var string
+     */
+    public $faceContrastPictureUrl;
+
+    /**
+     * @var string
+     */
+    public $certifyId;
+
+    /**
+     * @var string
+     */
+    public $ossBucketName;
+
+    /**
+     * @var string
+     */
+    public $ossObjectName;
+
+    /**
+     * @var string
+     */
+    public $model;
+    protected $_name = [
+        'faceContrastFileObject' => 'FaceContrastFileObject',
+        'sceneId'                => 'SceneId',
+        'outerOrderNo'           => 'OuterOrderNo',
+        'productCode'            => 'ProductCode',
+        'certType'               => 'CertType',
+        'certName'               => 'CertName',
+        'certNo'                 => 'CertNo',
+        'faceContrastPicture'    => 'FaceContrastPicture',
+        'deviceToken'            => 'DeviceToken',
+        'mobile'                 => 'Mobile',
+        'ip'                     => 'Ip',
+        'userId'                 => 'UserId',
+        'faceContrastPictureUrl' => 'FaceContrastPictureUrl',
+        'certifyId'              => 'CertifyId',
+        'ossBucketName'          => 'OssBucketName',
+        'ossObjectName'          => 'OssObjectName',
+        'model'                  => 'Model',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('faceContrastFileObject', $this->faceContrastFileObject, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->faceContrastFileObject) {
+            $res['FaceContrastFileObject'] = $this->faceContrastFileObject;
+        }
+        if (null !== $this->sceneId) {
+            $res['SceneId'] = $this->sceneId;
+        }
+        if (null !== $this->outerOrderNo) {
+            $res['OuterOrderNo'] = $this->outerOrderNo;
+        }
+        if (null !== $this->productCode) {
+            $res['ProductCode'] = $this->productCode;
+        }
+        if (null !== $this->certType) {
+            $res['CertType'] = $this->certType;
+        }
+        if (null !== $this->certName) {
+            $res['CertName'] = $this->certName;
+        }
+        if (null !== $this->certNo) {
+            $res['CertNo'] = $this->certNo;
+        }
+        if (null !== $this->faceContrastPicture) {
+            $res['FaceContrastPicture'] = $this->faceContrastPicture;
+        }
+        if (null !== $this->deviceToken) {
+            $res['DeviceToken'] = $this->deviceToken;
+        }
+        if (null !== $this->mobile) {
+            $res['Mobile'] = $this->mobile;
+        }
+        if (null !== $this->ip) {
+            $res['Ip'] = $this->ip;
+        }
+        if (null !== $this->userId) {
+            $res['UserId'] = $this->userId;
+        }
+        if (null !== $this->faceContrastPictureUrl) {
+            $res['FaceContrastPictureUrl'] = $this->faceContrastPictureUrl;
+        }
+        if (null !== $this->certifyId) {
+            $res['CertifyId'] = $this->certifyId;
+        }
+        if (null !== $this->ossBucketName) {
+            $res['OssBucketName'] = $this->ossBucketName;
+        }
+        if (null !== $this->ossObjectName) {
+            $res['OssObjectName'] = $this->ossObjectName;
+        }
+        if (null !== $this->model) {
+            $res['Model'] = $this->model;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return ContrastFaceVerifyAdvanceRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['FaceContrastFileObject'])) {
+            $model->faceContrastFileObject = $map['FaceContrastFileObject'];
+        }
+        if (isset($map['SceneId'])) {
+            $model->sceneId = $map['SceneId'];
+        }
+        if (isset($map['OuterOrderNo'])) {
+            $model->outerOrderNo = $map['OuterOrderNo'];
+        }
+        if (isset($map['ProductCode'])) {
+            $model->productCode = $map['ProductCode'];
+        }
+        if (isset($map['CertType'])) {
+            $model->certType = $map['CertType'];
+        }
+        if (isset($map['CertName'])) {
+            $model->certName = $map['CertName'];
+        }
+        if (isset($map['CertNo'])) {
+            $model->certNo = $map['CertNo'];
+        }
+        if (isset($map['FaceContrastPicture'])) {
+            $model->faceContrastPicture = $map['FaceContrastPicture'];
+        }
+        if (isset($map['DeviceToken'])) {
+            $model->deviceToken = $map['DeviceToken'];
+        }
+        if (isset($map['Mobile'])) {
+            $model->mobile = $map['Mobile'];
+        }
+        if (isset($map['Ip'])) {
+            $model->ip = $map['Ip'];
+        }
+        if (isset($map['UserId'])) {
+            $model->userId = $map['UserId'];
+        }
+        if (isset($map['FaceContrastPictureUrl'])) {
+            $model->faceContrastPictureUrl = $map['FaceContrastPictureUrl'];
+        }
+        if (isset($map['CertifyId'])) {
+            $model->certifyId = $map['CertifyId'];
+        }
+        if (isset($map['OssBucketName'])) {
+            $model->ossBucketName = $map['OssBucketName'];
+        }
+        if (isset($map['OssObjectName'])) {
+            $model->ossObjectName = $map['OssObjectName'];
+        }
+        if (isset($map['Model'])) {
+            $model->model = $map['Model'];
+        }
+
+        return $model;
+    }
+}

+ 239 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/ContrastFaceVerifyRequest.php

@@ -0,0 +1,239 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class ContrastFaceVerifyRequest extends Model
+{
+    /**
+     * @var int
+     */
+    public $sceneId;
+
+    /**
+     * @var string
+     */
+    public $outerOrderNo;
+
+    /**
+     * @var string
+     */
+    public $productCode;
+
+    /**
+     * @var string
+     */
+    public $certType;
+
+    /**
+     * @var string
+     */
+    public $certName;
+
+    /**
+     * @var string
+     */
+    public $certNo;
+
+    /**
+     * @var string
+     */
+    public $faceContrastPicture;
+
+    /**
+     * @var string
+     */
+    public $deviceToken;
+
+    /**
+     * @var string
+     */
+    public $mobile;
+
+    /**
+     * @var string
+     */
+    public $ip;
+
+    /**
+     * @var string
+     */
+    public $userId;
+
+    /**
+     * @var string
+     */
+    public $faceContrastPictureUrl;
+
+    /**
+     * @var string
+     */
+    public $certifyId;
+
+    /**
+     * @var string
+     */
+    public $ossBucketName;
+
+    /**
+     * @var string
+     */
+    public $ossObjectName;
+
+    /**
+     * @var string
+     */
+    public $model;
+
+    /**
+     * @var string
+     */
+    public $faceContrastFile;
+    protected $_name = [
+        'sceneId'                => 'SceneId',
+        'outerOrderNo'           => 'OuterOrderNo',
+        'productCode'            => 'ProductCode',
+        'certType'               => 'CertType',
+        'certName'               => 'CertName',
+        'certNo'                 => 'CertNo',
+        'faceContrastPicture'    => 'FaceContrastPicture',
+        'deviceToken'            => 'DeviceToken',
+        'mobile'                 => 'Mobile',
+        'ip'                     => 'Ip',
+        'userId'                 => 'UserId',
+        'faceContrastPictureUrl' => 'FaceContrastPictureUrl',
+        'certifyId'              => 'CertifyId',
+        'ossBucketName'          => 'OssBucketName',
+        'ossObjectName'          => 'OssObjectName',
+        'model'                  => 'Model',
+        'faceContrastFile'       => 'FaceContrastFile',
+    ];
+
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->sceneId) {
+            $res['SceneId'] = $this->sceneId;
+        }
+        if (null !== $this->outerOrderNo) {
+            $res['OuterOrderNo'] = $this->outerOrderNo;
+        }
+        if (null !== $this->productCode) {
+            $res['ProductCode'] = $this->productCode;
+        }
+        if (null !== $this->certType) {
+            $res['CertType'] = $this->certType;
+        }
+        if (null !== $this->certName) {
+            $res['CertName'] = $this->certName;
+        }
+        if (null !== $this->certNo) {
+            $res['CertNo'] = $this->certNo;
+        }
+        if (null !== $this->faceContrastPicture) {
+            $res['FaceContrastPicture'] = $this->faceContrastPicture;
+        }
+        if (null !== $this->deviceToken) {
+            $res['DeviceToken'] = $this->deviceToken;
+        }
+        if (null !== $this->mobile) {
+            $res['Mobile'] = $this->mobile;
+        }
+        if (null !== $this->ip) {
+            $res['Ip'] = $this->ip;
+        }
+        if (null !== $this->userId) {
+            $res['UserId'] = $this->userId;
+        }
+        if (null !== $this->faceContrastPictureUrl) {
+            $res['FaceContrastPictureUrl'] = $this->faceContrastPictureUrl;
+        }
+        if (null !== $this->certifyId) {
+            $res['CertifyId'] = $this->certifyId;
+        }
+        if (null !== $this->ossBucketName) {
+            $res['OssBucketName'] = $this->ossBucketName;
+        }
+        if (null !== $this->ossObjectName) {
+            $res['OssObjectName'] = $this->ossObjectName;
+        }
+        if (null !== $this->model) {
+            $res['Model'] = $this->model;
+        }
+        if (null !== $this->faceContrastFile) {
+            $res['FaceContrastFile'] = $this->faceContrastFile;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return ContrastFaceVerifyRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['SceneId'])) {
+            $model->sceneId = $map['SceneId'];
+        }
+        if (isset($map['OuterOrderNo'])) {
+            $model->outerOrderNo = $map['OuterOrderNo'];
+        }
+        if (isset($map['ProductCode'])) {
+            $model->productCode = $map['ProductCode'];
+        }
+        if (isset($map['CertType'])) {
+            $model->certType = $map['CertType'];
+        }
+        if (isset($map['CertName'])) {
+            $model->certName = $map['CertName'];
+        }
+        if (isset($map['CertNo'])) {
+            $model->certNo = $map['CertNo'];
+        }
+        if (isset($map['FaceContrastPicture'])) {
+            $model->faceContrastPicture = $map['FaceContrastPicture'];
+        }
+        if (isset($map['DeviceToken'])) {
+            $model->deviceToken = $map['DeviceToken'];
+        }
+        if (isset($map['Mobile'])) {
+            $model->mobile = $map['Mobile'];
+        }
+        if (isset($map['Ip'])) {
+            $model->ip = $map['Ip'];
+        }
+        if (isset($map['UserId'])) {
+            $model->userId = $map['UserId'];
+        }
+        if (isset($map['FaceContrastPictureUrl'])) {
+            $model->faceContrastPictureUrl = $map['FaceContrastPictureUrl'];
+        }
+        if (isset($map['CertifyId'])) {
+            $model->certifyId = $map['CertifyId'];
+        }
+        if (isset($map['OssBucketName'])) {
+            $model->ossBucketName = $map['OssBucketName'];
+        }
+        if (isset($map['OssObjectName'])) {
+            $model->ossObjectName = $map['OssObjectName'];
+        }
+        if (isset($map['Model'])) {
+            $model->model = $map['Model'];
+        }
+        if (isset($map['FaceContrastFile'])) {
+            $model->faceContrastFile = $map['FaceContrastFile'];
+        }
+
+        return $model;
+    }
+}

+ 88 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/ContrastFaceVerifyResponse.php

@@ -0,0 +1,88 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\ContrastFaceVerifyResponse\resultObject;
+use AlibabaCloud\Tea\Model;
+
+class ContrastFaceVerifyResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $message;
+
+    /**
+     * @var string
+     */
+    public $code;
+
+    /**
+     * @var resultObject
+     */
+    public $resultObject;
+    protected $_name = [
+        'requestId'    => 'RequestId',
+        'message'      => 'Message',
+        'code'         => 'Code',
+        'resultObject' => 'ResultObject',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('message', $this->message, true);
+        Model::validateRequired('code', $this->code, true);
+        Model::validateRequired('resultObject', $this->resultObject, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->message) {
+            $res['Message'] = $this->message;
+        }
+        if (null !== $this->code) {
+            $res['Code'] = $this->code;
+        }
+        if (null !== $this->resultObject) {
+            $res['ResultObject'] = null !== $this->resultObject ? $this->resultObject->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return ContrastFaceVerifyResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['Message'])) {
+            $model->message = $map['Message'];
+        }
+        if (isset($map['Code'])) {
+            $model->code = $map['Code'];
+        }
+        if (isset($map['ResultObject'])) {
+            $model->resultObject = resultObject::fromMap($map['ResultObject']);
+        }
+
+        return $model;
+    }
+}

+ 100 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/ContrastFaceVerifyResponse/resultObject.php

@@ -0,0 +1,100 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\ContrastFaceVerifyResponse;
+
+use AlibabaCloud\Tea\Model;
+
+class resultObject extends Model
+{
+    /**
+     * @var string
+     */
+    public $passed;
+
+    /**
+     * @var string
+     */
+    public $identityInfo;
+
+    /**
+     * @var string
+     */
+    public $materialInfo;
+
+    /**
+     * @var string
+     */
+    public $subCode;
+
+    /**
+     * @var string
+     */
+    public $certifyId;
+    protected $_name = [
+        'passed'       => 'Passed',
+        'identityInfo' => 'IdentityInfo',
+        'materialInfo' => 'MaterialInfo',
+        'subCode'      => 'SubCode',
+        'certifyId'    => 'CertifyId',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('passed', $this->passed, true);
+        Model::validateRequired('identityInfo', $this->identityInfo, true);
+        Model::validateRequired('materialInfo', $this->materialInfo, true);
+        Model::validateRequired('subCode', $this->subCode, true);
+        Model::validateRequired('certifyId', $this->certifyId, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->passed) {
+            $res['Passed'] = $this->passed;
+        }
+        if (null !== $this->identityInfo) {
+            $res['IdentityInfo'] = $this->identityInfo;
+        }
+        if (null !== $this->materialInfo) {
+            $res['MaterialInfo'] = $this->materialInfo;
+        }
+        if (null !== $this->subCode) {
+            $res['SubCode'] = $this->subCode;
+        }
+        if (null !== $this->certifyId) {
+            $res['CertifyId'] = $this->certifyId;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return resultObject
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Passed'])) {
+            $model->passed = $map['Passed'];
+        }
+        if (isset($map['IdentityInfo'])) {
+            $model->identityInfo = $map['IdentityInfo'];
+        }
+        if (isset($map['MaterialInfo'])) {
+            $model->materialInfo = $map['MaterialInfo'];
+        }
+        if (isset($map['SubCode'])) {
+            $model->subCode = $map['SubCode'];
+        }
+        if (isset($map['CertifyId'])) {
+            $model->certifyId = $map['CertifyId'];
+        }
+
+        return $model;
+    }
+}

+ 83 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateAuthKeyRequest.php

@@ -0,0 +1,83 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateAuthKeyRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $userDeviceId;
+
+    /**
+     * @var bool
+     */
+    public $test;
+
+    /**
+     * @var int
+     */
+    public $authYears;
+    protected $_name = [
+        'bizType'      => 'BizType',
+        'userDeviceId' => 'UserDeviceId',
+        'test'         => 'Test',
+        'authYears'    => 'AuthYears',
+    ];
+
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->userDeviceId) {
+            $res['UserDeviceId'] = $this->userDeviceId;
+        }
+        if (null !== $this->test) {
+            $res['Test'] = $this->test;
+        }
+        if (null !== $this->authYears) {
+            $res['AuthYears'] = $this->authYears;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateAuthKeyRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['UserDeviceId'])) {
+            $model->userDeviceId = $map['UserDeviceId'];
+        }
+        if (isset($map['Test'])) {
+            $model->test = $map['Test'];
+        }
+        if (isset($map['AuthYears'])) {
+            $model->authYears = $map['AuthYears'];
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateAuthKeyResponse.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateAuthKeyResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $authKey;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'authKey'   => 'AuthKey',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('authKey', $this->authKey, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->authKey) {
+            $res['AuthKey'] = $this->authKey;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateAuthKeyResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['AuthKey'])) {
+            $model->authKey = $map['AuthKey'];
+        }
+
+        return $model;
+    }
+}

+ 85 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateFaceConfigRequest.php

@@ -0,0 +1,85 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateFaceConfigRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $sourceIp;
+
+    /**
+     * @var string
+     */
+    public $lang;
+
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $bizName;
+    protected $_name = [
+        'sourceIp' => 'SourceIp',
+        'lang'     => 'Lang',
+        'bizType'  => 'BizType',
+        'bizName'  => 'BizName',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('bizType', $this->bizType, true);
+        Model::validateRequired('bizName', $this->bizName, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->sourceIp) {
+            $res['SourceIp'] = $this->sourceIp;
+        }
+        if (null !== $this->lang) {
+            $res['Lang'] = $this->lang;
+        }
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->bizName) {
+            $res['BizName'] = $this->bizName;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateFaceConfigRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['SourceIp'])) {
+            $model->sourceIp = $map['SourceIp'];
+        }
+        if (isset($map['Lang'])) {
+            $model->lang = $map['Lang'];
+        }
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['BizName'])) {
+            $model->bizName = $map['BizName'];
+        }
+
+        return $model;
+    }
+}

+ 48 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateFaceConfigResponse.php

@@ -0,0 +1,48 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateFaceConfigResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+    protected $_name = [
+        'requestId' => 'RequestId',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateFaceConfigResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+
+        return $model;
+    }
+}

+ 84 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateRPSDKRequest.php

@@ -0,0 +1,84 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateRPSDKRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $sourceIp;
+
+    /**
+     * @var string
+     */
+    public $lang;
+
+    /**
+     * @var string
+     */
+    public $appUrl;
+
+    /**
+     * @var string
+     */
+    public $platform;
+    protected $_name = [
+        'sourceIp' => 'SourceIp',
+        'lang'     => 'Lang',
+        'appUrl'   => 'AppUrl',
+        'platform' => 'Platform',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('appUrl', $this->appUrl, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->sourceIp) {
+            $res['SourceIp'] = $this->sourceIp;
+        }
+        if (null !== $this->lang) {
+            $res['Lang'] = $this->lang;
+        }
+        if (null !== $this->appUrl) {
+            $res['AppUrl'] = $this->appUrl;
+        }
+        if (null !== $this->platform) {
+            $res['Platform'] = $this->platform;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateRPSDKRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['SourceIp'])) {
+            $model->sourceIp = $map['SourceIp'];
+        }
+        if (isset($map['Lang'])) {
+            $model->lang = $map['Lang'];
+        }
+        if (isset($map['AppUrl'])) {
+            $model->appUrl = $map['AppUrl'];
+        }
+        if (isset($map['Platform'])) {
+            $model->platform = $map['Platform'];
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateRPSDKResponse.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateRPSDKResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $taskId;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'taskId'    => 'TaskId',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('taskId', $this->taskId, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->taskId) {
+            $res['TaskId'] = $this->taskId;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateRPSDKResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['TaskId'])) {
+            $model->taskId = $map['TaskId'];
+        }
+
+        return $model;
+    }
+}

+ 60 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateVerifySDKRequest.php

@@ -0,0 +1,60 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateVerifySDKRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $appUrl;
+
+    /**
+     * @var string
+     */
+    public $platform;
+    protected $_name = [
+        'appUrl'   => 'AppUrl',
+        'platform' => 'Platform',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('appUrl', $this->appUrl, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->appUrl) {
+            $res['AppUrl'] = $this->appUrl;
+        }
+        if (null !== $this->platform) {
+            $res['Platform'] = $this->platform;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateVerifySDKRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['AppUrl'])) {
+            $model->appUrl = $map['AppUrl'];
+        }
+        if (isset($map['Platform'])) {
+            $model->platform = $map['Platform'];
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateVerifySDKResponse.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateVerifySDKResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $taskId;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'taskId'    => 'TaskId',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('taskId', $this->taskId, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->taskId) {
+            $res['TaskId'] = $this->taskId;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateVerifySDKResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['TaskId'])) {
+            $model->taskId = $map['TaskId'];
+        }
+
+        return $model;
+    }
+}

+ 110 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateVerifySettingRequest.php

@@ -0,0 +1,110 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateVerifySettingRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $bizName;
+
+    /**
+     * @var string
+     */
+    public $solution;
+
+    /**
+     * @var bool
+     */
+    public $guideStep;
+
+    /**
+     * @var bool
+     */
+    public $privacyStep;
+
+    /**
+     * @var bool
+     */
+    public $resultStep;
+    protected $_name = [
+        'bizType'     => 'BizType',
+        'bizName'     => 'BizName',
+        'solution'    => 'Solution',
+        'guideStep'   => 'GuideStep',
+        'privacyStep' => 'PrivacyStep',
+        'resultStep'  => 'ResultStep',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('bizType', $this->bizType, true);
+        Model::validateRequired('bizName', $this->bizName, true);
+        Model::validateRequired('solution', $this->solution, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->bizName) {
+            $res['BizName'] = $this->bizName;
+        }
+        if (null !== $this->solution) {
+            $res['Solution'] = $this->solution;
+        }
+        if (null !== $this->guideStep) {
+            $res['GuideStep'] = $this->guideStep;
+        }
+        if (null !== $this->privacyStep) {
+            $res['PrivacyStep'] = $this->privacyStep;
+        }
+        if (null !== $this->resultStep) {
+            $res['ResultStep'] = $this->resultStep;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateVerifySettingRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['BizName'])) {
+            $model->bizName = $map['BizName'];
+        }
+        if (isset($map['Solution'])) {
+            $model->solution = $map['Solution'];
+        }
+        if (isset($map['GuideStep'])) {
+            $model->guideStep = $map['GuideStep'];
+        }
+        if (isset($map['PrivacyStep'])) {
+            $model->privacyStep = $map['PrivacyStep'];
+        }
+        if (isset($map['ResultStep'])) {
+            $model->resultStep = $map['ResultStep'];
+        }
+
+        return $model;
+    }
+}

+ 102 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateVerifySettingResponse.php

@@ -0,0 +1,102 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateVerifySettingResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $bizName;
+
+    /**
+     * @var string
+     */
+    public $solution;
+
+    /**
+     * @var string[]
+     */
+    public $stepList;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'bizType'   => 'BizType',
+        'bizName'   => 'BizName',
+        'solution'  => 'Solution',
+        'stepList'  => 'StepList',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('bizType', $this->bizType, true);
+        Model::validateRequired('bizName', $this->bizName, true);
+        Model::validateRequired('solution', $this->solution, true);
+        Model::validateRequired('stepList', $this->stepList, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->bizName) {
+            $res['BizName'] = $this->bizName;
+        }
+        if (null !== $this->solution) {
+            $res['Solution'] = $this->solution;
+        }
+        if (null !== $this->stepList) {
+            $res['StepList'] = $this->stepList;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateVerifySettingResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['BizName'])) {
+            $model->bizName = $map['BizName'];
+        }
+        if (isset($map['Solution'])) {
+            $model->solution = $map['Solution'];
+        }
+        if (isset($map['StepList'])) {
+            if (!empty($map['StepList'])) {
+                $model->stepList = $map['StepList'];
+            }
+        }
+
+        return $model;
+    }
+}

+ 110 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateWhitelistRequest.php

@@ -0,0 +1,110 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateWhitelistRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $sourceIp;
+
+    /**
+     * @var string
+     */
+    public $lang;
+
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $bizId;
+
+    /**
+     * @var string
+     */
+    public $idCardNum;
+
+    /**
+     * @var string
+     */
+    public $validDay;
+    protected $_name = [
+        'sourceIp'  => 'SourceIp',
+        'lang'      => 'Lang',
+        'bizType'   => 'BizType',
+        'bizId'     => 'BizId',
+        'idCardNum' => 'IdCardNum',
+        'validDay'  => 'ValidDay',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('bizId', $this->bizId, true);
+        Model::validateRequired('idCardNum', $this->idCardNum, true);
+        Model::validateRequired('validDay', $this->validDay, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->sourceIp) {
+            $res['SourceIp'] = $this->sourceIp;
+        }
+        if (null !== $this->lang) {
+            $res['Lang'] = $this->lang;
+        }
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->bizId) {
+            $res['BizId'] = $this->bizId;
+        }
+        if (null !== $this->idCardNum) {
+            $res['IdCardNum'] = $this->idCardNum;
+        }
+        if (null !== $this->validDay) {
+            $res['ValidDay'] = $this->validDay;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateWhitelistRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['SourceIp'])) {
+            $model->sourceIp = $map['SourceIp'];
+        }
+        if (isset($map['Lang'])) {
+            $model->lang = $map['Lang'];
+        }
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['BizId'])) {
+            $model->bizId = $map['BizId'];
+        }
+        if (isset($map['IdCardNum'])) {
+            $model->idCardNum = $map['IdCardNum'];
+        }
+        if (isset($map['ValidDay'])) {
+            $model->validDay = $map['ValidDay'];
+        }
+
+        return $model;
+    }
+}

+ 48 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/CreateWhitelistResponse.php

@@ -0,0 +1,48 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class CreateWhitelistResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+    protected $_name = [
+        'requestId' => 'RequestId',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return CreateWhitelistResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+
+        return $model;
+    }
+}

+ 72 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DeleteWhitelistRequest.php

@@ -0,0 +1,72 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DeleteWhitelistRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $sourceIp;
+
+    /**
+     * @var string
+     */
+    public $lang;
+
+    /**
+     * @var string
+     */
+    public $ids;
+    protected $_name = [
+        'sourceIp' => 'SourceIp',
+        'lang'     => 'Lang',
+        'ids'      => 'Ids',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('ids', $this->ids, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->sourceIp) {
+            $res['SourceIp'] = $this->sourceIp;
+        }
+        if (null !== $this->lang) {
+            $res['Lang'] = $this->lang;
+        }
+        if (null !== $this->ids) {
+            $res['Ids'] = $this->ids;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DeleteWhitelistRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['SourceIp'])) {
+            $model->sourceIp = $map['SourceIp'];
+        }
+        if (isset($map['Lang'])) {
+            $model->lang = $map['Lang'];
+        }
+        if (isset($map['Ids'])) {
+            $model->ids = $map['Ids'];
+        }
+
+        return $model;
+    }
+}

+ 48 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DeleteWhitelistResponse.php

@@ -0,0 +1,48 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DeleteWhitelistResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+    protected $_name = [
+        'requestId' => 'RequestId',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DeleteWhitelistResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+
+        return $model;
+    }
+}

+ 71 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeAppInfoRequest.php

@@ -0,0 +1,71 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeAppInfoRequest extends Model
+{
+    /**
+     * @var int
+     */
+    public $pageSize;
+
+    /**
+     * @var int
+     */
+    public $currentPage;
+
+    /**
+     * @var string
+     */
+    public $platform;
+    protected $_name = [
+        'pageSize'    => 'PageSize',
+        'currentPage' => 'CurrentPage',
+        'platform'    => 'Platform',
+    ];
+
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->pageSize) {
+            $res['PageSize'] = $this->pageSize;
+        }
+        if (null !== $this->currentPage) {
+            $res['CurrentPage'] = $this->currentPage;
+        }
+        if (null !== $this->platform) {
+            $res['Platform'] = $this->platform;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeAppInfoRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['PageSize'])) {
+            $model->pageSize = $map['PageSize'];
+        }
+        if (isset($map['CurrentPage'])) {
+            $model->currentPage = $map['CurrentPage'];
+        }
+        if (isset($map['Platform'])) {
+            $model->platform = $map['Platform'];
+        }
+
+        return $model;
+    }
+}

+ 113 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeAppInfoResponse.php

@@ -0,0 +1,113 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeAppInfoResponse\appInfoList;
+use AlibabaCloud\Tea\Model;
+
+class DescribeAppInfoResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var int
+     */
+    public $pageSize;
+
+    /**
+     * @var int
+     */
+    public $currentPage;
+
+    /**
+     * @var int
+     */
+    public $totalCount;
+
+    /**
+     * @var appInfoList[]
+     */
+    public $appInfoList;
+    protected $_name = [
+        'requestId'   => 'RequestId',
+        'pageSize'    => 'PageSize',
+        'currentPage' => 'CurrentPage',
+        'totalCount'  => 'TotalCount',
+        'appInfoList' => 'AppInfoList',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('pageSize', $this->pageSize, true);
+        Model::validateRequired('currentPage', $this->currentPage, true);
+        Model::validateRequired('totalCount', $this->totalCount, true);
+        Model::validateRequired('appInfoList', $this->appInfoList, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->pageSize) {
+            $res['PageSize'] = $this->pageSize;
+        }
+        if (null !== $this->currentPage) {
+            $res['CurrentPage'] = $this->currentPage;
+        }
+        if (null !== $this->totalCount) {
+            $res['TotalCount'] = $this->totalCount;
+        }
+        if (null !== $this->appInfoList) {
+            $res['AppInfoList'] = [];
+            if (null !== $this->appInfoList && \is_array($this->appInfoList)) {
+                $n = 0;
+                foreach ($this->appInfoList as $item) {
+                    $res['AppInfoList'][$n++] = null !== $item ? $item->toMap() : $item;
+                }
+            }
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeAppInfoResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['PageSize'])) {
+            $model->pageSize = $map['PageSize'];
+        }
+        if (isset($map['CurrentPage'])) {
+            $model->currentPage = $map['CurrentPage'];
+        }
+        if (isset($map['TotalCount'])) {
+            $model->totalCount = $map['TotalCount'];
+        }
+        if (isset($map['AppInfoList'])) {
+            if (!empty($map['AppInfoList'])) {
+                $model->appInfoList = [];
+                $n                  = 0;
+                foreach ($map['AppInfoList'] as $item) {
+                    $model->appInfoList[$n++] = null !== $item ? appInfoList::fromMap($item) : $item;
+                }
+            }
+        }
+
+        return $model;
+    }
+}

+ 154 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeAppInfoResponse/appInfoList.php

@@ -0,0 +1,154 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeAppInfoResponse;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeAppInfoResponse\appInfoList\debugPackageInfo;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeAppInfoResponse\appInfoList\packageInfo;
+use AlibabaCloud\Tea\Model;
+
+class appInfoList extends Model
+{
+    /**
+     * @var int
+     */
+    public $id;
+
+    /**
+     * @var string
+     */
+    public $name;
+
+    /**
+     * @var string
+     */
+    public $packageName;
+
+    /**
+     * @var string
+     */
+    public $icon;
+
+    /**
+     * @var string
+     */
+    public $startDate;
+
+    /**
+     * @var string
+     */
+    public $endDate;
+
+    /**
+     * @var int
+     */
+    public $type;
+
+    /**
+     * @var packageInfo
+     */
+    public $packageInfo;
+
+    /**
+     * @var debugPackageInfo
+     */
+    public $debugPackageInfo;
+    protected $_name = [
+        'id'               => 'Id',
+        'name'             => 'Name',
+        'packageName'      => 'PackageName',
+        'icon'             => 'Icon',
+        'startDate'        => 'StartDate',
+        'endDate'          => 'EndDate',
+        'type'             => 'Type',
+        'packageInfo'      => 'PackageInfo',
+        'debugPackageInfo' => 'DebugPackageInfo',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('id', $this->id, true);
+        Model::validateRequired('name', $this->name, true);
+        Model::validateRequired('packageName', $this->packageName, true);
+        Model::validateRequired('icon', $this->icon, true);
+        Model::validateRequired('startDate', $this->startDate, true);
+        Model::validateRequired('endDate', $this->endDate, true);
+        Model::validateRequired('type', $this->type, true);
+        Model::validateRequired('packageInfo', $this->packageInfo, true);
+        Model::validateRequired('debugPackageInfo', $this->debugPackageInfo, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->id) {
+            $res['Id'] = $this->id;
+        }
+        if (null !== $this->name) {
+            $res['Name'] = $this->name;
+        }
+        if (null !== $this->packageName) {
+            $res['PackageName'] = $this->packageName;
+        }
+        if (null !== $this->icon) {
+            $res['Icon'] = $this->icon;
+        }
+        if (null !== $this->startDate) {
+            $res['StartDate'] = $this->startDate;
+        }
+        if (null !== $this->endDate) {
+            $res['EndDate'] = $this->endDate;
+        }
+        if (null !== $this->type) {
+            $res['Type'] = $this->type;
+        }
+        if (null !== $this->packageInfo) {
+            $res['PackageInfo'] = null !== $this->packageInfo ? $this->packageInfo->toMap() : null;
+        }
+        if (null !== $this->debugPackageInfo) {
+            $res['DebugPackageInfo'] = null !== $this->debugPackageInfo ? $this->debugPackageInfo->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return appInfoList
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Id'])) {
+            $model->id = $map['Id'];
+        }
+        if (isset($map['Name'])) {
+            $model->name = $map['Name'];
+        }
+        if (isset($map['PackageName'])) {
+            $model->packageName = $map['PackageName'];
+        }
+        if (isset($map['Icon'])) {
+            $model->icon = $map['Icon'];
+        }
+        if (isset($map['StartDate'])) {
+            $model->startDate = $map['StartDate'];
+        }
+        if (isset($map['EndDate'])) {
+            $model->endDate = $map['EndDate'];
+        }
+        if (isset($map['Type'])) {
+            $model->type = $map['Type'];
+        }
+        if (isset($map['PackageInfo'])) {
+            $model->packageInfo = packageInfo::fromMap($map['PackageInfo']);
+        }
+        if (isset($map['DebugPackageInfo'])) {
+            $model->debugPackageInfo = debugPackageInfo::fromMap($map['DebugPackageInfo']);
+        }
+
+        return $model;
+    }
+}

+ 48 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeAppInfoResponse/appInfoList/debugPackageInfo.php

@@ -0,0 +1,48 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeAppInfoResponse\appInfoList;
+
+use AlibabaCloud\Tea\Model;
+
+class debugPackageInfo extends Model
+{
+    /**
+     * @var string
+     */
+    public $version;
+    protected $_name = [
+        'version' => 'Version',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('version', $this->version, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->version) {
+            $res['Version'] = $this->version;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return debugPackageInfo
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Version'])) {
+            $model->version = $map['Version'];
+        }
+
+        return $model;
+    }
+}

+ 48 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeAppInfoResponse/appInfoList/packageInfo.php

@@ -0,0 +1,48 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeAppInfoResponse\appInfoList;
+
+use AlibabaCloud\Tea\Model;
+
+class packageInfo extends Model
+{
+    /**
+     * @var string
+     */
+    public $version;
+    protected $_name = [
+        'version' => 'Version',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('version', $this->version, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->version) {
+            $res['Version'] = $this->version;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return packageInfo
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Version'])) {
+            $model->version = $map['Version'];
+        }
+
+        return $model;
+    }
+}

+ 119 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeDeviceInfoRequest.php

@@ -0,0 +1,119 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeDeviceInfoRequest extends Model
+{
+    /**
+     * @var int
+     */
+    public $pageSize;
+
+    /**
+     * @var int
+     */
+    public $currentPage;
+
+    /**
+     * @var string
+     */
+    public $deviceId;
+
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $userDeviceId;
+
+    /**
+     * @var string
+     */
+    public $expiredStartDay;
+
+    /**
+     * @var string
+     */
+    public $expiredEndDay;
+    protected $_name = [
+        'pageSize'        => 'PageSize',
+        'currentPage'     => 'CurrentPage',
+        'deviceId'        => 'DeviceId',
+        'bizType'         => 'BizType',
+        'userDeviceId'    => 'UserDeviceId',
+        'expiredStartDay' => 'ExpiredStartDay',
+        'expiredEndDay'   => 'ExpiredEndDay',
+    ];
+
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->pageSize) {
+            $res['PageSize'] = $this->pageSize;
+        }
+        if (null !== $this->currentPage) {
+            $res['CurrentPage'] = $this->currentPage;
+        }
+        if (null !== $this->deviceId) {
+            $res['DeviceId'] = $this->deviceId;
+        }
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->userDeviceId) {
+            $res['UserDeviceId'] = $this->userDeviceId;
+        }
+        if (null !== $this->expiredStartDay) {
+            $res['ExpiredStartDay'] = $this->expiredStartDay;
+        }
+        if (null !== $this->expiredEndDay) {
+            $res['ExpiredEndDay'] = $this->expiredEndDay;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeDeviceInfoRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['PageSize'])) {
+            $model->pageSize = $map['PageSize'];
+        }
+        if (isset($map['CurrentPage'])) {
+            $model->currentPage = $map['CurrentPage'];
+        }
+        if (isset($map['DeviceId'])) {
+            $model->deviceId = $map['DeviceId'];
+        }
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['UserDeviceId'])) {
+            $model->userDeviceId = $map['UserDeviceId'];
+        }
+        if (isset($map['ExpiredStartDay'])) {
+            $model->expiredStartDay = $map['ExpiredStartDay'];
+        }
+        if (isset($map['ExpiredEndDay'])) {
+            $model->expiredEndDay = $map['ExpiredEndDay'];
+        }
+
+        return $model;
+    }
+}

+ 101 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeDeviceInfoResponse.php

@@ -0,0 +1,101 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeDeviceInfoResponse\deviceInfoList;
+use AlibabaCloud\Tea\Model;
+
+class DescribeDeviceInfoResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var int
+     */
+    public $pageSize;
+
+    /**
+     * @var int
+     */
+    public $currentPage;
+
+    /**
+     * @var int
+     */
+    public $totalCount;
+
+    /**
+     * @var deviceInfoList
+     */
+    public $deviceInfoList;
+    protected $_name = [
+        'requestId'      => 'RequestId',
+        'pageSize'       => 'PageSize',
+        'currentPage'    => 'CurrentPage',
+        'totalCount'     => 'TotalCount',
+        'deviceInfoList' => 'DeviceInfoList',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('pageSize', $this->pageSize, true);
+        Model::validateRequired('currentPage', $this->currentPage, true);
+        Model::validateRequired('totalCount', $this->totalCount, true);
+        Model::validateRequired('deviceInfoList', $this->deviceInfoList, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->pageSize) {
+            $res['PageSize'] = $this->pageSize;
+        }
+        if (null !== $this->currentPage) {
+            $res['CurrentPage'] = $this->currentPage;
+        }
+        if (null !== $this->totalCount) {
+            $res['TotalCount'] = $this->totalCount;
+        }
+        if (null !== $this->deviceInfoList) {
+            $res['DeviceInfoList'] = null !== $this->deviceInfoList ? $this->deviceInfoList->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeDeviceInfoResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['PageSize'])) {
+            $model->pageSize = $map['PageSize'];
+        }
+        if (isset($map['CurrentPage'])) {
+            $model->currentPage = $map['CurrentPage'];
+        }
+        if (isset($map['TotalCount'])) {
+            $model->totalCount = $map['TotalCount'];
+        }
+        if (isset($map['DeviceInfoList'])) {
+            $model->deviceInfoList = deviceInfoList::fromMap($map['DeviceInfoList']);
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeDeviceInfoResponse/deviceInfoList.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeDeviceInfoResponse;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeDeviceInfoResponse\deviceInfoList\deviceInfo;
+use AlibabaCloud\Tea\Model;
+
+class deviceInfoList extends Model
+{
+    /**
+     * @var deviceInfo[]
+     */
+    public $deviceInfo;
+    protected $_name = [
+        'deviceInfo' => 'DeviceInfo',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('deviceInfo', $this->deviceInfo, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->deviceInfo) {
+            $res['DeviceInfo'] = [];
+            if (null !== $this->deviceInfo && \is_array($this->deviceInfo)) {
+                $n = 0;
+                foreach ($this->deviceInfo as $item) {
+                    $res['DeviceInfo'][$n++] = null !== $item ? $item->toMap() : $item;
+                }
+            }
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return deviceInfoList
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['DeviceInfo'])) {
+            if (!empty($map['DeviceInfo'])) {
+                $model->deviceInfo = [];
+                $n                 = 0;
+                foreach ($map['DeviceInfo'] as $item) {
+                    $model->deviceInfo[$n++] = null !== $item ? deviceInfo::fromMap($item) : $item;
+                }
+            }
+        }
+
+        return $model;
+    }
+}

+ 100 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeDeviceInfoResponse/deviceInfoList/deviceInfo.php

@@ -0,0 +1,100 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeDeviceInfoResponse\deviceInfoList;
+
+use AlibabaCloud\Tea\Model;
+
+class deviceInfo extends Model
+{
+    /**
+     * @var string
+     */
+    public $deviceId;
+
+    /**
+     * @var string
+     */
+    public $userDeviceId;
+
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $beginDay;
+
+    /**
+     * @var string
+     */
+    public $expiredDay;
+    protected $_name = [
+        'deviceId'     => 'DeviceId',
+        'userDeviceId' => 'UserDeviceId',
+        'bizType'      => 'BizType',
+        'beginDay'     => 'BeginDay',
+        'expiredDay'   => 'ExpiredDay',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('deviceId', $this->deviceId, true);
+        Model::validateRequired('userDeviceId', $this->userDeviceId, true);
+        Model::validateRequired('bizType', $this->bizType, true);
+        Model::validateRequired('beginDay', $this->beginDay, true);
+        Model::validateRequired('expiredDay', $this->expiredDay, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->deviceId) {
+            $res['DeviceId'] = $this->deviceId;
+        }
+        if (null !== $this->userDeviceId) {
+            $res['UserDeviceId'] = $this->userDeviceId;
+        }
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->beginDay) {
+            $res['BeginDay'] = $this->beginDay;
+        }
+        if (null !== $this->expiredDay) {
+            $res['ExpiredDay'] = $this->expiredDay;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return deviceInfo
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['DeviceId'])) {
+            $model->deviceId = $map['DeviceId'];
+        }
+        if (isset($map['UserDeviceId'])) {
+            $model->userDeviceId = $map['UserDeviceId'];
+        }
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['BeginDay'])) {
+            $model->beginDay = $map['BeginDay'];
+        }
+        if (isset($map['ExpiredDay'])) {
+            $model->expiredDay = $map['ExpiredDay'];
+        }
+
+        return $model;
+    }
+}

+ 59 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceConfigRequest.php

@@ -0,0 +1,59 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeFaceConfigRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $sourceIp;
+
+    /**
+     * @var string
+     */
+    public $lang;
+    protected $_name = [
+        'sourceIp' => 'SourceIp',
+        'lang'     => 'Lang',
+    ];
+
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->sourceIp) {
+            $res['SourceIp'] = $this->sourceIp;
+        }
+        if (null !== $this->lang) {
+            $res['Lang'] = $this->lang;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeFaceConfigRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['SourceIp'])) {
+            $model->sourceIp = $map['SourceIp'];
+        }
+        if (isset($map['Lang'])) {
+            $model->lang = $map['Lang'];
+        }
+
+        return $model;
+    }
+}

+ 74 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceConfigResponse.php

@@ -0,0 +1,74 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceConfigResponse\items;
+use AlibabaCloud\Tea\Model;
+
+class DescribeFaceConfigResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var items[]
+     */
+    public $items;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'items'     => 'Items',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('items', $this->items, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->items) {
+            $res['Items'] = [];
+            if (null !== $this->items && \is_array($this->items)) {
+                $n = 0;
+                foreach ($this->items as $item) {
+                    $res['Items'][$n++] = null !== $item ? $item->toMap() : $item;
+                }
+            }
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeFaceConfigResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['Items'])) {
+            if (!empty($map['Items'])) {
+                $model->items = [];
+                $n            = 0;
+                foreach ($map['Items'] as $item) {
+                    $model->items[$n++] = null !== $item ? items::fromMap($item) : $item;
+                }
+            }
+        }
+
+        return $model;
+    }
+}

+ 74 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceConfigResponse/items.php

@@ -0,0 +1,74 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceConfigResponse;
+
+use AlibabaCloud\Tea\Model;
+
+class items extends Model
+{
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $bizName;
+
+    /**
+     * @var int
+     */
+    public $gmtUpdated;
+    protected $_name = [
+        'bizType'    => 'BizType',
+        'bizName'    => 'BizName',
+        'gmtUpdated' => 'GmtUpdated',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('bizType', $this->bizType, true);
+        Model::validateRequired('bizName', $this->bizName, true);
+        Model::validateRequired('gmtUpdated', $this->gmtUpdated, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->bizName) {
+            $res['BizName'] = $this->bizName;
+        }
+        if (null !== $this->gmtUpdated) {
+            $res['GmtUpdated'] = $this->gmtUpdated;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return items
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['BizName'])) {
+            $model->bizName = $map['BizName'];
+        }
+        if (isset($map['GmtUpdated'])) {
+            $model->gmtUpdated = $map['GmtUpdated'];
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceUsageRequest.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeFaceUsageRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $startDate;
+
+    /**
+     * @var string
+     */
+    public $endDate;
+    protected $_name = [
+        'startDate' => 'StartDate',
+        'endDate'   => 'EndDate',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('startDate', $this->startDate, true);
+        Model::validateRequired('endDate', $this->endDate, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->startDate) {
+            $res['StartDate'] = $this->startDate;
+        }
+        if (null !== $this->endDate) {
+            $res['EndDate'] = $this->endDate;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeFaceUsageRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['StartDate'])) {
+            $model->startDate = $map['StartDate'];
+        }
+        if (isset($map['EndDate'])) {
+            $model->endDate = $map['EndDate'];
+        }
+
+        return $model;
+    }
+}

+ 87 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceUsageResponse.php

@@ -0,0 +1,87 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceUsageResponse\faceUsageList;
+use AlibabaCloud\Tea\Model;
+
+class DescribeFaceUsageResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var int
+     */
+    public $totalCount;
+
+    /**
+     * @var faceUsageList[]
+     */
+    public $faceUsageList;
+    protected $_name = [
+        'requestId'     => 'RequestId',
+        'totalCount'    => 'TotalCount',
+        'faceUsageList' => 'FaceUsageList',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('totalCount', $this->totalCount, true);
+        Model::validateRequired('faceUsageList', $this->faceUsageList, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->totalCount) {
+            $res['TotalCount'] = $this->totalCount;
+        }
+        if (null !== $this->faceUsageList) {
+            $res['FaceUsageList'] = [];
+            if (null !== $this->faceUsageList && \is_array($this->faceUsageList)) {
+                $n = 0;
+                foreach ($this->faceUsageList as $item) {
+                    $res['FaceUsageList'][$n++] = null !== $item ? $item->toMap() : $item;
+                }
+            }
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeFaceUsageResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['TotalCount'])) {
+            $model->totalCount = $map['TotalCount'];
+        }
+        if (isset($map['FaceUsageList'])) {
+            if (!empty($map['FaceUsageList'])) {
+                $model->faceUsageList = [];
+                $n                    = 0;
+                foreach ($map['FaceUsageList'] as $item) {
+                    $model->faceUsageList[$n++] = null !== $item ? faceUsageList::fromMap($item) : $item;
+                }
+            }
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceUsageResponse/faceUsageList.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceUsageResponse;
+
+use AlibabaCloud\Tea\Model;
+
+class faceUsageList extends Model
+{
+    /**
+     * @var string
+     */
+    public $date;
+
+    /**
+     * @var int
+     */
+    public $totalCount;
+    protected $_name = [
+        'date'       => 'Date',
+        'totalCount' => 'TotalCount',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('date', $this->date, true);
+        Model::validateRequired('totalCount', $this->totalCount, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->date) {
+            $res['Date'] = $this->date;
+        }
+        if (null !== $this->totalCount) {
+            $res['TotalCount'] = $this->totalCount;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return faceUsageList
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Date'])) {
+            $model->date = $map['Date'];
+        }
+        if (isset($map['TotalCount'])) {
+            $model->totalCount = $map['TotalCount'];
+        }
+
+        return $model;
+    }
+}

+ 71 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceVerifyRequest.php

@@ -0,0 +1,71 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeFaceVerifyRequest extends Model
+{
+    /**
+     * @var int
+     */
+    public $sceneId;
+
+    /**
+     * @var string
+     */
+    public $certifyId;
+
+    /**
+     * @var string
+     */
+    public $pictureReturnType;
+    protected $_name = [
+        'sceneId'           => 'SceneId',
+        'certifyId'         => 'CertifyId',
+        'pictureReturnType' => 'PictureReturnType',
+    ];
+
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->sceneId) {
+            $res['SceneId'] = $this->sceneId;
+        }
+        if (null !== $this->certifyId) {
+            $res['CertifyId'] = $this->certifyId;
+        }
+        if (null !== $this->pictureReturnType) {
+            $res['PictureReturnType'] = $this->pictureReturnType;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeFaceVerifyRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['SceneId'])) {
+            $model->sceneId = $map['SceneId'];
+        }
+        if (isset($map['CertifyId'])) {
+            $model->certifyId = $map['CertifyId'];
+        }
+        if (isset($map['PictureReturnType'])) {
+            $model->pictureReturnType = $map['PictureReturnType'];
+        }
+
+        return $model;
+    }
+}

+ 88 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceVerifyResponse.php

@@ -0,0 +1,88 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceVerifyResponse\resultObject;
+use AlibabaCloud\Tea\Model;
+
+class DescribeFaceVerifyResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $message;
+
+    /**
+     * @var string
+     */
+    public $code;
+
+    /**
+     * @var resultObject
+     */
+    public $resultObject;
+    protected $_name = [
+        'requestId'    => 'RequestId',
+        'message'      => 'Message',
+        'code'         => 'Code',
+        'resultObject' => 'ResultObject',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('message', $this->message, true);
+        Model::validateRequired('code', $this->code, true);
+        Model::validateRequired('resultObject', $this->resultObject, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->message) {
+            $res['Message'] = $this->message;
+        }
+        if (null !== $this->code) {
+            $res['Code'] = $this->code;
+        }
+        if (null !== $this->resultObject) {
+            $res['ResultObject'] = null !== $this->resultObject ? $this->resultObject->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeFaceVerifyResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['Message'])) {
+            $model->message = $map['Message'];
+        }
+        if (isset($map['Code'])) {
+            $model->code = $map['Code'];
+        }
+        if (isset($map['ResultObject'])) {
+            $model->resultObject = resultObject::fromMap($map['ResultObject']);
+        }
+
+        return $model;
+    }
+}

+ 100 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeFaceVerifyResponse/resultObject.php

@@ -0,0 +1,100 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeFaceVerifyResponse;
+
+use AlibabaCloud\Tea\Model;
+
+class resultObject extends Model
+{
+    /**
+     * @var string
+     */
+    public $passed;
+
+    /**
+     * @var string
+     */
+    public $identityInfo;
+
+    /**
+     * @var string
+     */
+    public $materialInfo;
+
+    /**
+     * @var string
+     */
+    public $deviceToken;
+
+    /**
+     * @var string
+     */
+    public $subCode;
+    protected $_name = [
+        'passed'       => 'Passed',
+        'identityInfo' => 'IdentityInfo',
+        'materialInfo' => 'MaterialInfo',
+        'deviceToken'  => 'DeviceToken',
+        'subCode'      => 'SubCode',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('passed', $this->passed, true);
+        Model::validateRequired('identityInfo', $this->identityInfo, true);
+        Model::validateRequired('materialInfo', $this->materialInfo, true);
+        Model::validateRequired('deviceToken', $this->deviceToken, true);
+        Model::validateRequired('subCode', $this->subCode, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->passed) {
+            $res['Passed'] = $this->passed;
+        }
+        if (null !== $this->identityInfo) {
+            $res['IdentityInfo'] = $this->identityInfo;
+        }
+        if (null !== $this->materialInfo) {
+            $res['MaterialInfo'] = $this->materialInfo;
+        }
+        if (null !== $this->deviceToken) {
+            $res['DeviceToken'] = $this->deviceToken;
+        }
+        if (null !== $this->subCode) {
+            $res['SubCode'] = $this->subCode;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return resultObject
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Passed'])) {
+            $model->passed = $map['Passed'];
+        }
+        if (isset($map['IdentityInfo'])) {
+            $model->identityInfo = $map['IdentityInfo'];
+        }
+        if (isset($map['MaterialInfo'])) {
+            $model->materialInfo = $map['MaterialInfo'];
+        }
+        if (isset($map['DeviceToken'])) {
+            $model->deviceToken = $map['DeviceToken'];
+        }
+        if (isset($map['SubCode'])) {
+            $model->subCode = $map['SubCode'];
+        }
+
+        return $model;
+    }
+}

+ 29 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeOssUploadTokenRequest.php

@@ -0,0 +1,29 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeOssUploadTokenRequest extends Model
+{
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        return [];
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeOssUploadTokenRequest
+     */
+    public static function fromMap($map = [])
+    {
+        return new self();
+    }
+}

+ 62 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeOssUploadTokenResponse.php

@@ -0,0 +1,62 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeOssUploadTokenResponse\ossUploadToken;
+use AlibabaCloud\Tea\Model;
+
+class DescribeOssUploadTokenResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var ossUploadToken
+     */
+    public $ossUploadToken;
+    protected $_name = [
+        'requestId'      => 'RequestId',
+        'ossUploadToken' => 'OssUploadToken',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('ossUploadToken', $this->ossUploadToken, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->ossUploadToken) {
+            $res['OssUploadToken'] = null !== $this->ossUploadToken ? $this->ossUploadToken->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeOssUploadTokenResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['OssUploadToken'])) {
+            $model->ossUploadToken = ossUploadToken::fromMap($map['OssUploadToken']);
+        }
+
+        return $model;
+    }
+}

+ 126 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeOssUploadTokenResponse/ossUploadToken.php

@@ -0,0 +1,126 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeOssUploadTokenResponse;
+
+use AlibabaCloud\Tea\Model;
+
+class ossUploadToken extends Model
+{
+    /**
+     * @var string
+     */
+    public $bucket;
+
+    /**
+     * @var string
+     */
+    public $endPoint;
+
+    /**
+     * @var string
+     */
+    public $path;
+
+    /**
+     * @var int
+     */
+    public $expired;
+
+    /**
+     * @var string
+     */
+    public $secret;
+
+    /**
+     * @var string
+     */
+    public $key;
+
+    /**
+     * @var string
+     */
+    public $token;
+    protected $_name = [
+        'bucket'   => 'Bucket',
+        'endPoint' => 'EndPoint',
+        'path'     => 'Path',
+        'expired'  => 'Expired',
+        'secret'   => 'Secret',
+        'key'      => 'Key',
+        'token'    => 'Token',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('bucket', $this->bucket, true);
+        Model::validateRequired('endPoint', $this->endPoint, true);
+        Model::validateRequired('path', $this->path, true);
+        Model::validateRequired('expired', $this->expired, true);
+        Model::validateRequired('secret', $this->secret, true);
+        Model::validateRequired('key', $this->key, true);
+        Model::validateRequired('token', $this->token, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->bucket) {
+            $res['Bucket'] = $this->bucket;
+        }
+        if (null !== $this->endPoint) {
+            $res['EndPoint'] = $this->endPoint;
+        }
+        if (null !== $this->path) {
+            $res['Path'] = $this->path;
+        }
+        if (null !== $this->expired) {
+            $res['Expired'] = $this->expired;
+        }
+        if (null !== $this->secret) {
+            $res['Secret'] = $this->secret;
+        }
+        if (null !== $this->key) {
+            $res['Key'] = $this->key;
+        }
+        if (null !== $this->token) {
+            $res['Token'] = $this->token;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return ossUploadToken
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Bucket'])) {
+            $model->bucket = $map['Bucket'];
+        }
+        if (isset($map['EndPoint'])) {
+            $model->endPoint = $map['EndPoint'];
+        }
+        if (isset($map['Path'])) {
+            $model->path = $map['Path'];
+        }
+        if (isset($map['Expired'])) {
+            $model->expired = $map['Expired'];
+        }
+        if (isset($map['Secret'])) {
+            $model->secret = $map['Secret'];
+        }
+        if (isset($map['Key'])) {
+            $model->key = $map['Key'];
+        }
+        if (isset($map['Token'])) {
+            $model->token = $map['Token'];
+        }
+
+        return $model;
+    }
+}

+ 72 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeRPSDKRequest.php

@@ -0,0 +1,72 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeRPSDKRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $sourceIp;
+
+    /**
+     * @var string
+     */
+    public $lang;
+
+    /**
+     * @var string
+     */
+    public $taskId;
+    protected $_name = [
+        'sourceIp' => 'SourceIp',
+        'lang'     => 'Lang',
+        'taskId'   => 'TaskId',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('taskId', $this->taskId, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->sourceIp) {
+            $res['SourceIp'] = $this->sourceIp;
+        }
+        if (null !== $this->lang) {
+            $res['Lang'] = $this->lang;
+        }
+        if (null !== $this->taskId) {
+            $res['TaskId'] = $this->taskId;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeRPSDKRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['SourceIp'])) {
+            $model->sourceIp = $map['SourceIp'];
+        }
+        if (isset($map['Lang'])) {
+            $model->lang = $map['Lang'];
+        }
+        if (isset($map['TaskId'])) {
+            $model->taskId = $map['TaskId'];
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeRPSDKResponse.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeRPSDKResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $sdkUrl;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'sdkUrl'    => 'SdkUrl',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('sdkUrl', $this->sdkUrl, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->sdkUrl) {
+            $res['SdkUrl'] = $this->sdkUrl;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeRPSDKResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['SdkUrl'])) {
+            $model->sdkUrl = $map['SdkUrl'];
+        }
+
+        return $model;
+    }
+}

+ 60 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeSdkUrlRequest.php

@@ -0,0 +1,60 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeSdkUrlRequest extends Model
+{
+    /**
+     * @var int
+     */
+    public $id;
+
+    /**
+     * @var bool
+     */
+    public $debug;
+    protected $_name = [
+        'id'    => 'Id',
+        'debug' => 'Debug',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('id', $this->id, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->id) {
+            $res['Id'] = $this->id;
+        }
+        if (null !== $this->debug) {
+            $res['Debug'] = $this->debug;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeSdkUrlRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Id'])) {
+            $model->id = $map['Id'];
+        }
+        if (isset($map['Debug'])) {
+            $model->debug = $map['Debug'];
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeSdkUrlResponse.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeSdkUrlResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $sdkUrl;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'sdkUrl'    => 'SdkUrl',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('sdkUrl', $this->sdkUrl, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->sdkUrl) {
+            $res['SdkUrl'] = $this->sdkUrl;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeSdkUrlResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['SdkUrl'])) {
+            $model->sdkUrl = $map['SdkUrl'];
+        }
+
+        return $model;
+    }
+}

+ 48 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUpdatePackageResultRequest.php

@@ -0,0 +1,48 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeUpdatePackageResultRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $taskId;
+    protected $_name = [
+        'taskId' => 'TaskId',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('taskId', $this->taskId, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->taskId) {
+            $res['TaskId'] = $this->taskId;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeUpdatePackageResultRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['TaskId'])) {
+            $model->taskId = $map['TaskId'];
+        }
+
+        return $model;
+    }
+}

+ 62 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUpdatePackageResultResponse.php

@@ -0,0 +1,62 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUpdatePackageResultResponse\appInfo;
+use AlibabaCloud\Tea\Model;
+
+class DescribeUpdatePackageResultResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var appInfo
+     */
+    public $appInfo;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'appInfo'   => 'AppInfo',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('appInfo', $this->appInfo, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->appInfo) {
+            $res['AppInfo'] = null !== $this->appInfo ? $this->appInfo->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeUpdatePackageResultResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['AppInfo'])) {
+            $model->appInfo = appInfo::fromMap($map['AppInfo']);
+        }
+
+        return $model;
+    }
+}

+ 154 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUpdatePackageResultResponse/appInfo.php

@@ -0,0 +1,154 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUpdatePackageResultResponse;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUpdatePackageResultResponse\appInfo\debugPackageInfo;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUpdatePackageResultResponse\appInfo\packageInfo;
+use AlibabaCloud\Tea\Model;
+
+class appInfo extends Model
+{
+    /**
+     * @var int
+     */
+    public $id;
+
+    /**
+     * @var string
+     */
+    public $name;
+
+    /**
+     * @var string
+     */
+    public $packageName;
+
+    /**
+     * @var string
+     */
+    public $icon;
+
+    /**
+     * @var string
+     */
+    public $startDate;
+
+    /**
+     * @var string
+     */
+    public $endDate;
+
+    /**
+     * @var int
+     */
+    public $type;
+
+    /**
+     * @var packageInfo
+     */
+    public $packageInfo;
+
+    /**
+     * @var debugPackageInfo
+     */
+    public $debugPackageInfo;
+    protected $_name = [
+        'id'               => 'Id',
+        'name'             => 'Name',
+        'packageName'      => 'PackageName',
+        'icon'             => 'Icon',
+        'startDate'        => 'StartDate',
+        'endDate'          => 'EndDate',
+        'type'             => 'Type',
+        'packageInfo'      => 'PackageInfo',
+        'debugPackageInfo' => 'DebugPackageInfo',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('id', $this->id, true);
+        Model::validateRequired('name', $this->name, true);
+        Model::validateRequired('packageName', $this->packageName, true);
+        Model::validateRequired('icon', $this->icon, true);
+        Model::validateRequired('startDate', $this->startDate, true);
+        Model::validateRequired('endDate', $this->endDate, true);
+        Model::validateRequired('type', $this->type, true);
+        Model::validateRequired('packageInfo', $this->packageInfo, true);
+        Model::validateRequired('debugPackageInfo', $this->debugPackageInfo, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->id) {
+            $res['Id'] = $this->id;
+        }
+        if (null !== $this->name) {
+            $res['Name'] = $this->name;
+        }
+        if (null !== $this->packageName) {
+            $res['PackageName'] = $this->packageName;
+        }
+        if (null !== $this->icon) {
+            $res['Icon'] = $this->icon;
+        }
+        if (null !== $this->startDate) {
+            $res['StartDate'] = $this->startDate;
+        }
+        if (null !== $this->endDate) {
+            $res['EndDate'] = $this->endDate;
+        }
+        if (null !== $this->type) {
+            $res['Type'] = $this->type;
+        }
+        if (null !== $this->packageInfo) {
+            $res['PackageInfo'] = null !== $this->packageInfo ? $this->packageInfo->toMap() : null;
+        }
+        if (null !== $this->debugPackageInfo) {
+            $res['DebugPackageInfo'] = null !== $this->debugPackageInfo ? $this->debugPackageInfo->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return appInfo
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Id'])) {
+            $model->id = $map['Id'];
+        }
+        if (isset($map['Name'])) {
+            $model->name = $map['Name'];
+        }
+        if (isset($map['PackageName'])) {
+            $model->packageName = $map['PackageName'];
+        }
+        if (isset($map['Icon'])) {
+            $model->icon = $map['Icon'];
+        }
+        if (isset($map['StartDate'])) {
+            $model->startDate = $map['StartDate'];
+        }
+        if (isset($map['EndDate'])) {
+            $model->endDate = $map['EndDate'];
+        }
+        if (isset($map['Type'])) {
+            $model->type = $map['Type'];
+        }
+        if (isset($map['PackageInfo'])) {
+            $model->packageInfo = packageInfo::fromMap($map['PackageInfo']);
+        }
+        if (isset($map['DebugPackageInfo'])) {
+            $model->debugPackageInfo = debugPackageInfo::fromMap($map['DebugPackageInfo']);
+        }
+
+        return $model;
+    }
+}

+ 48 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUpdatePackageResultResponse/appInfo/debugPackageInfo.php

@@ -0,0 +1,48 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUpdatePackageResultResponse\appInfo;
+
+use AlibabaCloud\Tea\Model;
+
+class debugPackageInfo extends Model
+{
+    /**
+     * @var string
+     */
+    public $version;
+    protected $_name = [
+        'version' => 'Version',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('version', $this->version, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->version) {
+            $res['Version'] = $this->version;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return debugPackageInfo
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Version'])) {
+            $model->version = $map['Version'];
+        }
+
+        return $model;
+    }
+}

+ 48 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUpdatePackageResultResponse/appInfo/packageInfo.php

@@ -0,0 +1,48 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeUpdatePackageResultResponse\appInfo;
+
+use AlibabaCloud\Tea\Model;
+
+class packageInfo extends Model
+{
+    /**
+     * @var string
+     */
+    public $version;
+    protected $_name = [
+        'version' => 'Version',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('version', $this->version, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->version) {
+            $res['Version'] = $this->version;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return packageInfo
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Version'])) {
+            $model->version = $map['Version'];
+        }
+
+        return $model;
+    }
+}

+ 47 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUploadInfoRequest.php

@@ -0,0 +1,47 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeUploadInfoRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $biz;
+    protected $_name = [
+        'biz' => 'Biz',
+    ];
+
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->biz) {
+            $res['Biz'] = $this->biz;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeUploadInfoRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Biz'])) {
+            $model->biz = $map['Biz'];
+        }
+
+        return $model;
+    }
+}

+ 126 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUploadInfoResponse.php

@@ -0,0 +1,126 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeUploadInfoResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $accessid;
+
+    /**
+     * @var string
+     */
+    public $policy;
+
+    /**
+     * @var string
+     */
+    public $signature;
+
+    /**
+     * @var string
+     */
+    public $folder;
+
+    /**
+     * @var string
+     */
+    public $host;
+
+    /**
+     * @var int
+     */
+    public $expire;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'accessid'  => 'Accessid',
+        'policy'    => 'Policy',
+        'signature' => 'Signature',
+        'folder'    => 'Folder',
+        'host'      => 'Host',
+        'expire'    => 'Expire',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('accessid', $this->accessid, true);
+        Model::validateRequired('policy', $this->policy, true);
+        Model::validateRequired('signature', $this->signature, true);
+        Model::validateRequired('folder', $this->folder, true);
+        Model::validateRequired('host', $this->host, true);
+        Model::validateRequired('expire', $this->expire, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->accessid) {
+            $res['Accessid'] = $this->accessid;
+        }
+        if (null !== $this->policy) {
+            $res['Policy'] = $this->policy;
+        }
+        if (null !== $this->signature) {
+            $res['Signature'] = $this->signature;
+        }
+        if (null !== $this->folder) {
+            $res['Folder'] = $this->folder;
+        }
+        if (null !== $this->host) {
+            $res['Host'] = $this->host;
+        }
+        if (null !== $this->expire) {
+            $res['Expire'] = $this->expire;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeUploadInfoResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['Accessid'])) {
+            $model->accessid = $map['Accessid'];
+        }
+        if (isset($map['Policy'])) {
+            $model->policy = $map['Policy'];
+        }
+        if (isset($map['Signature'])) {
+            $model->signature = $map['Signature'];
+        }
+        if (isset($map['Folder'])) {
+            $model->folder = $map['Folder'];
+        }
+        if (isset($map['Host'])) {
+            $model->host = $map['Host'];
+        }
+        if (isset($map['Expire'])) {
+            $model->expire = $map['Expire'];
+        }
+
+        return $model;
+    }
+}

+ 29 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUserStatusRequest.php

@@ -0,0 +1,29 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeUserStatusRequest extends Model
+{
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        return [];
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeUserStatusRequest
+     */
+    public static function fromMap($map = [])
+    {
+        return new self();
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeUserStatusResponse.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeUserStatusResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var bool
+     */
+    public $enabled;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'enabled'   => 'Enabled',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('enabled', $this->enabled, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->enabled) {
+            $res['Enabled'] = $this->enabled;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeUserStatusResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['Enabled'])) {
+            $model->enabled = $map['Enabled'];
+        }
+
+        return $model;
+    }
+}

+ 157 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyRecordsRequest.php

@@ -0,0 +1,157 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifyRecordsRequest extends Model
+{
+    /**
+     * @var int
+     */
+    public $totalCount;
+
+    /**
+     * @var int
+     */
+    public $pageSize;
+
+    /**
+     * @var int
+     */
+    public $currentPage;
+
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $startDate;
+
+    /**
+     * @var string
+     */
+    public $endDate;
+
+    /**
+     * @var string
+     */
+    public $bizId;
+
+    /**
+     * @var string
+     */
+    public $idCardNum;
+
+    /**
+     * @var string
+     */
+    public $statusList;
+
+    /**
+     * @var string
+     */
+    public $queryId;
+    protected $_name = [
+        'totalCount'  => 'TotalCount',
+        'pageSize'    => 'PageSize',
+        'currentPage' => 'CurrentPage',
+        'bizType'     => 'BizType',
+        'startDate'   => 'StartDate',
+        'endDate'     => 'EndDate',
+        'bizId'       => 'BizId',
+        'idCardNum'   => 'IdCardNum',
+        'statusList'  => 'StatusList',
+        'queryId'     => 'QueryId',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('pageSize', $this->pageSize, true);
+        Model::validateRequired('currentPage', $this->currentPage, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->totalCount) {
+            $res['TotalCount'] = $this->totalCount;
+        }
+        if (null !== $this->pageSize) {
+            $res['PageSize'] = $this->pageSize;
+        }
+        if (null !== $this->currentPage) {
+            $res['CurrentPage'] = $this->currentPage;
+        }
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->startDate) {
+            $res['StartDate'] = $this->startDate;
+        }
+        if (null !== $this->endDate) {
+            $res['EndDate'] = $this->endDate;
+        }
+        if (null !== $this->bizId) {
+            $res['BizId'] = $this->bizId;
+        }
+        if (null !== $this->idCardNum) {
+            $res['IdCardNum'] = $this->idCardNum;
+        }
+        if (null !== $this->statusList) {
+            $res['StatusList'] = $this->statusList;
+        }
+        if (null !== $this->queryId) {
+            $res['QueryId'] = $this->queryId;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifyRecordsRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['TotalCount'])) {
+            $model->totalCount = $map['TotalCount'];
+        }
+        if (isset($map['PageSize'])) {
+            $model->pageSize = $map['PageSize'];
+        }
+        if (isset($map['CurrentPage'])) {
+            $model->currentPage = $map['CurrentPage'];
+        }
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['StartDate'])) {
+            $model->startDate = $map['StartDate'];
+        }
+        if (isset($map['EndDate'])) {
+            $model->endDate = $map['EndDate'];
+        }
+        if (isset($map['BizId'])) {
+            $model->bizId = $map['BizId'];
+        }
+        if (isset($map['IdCardNum'])) {
+            $model->idCardNum = $map['IdCardNum'];
+        }
+        if (isset($map['StatusList'])) {
+            $model->statusList = $map['StatusList'];
+        }
+        if (isset($map['QueryId'])) {
+            $model->queryId = $map['QueryId'];
+        }
+
+        return $model;
+    }
+}

+ 126 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyRecordsResponse.php

@@ -0,0 +1,126 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyRecordsResponse\recordsList;
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifyRecordsResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var int
+     */
+    public $totalCount;
+
+    /**
+     * @var int
+     */
+    public $pageSize;
+
+    /**
+     * @var int
+     */
+    public $currentPage;
+
+    /**
+     * @var string
+     */
+    public $queryId;
+
+    /**
+     * @var recordsList[]
+     */
+    public $recordsList;
+    protected $_name = [
+        'requestId'   => 'RequestId',
+        'totalCount'  => 'TotalCount',
+        'pageSize'    => 'PageSize',
+        'currentPage' => 'CurrentPage',
+        'queryId'     => 'QueryId',
+        'recordsList' => 'RecordsList',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('totalCount', $this->totalCount, true);
+        Model::validateRequired('pageSize', $this->pageSize, true);
+        Model::validateRequired('currentPage', $this->currentPage, true);
+        Model::validateRequired('queryId', $this->queryId, true);
+        Model::validateRequired('recordsList', $this->recordsList, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->totalCount) {
+            $res['TotalCount'] = $this->totalCount;
+        }
+        if (null !== $this->pageSize) {
+            $res['PageSize'] = $this->pageSize;
+        }
+        if (null !== $this->currentPage) {
+            $res['CurrentPage'] = $this->currentPage;
+        }
+        if (null !== $this->queryId) {
+            $res['QueryId'] = $this->queryId;
+        }
+        if (null !== $this->recordsList) {
+            $res['RecordsList'] = [];
+            if (null !== $this->recordsList && \is_array($this->recordsList)) {
+                $n = 0;
+                foreach ($this->recordsList as $item) {
+                    $res['RecordsList'][$n++] = null !== $item ? $item->toMap() : $item;
+                }
+            }
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifyRecordsResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['TotalCount'])) {
+            $model->totalCount = $map['TotalCount'];
+        }
+        if (isset($map['PageSize'])) {
+            $model->pageSize = $map['PageSize'];
+        }
+        if (isset($map['CurrentPage'])) {
+            $model->currentPage = $map['CurrentPage'];
+        }
+        if (isset($map['QueryId'])) {
+            $model->queryId = $map['QueryId'];
+        }
+        if (isset($map['RecordsList'])) {
+            if (!empty($map['RecordsList'])) {
+                $model->recordsList = [];
+                $n                  = 0;
+                foreach ($map['RecordsList'] as $item) {
+                    $model->recordsList[$n++] = null !== $item ? recordsList::fromMap($item) : $item;
+                }
+            }
+        }
+
+        return $model;
+    }
+}

+ 153 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyRecordsResponse/recordsList.php

@@ -0,0 +1,153 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyRecordsResponse;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyRecordsResponse\recordsList\material;
+use AlibabaCloud\Tea\Model;
+
+class recordsList extends Model
+{
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $bizId;
+
+    /**
+     * @var string
+     */
+    public $dataStats;
+
+    /**
+     * @var string
+     */
+    public $verifyId;
+
+    /**
+     * @var int
+     */
+    public $finishTime;
+
+    /**
+     * @var int
+     */
+    public $status;
+
+    /**
+     * @var float
+     */
+    public $idCardFaceComparisonScore;
+
+    /**
+     * @var float
+     */
+    public $authorityComparisonScore;
+
+    /**
+     * @var material
+     */
+    public $material;
+    protected $_name = [
+        'bizType'                   => 'BizType',
+        'bizId'                     => 'BizId',
+        'dataStats'                 => 'DataStats',
+        'verifyId'                  => 'VerifyId',
+        'finishTime'                => 'FinishTime',
+        'status'                    => 'Status',
+        'idCardFaceComparisonScore' => 'IdCardFaceComparisonScore',
+        'authorityComparisonScore'  => 'AuthorityComparisonScore',
+        'material'                  => 'Material',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('bizType', $this->bizType, true);
+        Model::validateRequired('bizId', $this->bizId, true);
+        Model::validateRequired('dataStats', $this->dataStats, true);
+        Model::validateRequired('verifyId', $this->verifyId, true);
+        Model::validateRequired('finishTime', $this->finishTime, true);
+        Model::validateRequired('status', $this->status, true);
+        Model::validateRequired('idCardFaceComparisonScore', $this->idCardFaceComparisonScore, true);
+        Model::validateRequired('authorityComparisonScore', $this->authorityComparisonScore, true);
+        Model::validateRequired('material', $this->material, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->bizId) {
+            $res['BizId'] = $this->bizId;
+        }
+        if (null !== $this->dataStats) {
+            $res['DataStats'] = $this->dataStats;
+        }
+        if (null !== $this->verifyId) {
+            $res['VerifyId'] = $this->verifyId;
+        }
+        if (null !== $this->finishTime) {
+            $res['FinishTime'] = $this->finishTime;
+        }
+        if (null !== $this->status) {
+            $res['Status'] = $this->status;
+        }
+        if (null !== $this->idCardFaceComparisonScore) {
+            $res['IdCardFaceComparisonScore'] = $this->idCardFaceComparisonScore;
+        }
+        if (null !== $this->authorityComparisonScore) {
+            $res['AuthorityComparisonScore'] = $this->authorityComparisonScore;
+        }
+        if (null !== $this->material) {
+            $res['Material'] = null !== $this->material ? $this->material->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return recordsList
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['BizId'])) {
+            $model->bizId = $map['BizId'];
+        }
+        if (isset($map['DataStats'])) {
+            $model->dataStats = $map['DataStats'];
+        }
+        if (isset($map['VerifyId'])) {
+            $model->verifyId = $map['VerifyId'];
+        }
+        if (isset($map['FinishTime'])) {
+            $model->finishTime = $map['FinishTime'];
+        }
+        if (isset($map['Status'])) {
+            $model->status = $map['Status'];
+        }
+        if (isset($map['IdCardFaceComparisonScore'])) {
+            $model->idCardFaceComparisonScore = $map['IdCardFaceComparisonScore'];
+        }
+        if (isset($map['AuthorityComparisonScore'])) {
+            $model->authorityComparisonScore = $map['AuthorityComparisonScore'];
+        }
+        if (isset($map['Material'])) {
+            $model->material = material::fromMap($map['Material']);
+        }
+
+        return $model;
+    }
+}

+ 88 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyRecordsResponse/recordsList/material.php

@@ -0,0 +1,88 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyRecordsResponse\recordsList;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyRecordsResponse\recordsList\material\idCardInfo;
+use AlibabaCloud\Tea\Model;
+
+class material extends Model
+{
+    /**
+     * @var string
+     */
+    public $faceImageUrl;
+
+    /**
+     * @var string
+     */
+    public $idCardName;
+
+    /**
+     * @var string
+     */
+    public $idCardNumber;
+
+    /**
+     * @var idCardInfo
+     */
+    public $idCardInfo;
+    protected $_name = [
+        'faceImageUrl' => 'FaceImageUrl',
+        'idCardName'   => 'IdCardName',
+        'idCardNumber' => 'IdCardNumber',
+        'idCardInfo'   => 'IdCardInfo',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('faceImageUrl', $this->faceImageUrl, true);
+        Model::validateRequired('idCardName', $this->idCardName, true);
+        Model::validateRequired('idCardNumber', $this->idCardNumber, true);
+        Model::validateRequired('idCardInfo', $this->idCardInfo, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->faceImageUrl) {
+            $res['FaceImageUrl'] = $this->faceImageUrl;
+        }
+        if (null !== $this->idCardName) {
+            $res['IdCardName'] = $this->idCardName;
+        }
+        if (null !== $this->idCardNumber) {
+            $res['IdCardNumber'] = $this->idCardNumber;
+        }
+        if (null !== $this->idCardInfo) {
+            $res['IdCardInfo'] = null !== $this->idCardInfo ? $this->idCardInfo->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return material
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['FaceImageUrl'])) {
+            $model->faceImageUrl = $map['FaceImageUrl'];
+        }
+        if (isset($map['IdCardName'])) {
+            $model->idCardName = $map['IdCardName'];
+        }
+        if (isset($map['IdCardNumber'])) {
+            $model->idCardNumber = $map['IdCardNumber'];
+        }
+        if (isset($map['IdCardInfo'])) {
+            $model->idCardInfo = idCardInfo::fromMap($map['IdCardInfo']);
+        }
+
+        return $model;
+    }
+}

+ 178 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyRecordsResponse/recordsList/material/idCardInfo.php

@@ -0,0 +1,178 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyRecordsResponse\recordsList\material;
+
+use AlibabaCloud\Tea\Model;
+
+class idCardInfo extends Model
+{
+    /**
+     * @var string
+     */
+    public $frontImageUrl;
+
+    /**
+     * @var string
+     */
+    public $backImageUrl;
+
+    /**
+     * @var string
+     */
+    public $name;
+
+    /**
+     * @var string
+     */
+    public $number;
+
+    /**
+     * @var string
+     */
+    public $address;
+
+    /**
+     * @var string
+     */
+    public $birth;
+
+    /**
+     * @var string
+     */
+    public $sex;
+
+    /**
+     * @var string
+     */
+    public $nationality;
+
+    /**
+     * @var string
+     */
+    public $authority;
+
+    /**
+     * @var string
+     */
+    public $startDate;
+
+    /**
+     * @var string
+     */
+    public $endDate;
+    protected $_name = [
+        'frontImageUrl' => 'FrontImageUrl',
+        'backImageUrl'  => 'BackImageUrl',
+        'name'          => 'Name',
+        'number'        => 'Number',
+        'address'       => 'Address',
+        'birth'         => 'Birth',
+        'sex'           => 'Sex',
+        'nationality'   => 'Nationality',
+        'authority'     => 'Authority',
+        'startDate'     => 'StartDate',
+        'endDate'       => 'EndDate',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('frontImageUrl', $this->frontImageUrl, true);
+        Model::validateRequired('backImageUrl', $this->backImageUrl, true);
+        Model::validateRequired('name', $this->name, true);
+        Model::validateRequired('number', $this->number, true);
+        Model::validateRequired('address', $this->address, true);
+        Model::validateRequired('birth', $this->birth, true);
+        Model::validateRequired('sex', $this->sex, true);
+        Model::validateRequired('nationality', $this->nationality, true);
+        Model::validateRequired('authority', $this->authority, true);
+        Model::validateRequired('startDate', $this->startDate, true);
+        Model::validateRequired('endDate', $this->endDate, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->frontImageUrl) {
+            $res['FrontImageUrl'] = $this->frontImageUrl;
+        }
+        if (null !== $this->backImageUrl) {
+            $res['BackImageUrl'] = $this->backImageUrl;
+        }
+        if (null !== $this->name) {
+            $res['Name'] = $this->name;
+        }
+        if (null !== $this->number) {
+            $res['Number'] = $this->number;
+        }
+        if (null !== $this->address) {
+            $res['Address'] = $this->address;
+        }
+        if (null !== $this->birth) {
+            $res['Birth'] = $this->birth;
+        }
+        if (null !== $this->sex) {
+            $res['Sex'] = $this->sex;
+        }
+        if (null !== $this->nationality) {
+            $res['Nationality'] = $this->nationality;
+        }
+        if (null !== $this->authority) {
+            $res['Authority'] = $this->authority;
+        }
+        if (null !== $this->startDate) {
+            $res['StartDate'] = $this->startDate;
+        }
+        if (null !== $this->endDate) {
+            $res['EndDate'] = $this->endDate;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return idCardInfo
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['FrontImageUrl'])) {
+            $model->frontImageUrl = $map['FrontImageUrl'];
+        }
+        if (isset($map['BackImageUrl'])) {
+            $model->backImageUrl = $map['BackImageUrl'];
+        }
+        if (isset($map['Name'])) {
+            $model->name = $map['Name'];
+        }
+        if (isset($map['Number'])) {
+            $model->number = $map['Number'];
+        }
+        if (isset($map['Address'])) {
+            $model->address = $map['Address'];
+        }
+        if (isset($map['Birth'])) {
+            $model->birth = $map['Birth'];
+        }
+        if (isset($map['Sex'])) {
+            $model->sex = $map['Sex'];
+        }
+        if (isset($map['Nationality'])) {
+            $model->nationality = $map['Nationality'];
+        }
+        if (isset($map['Authority'])) {
+            $model->authority = $map['Authority'];
+        }
+        if (isset($map['StartDate'])) {
+            $model->startDate = $map['StartDate'];
+        }
+        if (isset($map['EndDate'])) {
+            $model->endDate = $map['EndDate'];
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyResultRequest.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifyResultRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $bizId;
+
+    /**
+     * @var string
+     */
+    public $bizType;
+    protected $_name = [
+        'bizId'   => 'BizId',
+        'bizType' => 'BizType',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('bizId', $this->bizId, true);
+        Model::validateRequired('bizType', $this->bizType, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->bizId) {
+            $res['BizId'] = $this->bizId;
+        }
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifyResultRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['BizId'])) {
+            $model->bizId = $map['BizId'];
+        }
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+
+        return $model;
+    }
+}

+ 114 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyResultResponse.php

@@ -0,0 +1,114 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyResultResponse\material;
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifyResultResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var int
+     */
+    public $verifyStatus;
+
+    /**
+     * @var float
+     */
+    public $authorityComparisionScore;
+
+    /**
+     * @var float
+     */
+    public $faceComparisonScore;
+
+    /**
+     * @var float
+     */
+    public $idCardFaceComparisonScore;
+
+    /**
+     * @var material
+     */
+    public $material;
+    protected $_name = [
+        'requestId'                 => 'RequestId',
+        'verifyStatus'              => 'VerifyStatus',
+        'authorityComparisionScore' => 'AuthorityComparisionScore',
+        'faceComparisonScore'       => 'FaceComparisonScore',
+        'idCardFaceComparisonScore' => 'IdCardFaceComparisonScore',
+        'material'                  => 'Material',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('verifyStatus', $this->verifyStatus, true);
+        Model::validateRequired('authorityComparisionScore', $this->authorityComparisionScore, true);
+        Model::validateRequired('faceComparisonScore', $this->faceComparisonScore, true);
+        Model::validateRequired('idCardFaceComparisonScore', $this->idCardFaceComparisonScore, true);
+        Model::validateRequired('material', $this->material, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->verifyStatus) {
+            $res['VerifyStatus'] = $this->verifyStatus;
+        }
+        if (null !== $this->authorityComparisionScore) {
+            $res['AuthorityComparisionScore'] = $this->authorityComparisionScore;
+        }
+        if (null !== $this->faceComparisonScore) {
+            $res['FaceComparisonScore'] = $this->faceComparisonScore;
+        }
+        if (null !== $this->idCardFaceComparisonScore) {
+            $res['IdCardFaceComparisonScore'] = $this->idCardFaceComparisonScore;
+        }
+        if (null !== $this->material) {
+            $res['Material'] = null !== $this->material ? $this->material->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifyResultResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['VerifyStatus'])) {
+            $model->verifyStatus = $map['VerifyStatus'];
+        }
+        if (isset($map['AuthorityComparisionScore'])) {
+            $model->authorityComparisionScore = $map['AuthorityComparisionScore'];
+        }
+        if (isset($map['FaceComparisonScore'])) {
+            $model->faceComparisonScore = $map['FaceComparisonScore'];
+        }
+        if (isset($map['IdCardFaceComparisonScore'])) {
+            $model->idCardFaceComparisonScore = $map['IdCardFaceComparisonScore'];
+        }
+        if (isset($map['Material'])) {
+            $model->material = material::fromMap($map['Material']);
+        }
+
+        return $model;
+    }
+}

+ 142 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyResultResponse/material.php

@@ -0,0 +1,142 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyResultResponse;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyResultResponse\material\idCardInfo;
+use AlibabaCloud\Tea\Model;
+
+class material extends Model
+{
+    /**
+     * @var string
+     */
+    public $faceImageUrl;
+
+    /**
+     * @var string
+     */
+    public $idCardName;
+
+    /**
+     * @var string
+     */
+    public $idCardNumber;
+
+    /**
+     * @var string
+     */
+    public $faceQuality;
+
+    /**
+     * @var string
+     */
+    public $faceGlobalUrl;
+
+    /**
+     * @var bool
+     */
+    public $faceMask;
+
+    /**
+     * @var idCardInfo
+     */
+    public $idCardInfo;
+
+    /**
+     * @var string[]
+     */
+    public $videoUrls;
+    protected $_name = [
+        'faceImageUrl'  => 'FaceImageUrl',
+        'idCardName'    => 'IdCardName',
+        'idCardNumber'  => 'IdCardNumber',
+        'faceQuality'   => 'FaceQuality',
+        'faceGlobalUrl' => 'FaceGlobalUrl',
+        'faceMask'      => 'FaceMask',
+        'idCardInfo'    => 'IdCardInfo',
+        'videoUrls'     => 'VideoUrls',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('faceImageUrl', $this->faceImageUrl, true);
+        Model::validateRequired('idCardName', $this->idCardName, true);
+        Model::validateRequired('idCardNumber', $this->idCardNumber, true);
+        Model::validateRequired('faceQuality', $this->faceQuality, true);
+        Model::validateRequired('faceGlobalUrl', $this->faceGlobalUrl, true);
+        Model::validateRequired('faceMask', $this->faceMask, true);
+        Model::validateRequired('idCardInfo', $this->idCardInfo, true);
+        Model::validateRequired('videoUrls', $this->videoUrls, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->faceImageUrl) {
+            $res['FaceImageUrl'] = $this->faceImageUrl;
+        }
+        if (null !== $this->idCardName) {
+            $res['IdCardName'] = $this->idCardName;
+        }
+        if (null !== $this->idCardNumber) {
+            $res['IdCardNumber'] = $this->idCardNumber;
+        }
+        if (null !== $this->faceQuality) {
+            $res['FaceQuality'] = $this->faceQuality;
+        }
+        if (null !== $this->faceGlobalUrl) {
+            $res['FaceGlobalUrl'] = $this->faceGlobalUrl;
+        }
+        if (null !== $this->faceMask) {
+            $res['FaceMask'] = $this->faceMask;
+        }
+        if (null !== $this->idCardInfo) {
+            $res['IdCardInfo'] = null !== $this->idCardInfo ? $this->idCardInfo->toMap() : null;
+        }
+        if (null !== $this->videoUrls) {
+            $res['VideoUrls'] = $this->videoUrls;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return material
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['FaceImageUrl'])) {
+            $model->faceImageUrl = $map['FaceImageUrl'];
+        }
+        if (isset($map['IdCardName'])) {
+            $model->idCardName = $map['IdCardName'];
+        }
+        if (isset($map['IdCardNumber'])) {
+            $model->idCardNumber = $map['IdCardNumber'];
+        }
+        if (isset($map['FaceQuality'])) {
+            $model->faceQuality = $map['FaceQuality'];
+        }
+        if (isset($map['FaceGlobalUrl'])) {
+            $model->faceGlobalUrl = $map['FaceGlobalUrl'];
+        }
+        if (isset($map['FaceMask'])) {
+            $model->faceMask = $map['FaceMask'];
+        }
+        if (isset($map['IdCardInfo'])) {
+            $model->idCardInfo = idCardInfo::fromMap($map['IdCardInfo']);
+        }
+        if (isset($map['VideoUrls'])) {
+            if (!empty($map['VideoUrls'])) {
+                $model->videoUrls = $map['VideoUrls'];
+            }
+        }
+
+        return $model;
+    }
+}

+ 165 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyResultResponse/material/idCardInfo.php

@@ -0,0 +1,165 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyResultResponse\material;
+
+use AlibabaCloud\Tea\Model;
+
+class idCardInfo extends Model
+{
+    /**
+     * @var string
+     */
+    public $number;
+
+    /**
+     * @var string
+     */
+    public $address;
+
+    /**
+     * @var string
+     */
+    public $nationality;
+
+    /**
+     * @var string
+     */
+    public $endDate;
+
+    /**
+     * @var string
+     */
+    public $frontImageUrl;
+
+    /**
+     * @var string
+     */
+    public $authority;
+
+    /**
+     * @var string
+     */
+    public $name;
+
+    /**
+     * @var string
+     */
+    public $birth;
+
+    /**
+     * @var string
+     */
+    public $backImageUrl;
+
+    /**
+     * @var string
+     */
+    public $startDate;
+    protected $_name = [
+        'number'        => 'Number',
+        'address'       => 'Address',
+        'nationality'   => 'Nationality',
+        'endDate'       => 'EndDate',
+        'frontImageUrl' => 'FrontImageUrl',
+        'authority'     => 'Authority',
+        'name'          => 'Name',
+        'birth'         => 'Birth',
+        'backImageUrl'  => 'BackImageUrl',
+        'startDate'     => 'StartDate',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('number', $this->number, true);
+        Model::validateRequired('address', $this->address, true);
+        Model::validateRequired('nationality', $this->nationality, true);
+        Model::validateRequired('endDate', $this->endDate, true);
+        Model::validateRequired('frontImageUrl', $this->frontImageUrl, true);
+        Model::validateRequired('authority', $this->authority, true);
+        Model::validateRequired('name', $this->name, true);
+        Model::validateRequired('birth', $this->birth, true);
+        Model::validateRequired('backImageUrl', $this->backImageUrl, true);
+        Model::validateRequired('startDate', $this->startDate, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->number) {
+            $res['Number'] = $this->number;
+        }
+        if (null !== $this->address) {
+            $res['Address'] = $this->address;
+        }
+        if (null !== $this->nationality) {
+            $res['Nationality'] = $this->nationality;
+        }
+        if (null !== $this->endDate) {
+            $res['EndDate'] = $this->endDate;
+        }
+        if (null !== $this->frontImageUrl) {
+            $res['FrontImageUrl'] = $this->frontImageUrl;
+        }
+        if (null !== $this->authority) {
+            $res['Authority'] = $this->authority;
+        }
+        if (null !== $this->name) {
+            $res['Name'] = $this->name;
+        }
+        if (null !== $this->birth) {
+            $res['Birth'] = $this->birth;
+        }
+        if (null !== $this->backImageUrl) {
+            $res['BackImageUrl'] = $this->backImageUrl;
+        }
+        if (null !== $this->startDate) {
+            $res['StartDate'] = $this->startDate;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return idCardInfo
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Number'])) {
+            $model->number = $map['Number'];
+        }
+        if (isset($map['Address'])) {
+            $model->address = $map['Address'];
+        }
+        if (isset($map['Nationality'])) {
+            $model->nationality = $map['Nationality'];
+        }
+        if (isset($map['EndDate'])) {
+            $model->endDate = $map['EndDate'];
+        }
+        if (isset($map['FrontImageUrl'])) {
+            $model->frontImageUrl = $map['FrontImageUrl'];
+        }
+        if (isset($map['Authority'])) {
+            $model->authority = $map['Authority'];
+        }
+        if (isset($map['Name'])) {
+            $model->name = $map['Name'];
+        }
+        if (isset($map['Birth'])) {
+            $model->birth = $map['Birth'];
+        }
+        if (isset($map['BackImageUrl'])) {
+            $model->backImageUrl = $map['BackImageUrl'];
+        }
+        if (isset($map['StartDate'])) {
+            $model->startDate = $map['StartDate'];
+        }
+
+        return $model;
+    }
+}

+ 48 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifySDKRequest.php

@@ -0,0 +1,48 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifySDKRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $taskId;
+    protected $_name = [
+        'taskId' => 'TaskId',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('taskId', $this->taskId, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->taskId) {
+            $res['TaskId'] = $this->taskId;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifySDKRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['TaskId'])) {
+            $model->taskId = $map['TaskId'];
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifySDKResponse.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifySDKResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $sdkUrl;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'sdkUrl'    => 'SdkUrl',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('sdkUrl', $this->sdkUrl, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->sdkUrl) {
+            $res['SdkUrl'] = $this->sdkUrl;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifySDKResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['SdkUrl'])) {
+            $model->sdkUrl = $map['SdkUrl'];
+        }
+
+        return $model;
+    }
+}

+ 29 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifySettingRequest.php

@@ -0,0 +1,29 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifySettingRequest extends Model
+{
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        return [];
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifySettingRequest
+     */
+    public static function fromMap($map = [])
+    {
+        return new self();
+    }
+}

+ 74 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifySettingResponse.php

@@ -0,0 +1,74 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifySettingResponse\verifySettingList;
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifySettingResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var verifySettingList[]
+     */
+    public $verifySettingList;
+    protected $_name = [
+        'requestId'         => 'RequestId',
+        'verifySettingList' => 'VerifySettingList',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('verifySettingList', $this->verifySettingList, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->verifySettingList) {
+            $res['VerifySettingList'] = [];
+            if (null !== $this->verifySettingList && \is_array($this->verifySettingList)) {
+                $n = 0;
+                foreach ($this->verifySettingList as $item) {
+                    $res['VerifySettingList'][$n++] = null !== $item ? $item->toMap() : $item;
+                }
+            }
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifySettingResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['VerifySettingList'])) {
+            if (!empty($map['VerifySettingList'])) {
+                $model->verifySettingList = [];
+                $n                        = 0;
+                foreach ($map['VerifySettingList'] as $item) {
+                    $model->verifySettingList[$n++] = null !== $item ? verifySettingList::fromMap($item) : $item;
+                }
+            }
+        }
+
+        return $model;
+    }
+}

+ 89 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifySettingResponse/verifySettingList.php

@@ -0,0 +1,89 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifySettingResponse;
+
+use AlibabaCloud\Tea\Model;
+
+class verifySettingList extends Model
+{
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $bizName;
+
+    /**
+     * @var string
+     */
+    public $solution;
+
+    /**
+     * @var string[]
+     */
+    public $stepList;
+    protected $_name = [
+        'bizType'  => 'BizType',
+        'bizName'  => 'BizName',
+        'solution' => 'Solution',
+        'stepList' => 'StepList',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('bizType', $this->bizType, true);
+        Model::validateRequired('bizName', $this->bizName, true);
+        Model::validateRequired('solution', $this->solution, true);
+        Model::validateRequired('stepList', $this->stepList, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->bizName) {
+            $res['BizName'] = $this->bizName;
+        }
+        if (null !== $this->solution) {
+            $res['Solution'] = $this->solution;
+        }
+        if (null !== $this->stepList) {
+            $res['StepList'] = $this->stepList;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return verifySettingList
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['BizName'])) {
+            $model->bizName = $map['BizName'];
+        }
+        if (isset($map['Solution'])) {
+            $model->solution = $map['Solution'];
+        }
+        if (isset($map['StepList'])) {
+            if (!empty($map['StepList'])) {
+                $model->stepList = $map['StepList'];
+            }
+        }
+
+        return $model;
+    }
+}

+ 217 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyTokenRequest.php

@@ -0,0 +1,217 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifyTokenRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $idCardBackImageUrl;
+
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $failedRedirectUrl;
+
+    /**
+     * @var string
+     */
+    public $faceRetainedImageUrl;
+
+    /**
+     * @var string
+     */
+    public $callbackSeed;
+
+    /**
+     * @var string
+     */
+    public $idCardFrontImageUrl;
+
+    /**
+     * @var string
+     */
+    public $userId;
+
+    /**
+     * @var string
+     */
+    public $bizId;
+
+    /**
+     * @var string
+     */
+    public $name;
+
+    /**
+     * @var string
+     */
+    public $idCardNumber;
+
+    /**
+     * @var string
+     */
+    public $passedRedirectUrl;
+
+    /**
+     * @var string
+     */
+    public $callbackUrl;
+
+    /**
+     * @var string
+     */
+    public $userIp;
+
+    /**
+     * @var string
+     */
+    public $userPhoneNumber;
+
+    /**
+     * @var int
+     */
+    public $userRegistTime;
+    protected $_name = [
+        'idCardBackImageUrl'   => 'IdCardBackImageUrl',
+        'bizType'              => 'BizType',
+        'failedRedirectUrl'    => 'FailedRedirectUrl',
+        'faceRetainedImageUrl' => 'FaceRetainedImageUrl',
+        'callbackSeed'         => 'CallbackSeed',
+        'idCardFrontImageUrl'  => 'IdCardFrontImageUrl',
+        'userId'               => 'UserId',
+        'bizId'                => 'BizId',
+        'name'                 => 'Name',
+        'idCardNumber'         => 'IdCardNumber',
+        'passedRedirectUrl'    => 'PassedRedirectUrl',
+        'callbackUrl'          => 'CallbackUrl',
+        'userIp'               => 'UserIp',
+        'userPhoneNumber'      => 'UserPhoneNumber',
+        'userRegistTime'       => 'UserRegistTime',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('bizType', $this->bizType, true);
+        Model::validateRequired('bizId', $this->bizId, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->idCardBackImageUrl) {
+            $res['IdCardBackImageUrl'] = $this->idCardBackImageUrl;
+        }
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->failedRedirectUrl) {
+            $res['FailedRedirectUrl'] = $this->failedRedirectUrl;
+        }
+        if (null !== $this->faceRetainedImageUrl) {
+            $res['FaceRetainedImageUrl'] = $this->faceRetainedImageUrl;
+        }
+        if (null !== $this->callbackSeed) {
+            $res['CallbackSeed'] = $this->callbackSeed;
+        }
+        if (null !== $this->idCardFrontImageUrl) {
+            $res['IdCardFrontImageUrl'] = $this->idCardFrontImageUrl;
+        }
+        if (null !== $this->userId) {
+            $res['UserId'] = $this->userId;
+        }
+        if (null !== $this->bizId) {
+            $res['BizId'] = $this->bizId;
+        }
+        if (null !== $this->name) {
+            $res['Name'] = $this->name;
+        }
+        if (null !== $this->idCardNumber) {
+            $res['IdCardNumber'] = $this->idCardNumber;
+        }
+        if (null !== $this->passedRedirectUrl) {
+            $res['PassedRedirectUrl'] = $this->passedRedirectUrl;
+        }
+        if (null !== $this->callbackUrl) {
+            $res['CallbackUrl'] = $this->callbackUrl;
+        }
+        if (null !== $this->userIp) {
+            $res['UserIp'] = $this->userIp;
+        }
+        if (null !== $this->userPhoneNumber) {
+            $res['UserPhoneNumber'] = $this->userPhoneNumber;
+        }
+        if (null !== $this->userRegistTime) {
+            $res['UserRegistTime'] = $this->userRegistTime;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifyTokenRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['IdCardBackImageUrl'])) {
+            $model->idCardBackImageUrl = $map['IdCardBackImageUrl'];
+        }
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['FailedRedirectUrl'])) {
+            $model->failedRedirectUrl = $map['FailedRedirectUrl'];
+        }
+        if (isset($map['FaceRetainedImageUrl'])) {
+            $model->faceRetainedImageUrl = $map['FaceRetainedImageUrl'];
+        }
+        if (isset($map['CallbackSeed'])) {
+            $model->callbackSeed = $map['CallbackSeed'];
+        }
+        if (isset($map['IdCardFrontImageUrl'])) {
+            $model->idCardFrontImageUrl = $map['IdCardFrontImageUrl'];
+        }
+        if (isset($map['UserId'])) {
+            $model->userId = $map['UserId'];
+        }
+        if (isset($map['BizId'])) {
+            $model->bizId = $map['BizId'];
+        }
+        if (isset($map['Name'])) {
+            $model->name = $map['Name'];
+        }
+        if (isset($map['IdCardNumber'])) {
+            $model->idCardNumber = $map['IdCardNumber'];
+        }
+        if (isset($map['PassedRedirectUrl'])) {
+            $model->passedRedirectUrl = $map['PassedRedirectUrl'];
+        }
+        if (isset($map['CallbackUrl'])) {
+            $model->callbackUrl = $map['CallbackUrl'];
+        }
+        if (isset($map['UserIp'])) {
+            $model->userIp = $map['UserIp'];
+        }
+        if (isset($map['UserPhoneNumber'])) {
+            $model->userPhoneNumber = $map['UserPhoneNumber'];
+        }
+        if (isset($map['UserRegistTime'])) {
+            $model->userRegistTime = $map['UserRegistTime'];
+        }
+
+        return $model;
+    }
+}

+ 88 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyTokenResponse.php

@@ -0,0 +1,88 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyTokenResponse\ossUploadToken;
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifyTokenResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var string
+     */
+    public $verifyPageUrl;
+
+    /**
+     * @var string
+     */
+    public $verifyToken;
+
+    /**
+     * @var ossUploadToken
+     */
+    public $ossUploadToken;
+    protected $_name = [
+        'requestId'      => 'RequestId',
+        'verifyPageUrl'  => 'VerifyPageUrl',
+        'verifyToken'    => 'VerifyToken',
+        'ossUploadToken' => 'OssUploadToken',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('verifyPageUrl', $this->verifyPageUrl, true);
+        Model::validateRequired('verifyToken', $this->verifyToken, true);
+        Model::validateRequired('ossUploadToken', $this->ossUploadToken, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->verifyPageUrl) {
+            $res['VerifyPageUrl'] = $this->verifyPageUrl;
+        }
+        if (null !== $this->verifyToken) {
+            $res['VerifyToken'] = $this->verifyToken;
+        }
+        if (null !== $this->ossUploadToken) {
+            $res['OssUploadToken'] = null !== $this->ossUploadToken ? $this->ossUploadToken->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifyTokenResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['VerifyPageUrl'])) {
+            $model->verifyPageUrl = $map['VerifyPageUrl'];
+        }
+        if (isset($map['VerifyToken'])) {
+            $model->verifyToken = $map['VerifyToken'];
+        }
+        if (isset($map['OssUploadToken'])) {
+            $model->ossUploadToken = ossUploadToken::fromMap($map['OssUploadToken']);
+        }
+
+        return $model;
+    }
+}

+ 126 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyTokenResponse/ossUploadToken.php

@@ -0,0 +1,126 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyTokenResponse;
+
+use AlibabaCloud\Tea\Model;
+
+class ossUploadToken extends Model
+{
+    /**
+     * @var string
+     */
+    public $bucket;
+
+    /**
+     * @var string
+     */
+    public $endPoint;
+
+    /**
+     * @var string
+     */
+    public $path;
+
+    /**
+     * @var int
+     */
+    public $expired;
+
+    /**
+     * @var string
+     */
+    public $secret;
+
+    /**
+     * @var string
+     */
+    public $key;
+
+    /**
+     * @var string
+     */
+    public $token;
+    protected $_name = [
+        'bucket'   => 'Bucket',
+        'endPoint' => 'EndPoint',
+        'path'     => 'Path',
+        'expired'  => 'Expired',
+        'secret'   => 'Secret',
+        'key'      => 'Key',
+        'token'    => 'Token',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('bucket', $this->bucket, true);
+        Model::validateRequired('endPoint', $this->endPoint, true);
+        Model::validateRequired('path', $this->path, true);
+        Model::validateRequired('expired', $this->expired, true);
+        Model::validateRequired('secret', $this->secret, true);
+        Model::validateRequired('key', $this->key, true);
+        Model::validateRequired('token', $this->token, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->bucket) {
+            $res['Bucket'] = $this->bucket;
+        }
+        if (null !== $this->endPoint) {
+            $res['EndPoint'] = $this->endPoint;
+        }
+        if (null !== $this->path) {
+            $res['Path'] = $this->path;
+        }
+        if (null !== $this->expired) {
+            $res['Expired'] = $this->expired;
+        }
+        if (null !== $this->secret) {
+            $res['Secret'] = $this->secret;
+        }
+        if (null !== $this->key) {
+            $res['Key'] = $this->key;
+        }
+        if (null !== $this->token) {
+            $res['Token'] = $this->token;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return ossUploadToken
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Bucket'])) {
+            $model->bucket = $map['Bucket'];
+        }
+        if (isset($map['EndPoint'])) {
+            $model->endPoint = $map['EndPoint'];
+        }
+        if (isset($map['Path'])) {
+            $model->path = $map['Path'];
+        }
+        if (isset($map['Expired'])) {
+            $model->expired = $map['Expired'];
+        }
+        if (isset($map['Secret'])) {
+            $model->secret = $map['Secret'];
+        }
+        if (isset($map['Key'])) {
+            $model->key = $map['Key'];
+        }
+        if (isset($map['Token'])) {
+            $model->token = $map['Token'];
+        }
+
+        return $model;
+    }
+}

+ 73 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyUsageRequest.php

@@ -0,0 +1,73 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifyUsageRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $startDate;
+
+    /**
+     * @var string
+     */
+    public $endDate;
+    protected $_name = [
+        'bizType'   => 'BizType',
+        'startDate' => 'StartDate',
+        'endDate'   => 'EndDate',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('startDate', $this->startDate, true);
+        Model::validateRequired('endDate', $this->endDate, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->startDate) {
+            $res['StartDate'] = $this->startDate;
+        }
+        if (null !== $this->endDate) {
+            $res['EndDate'] = $this->endDate;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifyUsageRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['StartDate'])) {
+            $model->startDate = $map['StartDate'];
+        }
+        if (isset($map['EndDate'])) {
+            $model->endDate = $map['EndDate'];
+        }
+
+        return $model;
+    }
+}

+ 87 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyUsageResponse.php

@@ -0,0 +1,87 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyUsageResponse\verifyUsageList;
+use AlibabaCloud\Tea\Model;
+
+class DescribeVerifyUsageResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var int
+     */
+    public $totalCount;
+
+    /**
+     * @var verifyUsageList[]
+     */
+    public $verifyUsageList;
+    protected $_name = [
+        'requestId'       => 'RequestId',
+        'totalCount'      => 'TotalCount',
+        'verifyUsageList' => 'VerifyUsageList',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('totalCount', $this->totalCount, true);
+        Model::validateRequired('verifyUsageList', $this->verifyUsageList, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->totalCount) {
+            $res['TotalCount'] = $this->totalCount;
+        }
+        if (null !== $this->verifyUsageList) {
+            $res['VerifyUsageList'] = [];
+            if (null !== $this->verifyUsageList && \is_array($this->verifyUsageList)) {
+                $n = 0;
+                foreach ($this->verifyUsageList as $item) {
+                    $res['VerifyUsageList'][$n++] = null !== $item ? $item->toMap() : $item;
+                }
+            }
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeVerifyUsageResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['TotalCount'])) {
+            $model->totalCount = $map['TotalCount'];
+        }
+        if (isset($map['VerifyUsageList'])) {
+            if (!empty($map['VerifyUsageList'])) {
+                $model->verifyUsageList = [];
+                $n                      = 0;
+                foreach ($map['VerifyUsageList'] as $item) {
+                    $model->verifyUsageList[$n++] = null !== $item ? verifyUsageList::fromMap($item) : $item;
+                }
+            }
+        }
+
+        return $model;
+    }
+}

+ 100 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeVerifyUsageResponse/verifyUsageList.php

@@ -0,0 +1,100 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeVerifyUsageResponse;
+
+use AlibabaCloud\Tea\Model;
+
+class verifyUsageList extends Model
+{
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $date;
+
+    /**
+     * @var int
+     */
+    public $totalCount;
+
+    /**
+     * @var int
+     */
+    public $passCount;
+
+    /**
+     * @var int
+     */
+    public $failCount;
+    protected $_name = [
+        'bizType'    => 'BizType',
+        'date'       => 'Date',
+        'totalCount' => 'TotalCount',
+        'passCount'  => 'PassCount',
+        'failCount'  => 'FailCount',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('bizType', $this->bizType, true);
+        Model::validateRequired('date', $this->date, true);
+        Model::validateRequired('totalCount', $this->totalCount, true);
+        Model::validateRequired('passCount', $this->passCount, true);
+        Model::validateRequired('failCount', $this->failCount, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->date) {
+            $res['Date'] = $this->date;
+        }
+        if (null !== $this->totalCount) {
+            $res['TotalCount'] = $this->totalCount;
+        }
+        if (null !== $this->passCount) {
+            $res['PassCount'] = $this->passCount;
+        }
+        if (null !== $this->failCount) {
+            $res['FailCount'] = $this->failCount;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return verifyUsageList
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['Date'])) {
+            $model->date = $map['Date'];
+        }
+        if (isset($map['TotalCount'])) {
+            $model->totalCount = $map['TotalCount'];
+        }
+        if (isset($map['PassCount'])) {
+            $model->passCount = $map['PassCount'];
+        }
+        if (isset($map['FailCount'])) {
+            $model->failCount = $map['FailCount'];
+        }
+
+        return $model;
+    }
+}

+ 157 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeWhitelistRequest.php

@@ -0,0 +1,157 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DescribeWhitelistRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $sourceIp;
+
+    /**
+     * @var string
+     */
+    public $lang;
+
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var string
+     */
+    public $bizId;
+
+    /**
+     * @var string
+     */
+    public $idCardNum;
+
+    /**
+     * @var string
+     */
+    public $validStartDate;
+
+    /**
+     * @var string
+     */
+    public $validEndDate;
+
+    /**
+     * @var string
+     */
+    public $valid;
+
+    /**
+     * @var int
+     */
+    public $pageSize;
+
+    /**
+     * @var int
+     */
+    public $currentPage;
+    protected $_name = [
+        'sourceIp'       => 'SourceIp',
+        'lang'           => 'Lang',
+        'bizType'        => 'BizType',
+        'bizId'          => 'BizId',
+        'idCardNum'      => 'IdCardNum',
+        'validStartDate' => 'ValidStartDate',
+        'validEndDate'   => 'ValidEndDate',
+        'valid'          => 'Valid',
+        'pageSize'       => 'PageSize',
+        'currentPage'    => 'CurrentPage',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('pageSize', $this->pageSize, true);
+        Model::validateRequired('currentPage', $this->currentPage, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->sourceIp) {
+            $res['SourceIp'] = $this->sourceIp;
+        }
+        if (null !== $this->lang) {
+            $res['Lang'] = $this->lang;
+        }
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->bizId) {
+            $res['BizId'] = $this->bizId;
+        }
+        if (null !== $this->idCardNum) {
+            $res['IdCardNum'] = $this->idCardNum;
+        }
+        if (null !== $this->validStartDate) {
+            $res['ValidStartDate'] = $this->validStartDate;
+        }
+        if (null !== $this->validEndDate) {
+            $res['ValidEndDate'] = $this->validEndDate;
+        }
+        if (null !== $this->valid) {
+            $res['Valid'] = $this->valid;
+        }
+        if (null !== $this->pageSize) {
+            $res['PageSize'] = $this->pageSize;
+        }
+        if (null !== $this->currentPage) {
+            $res['CurrentPage'] = $this->currentPage;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeWhitelistRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['SourceIp'])) {
+            $model->sourceIp = $map['SourceIp'];
+        }
+        if (isset($map['Lang'])) {
+            $model->lang = $map['Lang'];
+        }
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['BizId'])) {
+            $model->bizId = $map['BizId'];
+        }
+        if (isset($map['IdCardNum'])) {
+            $model->idCardNum = $map['IdCardNum'];
+        }
+        if (isset($map['ValidStartDate'])) {
+            $model->validStartDate = $map['ValidStartDate'];
+        }
+        if (isset($map['ValidEndDate'])) {
+            $model->validEndDate = $map['ValidEndDate'];
+        }
+        if (isset($map['Valid'])) {
+            $model->valid = $map['Valid'];
+        }
+        if (isset($map['PageSize'])) {
+            $model->pageSize = $map['PageSize'];
+        }
+        if (isset($map['CurrentPage'])) {
+            $model->currentPage = $map['CurrentPage'];
+        }
+
+        return $model;
+    }
+}

+ 113 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeWhitelistResponse.php

@@ -0,0 +1,113 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeWhitelistResponse\items;
+use AlibabaCloud\Tea\Model;
+
+class DescribeWhitelistResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var int
+     */
+    public $totalCount;
+
+    /**
+     * @var int
+     */
+    public $currentPage;
+
+    /**
+     * @var int
+     */
+    public $pageSize;
+
+    /**
+     * @var items[]
+     */
+    public $items;
+    protected $_name = [
+        'requestId'   => 'RequestId',
+        'totalCount'  => 'TotalCount',
+        'currentPage' => 'CurrentPage',
+        'pageSize'    => 'PageSize',
+        'items'       => 'Items',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('totalCount', $this->totalCount, true);
+        Model::validateRequired('currentPage', $this->currentPage, true);
+        Model::validateRequired('pageSize', $this->pageSize, true);
+        Model::validateRequired('items', $this->items, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->totalCount) {
+            $res['TotalCount'] = $this->totalCount;
+        }
+        if (null !== $this->currentPage) {
+            $res['CurrentPage'] = $this->currentPage;
+        }
+        if (null !== $this->pageSize) {
+            $res['PageSize'] = $this->pageSize;
+        }
+        if (null !== $this->items) {
+            $res['Items'] = [];
+            if (null !== $this->items && \is_array($this->items)) {
+                $n = 0;
+                foreach ($this->items as $item) {
+                    $res['Items'][$n++] = null !== $item ? $item->toMap() : $item;
+                }
+            }
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DescribeWhitelistResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['TotalCount'])) {
+            $model->totalCount = $map['TotalCount'];
+        }
+        if (isset($map['CurrentPage'])) {
+            $model->currentPage = $map['CurrentPage'];
+        }
+        if (isset($map['PageSize'])) {
+            $model->pageSize = $map['PageSize'];
+        }
+        if (isset($map['Items'])) {
+            if (!empty($map['Items'])) {
+                $model->items = [];
+                $n            = 0;
+                foreach ($map['Items'] as $item) {
+                    $model->items[$n++] = null !== $item ? items::fromMap($item) : $item;
+                }
+            }
+        }
+
+        return $model;
+    }
+}

+ 165 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DescribeWhitelistResponse/items.php

@@ -0,0 +1,165 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DescribeWhitelistResponse;
+
+use AlibabaCloud\Tea\Model;
+
+class items extends Model
+{
+    /**
+     * @var int
+     */
+    public $id;
+
+    /**
+     * @var int
+     */
+    public $uid;
+
+    /**
+     * @var string
+     */
+    public $bizType;
+
+    /**
+     * @var int
+     */
+    public $startDate;
+
+    /**
+     * @var int
+     */
+    public $endDate;
+
+    /**
+     * @var string
+     */
+    public $idCardNum;
+
+    /**
+     * @var string
+     */
+    public $bizId;
+
+    /**
+     * @var int
+     */
+    public $valid;
+
+    /**
+     * @var int
+     */
+    public $gmtCreate;
+
+    /**
+     * @var int
+     */
+    public $gmtModified;
+    protected $_name = [
+        'id'          => 'Id',
+        'uid'         => 'Uid',
+        'bizType'     => 'BizType',
+        'startDate'   => 'StartDate',
+        'endDate'     => 'EndDate',
+        'idCardNum'   => 'IdCardNum',
+        'bizId'       => 'BizId',
+        'valid'       => 'Valid',
+        'gmtCreate'   => 'GmtCreate',
+        'gmtModified' => 'GmtModified',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('id', $this->id, true);
+        Model::validateRequired('uid', $this->uid, true);
+        Model::validateRequired('bizType', $this->bizType, true);
+        Model::validateRequired('startDate', $this->startDate, true);
+        Model::validateRequired('endDate', $this->endDate, true);
+        Model::validateRequired('idCardNum', $this->idCardNum, true);
+        Model::validateRequired('bizId', $this->bizId, true);
+        Model::validateRequired('valid', $this->valid, true);
+        Model::validateRequired('gmtCreate', $this->gmtCreate, true);
+        Model::validateRequired('gmtModified', $this->gmtModified, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->id) {
+            $res['Id'] = $this->id;
+        }
+        if (null !== $this->uid) {
+            $res['Uid'] = $this->uid;
+        }
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+        if (null !== $this->startDate) {
+            $res['StartDate'] = $this->startDate;
+        }
+        if (null !== $this->endDate) {
+            $res['EndDate'] = $this->endDate;
+        }
+        if (null !== $this->idCardNum) {
+            $res['IdCardNum'] = $this->idCardNum;
+        }
+        if (null !== $this->bizId) {
+            $res['BizId'] = $this->bizId;
+        }
+        if (null !== $this->valid) {
+            $res['Valid'] = $this->valid;
+        }
+        if (null !== $this->gmtCreate) {
+            $res['GmtCreate'] = $this->gmtCreate;
+        }
+        if (null !== $this->gmtModified) {
+            $res['GmtModified'] = $this->gmtModified;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return items
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Id'])) {
+            $model->id = $map['Id'];
+        }
+        if (isset($map['Uid'])) {
+            $model->uid = $map['Uid'];
+        }
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+        if (isset($map['StartDate'])) {
+            $model->startDate = $map['StartDate'];
+        }
+        if (isset($map['EndDate'])) {
+            $model->endDate = $map['EndDate'];
+        }
+        if (isset($map['IdCardNum'])) {
+            $model->idCardNum = $map['IdCardNum'];
+        }
+        if (isset($map['BizId'])) {
+            $model->bizId = $map['BizId'];
+        }
+        if (isset($map['Valid'])) {
+            $model->valid = $map['Valid'];
+        }
+        if (isset($map['GmtCreate'])) {
+            $model->gmtCreate = $map['GmtCreate'];
+        }
+        if (isset($map['GmtModified'])) {
+            $model->gmtModified = $map['GmtModified'];
+        }
+
+        return $model;
+    }
+}

+ 60 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesRequest.php

@@ -0,0 +1,60 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class DetectFaceAttributesRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $materialValue;
+
+    /**
+     * @var string
+     */
+    public $bizType;
+    protected $_name = [
+        'materialValue' => 'MaterialValue',
+        'bizType'       => 'BizType',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('materialValue', $this->materialValue, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->materialValue) {
+            $res['MaterialValue'] = $this->materialValue;
+        }
+        if (null !== $this->bizType) {
+            $res['BizType'] = $this->bizType;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DetectFaceAttributesRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['MaterialValue'])) {
+            $model->materialValue = $map['MaterialValue'];
+        }
+        if (isset($map['BizType'])) {
+            $model->bizType = $map['BizType'];
+        }
+
+        return $model;
+    }
+}

+ 101 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse.php

@@ -0,0 +1,101 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data;
+use AlibabaCloud\Tea\Model;
+
+class DetectFaceAttributesResponse extends Model
+{
+    /**
+     * @var string
+     */
+    public $requestId;
+
+    /**
+     * @var bool
+     */
+    public $success;
+
+    /**
+     * @var string
+     */
+    public $code;
+
+    /**
+     * @var string
+     */
+    public $message;
+
+    /**
+     * @var data
+     */
+    public $data;
+    protected $_name = [
+        'requestId' => 'RequestId',
+        'success'   => 'Success',
+        'code'      => 'Code',
+        'message'   => 'Message',
+        'data'      => 'Data',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('requestId', $this->requestId, true);
+        Model::validateRequired('success', $this->success, true);
+        Model::validateRequired('code', $this->code, true);
+        Model::validateRequired('message', $this->message, true);
+        Model::validateRequired('data', $this->data, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->requestId) {
+            $res['RequestId'] = $this->requestId;
+        }
+        if (null !== $this->success) {
+            $res['Success'] = $this->success;
+        }
+        if (null !== $this->code) {
+            $res['Code'] = $this->code;
+        }
+        if (null !== $this->message) {
+            $res['Message'] = $this->message;
+        }
+        if (null !== $this->data) {
+            $res['Data'] = null !== $this->data ? $this->data->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return DetectFaceAttributesResponse
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['RequestId'])) {
+            $model->requestId = $map['RequestId'];
+        }
+        if (isset($map['Success'])) {
+            $model->success = $map['Success'];
+        }
+        if (isset($map['Code'])) {
+            $model->code = $map['Code'];
+        }
+        if (isset($map['Message'])) {
+            $model->message = $map['Message'];
+        }
+        if (isset($map['Data'])) {
+            $model->data = data::fromMap($map['Data']);
+        }
+
+        return $model;
+    }
+}

+ 75 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data.php

@@ -0,0 +1,75 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data\faceInfos;
+use AlibabaCloud\Tea\Model;
+
+class data extends Model
+{
+    /**
+     * @var int
+     */
+    public $imgWidth;
+
+    /**
+     * @var int
+     */
+    public $imgHeight;
+
+    /**
+     * @var faceInfos
+     */
+    public $faceInfos;
+    protected $_name = [
+        'imgWidth'  => 'ImgWidth',
+        'imgHeight' => 'ImgHeight',
+        'faceInfos' => 'FaceInfos',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('imgWidth', $this->imgWidth, true);
+        Model::validateRequired('imgHeight', $this->imgHeight, true);
+        Model::validateRequired('faceInfos', $this->faceInfos, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->imgWidth) {
+            $res['ImgWidth'] = $this->imgWidth;
+        }
+        if (null !== $this->imgHeight) {
+            $res['ImgHeight'] = $this->imgHeight;
+        }
+        if (null !== $this->faceInfos) {
+            $res['FaceInfos'] = null !== $this->faceInfos ? $this->faceInfos->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return data
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['ImgWidth'])) {
+            $model->imgWidth = $map['ImgWidth'];
+        }
+        if (isset($map['ImgHeight'])) {
+            $model->imgHeight = $map['ImgHeight'];
+        }
+        if (isset($map['FaceInfos'])) {
+            $model->faceInfos = faceInfos::fromMap($map['FaceInfos']);
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data\faceInfos\faceAttributesDetectInfo;
+use AlibabaCloud\Tea\Model;
+
+class faceInfos extends Model
+{
+    /**
+     * @var faceAttributesDetectInfo[]
+     */
+    public $faceAttributesDetectInfo;
+    protected $_name = [
+        'faceAttributesDetectInfo' => 'FaceAttributesDetectInfo',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('faceAttributesDetectInfo', $this->faceAttributesDetectInfo, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->faceAttributesDetectInfo) {
+            $res['FaceAttributesDetectInfo'] = [];
+            if (null !== $this->faceAttributesDetectInfo && \is_array($this->faceAttributesDetectInfo)) {
+                $n = 0;
+                foreach ($this->faceAttributesDetectInfo as $item) {
+                    $res['FaceAttributesDetectInfo'][$n++] = null !== $item ? $item->toMap() : $item;
+                }
+            }
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return faceInfos
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['FaceAttributesDetectInfo'])) {
+            if (!empty($map['FaceAttributesDetectInfo'])) {
+                $model->faceAttributesDetectInfo = [];
+                $n                               = 0;
+                foreach ($map['FaceAttributesDetectInfo'] as $item) {
+                    $model->faceAttributesDetectInfo[$n++] = null !== $item ? faceAttributesDetectInfo::fromMap($item) : $item;
+                }
+            }
+        }
+
+        return $model;
+    }
+}

+ 63 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos/faceAttributesDetectInfo.php

@@ -0,0 +1,63 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data\faceInfos;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data\faceInfos\faceAttributesDetectInfo\faceAttributes;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data\faceInfos\faceAttributesDetectInfo\faceRect;
+use AlibabaCloud\Tea\Model;
+
+class faceAttributesDetectInfo extends Model
+{
+    /**
+     * @var faceRect
+     */
+    public $faceRect;
+
+    /**
+     * @var faceAttributes
+     */
+    public $faceAttributes;
+    protected $_name = [
+        'faceRect'       => 'FaceRect',
+        'faceAttributes' => 'FaceAttributes',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('faceRect', $this->faceRect, true);
+        Model::validateRequired('faceAttributes', $this->faceAttributes, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->faceRect) {
+            $res['FaceRect'] = null !== $this->faceRect ? $this->faceRect->toMap() : null;
+        }
+        if (null !== $this->faceAttributes) {
+            $res['FaceAttributes'] = null !== $this->faceAttributes ? $this->faceAttributes->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return faceAttributesDetectInfo
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['FaceRect'])) {
+            $model->faceRect = faceRect::fromMap($map['FaceRect']);
+        }
+        if (isset($map['FaceAttributes'])) {
+            $model->faceAttributes = faceAttributes::fromMap($map['FaceAttributes']);
+        }
+
+        return $model;
+    }
+}

+ 154 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos/faceAttributesDetectInfo/faceAttributes.php

@@ -0,0 +1,154 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data\faceInfos\faceAttributesDetectInfo;
+
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data\faceInfos\faceAttributesDetectInfo\faceAttributes\headpose;
+use AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data\faceInfos\faceAttributesDetectInfo\faceAttributes\smiling;
+use AlibabaCloud\Tea\Model;
+
+class faceAttributes extends Model
+{
+    /**
+     * @var string
+     */
+    public $glasses;
+
+    /**
+     * @var string
+     */
+    public $facetype;
+
+    /**
+     * @var float
+     */
+    public $blur;
+
+    /**
+     * @var float
+     */
+    public $facequal;
+
+    /**
+     * @var int
+     */
+    public $integrity;
+
+    /**
+     * @var string
+     */
+    public $respirator;
+
+    /**
+     * @var float
+     */
+    public $appearanceScore;
+
+    /**
+     * @var smiling
+     */
+    public $smiling;
+
+    /**
+     * @var headpose
+     */
+    public $headpose;
+    protected $_name = [
+        'glasses'         => 'Glasses',
+        'facetype'        => 'Facetype',
+        'blur'            => 'Blur',
+        'facequal'        => 'Facequal',
+        'integrity'       => 'Integrity',
+        'respirator'      => 'Respirator',
+        'appearanceScore' => 'AppearanceScore',
+        'smiling'         => 'Smiling',
+        'headpose'        => 'Headpose',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('glasses', $this->glasses, true);
+        Model::validateRequired('facetype', $this->facetype, true);
+        Model::validateRequired('blur', $this->blur, true);
+        Model::validateRequired('facequal', $this->facequal, true);
+        Model::validateRequired('integrity', $this->integrity, true);
+        Model::validateRequired('respirator', $this->respirator, true);
+        Model::validateRequired('appearanceScore', $this->appearanceScore, true);
+        Model::validateRequired('smiling', $this->smiling, true);
+        Model::validateRequired('headpose', $this->headpose, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->glasses) {
+            $res['Glasses'] = $this->glasses;
+        }
+        if (null !== $this->facetype) {
+            $res['Facetype'] = $this->facetype;
+        }
+        if (null !== $this->blur) {
+            $res['Blur'] = $this->blur;
+        }
+        if (null !== $this->facequal) {
+            $res['Facequal'] = $this->facequal;
+        }
+        if (null !== $this->integrity) {
+            $res['Integrity'] = $this->integrity;
+        }
+        if (null !== $this->respirator) {
+            $res['Respirator'] = $this->respirator;
+        }
+        if (null !== $this->appearanceScore) {
+            $res['AppearanceScore'] = $this->appearanceScore;
+        }
+        if (null !== $this->smiling) {
+            $res['Smiling'] = null !== $this->smiling ? $this->smiling->toMap() : null;
+        }
+        if (null !== $this->headpose) {
+            $res['Headpose'] = null !== $this->headpose ? $this->headpose->toMap() : null;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return faceAttributes
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Glasses'])) {
+            $model->glasses = $map['Glasses'];
+        }
+        if (isset($map['Facetype'])) {
+            $model->facetype = $map['Facetype'];
+        }
+        if (isset($map['Blur'])) {
+            $model->blur = $map['Blur'];
+        }
+        if (isset($map['Facequal'])) {
+            $model->facequal = $map['Facequal'];
+        }
+        if (isset($map['Integrity'])) {
+            $model->integrity = $map['Integrity'];
+        }
+        if (isset($map['Respirator'])) {
+            $model->respirator = $map['Respirator'];
+        }
+        if (isset($map['AppearanceScore'])) {
+            $model->appearanceScore = $map['AppearanceScore'];
+        }
+        if (isset($map['Smiling'])) {
+            $model->smiling = smiling::fromMap($map['Smiling']);
+        }
+        if (isset($map['Headpose'])) {
+            $model->headpose = headpose::fromMap($map['Headpose']);
+        }
+
+        return $model;
+    }
+}

+ 74 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos/faceAttributesDetectInfo/faceAttributes/headpose.php

@@ -0,0 +1,74 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data\faceInfos\faceAttributesDetectInfo\faceAttributes;
+
+use AlibabaCloud\Tea\Model;
+
+class headpose extends Model
+{
+    /**
+     * @var float
+     */
+    public $pitchAngle;
+
+    /**
+     * @var float
+     */
+    public $rollAngle;
+
+    /**
+     * @var float
+     */
+    public $yawAngle;
+    protected $_name = [
+        'pitchAngle' => 'PitchAngle',
+        'rollAngle'  => 'RollAngle',
+        'yawAngle'   => 'YawAngle',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('pitchAngle', $this->pitchAngle, true);
+        Model::validateRequired('rollAngle', $this->rollAngle, true);
+        Model::validateRequired('yawAngle', $this->yawAngle, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->pitchAngle) {
+            $res['PitchAngle'] = $this->pitchAngle;
+        }
+        if (null !== $this->rollAngle) {
+            $res['RollAngle'] = $this->rollAngle;
+        }
+        if (null !== $this->yawAngle) {
+            $res['YawAngle'] = $this->yawAngle;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return headpose
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['PitchAngle'])) {
+            $model->pitchAngle = $map['PitchAngle'];
+        }
+        if (isset($map['RollAngle'])) {
+            $model->rollAngle = $map['RollAngle'];
+        }
+        if (isset($map['YawAngle'])) {
+            $model->yawAngle = $map['YawAngle'];
+        }
+
+        return $model;
+    }
+}

+ 61 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos/faceAttributesDetectInfo/faceAttributes/smiling.php

@@ -0,0 +1,61 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data\faceInfos\faceAttributesDetectInfo\faceAttributes;
+
+use AlibabaCloud\Tea\Model;
+
+class smiling extends Model
+{
+    /**
+     * @var float
+     */
+    public $value;
+
+    /**
+     * @var float
+     */
+    public $threshold;
+    protected $_name = [
+        'value'     => 'Value',
+        'threshold' => 'Threshold',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('value', $this->value, true);
+        Model::validateRequired('threshold', $this->threshold, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->value) {
+            $res['Value'] = $this->value;
+        }
+        if (null !== $this->threshold) {
+            $res['Threshold'] = $this->threshold;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return smiling
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Value'])) {
+            $model->value = $map['Value'];
+        }
+        if (isset($map['Threshold'])) {
+            $model->threshold = $map['Threshold'];
+        }
+
+        return $model;
+    }
+}

+ 87 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/DetectFaceAttributesResponse/data/faceInfos/faceAttributesDetectInfo/faceRect.php

@@ -0,0 +1,87 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\DetectFaceAttributesResponse\data\faceInfos\faceAttributesDetectInfo;
+
+use AlibabaCloud\Tea\Model;
+
+class faceRect extends Model
+{
+    /**
+     * @var int
+     */
+    public $top;
+
+    /**
+     * @var int
+     */
+    public $left;
+
+    /**
+     * @var int
+     */
+    public $width;
+
+    /**
+     * @var int
+     */
+    public $height;
+    protected $_name = [
+        'top'    => 'Top',
+        'left'   => 'Left',
+        'width'  => 'Width',
+        'height' => 'Height',
+    ];
+
+    public function validate()
+    {
+        Model::validateRequired('top', $this->top, true);
+        Model::validateRequired('left', $this->left, true);
+        Model::validateRequired('width', $this->width, true);
+        Model::validateRequired('height', $this->height, true);
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->top) {
+            $res['Top'] = $this->top;
+        }
+        if (null !== $this->left) {
+            $res['Left'] = $this->left;
+        }
+        if (null !== $this->width) {
+            $res['Width'] = $this->width;
+        }
+        if (null !== $this->height) {
+            $res['Height'] = $this->height;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return faceRect
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['Top'])) {
+            $model->top = $map['Top'];
+        }
+        if (isset($map['Left'])) {
+            $model->left = $map['Left'];
+        }
+        if (isset($map['Width'])) {
+            $model->width = $map['Width'];
+        }
+        if (isset($map['Height'])) {
+            $model->height = $map['Height'];
+        }
+
+        return $model;
+    }
+}

+ 191 - 0
vendor/bin/cloudauth-20190307-1.0.2/src/Models/InitDeviceRequest.php

@@ -0,0 +1,191 @@
+<?php
+
+// This file is auto-generated, don't edit it. Thanks.
+
+namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
+
+use AlibabaCloud\Tea\Model;
+
+class InitDeviceRequest extends Model
+{
+    /**
+     * @var string
+     */
+    public $certifyId;
+
+    /**
+     * @var string
+     */
+    public $outerOrderNo;
+
+    /**
+     * @var string
+     */
+    public $channel;
+
+    /**
+     * @var string
+     */
+    public $merchant;
+
+    /**
+     * @var string
+     */
+    public $productName;
+
+    /**
+     * @var string
+     */
+    public $produceNode;
+
+    /**
+     * @var string
+     */
+    public $bizData;
+
+    /**
+     * @var string
+     */
+    public $metaInfo;
+
+    /**
+     * @var string
+     */
+    public $certifyPrincipal;
+
+    /**
+     * @var string
+     */
+    public $appVersion;
+
+    /**
+     * @var string
+     */
+    public $deviceToken;
+
+    /**
+     * @var string
+     */
+    public $uaToken;
+
+    /**
+     * @var string
+     */
+    public $webUmidToken;
+    protected $_name = [
+        'certifyId'        => 'CertifyId',
+        'outerOrderNo'     => 'OuterOrderNo',
+        'channel'          => 'Channel',
+        'merchant'         => 'Merchant',
+        'productName'      => 'ProductName',
+        'produceNode'      => 'ProduceNode',
+        'bizData'          => 'BizData',
+        'metaInfo'         => 'MetaInfo',
+        'certifyPrincipal' => 'CertifyPrincipal',
+        'appVersion'       => 'AppVersion',
+        'deviceToken'      => 'DeviceToken',
+        'uaToken'          => 'UaToken',
+        'webUmidToken'     => 'WebUmidToken',
+    ];
+
+    public function validate()
+    {
+    }
+
+    public function toMap()
+    {
+        $res = [];
+        if (null !== $this->certifyId) {
+            $res['CertifyId'] = $this->certifyId;
+        }
+        if (null !== $this->outerOrderNo) {
+            $res['OuterOrderNo'] = $this->outerOrderNo;
+        }
+        if (null !== $this->channel) {
+            $res['Channel'] = $this->channel;
+        }
+        if (null !== $this->merchant) {
+            $res['Merchant'] = $this->merchant;
+        }
+        if (null !== $this->productName) {
+            $res['ProductName'] = $this->productName;
+        }
+        if (null !== $this->produceNode) {
+            $res['ProduceNode'] = $this->produceNode;
+        }
+        if (null !== $this->bizData) {
+            $res['BizData'] = $this->bizData;
+        }
+        if (null !== $this->metaInfo) {
+            $res['MetaInfo'] = $this->metaInfo;
+        }
+        if (null !== $this->certifyPrincipal) {
+            $res['CertifyPrincipal'] = $this->certifyPrincipal;
+        }
+        if (null !== $this->appVersion) {
+            $res['AppVersion'] = $this->appVersion;
+        }
+        if (null !== $this->deviceToken) {
+            $res['DeviceToken'] = $this->deviceToken;
+        }
+        if (null !== $this->uaToken) {
+            $res['UaToken'] = $this->uaToken;
+        }
+        if (null !== $this->webUmidToken) {
+            $res['WebUmidToken'] = $this->webUmidToken;
+        }
+
+        return $res;
+    }
+
+    /**
+     * @param array $map
+     *
+     * @return InitDeviceRequest
+     */
+    public static function fromMap($map = [])
+    {
+        $model = new self();
+        if (isset($map['CertifyId'])) {
+            $model->certifyId = $map['CertifyId'];
+        }
+        if (isset($map['OuterOrderNo'])) {
+            $model->outerOrderNo = $map['OuterOrderNo'];
+        }
+        if (isset($map['Channel'])) {
+            $model->channel = $map['Channel'];
+        }
+        if (isset($map['Merchant'])) {
+            $model->merchant = $map['Merchant'];
+        }
+        if (isset($map['ProductName'])) {
+            $model->productName = $map['ProductName'];
+        }
+        if (isset($map['ProduceNode'])) {
+            $model->produceNode = $map['ProduceNode'];
+        }
+        if (isset($map['BizData'])) {
+            $model->bizData = $map['BizData'];
+        }
+        if (isset($map['MetaInfo'])) {
+            $model->metaInfo = $map['MetaInfo'];
+        }
+        if (isset($map['CertifyPrincipal'])) {
+            $model->certifyPrincipal = $map['CertifyPrincipal'];
+        }
+        if (isset($map['AppVersion'])) {
+            $model->appVersion = $map['AppVersion'];
+        }
+        if (isset($map['DeviceToken'])) {
+            $model->deviceToken = $map['DeviceToken'];
+        }
+        if (isset($map['UaToken'])) {
+            $model->uaToken = $map['UaToken'];
+        }
+        if (isset($map['WebUmidToken'])) {
+            $model->webUmidToken = $map['WebUmidToken'];
+        }
+
+        return $model;
+    }
+}

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio