Browse Source

sunguidong

zhangguidong 2 năm trước cách đây
mục cha
commit
51ab1a9e9e
100 tập tin đã thay đổi với 4135 bổ sung1 xóa
  1. 1 1
      application/api/controller/Publics.php
  2. 60 0
      vendor/alibabacloud/sdk/src/BtripOpen/V20220520/BtripOpenApiResolver.php
  3. 12 0
      vendor/alibabacloud/sdk/src/Eas/Eas.php
  4. 25 0
      vendor/alibabacloud/sdk/src/Eas/README-EN.md
  5. 25 0
      vendor/alibabacloud/sdk/src/Eas/README.md
  6. 1304 0
      vendor/alibabacloud/sdk/src/Eas/V20210701/EasApiResolver.php
  7. 43 0
      vendor/alibabacloud/sdk/src/Eas/composer.json
  8. 1 0
      vendor/alibabacloud/sdk/src/Eas/endpoints.json
  9. 1549 0
      vendor/alibabacloud/sdk/src/Imm/V20200930/ImmApiResolver.php
  10. 12 0
      vendor/alibabacloud/sdk/src/LmzTest/LmzTest.php
  11. 25 0
      vendor/alibabacloud/sdk/src/LmzTest/README-EN.md
  12. 25 0
      vendor/alibabacloud/sdk/src/LmzTest/README.md
  13. 714 0
      vendor/alibabacloud/sdk/src/LmzTest/V20101011/LmzTestApiResolver.php
  14. 43 0
      vendor/alibabacloud/sdk/src/LmzTest/composer.json
  15. 1 0
      vendor/alibabacloud/sdk/src/endpoints.json
  16. 65 0
      vendor/aliyuncs/oss-sdk-php/samples/BucketStat.php
  17. 76 0
      vendor/aliyuncs/oss-sdk-php/samples/CredentialsPhp.php
  18. 45 0
      vendor/aliyuncs/oss-sdk-php/samples/CredentialsProvider.php
  19. 63 0
      vendor/aliyuncs/oss-sdk-php/src/OSS/Credentials/Credentials.php
  20. 11 0
      vendor/aliyuncs/oss-sdk-php/src/OSS/Credentials/CredentialsProvider.php
  21. 35 0
      vendor/aliyuncs/oss-sdk-php/src/OSS/Credentials/StaticCredentialsProvider.php
  22. BIN
      vendor/endroid/qr-code/assets/data/qrv10_0.dat
  23. BIN
      vendor/endroid/qr-code/assets/data/qrv10_1.dat
  24. BIN
      vendor/endroid/qr-code/assets/data/qrv10_2.dat
  25. BIN
      vendor/endroid/qr-code/assets/data/qrv10_3.dat
  26. BIN
      vendor/endroid/qr-code/assets/data/qrv11_0.dat
  27. BIN
      vendor/endroid/qr-code/assets/data/qrv11_1.dat
  28. BIN
      vendor/endroid/qr-code/assets/data/qrv11_2.dat
  29. BIN
      vendor/endroid/qr-code/assets/data/qrv11_3.dat
  30. BIN
      vendor/endroid/qr-code/assets/data/qrv12_0.dat
  31. BIN
      vendor/endroid/qr-code/assets/data/qrv12_1.dat
  32. BIN
      vendor/endroid/qr-code/assets/data/qrv12_2.dat
  33. BIN
      vendor/endroid/qr-code/assets/data/qrv12_3.dat
  34. BIN
      vendor/endroid/qr-code/assets/data/qrv13_0.dat
  35. BIN
      vendor/endroid/qr-code/assets/data/qrv13_1.dat
  36. BIN
      vendor/endroid/qr-code/assets/data/qrv13_2.dat
  37. BIN
      vendor/endroid/qr-code/assets/data/qrv13_3.dat
  38. BIN
      vendor/endroid/qr-code/assets/data/qrv14_0.dat
  39. BIN
      vendor/endroid/qr-code/assets/data/qrv14_1.dat
  40. BIN
      vendor/endroid/qr-code/assets/data/qrv14_2.dat
  41. BIN
      vendor/endroid/qr-code/assets/data/qrv14_3.dat
  42. BIN
      vendor/endroid/qr-code/assets/data/qrv15_0.dat
  43. BIN
      vendor/endroid/qr-code/assets/data/qrv15_1.dat
  44. BIN
      vendor/endroid/qr-code/assets/data/qrv15_2.dat
  45. BIN
      vendor/endroid/qr-code/assets/data/qrv15_3.dat
  46. BIN
      vendor/endroid/qr-code/assets/data/qrv16_0.dat
  47. BIN
      vendor/endroid/qr-code/assets/data/qrv16_1.dat
  48. BIN
      vendor/endroid/qr-code/assets/data/qrv16_2.dat
  49. BIN
      vendor/endroid/qr-code/assets/data/qrv16_3.dat
  50. BIN
      vendor/endroid/qr-code/assets/data/qrv17_0.dat
  51. BIN
      vendor/endroid/qr-code/assets/data/qrv17_1.dat
  52. BIN
      vendor/endroid/qr-code/assets/data/qrv17_2.dat
  53. BIN
      vendor/endroid/qr-code/assets/data/qrv17_3.dat
  54. BIN
      vendor/endroid/qr-code/assets/data/qrv18_0.dat
  55. BIN
      vendor/endroid/qr-code/assets/data/qrv18_1.dat
  56. BIN
      vendor/endroid/qr-code/assets/data/qrv18_2.dat
  57. BIN
      vendor/endroid/qr-code/assets/data/qrv18_3.dat
  58. BIN
      vendor/endroid/qr-code/assets/data/qrv19_0.dat
  59. BIN
      vendor/endroid/qr-code/assets/data/qrv19_1.dat
  60. BIN
      vendor/endroid/qr-code/assets/data/qrv19_2.dat
  61. BIN
      vendor/endroid/qr-code/assets/data/qrv19_3.dat
  62. BIN
      vendor/endroid/qr-code/assets/data/qrv1_0.dat
  63. BIN
      vendor/endroid/qr-code/assets/data/qrv1_1.dat
  64. BIN
      vendor/endroid/qr-code/assets/data/qrv1_2.dat
  65. BIN
      vendor/endroid/qr-code/assets/data/qrv1_3.dat
  66. BIN
      vendor/endroid/qr-code/assets/data/qrv20_0.dat
  67. BIN
      vendor/endroid/qr-code/assets/data/qrv20_1.dat
  68. BIN
      vendor/endroid/qr-code/assets/data/qrv20_2.dat
  69. BIN
      vendor/endroid/qr-code/assets/data/qrv20_3.dat
  70. BIN
      vendor/endroid/qr-code/assets/data/qrv21_0.dat
  71. BIN
      vendor/endroid/qr-code/assets/data/qrv21_1.dat
  72. BIN
      vendor/endroid/qr-code/assets/data/qrv21_2.dat
  73. BIN
      vendor/endroid/qr-code/assets/data/qrv21_3.dat
  74. BIN
      vendor/endroid/qr-code/assets/data/qrv22_0.dat
  75. 0 0
      vendor/endroid/qr-code/assets/data/qrv22_1.dat
  76. BIN
      vendor/endroid/qr-code/assets/data/qrv22_2.dat
  77. BIN
      vendor/endroid/qr-code/assets/data/qrv22_3.dat
  78. BIN
      vendor/endroid/qr-code/assets/data/qrv23_0.dat
  79. 0 0
      vendor/endroid/qr-code/assets/data/qrv23_1.dat
  80. BIN
      vendor/endroid/qr-code/assets/data/qrv23_2.dat
  81. BIN
      vendor/endroid/qr-code/assets/data/qrv23_3.dat
  82. BIN
      vendor/endroid/qr-code/assets/data/qrv24_0.dat
  83. 0 0
      vendor/endroid/qr-code/assets/data/qrv24_1.dat
  84. BIN
      vendor/endroid/qr-code/assets/data/qrv24_2.dat
  85. BIN
      vendor/endroid/qr-code/assets/data/qrv24_3.dat
  86. 0 0
      vendor/endroid/qr-code/assets/data/qrv25_0.dat
  87. 0 0
      vendor/endroid/qr-code/assets/data/qrv25_1.dat
  88. BIN
      vendor/endroid/qr-code/assets/data/qrv25_2.dat
  89. BIN
      vendor/endroid/qr-code/assets/data/qrv25_3.dat
  90. 0 0
      vendor/endroid/qr-code/assets/data/qrv26_0.dat
  91. 0 0
      vendor/endroid/qr-code/assets/data/qrv26_1.dat
  92. BIN
      vendor/endroid/qr-code/assets/data/qrv26_2.dat
  93. 0 0
      vendor/endroid/qr-code/assets/data/qrv26_3.dat
  94. 0 0
      vendor/endroid/qr-code/assets/data/qrv27_0.dat
  95. 0 0
      vendor/endroid/qr-code/assets/data/qrv27_1.dat
  96. 0 0
      vendor/endroid/qr-code/assets/data/qrv27_2.dat
  97. 0 0
      vendor/endroid/qr-code/assets/data/qrv27_3.dat
  98. 0 0
      vendor/endroid/qr-code/assets/data/qrv28_0.dat
  99. 0 0
      vendor/endroid/qr-code/assets/data/qrv28_1.dat
  100. 0 0
      vendor/endroid/qr-code/assets/data/qrv28_2.dat

+ 1 - 1
application/api/controller/Publics.php

@@ -39,7 +39,7 @@ class Publics extends Api
             mkdir($dir, 0700,true);
         }
 
-        $ossClient = new OssClient(self::getOneValues('storage_oss_keyid'), self::getOneValues('storage_oss_secret'), self::getOneValues('storage_oss_endpoint'));
+//        $ossClient = new OssClient(self::getOneValues('storage_oss_keyid'), self::getOneValues('storage_oss_secret'), self::getOneValues('storage_oss_endpoint'));
         $info = $file->move($dir);
         $newName = $info->getSaveName();
         $storage_type = self::getOneValues('storage_type');

+ 60 - 0
vendor/alibabacloud/sdk/src/BtripOpen/V20220520/BtripOpenApiResolver.php

@@ -0,0 +1,60 @@
+<?php
+
+namespace AlibabaCloud\BtripOpen\V20220520;
+
+use AlibabaCloud\Client\Resolver\ApiResolver;
+
+/**
+ * @method AccessToken accessToken(array $options = [])
+ */
+class BtripOpenApiResolver extends ApiResolver
+{
+}
+
+class Roa extends \AlibabaCloud\Client\Resolver\Roa
+{
+    /** @var string */
+    public $product = 'btripOpen';
+
+    /** @var string */
+    public $version = '2022-05-20';
+
+    /** @var string */
+    protected $scheme = 'https';
+}
+
+/**
+ * @method string getAppKey()
+ * @method string getAppSecret()
+ */
+class AccessToken extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/btrip-open-auth/v1/access-token/action/take';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withAppKey($value)
+    {
+        $this->data['AppKey'] = $value;
+        $this->options['query']['app_key'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withAppSecret($value)
+    {
+        $this->data['AppSecret'] = $value;
+        $this->options['query']['app_secret'] = $value;
+
+        return $this;
+    }
+}

+ 12 - 0
vendor/alibabacloud/sdk/src/Eas/Eas.php

@@ -0,0 +1,12 @@
+<?php
+
+namespace AlibabaCloud\Eas;
+
+use AlibabaCloud\Client\Resolver\VersionResolver;
+
+/**
+ * @method static V20210701\EasApiResolver v20210701()
+ */
+class Eas extends VersionResolver
+{
+}

+ 25 - 0
vendor/alibabacloud/sdk/src/Eas/README-EN.md

@@ -0,0 +1,25 @@
+[简体中文](./README.md) | English
+
+<p align="center">
+<a href=" https://www.aliyun.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg"></a>
+</p>
+
+<h1 align="center">Alibaba Cloud Eas SDK for PHP</h1>
+
+If [Alibaba Cloud SDK for PHP][sdk] is installed, there is no need to install the product dependency package. This product dependency package is only part of the synchronization from [Alibaba Cloud SDK for PHP][sdk], and its namespace and usage are consistent with [Alibaba Cloud SDK for PHP][sdk].
+
+If you don't care about file size, we recommend that you install [Alibaba Cloud SDK for PHP][sdk] and update it regularly so as to maintain the latest and most complete product support:
+```
+composer require alibabacloud/sdk
+```
+
+The product can also be installed only:
+> The version of this product is always synchronized with [Alibaba Cloud SDK for PHP][sdk] to ensure that it can switch with [Alibaba Cloud SDK for PHP][sdk] at any time without changing the business code, although the code between different versions of this product may not change.
+```
+composer require alibabacloud/eas
+```
+
+***
+Refer to document [Alibaba Cloud SDK for PHP][sdk] for more SDK usage.
+
+[sdk]: https://github.com/aliyun/openapi-sdk-php

+ 25 - 0
vendor/alibabacloud/sdk/src/Eas/README.md

@@ -0,0 +1,25 @@
+简体中文 | [English](./README-EN.md)
+
+<p align="center">
+<a href=" https://www.aliyun.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/Aliyun.svg"></a>
+</p>
+
+<h1 align="center">Alibaba Cloud Eas SDK for PHP</h1>
+
+若已安装 [Alibaba Cloud SDK for PHP][sdk] 则无需安装本产品依赖包。本产品依赖包只是从 [Alibaba Cloud SDK for PHP][sdk] 中同步出来的一部分,其命名空间、用法与 [Alibaba Cloud SDK for PHP][sdk] 一致。
+
+如果您不在乎文件体积,建议您安装 [Alibaba Cloud SDK for PHP][sdk] 并经常更新,以便保持最新、最全的产品支持:
+```
+composer require alibabacloud/sdk
+```
+
+也可仅安装本产品:
+> 本产品的版本始终和 [Alibaba Cloud SDK for PHP][sdk] 保持同步,以保证在不改变业务代码的情况下随时和 [Alibaba Cloud SDK for PHP][sdk] 相互切换,尽管本产品不同版本之间的代码可能没有变化。
+```
+composer require alibabacloud/eas
+```
+
+***
+更多 SDK 的使用请参考 [Alibaba Cloud SDK for PHP][sdk] 文档。
+
+[sdk]: https://github.com/aliyun/openapi-sdk-php

+ 1304 - 0
vendor/alibabacloud/sdk/src/Eas/V20210701/EasApiResolver.php

@@ -0,0 +1,1304 @@
+<?php
+
+namespace AlibabaCloud\Eas\V20210701;
+
+use AlibabaCloud\Client\Resolver\ApiResolver;
+
+/**
+ * @method CreateBenchmarkTask createBenchmarkTask(array $options = [])
+ * @method CreateResource createResource(array $options = [])
+ * @method CreateResourceInstances createResourceInstances(array $options = [])
+ * @method CreateResourceLog createResourceLog(array $options = [])
+ * @method CreateService createService(array $options = [])
+ * @method CreateServiceAutoScaler createServiceAutoScaler(array $options = [])
+ * @method CreateServiceCronScaler createServiceCronScaler(array $options = [])
+ * @method CreateServiceMirror createServiceMirror(array $options = [])
+ * @method DeleteBenchmarkTask deleteBenchmarkTask(array $options = [])
+ * @method DeleteResource deleteResource(array $options = [])
+ * @method DeleteResourceDLink deleteResourceDLink(array $options = [])
+ * @method DeleteResourceInstances deleteResourceInstances(array $options = [])
+ * @method DeleteResourceLog deleteResourceLog(array $options = [])
+ * @method DeleteService deleteService(array $options = [])
+ * @method DeleteServiceAutoScaler deleteServiceAutoScaler(array $options = [])
+ * @method DeleteServiceCronScaler deleteServiceCronScaler(array $options = [])
+ * @method DeleteServiceInstances deleteServiceInstances(array $options = [])
+ * @method DeleteServiceMirror deleteServiceMirror(array $options = [])
+ * @method DescribeBenchmarkTask describeBenchmarkTask(array $options = [])
+ * @method DescribeBenchmarkTaskReport describeBenchmarkTaskReport(array $options = [])
+ * @method DescribeResource describeResource(array $options = [])
+ * @method DescribeResourceDLink describeResourceDLink(array $options = [])
+ * @method DescribeResourceLog describeResourceLog(array $options = [])
+ * @method DescribeService describeService(array $options = [])
+ * @method DescribeServiceAutoScaler describeServiceAutoScaler(array $options = [])
+ * @method DescribeServiceCronScaler describeServiceCronScaler(array $options = [])
+ * @method DescribeServiceLog describeServiceLog(array $options = [])
+ * @method DescribeServiceMirror describeServiceMirror(array $options = [])
+ * @method ListBenchmarkTask listBenchmarkTask(array $options = [])
+ * @method ListResourceInstances listResourceInstances(array $options = [])
+ * @method ListResourceInstanceWorker listResourceInstanceWorker(array $options = [])
+ * @method ListResources listResources(array $options = [])
+ * @method ListResourceServices listResourceServices(array $options = [])
+ * @method ListServiceInstances listServiceInstances(array $options = [])
+ * @method ListServices listServices(array $options = [])
+ * @method ReleaseService releaseService(array $options = [])
+ * @method StartBenchmarkTask startBenchmarkTask(array $options = [])
+ * @method StartService startService(array $options = [])
+ * @method StopBenchmarkTask stopBenchmarkTask(array $options = [])
+ * @method StopService stopService(array $options = [])
+ * @method UpdateBenchmarkTask updateBenchmarkTask(array $options = [])
+ * @method UpdateResource updateResource(array $options = [])
+ * @method UpdateResourceDLink updateResourceDLink(array $options = [])
+ * @method UpdateService updateService(array $options = [])
+ * @method UpdateServiceAutoScaler updateServiceAutoScaler(array $options = [])
+ * @method UpdateServiceCronScaler updateServiceCronScaler(array $options = [])
+ * @method UpdateServiceMirror updateServiceMirror(array $options = [])
+ * @method UpdateServiceVersion updateServiceVersion(array $options = [])
+ */
+class EasApiResolver extends ApiResolver
+{
+}
+
+class Roa extends \AlibabaCloud\Client\Resolver\Roa
+{
+    /** @var string */
+    public $product = 'eas';
+
+    /** @var string */
+    public $version = '2021-07-01';
+
+    /** @var string */
+    public $serviceCode = 'eas';
+}
+
+/**
+ * @method string getBody()
+ */
+class CreateBenchmarkTask extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/benchmark-tasks';
+
+    /** @var string */
+    public $method = 'POST';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getBody()
+ */
+class CreateResource extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources';
+
+    /** @var string */
+    public $method = 'POST';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class CreateResourceInstances extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instances';
+
+    /** @var string */
+    public $method = 'POST';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class CreateResourceLog extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/log';
+
+    /** @var string */
+    public $method = 'POST';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getBody()
+ */
+class CreateService extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services';
+
+    /** @var string */
+    public $method = 'POST';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class CreateServiceAutoScaler extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
+
+    /** @var string */
+    public $method = 'POST';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class CreateServiceCronScaler extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
+
+    /** @var string */
+    public $method = 'POST';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class CreateServiceMirror extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
+
+    /** @var string */
+    public $method = 'POST';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getTaskName()
+ * @method $this withTaskName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DeleteBenchmarkTask extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]';
+
+    /** @var string */
+    public $method = 'DELETE';
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DeleteResource extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]';
+
+    /** @var string */
+    public $method = 'DELETE';
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DeleteResourceDLink extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/dlink';
+
+    /** @var string */
+    public $method = 'DELETE';
+}
+
+/**
+ * @method string getInstanceList()
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getAllFailed()
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DeleteResourceInstances extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instances';
+
+    /** @var string */
+    public $method = 'DELETE';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withInstanceList($value)
+    {
+        $this->data['InstanceList'] = $value;
+        $this->options['query']['InstanceList'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withAllFailed($value)
+    {
+        $this->data['AllFailed'] = $value;
+        $this->options['query']['AllFailed'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DeleteResourceLog extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/log';
+
+    /** @var string */
+    public $method = 'DELETE';
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DeleteService extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]';
+
+    /** @var string */
+    public $method = 'DELETE';
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DeleteServiceAutoScaler extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
+
+    /** @var string */
+    public $method = 'DELETE';
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DeleteServiceCronScaler extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
+
+    /** @var string */
+    public $method = 'DELETE';
+}
+
+/**
+ * @method string getInstanceList()
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DeleteServiceInstances extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/instances';
+
+    /** @var string */
+    public $method = 'DELETE';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withInstanceList($value)
+    {
+        $this->data['InstanceList'] = $value;
+        $this->options['query']['InstanceList'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DeleteServiceMirror extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
+
+    /** @var string */
+    public $method = 'DELETE';
+}
+
+/**
+ * @method string getTaskName()
+ * @method $this withTaskName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DescribeBenchmarkTask extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]';
+}
+
+/**
+ * @method string getTaskName()
+ * @method $this withTaskName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DescribeBenchmarkTaskReport extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]/report';
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DescribeResource extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]';
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DescribeResourceDLink extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/dlink';
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DescribeResourceLog extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/log';
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DescribeService extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]';
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DescribeServiceAutoScaler extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DescribeServiceCronScaler extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
+}
+
+/**
+ * @method string getIp()
+ * @method string getPageSize()
+ * @method string getEndTime()
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getStartTime()
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getPageNum()
+ * @method string getKeyword()
+ */
+class DescribeServiceLog extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/logs';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withIp($value)
+    {
+        $this->data['Ip'] = $value;
+        $this->options['query']['Ip'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageSize($value)
+    {
+        $this->data['PageSize'] = $value;
+        $this->options['query']['PageSize'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withEndTime($value)
+    {
+        $this->data['EndTime'] = $value;
+        $this->options['query']['EndTime'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withStartTime($value)
+    {
+        $this->data['StartTime'] = $value;
+        $this->options['query']['StartTime'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageNum($value)
+    {
+        $this->data['PageNum'] = $value;
+        $this->options['query']['PageNum'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withKeyword($value)
+    {
+        $this->data['Keyword'] = $value;
+        $this->options['query']['Keyword'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class DescribeServiceMirror extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
+}
+
+class ListBenchmarkTask extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/benchmark-tasks';
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getPageSize()
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getChargeType()
+ * @method string getPageNumber()
+ */
+class ListResourceInstances extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instances';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageSize($value)
+    {
+        $this->data['PageSize'] = $value;
+        $this->options['query']['PageSize'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withChargeType($value)
+    {
+        $this->data['ChargeType'] = $value;
+        $this->options['query']['ChargeType'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageNumber($value)
+    {
+        $this->data['PageNumber'] = $value;
+        $this->options['query']['PageNumber'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getInstanceName()
+ * @method $this withInstanceName($value)
+ * @method string getPageSize()
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getPageNumber()
+ */
+class ListResourceInstanceWorker extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instance/[InstanceName]/workers';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageSize($value)
+    {
+        $this->data['PageSize'] = $value;
+        $this->options['query']['PageSize'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageNumber($value)
+    {
+        $this->data['PageNumber'] = $value;
+        $this->options['query']['PageNumber'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getPageSize()
+ * @method string getPageNumber()
+ */
+class ListResources extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageSize($value)
+    {
+        $this->data['PageSize'] = $value;
+        $this->options['query']['PageSize'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageNumber($value)
+    {
+        $this->data['PageNumber'] = $value;
+        $this->options['query']['PageNumber'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getPageSize()
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getPageNumber()
+ */
+class ListResourceServices extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/services';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageSize($value)
+    {
+        $this->data['PageSize'] = $value;
+        $this->options['query']['PageSize'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageNumber($value)
+    {
+        $this->data['PageNumber'] = $value;
+        $this->options['query']['PageNumber'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getPageSize()
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getPageNumber()
+ */
+class ListServiceInstances extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/instances';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageSize($value)
+    {
+        $this->data['PageSize'] = $value;
+        $this->options['query']['PageSize'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageNumber($value)
+    {
+        $this->data['PageNumber'] = $value;
+        $this->options['query']['PageNumber'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getFilter()
+ * @method string getPageSize()
+ * @method string getSort()
+ * @method string getPageNumber()
+ * @method string getOrder()
+ */
+class ListServices extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withFilter($value)
+    {
+        $this->data['Filter'] = $value;
+        $this->options['query']['Filter'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageSize($value)
+    {
+        $this->data['PageSize'] = $value;
+        $this->options['query']['PageSize'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withSort($value)
+    {
+        $this->data['Sort'] = $value;
+        $this->options['query']['Sort'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withPageNumber($value)
+    {
+        $this->data['PageNumber'] = $value;
+        $this->options['query']['PageNumber'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withOrder($value)
+    {
+        $this->data['Order'] = $value;
+        $this->options['query']['Order'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class ReleaseService extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/release';
+
+    /** @var string */
+    public $method = 'PUT';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getTaskName()
+ * @method $this withTaskName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class StartBenchmarkTask extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]/start';
+
+    /** @var string */
+    public $method = 'PUT';
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class StartService extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/start';
+
+    /** @var string */
+    public $method = 'PUT';
+}
+
+/**
+ * @method string getTaskName()
+ * @method $this withTaskName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class StopBenchmarkTask extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]/stop';
+
+    /** @var string */
+    public $method = 'PUT';
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ */
+class StopService extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/stop';
+
+    /** @var string */
+    public $method = 'PUT';
+}
+
+/**
+ * @method string getTaskName()
+ * @method $this withTaskName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class UpdateBenchmarkTask extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]';
+
+    /** @var string */
+    public $method = 'PUT';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class UpdateResource extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]';
+
+    /** @var string */
+    public $method = 'PUT';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getResourceId()
+ * @method $this withResourceId($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class UpdateResourceDLink extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/dlink';
+
+    /** @var string */
+    public $method = 'PUT';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class UpdateService extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]';
+
+    /** @var string */
+    public $method = 'PUT';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class UpdateServiceAutoScaler extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
+
+    /** @var string */
+    public $method = 'PUT';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class UpdateServiceCronScaler extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
+
+    /** @var string */
+    public $method = 'PUT';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class UpdateServiceMirror extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
+
+    /** @var string */
+    public $method = 'PUT';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getServiceName()
+ * @method $this withServiceName($value)
+ * @method string getClusterId()
+ * @method $this withClusterId($value)
+ * @method string getBody()
+ */
+class UpdateServiceVersion extends Roa
+{
+    /** @var string */
+    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/version';
+
+    /** @var string */
+    public $method = 'PUT';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['form_params']['body'] = $value;
+
+        return $this;
+    }
+}

+ 43 - 0
vendor/alibabacloud/sdk/src/Eas/composer.json

@@ -0,0 +1,43 @@
+{
+    "name": "alibabacloud/eas",
+    "homepage": "https://www.alibabacloud.com/",
+    "description": "Alibaba Cloud Eas SDK for PHP",
+    "keywords": [
+        "eas",
+        "sdk",
+        "cloud",
+        "aliyun",
+        "alibaba",
+        "library",
+        "alibabacloud"
+    ],
+    "type": "library",
+    "license": "Apache-2.0",
+    "support": {
+        "source": "https://github.com/alibabacloud-sdk-php/eas",
+        "issues": "https://github.com/alibabacloud-sdk-php/eas/issues"
+    },
+    "authors": [
+        {
+            "name": "Alibaba Cloud SDK",
+            "email": "sdk-team@alibabacloud.com",
+            "homepage": "http://www.alibabacloud.com"
+        }
+    ],
+    "require": {
+        "php": ">=5.5",
+        "alibabacloud/client": "^1.5"
+    },
+    "autoload": {
+        "psr-4": {
+            "AlibabaCloud\\Eas\\": ""
+        }
+    },
+    "config": {
+        "sort-packages": true,
+        "preferred-install": "dist",
+        "optimize-autoloader": true
+    },
+    "prefer-stable": true,
+    "minimum-stability": "dev"
+}

+ 1 - 0
vendor/alibabacloud/sdk/src/Eas/endpoints.json

@@ -0,0 +1 @@
+{"endpoint_map":{"cn-beijing":"pai-eas.cn-beijing.aliyuncs.com","cn-zhangjiakou":"pai-eas.cn-zhangjiakou.aliyuncs.com","cn-hangzhou":"pai-eas.cn-hangzhou.aliyuncs.com","cn-shanghai":"pai-eas.cn-shanghai.aliyuncs.com","cn-shenzhen":"pai-eas.cn-shenzhen.aliyuncs.com","cn-hongkong":"pai-eas.cn-hongkong.aliyuncs.com","ap-southeast-1":"pai-eas.ap-southeast-1.aliyuncs.com","ap-southeast-5":"pai-eas.ap-southeast-5.aliyuncs.com","us-east-1":"pai-eas.us-east-1.aliyuncs.com","us-west-1":"pai-eas.us-west-1.aliyuncs.com","eu-central-1":"pai-eas.eu-central-1.aliyuncs.com","ap-south-1":"pai-eas.ap-south-1.aliyuncs.com","cn-shanghai-finance-1":"pai-eas.cn-shanghai-finance-1.aliyuncs.com","cn-north-2-gov-1":"pai-eas.cn-north-2-gov-1.aliyuncs.com","cn-chengdu":"pai-eas.cn-chengdu.aliyuncs.com"},"endpoint_regional":"regional","standard":[],"regions":["cn-beijing","cn-zhangjiakou","cn-hangzhou","cn-shanghai","cn-shenzhen","cn-hongkong","ap-southeast-1","ap-southeast-5","us-east-1","us-west-1","eu-central-1","ap-south-1","cn-shanghai-finance-1","cn-north-2-gov-1","ap-northeast-1","ap-northeast-2-pop","ap-southeast-2","ap-southeast-3","cn-beijing-finance-1","cn-beijing-finance-pop","cn-beijing-gov-1","cn-beijing-nu16-b01","cn-chengdu","cn-edge-1","cn-fujian","cn-haidian-cm12-c01","cn-hangzhou-bj-b01","cn-hangzhou-finance","cn-hangzhou-internal-prod-1","cn-hangzhou-internal-test-1","cn-hangzhou-internal-test-2","cn-hangzhou-internal-test-3","cn-hangzhou-test-306","cn-hongkong-finance-pop","cn-huhehaote","cn-huhehaote-nebula-1","cn-qingdao","cn-qingdao-nebula","cn-shanghai-et15-b01","cn-shanghai-et2-b01","cn-shanghai-inner","cn-shanghai-internal-test-1","cn-shenzhen-finance-1","cn-shenzhen-inner","cn-shenzhen-st4-d01","cn-shenzhen-su18-b01","cn-wuhan","cn-wulanchabu","cn-yushanfang","cn-zhangbei","cn-zhangbei-na61-b01","cn-zhangjiakou-na62-a01","cn-zhengzhou-nebula-1","eu-west-1","eu-west-1-oxs","me-east-1","rus-west-1-pop"],"endpoint_health":[]}

+ 1549 - 0
vendor/alibabacloud/sdk/src/Imm/V20200930/ImmApiResolver.php

@@ -0,0 +1,1549 @@
+<?php
+
+namespace AlibabaCloud\Imm\V20200930;
+
+use AlibabaCloud\Client\Resolver\ApiResolver;
+
+/**
+ * @method AddStoryFiles addStoryFiles(array $options = [])
+ * @method AttachOSSBucket attachOSSBucket(array $options = [])
+ * @method BatchDeleteFileMeta batchDeleteFileMeta(array $options = [])
+ * @method BatchGetFileMeta batchGetFileMeta(array $options = [])
+ * @method BatchIndexFileMeta batchIndexFileMeta(array $options = [])
+ * @method BatchUpdateFileMeta batchUpdateFileMeta(array $options = [])
+ * @method CreateBinding createBinding(array $options = [])
+ * @method CreateDataset createDataset(array $options = [])
+ * @method CreateDetectVideoLabelsTask createDetectVideoLabelsTask(array $options = [])
+ * @method CreateFigureClusteringTask createFigureClusteringTask(array $options = [])
+ * @method CreateFigureClustersMergingTask createFigureClustersMergingTask(array $options = [])
+ * @method CreateImageModerationTask createImageModerationTask(array $options = [])
+ * @method CreateImageSplicingTask createImageSplicingTask(array $options = [])
+ * @method CreateMediaConvertTask createMediaConvertTask(array $options = [])
+ * @method CreateOfficeConversionTask createOfficeConversionTask(array $options = [])
+ * @method CreateProject createProject(array $options = [])
+ * @method CreateStory createStory(array $options = [])
+ * @method CreateVideoModerationTask createVideoModerationTask(array $options = [])
+ * @method DeleteBinding deleteBinding(array $options = [])
+ * @method DeleteDataset deleteDataset(array $options = [])
+ * @method DeleteFileMeta deleteFileMeta(array $options = [])
+ * @method DeleteProject deleteProject(array $options = [])
+ * @method DeleteStory deleteStory(array $options = [])
+ * @method DetachOSSBucket detachOSSBucket(array $options = [])
+ * @method DetectImageBodies detectImageBodies(array $options = [])
+ * @method DetectImageCodes detectImageCodes(array $options = [])
+ * @method DetectImageCropping detectImageCropping(array $options = [])
+ * @method DetectImageFaces detectImageFaces(array $options = [])
+ * @method DetectImageLabels detectImageLabels(array $options = [])
+ * @method DetectImageScore detectImageScore(array $options = [])
+ * @method DetectTextAnomaly detectTextAnomaly(array $options = [])
+ * @method FuzzyQuery fuzzyQuery(array $options = [])
+ * @method GetBinding getBinding(array $options = [])
+ * @method GetDataset getDataset(array $options = [])
+ * @method GetDetectVideoLabelsResult getDetectVideoLabelsResult(array $options = [])
+ * @method GetFigureCluster getFigureCluster(array $options = [])
+ * @method GetFileMeta getFileMeta(array $options = [])
+ * @method GetMediaMeta getMediaMeta(array $options = [])
+ * @method GetOSSBucketAttachment getOSSBucketAttachment(array $options = [])
+ * @method GetProject getProject(array $options = [])
+ * @method GetStory getStory(array $options = [])
+ * @method GetTask getTask(array $options = [])
+ * @method GetWebofficeURL getWebofficeURL(array $options = [])
+ * @method IndexFileMeta indexFileMeta(array $options = [])
+ * @method ListBindings listBindings(array $options = [])
+ * @method ListDatasets listDatasets(array $options = [])
+ * @method ListProjects listProjects(array $options = [])
+ * @method ListRegions listRegions(array $options = [])
+ * @method ListTasks listTasks(array $options = [])
+ * @method MergeFigureClusters mergeFigureClusters(array $options = [])
+ * @method QueryFigureClusters queryFigureClusters(array $options = [])
+ * @method QueryStories queryStories(array $options = [])
+ * @method RefreshWebofficeToken refreshWebofficeToken(array $options = [])
+ * @method RemoveStoryFiles removeStoryFiles(array $options = [])
+ * @method ResumeBinding resumeBinding(array $options = [])
+ * @method SemanticQuery semanticQuery(array $options = [])
+ * @method SimpleQuery simpleQuery(array $options = [])
+ * @method StopBinding stopBinding(array $options = [])
+ * @method UpdateDataset updateDataset(array $options = [])
+ * @method UpdateFigureCluster updateFigureCluster(array $options = [])
+ * @method UpdateFileMeta updateFileMeta(array $options = [])
+ * @method UpdateProject updateProject(array $options = [])
+ * @method UpdateStory updateStory(array $options = [])
+ */
+class ImmApiResolver extends ApiResolver
+{
+}
+
+class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
+{
+    /** @var string */
+    public $product = 'imm';
+
+    /** @var string */
+    public $version = '2020-09-30';
+
+    /** @var string */
+    public $method = 'POST';
+
+    /** @var string */
+    public $serviceCode = 'imm';
+}
+
+/**
+ * @method string getProjectName()
+ * @method string getDatasetName()
+ * @method string getFiles()
+ * @method string getObjectId()
+ */
+class AddStoryFiles extends Rpc
+{
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withProjectName($value)
+    {
+        $this->data['ProjectName'] = $value;
+        $this->options['form_params']['ProjectName'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withDatasetName($value)
+    {
+        $this->data['DatasetName'] = $value;
+        $this->options['form_params']['DatasetName'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withFiles($value)
+    {
+        $this->data['Files'] = $value;
+        $this->options['form_params']['Files'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withObjectId($value)
+    {
+        $this->data['ObjectId'] = $value;
+        $this->options['form_params']['ObjectId'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getOSSBucket()
+ * @method $this withOSSBucket($value)
+ */
+class AttachOSSBucket extends Rpc
+{
+}
+
+/**
+ * @method string getURIs()
+ * @method $this withURIs($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ */
+class BatchDeleteFileMeta extends Rpc
+{
+}
+
+/**
+ * @method string getURIs()
+ * @method $this withURIs($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ */
+class BatchGetFileMeta extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getNotifyEndpoint()
+ * @method $this withNotifyEndpoint($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getFiles()
+ * @method $this withFiles($value)
+ */
+class BatchIndexFileMeta extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getFiles()
+ * @method $this withFiles($value)
+ */
+class BatchUpdateFileMeta extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getBucketOwnerId()
+ * @method $this withBucketOwnerId($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getURI()
+ * @method $this withURI($value)
+ */
+class CreateBinding extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetMaxBindCount()
+ * @method $this withDatasetMaxBindCount($value)
+ * @method string getDatasetMaxTotalFileSize()
+ * @method $this withDatasetMaxTotalFileSize($value)
+ * @method string getDatasetMaxRelationCount()
+ * @method $this withDatasetMaxRelationCount($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getDescription()
+ * @method $this withDescription($value)
+ * @method string getDatasetMaxEntityCount()
+ * @method $this withDatasetMaxEntityCount($value)
+ * @method string getDatasetMaxFileCount()
+ * @method $this withDatasetMaxFileCount($value)
+ * @method string getTemplateId()
+ * @method $this withTemplateId($value)
+ */
+class CreateDataset extends Rpc
+{
+}
+
+/**
+ * @method string getUserData()
+ * @method $this withUserData($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getNotifyEndpoint()
+ * @method $this withNotifyEndpoint($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ * @method string getTags()
+ * @method $this withTags($value)
+ */
+class CreateDetectVideoLabelsTask extends Rpc
+{
+}
+
+/**
+ * @method string getUserData()
+ * @method $this withUserData($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getNotifyEndpoint()
+ * @method $this withNotifyEndpoint($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getTags()
+ * @method $this withTags($value)
+ */
+class CreateFigureClusteringTask extends Rpc
+{
+}
+
+/**
+ * @method string getUserData()
+ * @method $this withUserData($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getNotifyEndpoint()
+ * @method $this withNotifyEndpoint($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getFrom()
+ * @method $this withFrom($value)
+ * @method string getTo()
+ * @method $this withTo($value)
+ * @method string getTags()
+ * @method $this withTags($value)
+ */
+class CreateFigureClustersMergingTask extends Rpc
+{
+}
+
+/**
+ * @method string getUserData()
+ * @method $this withUserData($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getNotifyEndpoint()
+ * @method $this withNotifyEndpoint($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getScenes()
+ * @method $this withScenes($value)
+ * @method string getMaxFrames()
+ * @method $this withMaxFrames($value)
+ * @method string getInterval()
+ * @method $this withInterval($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ * @method string getReviewer()
+ * @method $this withReviewer($value)
+ * @method string getTags()
+ * @method $this withTags($value)
+ */
+class CreateImageModerationTask extends Rpc
+{
+}
+
+/**
+ * @method string getPadding()
+ * @method $this withPadding($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getMargin()
+ * @method $this withMargin($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getSources()
+ * @method $this withSources($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ * @method string getAlign()
+ * @method $this withAlign($value)
+ * @method string getQuality()
+ * @method $this withQuality($value)
+ * @method string getBackgroundColor()
+ * @method $this withBackgroundColor($value)
+ * @method string getTags()
+ * @method $this withTags($value)
+ * @method string getUserData()
+ * @method $this withUserData($value)
+ * @method string getNotifyEndpoint()
+ * @method $this withNotifyEndpoint($value)
+ * @method string getTargetURI()
+ * @method $this withTargetURI($value)
+ * @method string getScaleType()
+ * @method $this withScaleType($value)
+ * @method string getImageFormat()
+ * @method $this withImageFormat($value)
+ * @method string getDirection()
+ * @method $this withDirection($value)
+ */
+class CreateImageSplicingTask extends Rpc
+{
+}
+
+/**
+ * @method string getUserData()
+ * @method $this withUserData($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getSources()
+ * @method $this withSources($value)
+ * @method string getNotifyEndpoint()
+ * @method $this withNotifyEndpoint($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ * @method string getTargets()
+ * @method $this withTargets($value)
+ * @method string getTags()
+ * @method $this withTags($value)
+ */
+class CreateMediaConvertTask extends Rpc
+{
+}
+
+/**
+ * @method string getSheetCount()
+ * @method $this withSheetCount($value)
+ * @method string getLongText()
+ * @method $this withLongText($value)
+ * @method string getTargetType()
+ * @method $this withTargetType($value)
+ * @method string getShowComments()
+ * @method $this withShowComments($value)
+ * @method string getTrimPolicy()
+ * @method $this withTrimPolicy($value)
+ * @method string getMaxSheetColumn()
+ * @method $this withMaxSheetColumn($value)
+ * @method string getFirstPage()
+ * @method $this withFirstPage($value)
+ * @method string getPaperHorizontal()
+ * @method $this withPaperHorizontal($value)
+ * @method string getUserData()
+ * @method $this withUserData($value)
+ * @method string getScalePercentage()
+ * @method $this withScalePercentage($value)
+ * @method string getPassword()
+ * @method $this withPassword($value)
+ * @method string getStartPage()
+ * @method $this withStartPage($value)
+ * @method string getPages()
+ * @method $this withPages($value)
+ * @method string getTargetURIPrefix()
+ * @method $this withTargetURIPrefix($value)
+ * @method string getNotifyEndpoint()
+ * @method $this withNotifyEndpoint($value)
+ * @method string getTargetURI()
+ * @method $this withTargetURI($value)
+ * @method string getSourceType()
+ * @method $this withSourceType($value)
+ * @method string getPaperSize()
+ * @method $this withPaperSize($value)
+ * @method string getImageDPI()
+ * @method $this withImageDPI($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getFitToHeight()
+ * @method $this withFitToHeight($value)
+ * @method string getLongPicture()
+ * @method $this withLongPicture($value)
+ * @method string getMaxSheetRow()
+ * @method $this withMaxSheetRow($value)
+ * @method string getEndPage()
+ * @method $this withEndPage($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ * @method string getFitToWidth()
+ * @method $this withFitToWidth($value)
+ * @method string getQuality()
+ * @method $this withQuality($value)
+ * @method string getTags()
+ * @method $this withTags($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getSheetIndex()
+ * @method $this withSheetIndex($value)
+ * @method string getHoldLineFeed()
+ * @method $this withHoldLineFeed($value)
+ */
+class CreateOfficeConversionTask extends Rpc
+{
+}
+
+/**
+ * @method string getEngineConcurrency()
+ * @method $this withEngineConcurrency($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetMaxBindCount()
+ * @method $this withDatasetMaxBindCount($value)
+ * @method string getProjectMaxDatasetCount()
+ * @method $this withProjectMaxDatasetCount($value)
+ * @method string getDatasetMaxTotalFileSize()
+ * @method $this withDatasetMaxTotalFileSize($value)
+ * @method string getServiceRole()
+ * @method $this withServiceRole($value)
+ * @method string getProjectQueriesPerSecond()
+ * @method $this withProjectQueriesPerSecond($value)
+ * @method string getDatasetMaxRelationCount()
+ * @method $this withDatasetMaxRelationCount($value)
+ * @method string getDescription()
+ * @method $this withDescription($value)
+ * @method string getDatasetMaxEntityCount()
+ * @method $this withDatasetMaxEntityCount($value)
+ * @method string getDatasetMaxFileCount()
+ * @method $this withDatasetMaxFileCount($value)
+ * @method string getTemplateId()
+ * @method $this withTemplateId($value)
+ */
+class CreateProject extends Rpc
+{
+}
+
+/**
+ * @method string getMinFileCount()
+ * @method string getProjectName()
+ * @method string getCustomLabels()
+ * @method string getStoryStartTime()
+ * @method string getNotifyTopicName()
+ * @method string getStoryType()
+ * @method string getCustomId()
+ * @method string getTags()
+ * @method $this withTags($value)
+ * @method string getUserData()
+ * @method $this withUserData($value)
+ * @method string getNotifyEndpoint()
+ * @method string getMaxFileCount()
+ * @method string getStorySubType()
+ * @method string getDatasetName()
+ * @method string getStoryEndTime()
+ * @method string getObjectId()
+ * @method string getStoryName()
+ */
+class CreateStory extends Rpc
+{
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withMinFileCount($value)
+    {
+        $this->data['MinFileCount'] = $value;
+        $this->options['form_params']['MinFileCount'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withProjectName($value)
+    {
+        $this->data['ProjectName'] = $value;
+        $this->options['form_params']['ProjectName'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withCustomLabels($value)
+    {
+        $this->data['CustomLabels'] = $value;
+        $this->options['form_params']['CustomLabels'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withStoryStartTime($value)
+    {
+        $this->data['StoryStartTime'] = $value;
+        $this->options['form_params']['StoryStartTime'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withNotifyTopicName($value)
+    {
+        $this->data['NotifyTopicName'] = $value;
+        $this->options['form_params']['NotifyTopicName'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withStoryType($value)
+    {
+        $this->data['StoryType'] = $value;
+        $this->options['form_params']['StoryType'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withCustomId($value)
+    {
+        $this->data['CustomId'] = $value;
+        $this->options['form_params']['CustomId'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withNotifyEndpoint($value)
+    {
+        $this->data['NotifyEndpoint'] = $value;
+        $this->options['form_params']['NotifyEndpoint'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withMaxFileCount($value)
+    {
+        $this->data['MaxFileCount'] = $value;
+        $this->options['form_params']['MaxFileCount'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withStorySubType($value)
+    {
+        $this->data['StorySubType'] = $value;
+        $this->options['form_params']['StorySubType'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withDatasetName($value)
+    {
+        $this->data['DatasetName'] = $value;
+        $this->options['form_params']['DatasetName'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withStoryEndTime($value)
+    {
+        $this->data['StoryEndTime'] = $value;
+        $this->options['form_params']['StoryEndTime'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withObjectId($value)
+    {
+        $this->data['ObjectId'] = $value;
+        $this->options['form_params']['ObjectId'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withStoryName($value)
+    {
+        $this->data['StoryName'] = $value;
+        $this->options['form_params']['StoryName'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getUserData()
+ * @method $this withUserData($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getNotifyEndpoint()
+ * @method $this withNotifyEndpoint($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getScenes()
+ * @method $this withScenes($value)
+ * @method string getMaxFrames()
+ * @method $this withMaxFrames($value)
+ * @method string getInterval()
+ * @method $this withInterval($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ * @method string getReviewer()
+ * @method $this withReviewer($value)
+ * @method string getTags()
+ * @method $this withTags($value)
+ */
+class CreateVideoModerationTask extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getCleanup()
+ * @method $this withCleanup($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getURI()
+ * @method $this withURI($value)
+ */
+class DeleteBinding extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ */
+class DeleteDataset extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getURI()
+ * @method $this withURI($value)
+ */
+class DeleteFileMeta extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ */
+class DeleteProject extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getObjectId()
+ * @method $this withObjectId($value)
+ */
+class DeleteStory extends Rpc
+{
+}
+
+/**
+ * @method string getOSSBucket()
+ * @method $this withOSSBucket($value)
+ */
+class DetachOSSBucket extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ * @method string getSensitivity()
+ * @method $this withSensitivity($value)
+ */
+class DetectImageBodies extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ */
+class DetectImageCodes extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getAspectRatios()
+ * @method $this withAspectRatios($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ */
+class DetectImageCropping extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ */
+class DetectImageFaces extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getThreshold()
+ * @method $this withThreshold($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ */
+class DetectImageLabels extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ */
+class DetectImageScore extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getContent()
+ * @method $this withContent($value)
+ */
+class DetectTextAnomaly extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNextToken()
+ * @method $this withNextToken($value)
+ * @method string getQuery()
+ * @method $this withQuery($value)
+ * @method string getMaxResults()
+ * @method $this withMaxResults($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ */
+class FuzzyQuery extends Rpc
+{
+}
+
+/**
+ * @method string getOwner()
+ * @method $this withOwner($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getURI()
+ * @method $this withURI($value)
+ */
+class GetBinding extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getWithStatistics()
+ * @method $this withWithStatistics($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ */
+class GetDataset extends Rpc
+{
+}
+
+/**
+ * @method string getTaskId()
+ * @method $this withTaskId($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getTaskType()
+ * @method $this withTaskType($value)
+ */
+class GetDetectVideoLabelsResult extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getObjectId()
+ * @method $this withObjectId($value)
+ */
+class GetFigureCluster extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getURI()
+ * @method $this withURI($value)
+ */
+class GetFileMeta extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ */
+class GetMediaMeta extends Rpc
+{
+}
+
+/**
+ * @method string getOSSBucket()
+ * @method $this withOSSBucket($value)
+ */
+class GetOSSBucketAttachment extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getWithStatistics()
+ * @method $this withWithStatistics($value)
+ */
+class GetProject extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getObjectId()
+ * @method $this withObjectId($value)
+ */
+class GetStory extends Rpc
+{
+}
+
+/**
+ * @method string getTaskId()
+ * @method $this withTaskId($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getTaskType()
+ * @method $this withTaskType($value)
+ */
+class GetTask extends Rpc
+{
+}
+
+/**
+ * @method string getReferer()
+ * @method $this withReferer($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getWatermark()
+ * @method $this withWatermark($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getCachePreview()
+ * @method $this withCachePreview($value)
+ * @method string getExternalUploaded()
+ * @method $this withExternalUploaded($value)
+ * @method string getPermission()
+ * @method $this withPermission($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ * @method string getUserData()
+ * @method $this withUserData($value)
+ * @method string getPreviewPages()
+ * @method $this withPreviewPages($value)
+ * @method string getPassword()
+ * @method $this withPassword($value)
+ * @method string getFilename()
+ * @method $this withFilename($value)
+ * @method string getHidecmb()
+ * @method $this withHidecmb($value)
+ * @method string getSourceURI()
+ * @method $this withSourceURI($value)
+ * @method string getNotifyEndpoint()
+ * @method $this withNotifyEndpoint($value)
+ * @method string getUser()
+ * @method $this withUser($value)
+ */
+class GetWebofficeURL extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getFile()
+ * @method $this withFile($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getNotifyEndpoint()
+ * @method $this withNotifyEndpoint($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ */
+class IndexFileMeta extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNextToken()
+ * @method $this withNextToken($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getMaxResults()
+ * @method $this withMaxResults($value)
+ */
+class ListBindings extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNextToken()
+ * @method $this withNextToken($value)
+ * @method string getPrefix()
+ * @method $this withPrefix($value)
+ * @method string getMaxResults()
+ * @method $this withMaxResults($value)
+ */
+class ListDatasets extends Rpc
+{
+}
+
+/**
+ * @method string getNextToken()
+ * @method $this withNextToken($value)
+ * @method string getPrefix()
+ * @method $this withPrefix($value)
+ * @method string getMaxResults()
+ * @method $this withMaxResults($value)
+ */
+class ListProjects extends Rpc
+{
+}
+
+/**
+ * @method string getAcceptLanguage()
+ * @method $this withAcceptLanguage($value)
+ */
+class ListRegions extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNextToken()
+ * @method $this withNextToken($value)
+ * @method string getTaskTypes()
+ * @method $this withTaskTypes($value)
+ * @method string getEndTimeRange()
+ * @method $this withEndTimeRange($value)
+ * @method string getMaxResults()
+ * @method $this withMaxResults($value)
+ * @method string getTagSelector()
+ * @method $this withTagSelector($value)
+ * @method string getSort()
+ * @method $this withSort($value)
+ * @method string getOrder()
+ * @method $this withOrder($value)
+ * @method string getStatus()
+ * @method $this withStatus($value)
+ * @method string getStartTimeRange()
+ * @method $this withStartTimeRange($value)
+ */
+class ListTasks extends Rpc
+{
+}
+
+/**
+ * @method string getCustomMessage()
+ * @method $this withCustomMessage($value)
+ * @method string getClusterIdFrom()
+ * @method $this withClusterIdFrom($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNotifyTopicName()
+ * @method $this withNotifyTopicName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getFigureType()
+ * @method $this withFigureType($value)
+ * @method string getClusterIdTo()
+ * @method $this withClusterIdTo($value)
+ * @method string getNotifyTopicEndpoint()
+ * @method $this withNotifyTopicEndpoint($value)
+ */
+class MergeFigureClusters extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getCustomLabels()
+ * @method $this withCustomLabels($value)
+ * @method string getNextToken()
+ * @method $this withNextToken($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getMaxResults()
+ * @method $this withMaxResults($value)
+ * @method string getSort()
+ * @method $this withSort($value)
+ * @method string getOrder()
+ * @method $this withOrder($value)
+ */
+class QueryFigureClusters extends Rpc
+{
+}
+
+/**
+ * @method string getFigureClusterIds()
+ * @method $this withFigureClusterIds($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getCustomLabels()
+ * @method $this withCustomLabels($value)
+ * @method string getSort()
+ * @method $this withSort($value)
+ * @method string getStoryType()
+ * @method $this withStoryType($value)
+ * @method string getStoryEndTimeRange()
+ * @method $this withStoryEndTimeRange($value)
+ * @method string getWithEmptyStories()
+ * @method $this withWithEmptyStories($value)
+ * @method string getStoryStartTimeRange()
+ * @method $this withStoryStartTimeRange($value)
+ * @method string getNextToken()
+ * @method $this withNextToken($value)
+ * @method string getStorySubType()
+ * @method $this withStorySubType($value)
+ * @method string getCreateTimeRange()
+ * @method $this withCreateTimeRange($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getMaxResults()
+ * @method $this withMaxResults($value)
+ * @method string getObjectId()
+ * @method $this withObjectId($value)
+ * @method string getStoryName()
+ * @method $this withStoryName($value)
+ * @method string getOrder()
+ * @method $this withOrder($value)
+ */
+class QueryStories extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getAccessToken()
+ * @method $this withAccessToken($value)
+ * @method string getRefreshToken()
+ * @method $this withRefreshToken($value)
+ * @method string getCredentialConfig()
+ * @method $this withCredentialConfig($value)
+ */
+class RefreshWebofficeToken extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method string getDatasetName()
+ * @method string getFiles()
+ * @method string getObjectId()
+ */
+class RemoveStoryFiles extends Rpc
+{
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withProjectName($value)
+    {
+        $this->data['ProjectName'] = $value;
+        $this->options['form_params']['ProjectName'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withDatasetName($value)
+    {
+        $this->data['DatasetName'] = $value;
+        $this->options['form_params']['DatasetName'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withFiles($value)
+    {
+        $this->data['Files'] = $value;
+        $this->options['form_params']['Files'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withObjectId($value)
+    {
+        $this->data['ObjectId'] = $value;
+        $this->options['form_params']['ObjectId'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getURI()
+ * @method $this withURI($value)
+ */
+class ResumeBinding extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getNextToken()
+ * @method $this withNextToken($value)
+ * @method string getQuery()
+ * @method $this withQuery($value)
+ * @method string getMaxResults()
+ * @method $this withMaxResults($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ */
+class SemanticQuery extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getWithFields()
+ * @method $this withWithFields($value)
+ * @method string getNextToken()
+ * @method $this withNextToken($value)
+ * @method string getQuery()
+ * @method $this withQuery($value)
+ * @method string getMaxResults()
+ * @method $this withMaxResults($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getSort()
+ * @method $this withSort($value)
+ * @method string getAggregations()
+ * @method $this withAggregations($value)
+ * @method string getOrder()
+ * @method $this withOrder($value)
+ */
+class SimpleQuery extends Rpc
+{
+}
+
+/**
+ * @method string getReason()
+ * @method $this withReason($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getURI()
+ * @method $this withURI($value)
+ */
+class StopBinding extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetMaxBindCount()
+ * @method $this withDatasetMaxBindCount($value)
+ * @method string getDatasetMaxTotalFileSize()
+ * @method $this withDatasetMaxTotalFileSize($value)
+ * @method string getDatasetMaxRelationCount()
+ * @method $this withDatasetMaxRelationCount($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ * @method string getDescription()
+ * @method $this withDescription($value)
+ * @method string getDatasetMaxEntityCount()
+ * @method $this withDatasetMaxEntityCount($value)
+ * @method string getDatasetMaxFileCount()
+ * @method $this withDatasetMaxFileCount($value)
+ * @method string getTemplateId()
+ * @method $this withTemplateId($value)
+ */
+class UpdateDataset extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getFigureCluster()
+ * @method $this withFigureCluster($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ */
+class UpdateFigureCluster extends Rpc
+{
+}
+
+/**
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getFile()
+ * @method $this withFile($value)
+ * @method string getDatasetName()
+ * @method $this withDatasetName($value)
+ */
+class UpdateFileMeta extends Rpc
+{
+}
+
+/**
+ * @method string getEngineConcurrency()
+ * @method $this withEngineConcurrency($value)
+ * @method string getProjectName()
+ * @method $this withProjectName($value)
+ * @method string getDatasetMaxBindCount()
+ * @method $this withDatasetMaxBindCount($value)
+ * @method string getProjectMaxDatasetCount()
+ * @method $this withProjectMaxDatasetCount($value)
+ * @method string getDatasetMaxTotalFileSize()
+ * @method $this withDatasetMaxTotalFileSize($value)
+ * @method string getServiceRole()
+ * @method $this withServiceRole($value)
+ * @method string getProjectQueriesPerSecond()
+ * @method $this withProjectQueriesPerSecond($value)
+ * @method string getDatasetMaxRelationCount()
+ * @method $this withDatasetMaxRelationCount($value)
+ * @method string getDescription()
+ * @method $this withDescription($value)
+ * @method string getDatasetMaxEntityCount()
+ * @method $this withDatasetMaxEntityCount($value)
+ * @method string getDatasetMaxFileCount()
+ * @method $this withDatasetMaxFileCount($value)
+ * @method string getTemplateId()
+ * @method $this withTemplateId($value)
+ */
+class UpdateProject extends Rpc
+{
+}
+
+/**
+ * @method string getCover()
+ * @method string getProjectName()
+ * @method string getCustomLabels()
+ * @method string getDatasetName()
+ * @method string getCustomId()
+ * @method string getObjectId()
+ * @method string getStoryName()
+ */
+class UpdateStory extends Rpc
+{
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withCover($value)
+    {
+        $this->data['Cover'] = $value;
+        $this->options['form_params']['Cover'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withProjectName($value)
+    {
+        $this->data['ProjectName'] = $value;
+        $this->options['form_params']['ProjectName'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withCustomLabels($value)
+    {
+        $this->data['CustomLabels'] = $value;
+        $this->options['form_params']['CustomLabels'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withDatasetName($value)
+    {
+        $this->data['DatasetName'] = $value;
+        $this->options['form_params']['DatasetName'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withCustomId($value)
+    {
+        $this->data['CustomId'] = $value;
+        $this->options['form_params']['CustomId'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withObjectId($value)
+    {
+        $this->data['ObjectId'] = $value;
+        $this->options['form_params']['ObjectId'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withStoryName($value)
+    {
+        $this->data['StoryName'] = $value;
+        $this->options['form_params']['StoryName'] = $value;
+
+        return $this;
+    }
+}

+ 12 - 0
vendor/alibabacloud/sdk/src/LmzTest/LmzTest.php

@@ -0,0 +1,12 @@
+<?php
+
+namespace AlibabaCloud\LmzTest;
+
+use AlibabaCloud\Client\Resolver\VersionResolver;
+
+/**
+ * @method static V20101011\LmzTestApiResolver v20101011()
+ */
+class LmzTest extends VersionResolver
+{
+}

+ 25 - 0
vendor/alibabacloud/sdk/src/LmzTest/README-EN.md

@@ -0,0 +1,25 @@
+[简体中文](./README.md) | English
+
+<p align="center">
+<a href=" https://www.aliyun.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg"></a>
+</p>
+
+<h1 align="center">Alibaba Cloud LmzTest SDK for PHP</h1>
+
+If [Alibaba Cloud SDK for PHP][sdk] is installed, there is no need to install the product dependency package. This product dependency package is only part of the synchronization from [Alibaba Cloud SDK for PHP][sdk], and its namespace and usage are consistent with [Alibaba Cloud SDK for PHP][sdk].
+
+If you don't care about file size, we recommend that you install [Alibaba Cloud SDK for PHP][sdk] and update it regularly so as to maintain the latest and most complete product support:
+```
+composer require alibabacloud/sdk
+```
+
+The product can also be installed only:
+> The version of this product is always synchronized with [Alibaba Cloud SDK for PHP][sdk] to ensure that it can switch with [Alibaba Cloud SDK for PHP][sdk] at any time without changing the business code, although the code between different versions of this product may not change.
+```
+composer require alibabacloud/lmztest
+```
+
+***
+Refer to document [Alibaba Cloud SDK for PHP][sdk] for more SDK usage.
+
+[sdk]: https://github.com/aliyun/openapi-sdk-php

+ 25 - 0
vendor/alibabacloud/sdk/src/LmzTest/README.md

@@ -0,0 +1,25 @@
+简体中文 | [English](./README-EN.md)
+
+<p align="center">
+<a href=" https://www.aliyun.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/Aliyun.svg"></a>
+</p>
+
+<h1 align="center">Alibaba Cloud LmzTest SDK for PHP</h1>
+
+若已安装 [Alibaba Cloud SDK for PHP][sdk] 则无需安装本产品依赖包。本产品依赖包只是从 [Alibaba Cloud SDK for PHP][sdk] 中同步出来的一部分,其命名空间、用法与 [Alibaba Cloud SDK for PHP][sdk] 一致。
+
+如果您不在乎文件体积,建议您安装 [Alibaba Cloud SDK for PHP][sdk] 并经常更新,以便保持最新、最全的产品支持:
+```
+composer require alibabacloud/sdk
+```
+
+也可仅安装本产品:
+> 本产品的版本始终和 [Alibaba Cloud SDK for PHP][sdk] 保持同步,以保证在不改变业务代码的情况下随时和 [Alibaba Cloud SDK for PHP][sdk] 相互切换,尽管本产品不同版本之间的代码可能没有变化。
+```
+composer require alibabacloud/lmztest
+```
+
+***
+更多 SDK 的使用请参考 [Alibaba Cloud SDK for PHP][sdk] 文档。
+
+[sdk]: https://github.com/aliyun/openapi-sdk-php

+ 714 - 0
vendor/alibabacloud/sdk/src/LmzTest/V20101011/LmzTestApiResolver.php

@@ -0,0 +1,714 @@
+<?php
+
+namespace AlibabaCloud\LmzTest\V20101011;
+
+use AlibabaCloud\Client\Resolver\ApiResolver;
+
+/**
+ * @method AAbck aAbck(array $options = [])
+ * @method AndBack andBack(array $options = [])
+ * @method DataRateLimitTest dataRateLimitTest(array $options = [])
+ * @method DemoGrayReleaseTest demoGrayReleaseTest(array $options = [])
+ * @method DemoGrayReleaseTestTwo demoGrayReleaseTestTwo(array $options = [])
+ * @method DemoGreyReleaseTest demoGreyReleaseTest(array $options = [])
+ * @method DemoHsfNineResponse demoHsfNineResponse(array $options = [])
+ * @method DemoHsfSixTest demoHsfSixTest(array $options = [])
+ * @method DemoHttpComplexResponse demoHttpComplexResponse(array $options = [])
+ * @method DescribeDisks describeDisks(array $options = [])
+ * @method GetPackageStorageCredential getPackageStorageCredential(array $options = [])
+ * @method GrayReleaseDemo grayReleaseDemo(array $options = [])
+ * @method ListProductsByPopCode listProductsByPopCode(array $options = [])
+ * @method LjxTest ljxTest(array $options = [])
+ * @method ReqBeanTest reqBeanTest(array $options = [])
+ * @method RomeGetExecutionResult romeGetExecutionResult(array $options = [])
+ * @method RpcHttp rpcHttp(array $options = [])
+ * @method TestPutApiAndGetApi testPutApiAndGetApi(array $options = [])
+ * @method UpdateListener updateListener(array $options = [])
+ */
+class LmzTestApiResolver extends ApiResolver
+{
+}
+
+class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
+{
+    /** @var string */
+    public $product = 'LmzTest';
+
+    /** @var string */
+    public $version = '2010-10-11';
+
+    /** @var string */
+    public $method = 'POST';
+}
+
+/**
+ * @method string getClientToken3()
+ * @method $this withClientToken3($value)
+ * @method string getTestDemo()
+ * @method $this withTestDemo($value)
+ */
+class AAbck extends Rpc
+{
+
+    /** @var string */
+    public $method = 'GET';
+}
+
+/**
+ * @method string getClientToken2()
+ * @method $this withClientToken2($value)
+ * @method string getTestDemo()
+ * @method $this withTestDemo($value)
+ */
+class AndBack extends Rpc
+{
+
+    /** @var string */
+    public $method = 'GET';
+}
+
+class DataRateLimitTest extends Rpc
+{
+
+    /** @var string */
+    public $method = 'GET';
+}
+
+/**
+ * @method string getNumberCode()
+ * @method $this withNumberCode($value)
+ * @method string getId()
+ * @method $this withId($value)
+ */
+class DemoGrayReleaseTest extends Rpc
+{
+}
+
+/**
+ * @method string getNumberCode()
+ * @method $this withNumberCode($value)
+ * @method string getCode()
+ * @method $this withCode($value)
+ */
+class DemoGrayReleaseTestTwo extends Rpc
+{
+}
+
+/**
+ * @method string getNumber()
+ * @method $this withNumber($value)
+ */
+class DemoGreyReleaseTest extends Rpc
+{
+}
+
+/**
+ * @method string getName()
+ * @method string getTestF1()
+ * @method $this withTestF1($value)
+ * @method string getUserMap()
+ */
+class DemoHsfNineResponse extends Rpc
+{
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withName($value)
+    {
+        $this->data['Name'] = $value;
+        $this->options['query']['name'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withUserMap($value)
+    {
+        $this->data['UserMap'] = $value;
+        $this->options['query']['userMap'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getStrListMap()
+ * @method string getData()
+ * @method string getMap()
+ * @method string getCodeMap()
+ */
+class DemoHsfSixTest extends Rpc
+{
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withStrListMap($value)
+    {
+        $this->data['StrListMap'] = $value;
+        $this->options['form_params']['StrListMap'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withData($value)
+    {
+        $this->data['Data'] = $value;
+        $this->options['form_params']['Data'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withMap($value)
+    {
+        $this->data['Map'] = $value;
+        $this->options['form_params']['Map'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withCodeMap($value)
+    {
+        $this->data['CodeMap'] = $value;
+        $this->options['query']['codeMap'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getReqInfo()
+ */
+class DemoHttpComplexResponse extends Rpc
+{
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withReqInfo($value)
+    {
+        $this->data['ReqInfo'] = $value;
+        $this->options['query']['reqInfo'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getResourceOwnerId()
+ * @method $this withResourceOwnerId($value)
+ * @method string getFilter2Value()
+ * @method string getAutoSnapshotPolicyId()
+ * @method $this withAutoSnapshotPolicyId($value)
+ * @method string getDiskName()
+ * @method $this withDiskName($value)
+ * @method string getDeleteAutoSnapshot()
+ * @method $this withDeleteAutoSnapshot($value)
+ * @method string getResourceGroupId()
+ * @method $this withResourceGroupId($value)
+ * @method string getDiskChargeType()
+ * @method $this withDiskChargeType($value)
+ * @method string getLockReason()
+ * @method $this withLockReason($value)
+ * @method string getFilter1Key()
+ * @method array getTag()
+ * @method string getEnableAutoSnapshot()
+ * @method $this withEnableAutoSnapshot($value)
+ * @method string getDryRun()
+ * @method $this withDryRun($value)
+ * @method string getFilter1Value()
+ * @method string getPortable()
+ * @method $this withPortable($value)
+ * @method string getOwnerId()
+ * @method $this withOwnerId($value)
+ * @method array getAdditionalAttributes()
+ * @method string getInstanceId()
+ * @method $this withInstanceId($value)
+ * @method string getZoneId()
+ * @method $this withZoneId($value)
+ * @method string getMaxResults()
+ * @method $this withMaxResults($value)
+ * @method string getStatus()
+ * @method $this withStatus($value)
+ * @method string getSnapshotId()
+ * @method $this withSnapshotId($value)
+ * @method string getPageNumber()
+ * @method $this withPageNumber($value)
+ * @method string getNextToken()
+ * @method $this withNextToken($value)
+ * @method string getPageSize()
+ * @method $this withPageSize($value)
+ * @method string getDiskIds()
+ * @method $this withDiskIds($value)
+ * @method string getMultiAttach()
+ * @method $this withMultiAttach($value)
+ * @method string getDeleteWithInstance()
+ * @method $this withDeleteWithInstance($value)
+ * @method string getResourceOwnerAccount()
+ * @method $this withResourceOwnerAccount($value)
+ * @method string getOwnerAccount()
+ * @method $this withOwnerAccount($value)
+ * @method string getEnableAutomatedSnapshotPolicy()
+ * @method $this withEnableAutomatedSnapshotPolicy($value)
+ * @method string getFilter2Key()
+ * @method string getDiskType()
+ * @method $this withDiskType($value)
+ * @method string getEnableShared()
+ * @method $this withEnableShared($value)
+ * @method string getEncrypted()
+ * @method $this withEncrypted($value)
+ * @method string getCategory()
+ * @method $this withCategory($value)
+ * @method string getKMSKeyId()
+ * @method $this withKMSKeyId($value)
+ */
+class DescribeDisks extends Rpc
+{
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withFilter2Value($value)
+    {
+        $this->data['Filter2Value'] = $value;
+        $this->options['query']['Filter.2.Value'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withFilter1Key($value)
+    {
+        $this->data['Filter1Key'] = $value;
+        $this->options['query']['Filter.1.Key'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param array $tag
+     *
+     * @return $this
+     */
+	public function withTag(array $tag)
+	{
+	    $this->data['Tag'] = $tag;
+		foreach ($tag as $depth1 => $depth1Value) {
+			if(isset($depth1Value['Value'])){
+				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
+			}
+			if(isset($depth1Value['Key'])){
+				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
+			}
+		}
+
+		return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withFilter1Value($value)
+    {
+        $this->data['Filter1Value'] = $value;
+        $this->options['query']['Filter.1.Value'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param array $additionalAttributes
+     *
+     * @return $this
+     */
+	public function withAdditionalAttributes(array $additionalAttributes)
+	{
+	    $this->data['AdditionalAttributes'] = $additionalAttributes;
+		foreach ($additionalAttributes as $i => $iValue) {
+			$this->options['query']['AdditionalAttributes.' . ($i + 1)] = $iValue;
+		}
+
+		return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withFilter2Key($value)
+    {
+        $this->data['Filter2Key'] = $value;
+        $this->options['query']['Filter.2.Key'] = $value;
+
+        return $this;
+    }
+}
+
+class GetPackageStorageCredential extends Rpc
+{
+
+    /** @var string */
+    public $method = 'GET';
+}
+
+/**
+ * @method string getId()
+ * @method $this withId($value)
+ */
+class GrayReleaseDemo extends Rpc
+{
+}
+
+/**
+ * @method string getAuthKey()
+ * @method $this withAuthKey($value)
+ * @method string getExtraParams()
+ * @method string getServerClientIp()
+ * @method $this withServerClientIp($value)
+ * @method string getRequestId()
+ * @method $this withRequestId($value)
+ * @method string getClientIp()
+ * @method $this withClientIp($value)
+ * @method string getIdentityDTO()
+ * @method string getEnv()
+ * @method $this withEnv($value)
+ * @method string getPopCode()
+ * @method $this withPopCode($value)
+ */
+class ListProductsByPopCode extends Rpc
+{
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withExtraParams($value)
+    {
+        $this->data['ExtraParams'] = $value;
+        $this->options['form_params']['ExtraParams'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withIdentityDTO($value)
+    {
+        $this->data['IdentityDTO'] = $value;
+        $this->options['form_params']['IdentityDTO'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getNewparam2()
+ * @method string getNewparam1()
+ * @method string getCode()
+ * @method string getId()
+ * @method string getBody()
+ */
+class LjxTest extends Rpc
+{
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withNewparam2($value)
+    {
+        $this->data['Newparam2'] = $value;
+        $this->options['query']['new-param-2'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withNewparam1($value)
+    {
+        $this->data['Newparam1'] = $value;
+        $this->options['query']['new-param-1'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withCode($value)
+    {
+        $this->data['Code'] = $value;
+        $this->options['query']['code'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withId($value)
+    {
+        $this->data['Id'] = $value;
+        $this->options['query']['id'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withBody($value)
+    {
+        $this->data['Body'] = $value;
+        $this->options['headers']['body'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getCodes()
+ * @method string getXhostheadertest()
+ * @method string getId()
+ * @method $this withId($value)
+ * @method string getNums()
+ * @method string getUsers()
+ */
+class ReqBeanTest extends Rpc
+{
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withCodes($value)
+    {
+        $this->data['Codes'] = $value;
+        $this->options['query']['codes'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withXhostheadertest($value)
+    {
+        $this->data['Xhostheadertest'] = $value;
+        $this->options['headers']['x-host-header-test'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withNums($value)
+    {
+        $this->data['Nums'] = $value;
+        $this->options['query']['nums'] = $value;
+
+        return $this;
+    }
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withUsers($value)
+    {
+        $this->data['Users'] = $value;
+        $this->options['query']['users'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getFlowRequestId()
+ */
+class RomeGetExecutionResult extends Rpc
+{
+
+    /** @var string */
+    public $method = 'GET';
+
+    /**
+     * @param string $value
+     *
+     * @return $this
+     */
+    public function withFlowRequestId($value)
+    {
+        $this->data['FlowRequestId'] = $value;
+        $this->pathParameters['FlowRequestId'] = $value;
+
+        return $this;
+    }
+}
+
+/**
+ * @method string getNews()
+ * @method $this withNews($value)
+ * @method string getCodes()
+ * @method $this withCodes($value)
+ * @method string getNumber()
+ * @method $this withNumber($value)
+ * @method string getMonkey()
+ * @method $this withMonkey($value)
+ * @method string getWorld()
+ * @method $this withWorld($value)
+ * @method string getParam()
+ * @method $this withParam($value)
+ * @method string getOld()
+ * @method $this withOld($value)
+ * @method string getName()
+ * @method $this withName($value)
+ * @method string getId()
+ * @method $this withId($value)
+ * @method string getNone()
+ * @method $this withNone($value)
+ */
+class RpcHttp extends Rpc
+{
+}
+
+class TestPutApiAndGetApi extends Rpc
+{
+}
+
+/**
+ * @method string getClientToken()
+ * @method $this withClientToken($value)
+ * @method string getDescription()
+ * @method $this withDescription($value)
+ * @method array getBackendPorts()
+ * @method string getListenerId()
+ * @method $this withListenerId($value)
+ * @method string getProtocol()
+ * @method $this withProtocol($value)
+ * @method string getProxyProtocol()
+ * @method $this withProxyProtocol($value)
+ * @method array getPortRanges()
+ * @method array getCertificates()
+ * @method string getName()
+ * @method $this withName($value)
+ * @method string getClientAffinity()
+ * @method $this withClientAffinity($value)
+ */
+class UpdateListener extends Rpc
+{
+
+    /**
+     * @param array $backendPorts
+     *
+     * @return $this
+     */
+	public function withBackendPorts(array $backendPorts)
+	{
+	    $this->data['BackendPorts'] = $backendPorts;
+		foreach ($backendPorts as $depth1 => $depth1Value) {
+			if(isset($depth1Value['FromPort'])){
+				$this->options['query']['BackendPorts.' . ($depth1 + 1) . '.FromPort'] = $depth1Value['FromPort'];
+			}
+			if(isset($depth1Value['ToPort'])){
+				$this->options['query']['BackendPorts.' . ($depth1 + 1) . '.ToPort'] = $depth1Value['ToPort'];
+			}
+		}
+
+		return $this;
+    }
+
+    /**
+     * @param array $portRanges
+     *
+     * @return $this
+     */
+	public function withPortRanges(array $portRanges)
+	{
+	    $this->data['PortRanges'] = $portRanges;
+		foreach ($portRanges as $depth1 => $depth1Value) {
+			if(isset($depth1Value['FromPort'])){
+				$this->options['query']['PortRanges.' . ($depth1 + 1) . '.FromPort'] = $depth1Value['FromPort'];
+			}
+			if(isset($depth1Value['ToPort'])){
+				$this->options['query']['PortRanges.' . ($depth1 + 1) . '.ToPort'] = $depth1Value['ToPort'];
+			}
+		}
+
+		return $this;
+    }
+
+    /**
+     * @param array $certificates
+     *
+     * @return $this
+     */
+	public function withCertificates(array $certificates)
+	{
+	    $this->data['Certificates'] = $certificates;
+		foreach ($certificates as $depth1 => $depth1Value) {
+			if(isset($depth1Value['Id'])){
+				$this->options['query']['Certificates.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
+			}
+		}
+
+		return $this;
+    }
+}

+ 43 - 0
vendor/alibabacloud/sdk/src/LmzTest/composer.json

@@ -0,0 +1,43 @@
+{
+    "name": "alibabacloud/lmztest",
+    "homepage": "https://www.alibabacloud.com/",
+    "description": "Alibaba Cloud LmzTest SDK for PHP",
+    "keywords": [
+        "lmztest",
+        "sdk",
+        "cloud",
+        "aliyun",
+        "alibaba",
+        "library",
+        "alibabacloud"
+    ],
+    "type": "library",
+    "license": "Apache-2.0",
+    "support": {
+        "source": "https://github.com/alibabacloud-sdk-php/lmztest",
+        "issues": "https://github.com/alibabacloud-sdk-php/lmztest/issues"
+    },
+    "authors": [
+        {
+            "name": "Alibaba Cloud SDK",
+            "email": "sdk-team@alibabacloud.com",
+            "homepage": "http://www.alibabacloud.com"
+        }
+    ],
+    "require": {
+        "php": ">=5.5",
+        "alibabacloud/client": "^1.5"
+    },
+    "autoload": {
+        "psr-4": {
+            "AlibabaCloud\\LmzTest\\": ""
+        }
+    },
+    "config": {
+        "sort-packages": true,
+        "preferred-install": "dist",
+        "optimize-autoloader": true
+    },
+    "prefer-stable": true,
+    "minimum-stability": "dev"
+}

+ 1 - 0
vendor/alibabacloud/sdk/src/endpoints.json

@@ -0,0 +1 @@
+{"endpoint_map":{},"endpoint_regional":"regional","standard":{"cn-hangzhou":"voicenavigator.cn-hangzhou.aliyuncs.com","cn-shanghai":"voicenavigator.cn-shanghai.aliyuncs.com"},"regions":["cn-hangzhou","cn-shanghai"],"endpoint_health":{"cn-hangzhou":"DomainNotFound"}}

+ 65 - 0
vendor/aliyuncs/oss-sdk-php/samples/BucketStat.php

@@ -0,0 +1,65 @@
+<?php
+require_once __DIR__ . '/Common.php';
+
+use OSS\OssClient;
+use OSS\Core\OssException;
+$ossClient = Common::getOssClient();
+if (is_null($ossClient)) exit(1);
+$bucket = Common::getBucketName();
+
+//******************************* Simple Usage****************************************************************
+
+// Get Bucket Stat
+$stat = $ossClient->getBucketStat($bucket);
+Common::println("Bucket ".$bucket." current storage is:".$stat->getStorage().PHP_EOL);
+Common::println("Bucket ".$bucket." object count is:".$stat->getObjectCount().PHP_EOL);
+Common::println("Bucket ".$bucket." multipart upload count is:".$stat->getMultipartUploadCount().PHP_EOL);
+Common::println("Bucket ".$bucket." live channel count is:".$stat->getLiveChannelCount().PHP_EOL);
+Common::println("Bucket ".$bucket." last modified time is:".$stat->getLastModifiedTime().PHP_EOL);
+Common::println("Bucket ".$bucket." standard storage is:".$stat->getStandardStorage().PHP_EOL);
+Common::println("Bucket ".$bucket." standard object count is:".$stat->getStandardObjectCount().PHP_EOL);
+Common::println("Bucket ".$bucket." infrequent access storage is:".$stat->getInfrequentAccessStorage().PHP_EOL);
+Common::println("Bucket ".$bucket." infrequent access real storage is:".$stat->getInfrequentAccessRealStorage().PHP_EOL);
+Common::println("Bucket ".$bucket." infrequent access object count is:".$stat->getInfrequentAccessObjectCount().PHP_EOL);
+Common::println("Bucket ".$bucket." archive storage is:".$stat->getArchiveStorage().PHP_EOL);
+Common::println("Bucket ".$bucket." archive real storage is:".$stat->getArchiveRealStorage().PHP_EOL);
+Common::println("Bucket ".$bucket." archive object count is:".$stat->getArchiveObjectCount().PHP_EOL);
+Common::println("Bucket ".$bucket." cold archive storage is:".$stat->getColdArchiveStorage().PHP_EOL);
+Common::println("Bucket ".$bucket." cold archive real storage is:".$stat->getColdArchiveRealStorage().PHP_EOL);
+Common::println("Bucket ".$bucket." cold archive object count is:".$stat->getColdArchiveObjectCount().PHP_EOL);
+
+//******************************* For complete usage, see the following functions ****************************************************
+getBucketStat($ossClient,$bucket);
+/**
+ * get bucket stat
+ * @param OssClient $ossClient OssClient instance
+ * @param string $bucket Name of the bucket to create
+ * @return null
+ */
+function getBucketStat($ossClient, $bucket)
+{
+    try {
+        $stat = $ossClient->getBucketStat($bucket);
+    } catch (OssException $e) {
+        printf(__FUNCTION__ . ": FAILED\n");
+        printf($e->getMessage() . "\n");
+        return;
+    }
+    printf("Bucket ".$bucket." current storage is:".$stat->getStorage().PHP_EOL);
+    printf("Bucket ".$bucket." object count is:".$stat->getObjectCount().PHP_EOL);
+    printf("Bucket ".$bucket." multipart upload count is:".$stat->getMultipartUploadCount().PHP_EOL);
+    printf("Bucket ".$bucket." live channel count is:".$stat->getLiveChannelCount().PHP_EOL);
+    printf("Bucket ".$bucket." last modified time is:".$stat->getLastModifiedTime().PHP_EOL);
+    printf("Bucket ".$bucket." standard storage is:".$stat->getStandardStorage().PHP_EOL);
+    printf("Bucket ".$bucket." standard object count is:".$stat->getStandardObjectCount().PHP_EOL);
+    printf("Bucket ".$bucket." infrequent access storage is:".$stat->getInfrequentAccessStorage().PHP_EOL);
+    printf("Bucket ".$bucket." infrequent access real storage is:".$stat->getInfrequentAccessRealStorage().PHP_EOL);
+    printf("Bucket ".$bucket." infrequent access object count is:".$stat->getInfrequentAccessObjectCount().PHP_EOL);
+    printf("Bucket ".$bucket." archive storage is:".$stat->getArchiveStorage().PHP_EOL);
+    printf("Bucket ".$bucket." archive real storage is:".$stat->getArchiveRealStorage().PHP_EOL);
+    printf("Bucket ".$bucket." archive object count is:".$stat->getArchiveObjectCount().PHP_EOL);
+    printf("Bucket ".$bucket." cold archive storage is:".$stat->getColdArchiveStorage().PHP_EOL);
+    printf("Bucket ".$bucket." cold archive real storage is:".$stat->getColdArchiveRealStorage().PHP_EOL);
+    printf("Bucket ".$bucket." cold archive object count is:".$stat->getColdArchiveObjectCount().PHP_EOL);
+    print(__FUNCTION__ . ": OK" . "\n");
+}

+ 76 - 0
vendor/aliyuncs/oss-sdk-php/samples/CredentialsPhp.php

@@ -0,0 +1,76 @@
+<?php
+
+//=============================================================================
+
+//How to use credentials-php to access oss
+
+// step 1:Install credentials-php  composer require alibabacloud/credentials
+require_once __DIR__ . '/Common.php';
+
+use OSS\OssClient;
+use OSS\Core\OssException;
+use OSS\Credentials\CredentialsProvider;
+use AlibabaCloud\Credentials\Credential;
+use OSS\Credentials\StaticCredentialsProvider;
+
+// public provider conversion class
+class AlibabaCloudCredentialsWrapper implements CredentialsProvider{
+    /**
+     * @var Credential
+     */
+    private $warpper;
+    public function __construct($credential){
+        $this->warpper = $credential;
+    }
+    public function getCredentials(){
+        $ak = $this->warpper->getAccessKeyId();
+        $sk = $this->warpper->getAccessKeySecret();
+        $token = $this->warpper->getSecurityToken();
+        return new StaticCredentialsProvider($ak, $sk, $token);
+    }
+}
+
+$bucket = Common::getBucketName();
+
+//AccessKey Credentials demo
+$credential = new Credential(array(
+    'type'              => 'access_key',
+    'access_key_id'     => '<access_key_id>',
+    'access_key_secret' => '<accessKey_secret>',
+));
+$providerWarpper = new AlibabaCloudCredentialsWrapper($credential);
+$config = array(
+    'provider' => $providerWarpper,
+    'endpoint'=> '<endpoint>'
+);
+try {
+    $ossClient = new OssClient($config);
+    $ossClient->putObject($bucket,'c.file','hi oss,this is credentials test of access key');
+    $result = $ossClient->getObject($bucket,'c.file');
+    var_dump($result);
+} catch (OssException $e) {
+    printf($e->getMessage() . "\n");
+    return;
+}
+
+
+// EcsRamRole Credentials demo
+$ecsRamRole = new Credential(array(
+    'type'      => 'ecs_ram_role',
+    'role_name' => 'EcsRamRoleOssTest',
+));
+$providerWarpper = new AlibabaCloudCredentialsWrapper($ecsRamRole);
+$bucket = 'oss-bucket-cd-yp-test';
+$config = array(
+    'provider' => $providerWarpper,
+    'endpoint'=> '<endpoint>'
+);
+try {
+    $ossClient = new OssClient($config);
+    $ossClient->putObject($bucket,'c.file','hi oss,this is credentials test of EcsRamRole');
+    $result = $ossClient->getObject($bucket,'c.file');
+    var_dump($result);
+} catch (OssException $e) {
+    printf($e->getMessage() . "\n");
+    return;
+}

+ 45 - 0
vendor/aliyuncs/oss-sdk-php/samples/CredentialsProvider.php

@@ -0,0 +1,45 @@
+<?php
+require_once __DIR__ . '/Common.php';
+
+use OSS\OssClient;
+use OSS\Core\OssException;
+use OSS\Credentials\StaticCredentialsProvider;
+$bucket = Common::getBucketName();
+
+// Access Key Provider demo
+$id = '<access_key_id>';
+$secret = '<accessKey_secret>';
+$provider = new StaticCredentialsProvider($id,$secret);
+$config = array(
+    'provider' => $provider,
+    'endpoint'=>'<endpoint>'
+);
+try {
+    $ossClient = new OssClient($config);
+    $ossClient->putObject($bucket,'c.file','hi oss,this is credentials test of access key provider');
+    $result = $ossClient->getObject($bucket,'c.file');
+    var_dump($result);
+} catch (OssException $e) {
+    printf($e->getMessage() . "\n");
+    return;
+}
+
+// Sts provider demo
+$id = '<access_key_id>';
+$secret = '<accessKey_secret>';
+$token = '<security_token>';
+$provider = new StaticCredentialsProvider($id,$secret,$token);
+$config = array(
+    'provider' => $provider,
+    'endpoint'=> "<endpoint>"
+);
+
+try {
+    $ossClient = new OssClient($config);
+    $ossClient->putObject($bucket,'c.file','hi oss,this is credentials test of sts provider');
+    $result = $ossClient->getObject($bucket,'c.file');
+    var_dump($result);
+} catch (OssException $e) {
+    printf($e->getMessage() . "\n");
+    return;
+}

+ 63 - 0
vendor/aliyuncs/oss-sdk-php/src/OSS/Credentials/Credentials.php

@@ -0,0 +1,63 @@
+<?php
+
+
+namespace OSS\Credentials;
+
+use OSS\Core\OssException;
+
+/**
+ * Basic implementation of the OSS Credentials that allows callers to
+ * pass in the OSS Access Key and OSS Secret Access Key in the constructor.
+ */
+class Credentials
+{
+    private $key;
+    private $secret;
+    private $token;
+
+    /**
+     * Constructor a new BasicOSSCredentials object, with the specified OSS
+     * access key and OSS secret key
+     *
+     * @param string $key     OSS access key ID
+     * @param string $secret  OSS secret access key
+     * @param string $token   Security token to use
+     */
+    public function __construct($key, $secret, $token = null)
+    {
+        if (empty($key)) {
+            throw new OssException("access key id is empty");
+        }
+        if (empty($secret)) {
+            throw new OssException("access key secret is empty");
+        }
+        $this->key = trim($key);
+        $this->secret = trim($secret);
+        $this->token = $token;
+    }
+
+
+    /**
+     * @return string
+     */
+    public function getAccessKeyId()
+    {
+        return $this->key;
+    }
+
+    /**
+     * @return string
+     */
+    public function getAccessKeySecret()
+    {
+        return $this->secret;
+    }
+
+    /**
+     * @return string|null
+     */
+    public function getSecurityToken()
+    {
+        return $this->token;
+    }
+}

+ 11 - 0
vendor/aliyuncs/oss-sdk-php/src/OSS/Credentials/CredentialsProvider.php

@@ -0,0 +1,11 @@
+<?php
+namespace OSS\Credentials;
+
+interface CredentialsProvider
+{
+
+    /**
+     * @return Credentials
+     */
+    public function getCredentials();
+}

+ 35 - 0
vendor/aliyuncs/oss-sdk-php/src/OSS/Credentials/StaticCredentialsProvider.php

@@ -0,0 +1,35 @@
+<?php
+namespace OSS\Credentials;
+
+/**
+ * Basic implementation of the OSS Credentials interface that allows callers to
+ * pass in the OSS Access Key Id and OSS Secret Access Key in the constructor.
+ */
+class StaticCredentialsProvider implements CredentialsProvider
+{
+
+    /**
+     * @var Credentials
+     */
+    private $credentials;
+    /**
+     * Constructs a new StaticCredentialsProvider object, with the specified OSS
+     * access key and OSS secret key
+     *
+     * @param string $key     OSS access key ID
+     * @param string $secret  OSS access key secret
+     * @param string $token   Security token to use
+     */
+    public function __construct($key, $secret, $token = null)
+    {
+        $this->credentials = new Credentials($key, $secret, $token);
+    }
+
+    /**
+     * @return Credentials
+     */
+    public function getCredentials()
+    {
+        return $this->credentials;
+    }
+}

BIN
vendor/endroid/qr-code/assets/data/qrv10_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv10_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv10_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv10_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv11_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv11_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv11_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv11_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv12_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv12_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv12_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv12_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv13_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv13_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv13_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv13_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv14_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv14_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv14_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv14_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv15_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv15_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv15_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv15_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv16_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv16_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv16_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv16_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv17_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv17_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv17_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv17_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv18_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv18_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv18_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv18_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv19_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv19_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv19_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv19_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv1_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv1_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv1_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv1_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv20_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv20_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv20_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv20_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv21_0.dat


BIN
vendor/endroid/qr-code/assets/data/qrv21_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv21_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv21_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv22_0.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv22_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv22_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv22_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv23_0.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv23_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv23_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv23_3.dat


BIN
vendor/endroid/qr-code/assets/data/qrv24_0.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv24_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv24_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv24_3.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv25_0.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv25_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv25_2.dat


BIN
vendor/endroid/qr-code/assets/data/qrv25_3.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv26_0.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv26_1.dat


BIN
vendor/endroid/qr-code/assets/data/qrv26_2.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv26_3.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv27_0.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv27_1.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv27_2.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv27_3.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv28_0.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv28_1.dat


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
vendor/endroid/qr-code/assets/data/qrv28_2.dat


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác