@@ -87,23 +87,44 @@ class ChangeResourceGroup extends Rpc
87
87
}
88
88
89
89
/**
90
- * @method string getImage()
91
- * @method $this withImage($value)
92
90
* @method string getClientToken()
93
91
* @method $this withClientToken($value)
94
92
* @method string getSecurityGroupId()
95
93
* @method $this withSecurityGroupId($value)
96
- * @method string getVSwitchId()
97
- * @method $this withVSwitchId($value)
98
94
* @method string getResourceGroupId()
99
95
* @method $this withResourceGroupId($value)
100
- * @method string getInstanceName()
101
- * @method $this withInstanceName($value)
102
96
* @method string getInstanceType()
103
97
* @method $this withInstanceType($value)
98
+ * @method array getTag()
99
+ * @method string getImage()
100
+ * @method $this withImage($value)
101
+ * @method string getVSwitchId()
102
+ * @method $this withVSwitchId($value)
103
+ * @method string getInstanceName()
104
+ * @method $this withInstanceName($value)
104
105
*/
105
106
class CreateEai extends Rpc
106
107
{
108
+
109
+ /**
110
+ * @param array $tag
111
+ *
112
+ * @return $this
113
+ */
114
+ public function withTag (array $ tag )
115
+ {
116
+ $ this ->data ['Tag ' ] = $ tag ;
117
+ foreach ($ tag as $ depth1 => $ depth1Value ) {
118
+ if (isset ($ depth1Value ['Value ' ])){
119
+ $ this ->options ['query ' ]['Tag. ' . ($ depth1 + 1 ) . '.Value ' ] = $ depth1Value ['Value ' ];
120
+ }
121
+ if (isset ($ depth1Value ['Key ' ])){
122
+ $ this ->options ['query ' ]['Tag. ' . ($ depth1 + 1 ) . '.Key ' ] = $ depth1Value ['Key ' ];
123
+ }
124
+ }
125
+
126
+ return $ this ;
127
+ }
107
128
}
108
129
109
130
/**
@@ -115,15 +136,36 @@ class CreateEai extends Rpc
115
136
* @method $this withEci($value)
116
137
* @method string getEaisType()
117
138
* @method $this withEaisType($value)
118
- * @method string getVSwitchId()
119
- * @method $this withVSwitchId($value)
120
139
* @method string getResourceGroupId()
121
140
* @method $this withResourceGroupId($value)
122
141
* @method string getEaisName()
123
142
* @method $this withEaisName($value)
143
+ * @method array getTag()
144
+ * @method string getVSwitchId()
145
+ * @method $this withVSwitchId($value)
124
146
*/
125
147
class CreateEaiEci extends Rpc
126
148
{
149
+
150
+ /**
151
+ * @param array $tag
152
+ *
153
+ * @return $this
154
+ */
155
+ public function withTag (array $ tag )
156
+ {
157
+ $ this ->data ['Tag ' ] = $ tag ;
158
+ foreach ($ tag as $ depth1 => $ depth1Value ) {
159
+ if (isset ($ depth1Value ['Value ' ])){
160
+ $ this ->options ['query ' ]['Tag. ' . ($ depth1 + 1 ) . '.Value ' ] = $ depth1Value ['Value ' ];
161
+ }
162
+ if (isset ($ depth1Value ['Key ' ])){
163
+ $ this ->options ['query ' ]['Tag. ' . ($ depth1 + 1 ) . '.Key ' ] = $ depth1Value ['Key ' ];
164
+ }
165
+ }
166
+
167
+ return $ this ;
168
+ }
127
169
}
128
170
129
171
/**
@@ -133,17 +175,38 @@ class CreateEaiEci extends Rpc
133
175
* @method $this withSecurityGroupId($value)
134
176
* @method string getEaisType()
135
177
* @method $this withEaisType($value)
136
- * @method string getVSwitchId()
137
- * @method $this withVSwitchId($value)
138
178
* @method string getResourceGroupId()
139
179
* @method $this withResourceGroupId($value)
140
180
* @method string getEcs()
141
181
* @method $this withEcs($value)
142
182
* @method string getEaisName()
143
183
* @method $this withEaisName($value)
184
+ * @method array getTag()
185
+ * @method string getVSwitchId()
186
+ * @method $this withVSwitchId($value)
144
187
*/
145
188
class CreateEaiEcs extends Rpc
146
189
{
190
+
191
+ /**
192
+ * @param array $tag
193
+ *
194
+ * @return $this
195
+ */
196
+ public function withTag (array $ tag )
197
+ {
198
+ $ this ->data ['Tag ' ] = $ tag ;
199
+ foreach ($ tag as $ depth1 => $ depth1Value ) {
200
+ if (isset ($ depth1Value ['Value ' ])){
201
+ $ this ->options ['query ' ]['Tag. ' . ($ depth1 + 1 ) . '.Value ' ] = $ depth1Value ['Value ' ];
202
+ }
203
+ if (isset ($ depth1Value ['Key ' ])){
204
+ $ this ->options ['query ' ]['Tag. ' . ($ depth1 + 1 ) . '.Key ' ] = $ depth1Value ['Key ' ];
205
+ }
206
+ }
207
+
208
+ return $ this ;
209
+ }
147
210
}
148
211
149
212
/**
@@ -153,35 +216,77 @@ class CreateEaiEcs extends Rpc
153
216
* @method $this withSecurityGroupId($value)
154
217
* @method string getEaisType()
155
218
* @method $this withEaisType($value)
156
- * @method string getVSwitchId()
157
- * @method $this withVSwitchId($value)
158
219
* @method string getResourceGroupId()
159
220
* @method $this withResourceGroupId($value)
160
- * @method string getEnvironmentVar()
161
- * @method $this withEnvironmentVar($value)
162
221
* @method string getEaisName()
163
222
* @method $this withEaisName($value)
223
+ * @method array getTag()
224
+ * @method string getVSwitchId()
225
+ * @method $this withVSwitchId($value)
226
+ * @method string getEnvironmentVar()
227
+ * @method $this withEnvironmentVar($value)
164
228
*/
165
229
class CreateEaiJupyter extends Rpc
166
230
{
231
+
232
+ /**
233
+ * @param array $tag
234
+ *
235
+ * @return $this
236
+ */
237
+ public function withTag (array $ tag )
238
+ {
239
+ $ this ->data ['Tag ' ] = $ tag ;
240
+ foreach ($ tag as $ depth1 => $ depth1Value ) {
241
+ if (isset ($ depth1Value ['Value ' ])){
242
+ $ this ->options ['query ' ]['Tag. ' . ($ depth1 + 1 ) . '.Value ' ] = $ depth1Value ['Value ' ];
243
+ }
244
+ if (isset ($ depth1Value ['Key ' ])){
245
+ $ this ->options ['query ' ]['Tag. ' . ($ depth1 + 1 ) . '.Key ' ] = $ depth1Value ['Key ' ];
246
+ }
247
+ }
248
+
249
+ return $ this ;
250
+ }
167
251
}
168
252
169
253
/**
170
254
* @method string getClientToken()
171
255
* @method $this withClientToken($value)
172
256
* @method string getSecurityGroupId()
173
257
* @method $this withSecurityGroupId($value)
174
- * @method string getVSwitchId()
175
- * @method $this withVSwitchId($value)
176
258
* @method string getResourceGroupId()
177
259
* @method $this withResourceGroupId($value)
178
- * @method string getInstanceName()
179
- * @method $this withInstanceName($value)
180
260
* @method string getInstanceType()
181
261
* @method $this withInstanceType($value)
262
+ * @method array getTag()
263
+ * @method string getVSwitchId()
264
+ * @method $this withVSwitchId($value)
265
+ * @method string getInstanceName()
266
+ * @method $this withInstanceName($value)
182
267
*/
183
268
class CreateEaisEi extends Rpc
184
269
{
270
+
271
+ /**
272
+ * @param array $tag
273
+ *
274
+ * @return $this
275
+ */
276
+ public function withTag (array $ tag )
277
+ {
278
+ $ this ->data ['Tag ' ] = $ tag ;
279
+ foreach ($ tag as $ depth1 => $ depth1Value ) {
280
+ if (isset ($ depth1Value ['Value ' ])){
281
+ $ this ->options ['query ' ]['Tag. ' . ($ depth1 + 1 ) . '.Value ' ] = $ depth1Value ['Value ' ];
282
+ }
283
+ if (isset ($ depth1Value ['Key ' ])){
284
+ $ this ->options ['query ' ]['Tag. ' . ($ depth1 + 1 ) . '.Key ' ] = $ depth1Value ['Key ' ];
285
+ }
286
+ }
287
+
288
+ return $ this ;
289
+ }
185
290
}
186
291
187
292
/**
0 commit comments