22
22
using Aliyun . Acs . Core . Http ;
23
23
using Aliyun . Acs . Core . Transform ;
24
24
using Aliyun . Acs . Core . Utils ;
25
- using Aliyun . Acs . Cbn ;
26
25
using Aliyun . Acs . Cbn . Transform ;
27
26
using Aliyun . Acs . Cbn . Transform . V20170912 ;
28
27
@@ -31,7 +30,7 @@ namespace Aliyun.Acs.Cbn.Model.V20170912
31
30
public class CreateCenBandwidthPackageRequest : RpcAcsRequest < CreateCenBandwidthPackageResponse >
32
31
{
33
32
public CreateCenBandwidthPackageRequest ( )
34
- : base ( "Cbn" , "2017-09-12" , "CreateCenBandwidthPackage" )
33
+ : base ( "Cbn" , "2017-09-12" , "CreateCenBandwidthPackage" , "cbn" , "openAPI" )
35
34
{
36
35
if ( this . GetType ( ) . GetProperty ( "ProductEndpointMap" ) != null && this . GetType ( ) . GetProperty ( "ProductEndpointType" ) != null )
37
36
{
@@ -51,6 +50,8 @@ public CreateCenBandwidthPackageRequest()
51
50
52
51
private string bandwidthPackageChargeType ;
53
52
53
+ private List < string > tags = new List < string > ( ) { } ;
54
+
54
55
private string geographicRegionBId ;
55
56
56
57
private int ? period ;
@@ -67,8 +68,6 @@ public CreateCenBandwidthPackageRequest()
67
68
68
69
private long ? ownerId ;
69
70
70
- private string serviceType ;
71
-
72
71
private bool ? autoRenew ;
73
72
74
73
private string name ;
@@ -140,6 +139,27 @@ public string BandwidthPackageChargeType
140
139
}
141
140
}
142
141
142
+ public List < string > Tags
143
+ {
144
+ get
145
+ {
146
+ return tags ;
147
+ }
148
+
149
+ set
150
+ {
151
+ tags = value ;
152
+ if ( tags != null )
153
+ {
154
+ for ( int depth1 = 0 ; depth1 < tags . Count ; depth1 ++ )
155
+ {
156
+ DictionaryUtil . Add ( QueryParameters , "Tag." + ( depth1 + 1 ) , tags [ depth1 ] ) ;
157
+ DictionaryUtil . Add ( QueryParameters , "Tag." + ( depth1 + 1 ) , tags [ depth1 ] ) ;
158
+ }
159
+ }
160
+ }
161
+ }
162
+
143
163
public string GeographicRegionBId
144
164
{
145
165
get
@@ -244,19 +264,6 @@ public long? OwnerId
244
264
}
245
265
}
246
266
247
- public string ServiceType
248
- {
249
- get
250
- {
251
- return serviceType ;
252
- }
253
- set
254
- {
255
- serviceType = value ;
256
- DictionaryUtil . Add ( QueryParameters , "ServiceType" , value ) ;
257
- }
258
- }
259
-
260
267
public bool ? AutoRenew
261
268
{
262
269
get
@@ -294,6 +301,38 @@ public string PricingCycle
294
301
pricingCycle = value ;
295
302
DictionaryUtil . Add ( QueryParameters , "PricingCycle" , value ) ;
296
303
}
304
+ }
305
+
306
+ public class Tag
307
+ {
308
+
309
+ private string value_ ;
310
+
311
+ private string key ;
312
+
313
+ public string Value_
314
+ {
315
+ get
316
+ {
317
+ return value_ ;
318
+ }
319
+ set
320
+ {
321
+ value_ = value ;
322
+ }
323
+ }
324
+
325
+ public string Key
326
+ {
327
+ get
328
+ {
329
+ return key ;
330
+ }
331
+ set
332
+ {
333
+ key = value ;
334
+ }
335
+ }
297
336
}
298
337
299
338
public override CreateCenBandwidthPackageResponse GetResponse ( UnmarshallerContext unmarshallerContext )
0 commit comments