Skip to content

Commit 53fcee0

Browse files
committed
Add ModifyInstanceProperties.
1 parent 49f3ad5 commit 53fcee0

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 1.8.2243 - 2025-2-7
4+
- Add ModifyInstanceProperties.
5+
6+
37
## 1.8.2242 - 2025-2-6
48
- Rebuild.
59

src/Release.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Release
1616
/**
1717
* Version of the SDK
1818
*/
19-
const VERSION = '1.8.2242';
19+
const VERSION = '1.8.2243';
2020

2121
/**
2222
* @param Event $event

src/Wss/V20211221/WssApiResolver.php

+35
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/**
88
* @method DescribeDeliveryAddress describeDeliveryAddress(array $options = [])
99
* @method DescribePackageDeductions describePackageDeductions(array $options = [])
10+
* @method ModifyInstanceProperties modifyInstanceProperties(array $options = [])
1011
*/
1112
class WssApiResolver extends ApiResolver
1213
{
@@ -29,6 +30,10 @@ class DescribeDeliveryAddress extends Rpc
2930
}
3031

3132
/**
33+
* @method string getEndTime()
34+
* @method $this withEndTime($value)
35+
* @method string getStartTime()
36+
* @method $this withStartTime($value)
3237
* @method string getPageNum()
3338
* @method $this withPageNum($value)
3439
* @method string getResourceType()
@@ -71,3 +76,33 @@ public function withInstanceIds(array $instanceIds)
7176
return $this;
7277
}
7378
}
79+
80+
/**
81+
* @method string getResourceType()
82+
* @method $this withResourceType($value)
83+
* @method string getInstanceId()
84+
* @method $this withInstanceId($value)
85+
* @method array getInstanceIds()
86+
* @method string getValue()
87+
* @method $this withValue($value)
88+
* @method string getKey()
89+
* @method $this withKey($value)
90+
*/
91+
class ModifyInstanceProperties extends Rpc
92+
{
93+
94+
/**
95+
* @param array $instanceIds
96+
*
97+
* @return $this
98+
*/
99+
public function withInstanceIds(array $instanceIds)
100+
{
101+
$this->data['InstanceIds'] = $instanceIds;
102+
foreach ($instanceIds as $i => $iValue) {
103+
$this->options['query']['InstanceIds.' . ($i + 1)] = $iValue;
104+
}
105+
106+
return $this;
107+
}
108+
}

0 commit comments

Comments
 (0)