@alicloud/ecd20200930 4.16.0 → 4.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,8 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class AllocateIpAddressRequest extends $dara.Model {
3
+ bandwidth?: number;
4
+ internetChargeType?: string;
5
+ name?: string;
3
6
  networkInterfaceId?: string;
4
7
  officeSiteId?: string;
5
8
  /**
@@ -39,6 +39,9 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class AllocateIpAddressRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ bandwidth: 'Bandwidth',
43
+ internetChargeType: 'InternetChargeType',
44
+ name: 'Name',
42
45
  networkInterfaceId: 'NetworkInterfaceId',
43
46
  officeSiteId: 'OfficeSiteId',
44
47
  regionId: 'RegionId',
@@ -46,6 +49,9 @@ class AllocateIpAddressRequest extends $dara.Model {
46
49
  }
47
50
  static types() {
48
51
  return {
52
+ bandwidth: 'number',
53
+ internetChargeType: 'string',
54
+ name: 'string',
49
55
  networkInterfaceId: 'string',
50
56
  officeSiteId: 'string',
51
57
  regionId: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"AllocateIpAddressRequest.js","sourceRoot":"","sources":["../../src/models/AllocateIpAddressRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAQvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,QAAQ;YAC5B,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/BD,4DA+BC"}
1
+ {"version":3,"file":"AllocateIpAddressRequest.js","sourceRoot":"","sources":["../../src/models/AllocateIpAddressRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAWvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,kBAAkB,EAAE,oBAAoB;YACxC,IAAI,EAAE,MAAM;YACZ,kBAAkB,EAAE,oBAAoB;YACxC,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,kBAAkB,EAAE,QAAQ;YAC5B,IAAI,EAAE,QAAQ;YACd,kBAAkB,EAAE,QAAQ;YAC5B,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxCD,4DAwCC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/ecd20200930",
3
- "version": "4.16.0",
3
+ "version": "4.16.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -403,6 +403,18 @@ export default class Client extends OpenApi {
403
403
  async allocateIpAddressWithOptions(request: $_model.AllocateIpAddressRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AllocateIpAddressResponse> {
404
404
  request.validate();
405
405
  let query = { };
406
+ if (!$dara.isNull(request.bandwidth)) {
407
+ query["Bandwidth"] = request.bandwidth;
408
+ }
409
+
410
+ if (!$dara.isNull(request.internetChargeType)) {
411
+ query["InternetChargeType"] = request.internetChargeType;
412
+ }
413
+
414
+ if (!$dara.isNull(request.name)) {
415
+ query["Name"] = request.name;
416
+ }
417
+
406
418
  if (!$dara.isNull(request.networkInterfaceId)) {
407
419
  query["NetworkInterfaceId"] = request.networkInterfaceId;
408
420
  }
@@ -3,6 +3,9 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class AllocateIpAddressRequest extends $dara.Model {
6
+ bandwidth?: number;
7
+ internetChargeType?: string;
8
+ name?: string;
6
9
  networkInterfaceId?: string;
7
10
  officeSiteId?: string;
8
11
  /**
@@ -12,6 +15,9 @@ export class AllocateIpAddressRequest extends $dara.Model {
12
15
  regionId?: string;
13
16
  static names(): { [key: string]: string } {
14
17
  return {
18
+ bandwidth: 'Bandwidth',
19
+ internetChargeType: 'InternetChargeType',
20
+ name: 'Name',
15
21
  networkInterfaceId: 'NetworkInterfaceId',
16
22
  officeSiteId: 'OfficeSiteId',
17
23
  regionId: 'RegionId',
@@ -20,6 +26,9 @@ export class AllocateIpAddressRequest extends $dara.Model {
20
26
 
21
27
  static types(): { [key: string]: any } {
22
28
  return {
29
+ bandwidth: 'number',
30
+ internetChargeType: 'string',
31
+ name: 'string',
23
32
  networkInterfaceId: 'string',
24
33
  officeSiteId: 'string',
25
34
  regionId: 'string',