Skip to content

Commit

Permalink
Generated 2021-12-21 for wss.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Sep 29, 2024
1 parent 4e9256b commit 6843d4b
Show file tree
Hide file tree
Showing 8 changed files with 184 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.8.2195 - 2024-9-29
- Generated 2021-12-21 for `wss`.


## 1.8.2194 - 2024-9-29
- Generated 2020-05-18 for `dataworks-public`.

Expand Down
1 change: 1 addition & 0 deletions src/IdeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
* @method static WelfareInner\WelfareInner welfareInner()
* @method static Wfts\Wfts wfts()
* @method static Workorder\Workorder workorder()
* @method static Wss\Wss wss()
* @method static XrEngine\XrEngine xrEngine()
* @method static Xspace\Xspace xspace()
* @method static Xtrace\Xtrace xtrace()
Expand Down
2 changes: 1 addition & 1 deletion src/Release.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Release
/**
* Version of the SDK
*/
const VERSION = '1.8.2194';
const VERSION = '1.8.2195';

/**
* @param Event $event
Expand Down
25 changes: 25 additions & 0 deletions src/Wss/README-EN.md
Original file line number Diff line number Diff line change
@@ -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 Wss 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/wss
```

***
Refer to document [Alibaba Cloud SDK for PHP][sdk] for more SDK usage.

[sdk]: https://github.com/aliyun/openapi-sdk-php
25 changes: 25 additions & 0 deletions src/Wss/README.md
Original file line number Diff line number Diff line change
@@ -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 Wss 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/wss
```

***
更多 SDK 的使用请参考 [Alibaba Cloud SDK for PHP][sdk] 文档。

[sdk]: https://github.com/aliyun/openapi-sdk-php
73 changes: 73 additions & 0 deletions src/Wss/V20211221/WssApiResolver.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?php

namespace AlibabaCloud\Wss\V20211221;

use AlibabaCloud\Client\Resolver\ApiResolver;

/**
* @method DescribeDeliveryAddress describeDeliveryAddress(array $options = [])
* @method DescribePackageDeductions describePackageDeductions(array $options = [])
*/
class WssApiResolver extends ApiResolver
{
}

class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
{
/** @var string */
public $product = 'wss';

/** @var string */
public $version = '2021-12-21';

/** @var string */
public $method = 'POST';
}

class DescribeDeliveryAddress extends Rpc
{
}

/**
* @method string getPageNum()
* @method $this withPageNum($value)
* @method string getResourceType()
* @method $this withResourceType($value)
* @method array getPackageIds()
* @method array getInstanceIds()
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class DescribePackageDeductions extends Rpc
{

/**
* @param array $packageIds
*
* @return $this
*/
public function withPackageIds(array $packageIds)
{
$this->data['PackageIds'] = $packageIds;
foreach ($packageIds as $i => $iValue) {
$this->options['query']['PackageIds.' . ($i + 1)] = $iValue;
}

return $this;
}

/**
* @param array $instanceIds
*
* @return $this
*/
public function withInstanceIds(array $instanceIds)
{
$this->data['InstanceIds'] = $instanceIds;
foreach ($instanceIds as $i => $iValue) {
$this->options['query']['InstanceIds.' . ($i + 1)] = $iValue;
}

return $this;
}
}
12 changes: 12 additions & 0 deletions src/Wss/Wss.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace AlibabaCloud\Wss;

use AlibabaCloud\Client\Resolver\VersionResolver;

/**
* @method static V20211221\WssApiResolver v20211221()
*/
class Wss extends VersionResolver
{
}
43 changes: 43 additions & 0 deletions src/Wss/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "alibabacloud/wss",
"homepage": "https://www.alibabacloud.com/",
"description": "Alibaba Cloud Wss SDK for PHP",
"keywords": [
"wss",
"sdk",
"cloud",
"aliyun",
"alibaba",
"library",
"alibabacloud"
],
"type": "library",
"license": "Apache-2.0",
"support": {
"source": "https://github.com/alibabacloud-sdk-php/wss",
"issues": "https://github.com/alibabacloud-sdk-php/wss/issues"
},
"authors": [
{
"name": "Alibaba Cloud SDK",
"email": "[email protected]",
"homepage": "http://www.alibabacloud.com"
}
],
"require": {
"php": ">=5.5",
"alibabacloud/client": "^1.5"
},
"autoload": {
"psr-4": {
"AlibabaCloud\\Wss\\": ""
}
},
"config": {
"sort-packages": true,
"preferred-install": "dist",
"optimize-autoloader": true
},
"prefer-stable": true,
"minimum-stability": "dev"
}

0 comments on commit 6843d4b

Please sign in to comment.