7
7
/**
8
8
* @method DescribeDeliveryAddress describeDeliveryAddress(array $options = [])
9
9
* @method DescribePackageDeductions describePackageDeductions(array $options = [])
10
+ * @method ModifyInstanceProperties modifyInstanceProperties(array $options = [])
10
11
*/
11
12
class WssApiResolver extends ApiResolver
12
13
{
@@ -29,6 +30,10 @@ class DescribeDeliveryAddress extends Rpc
29
30
}
30
31
31
32
/**
33
+ * @method string getEndTime()
34
+ * @method $this withEndTime($value)
35
+ * @method string getStartTime()
36
+ * @method $this withStartTime($value)
32
37
* @method string getPageNum()
33
38
* @method $this withPageNum($value)
34
39
* @method string getResourceType()
@@ -71,3 +76,33 @@ public function withInstanceIds(array $instanceIds)
71
76
return $ this ;
72
77
}
73
78
}
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