@huaweicloud/huaweicloud-sdk-cfw 3.1.68 → 3.1.70

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/package.json +2 -2
  2. package/v1/CfwClient.d.ts +84 -0
  3. package/v1/CfwClient.d.ts.map +1 -1
  4. package/v1/CfwClient.js +182 -0
  5. package/v1/CfwClient.js.map +1 -1
  6. package/v1/CfwRegion.d.ts +2 -0
  7. package/v1/CfwRegion.d.ts.map +1 -1
  8. package/v1/CfwRegion.js +5 -1
  9. package/v1/CfwRegion.js.map +1 -1
  10. package/v1/model/CreateFirewallReq.d.ts +21 -0
  11. package/v1/model/CreateFirewallReq.d.ts.map +1 -0
  12. package/v1/model/CreateFirewallReq.js +44 -0
  13. package/v1/model/CreateFirewallReq.js.map +1 -0
  14. package/v1/model/CreateFirewallReqChargeInfo.d.ts +24 -0
  15. package/v1/model/CreateFirewallReqChargeInfo.d.ts.map +1 -0
  16. package/v1/model/CreateFirewallReqChargeInfo.js +60 -0
  17. package/v1/model/CreateFirewallReqChargeInfo.js.map +1 -0
  18. package/v1/model/CreateFirewallReqFlavor.d.ts +27 -0
  19. package/v1/model/CreateFirewallReqFlavor.d.ts.map +1 -0
  20. package/v1/model/CreateFirewallReqFlavor.js +53 -0
  21. package/v1/model/CreateFirewallReqFlavor.js.map +1 -0
  22. package/v1/model/CreateFirewallReqTags.d.ts +8 -0
  23. package/v1/model/CreateFirewallReqTags.d.ts.map +1 -0
  24. package/v1/model/CreateFirewallReqTags.js +19 -0
  25. package/v1/model/CreateFirewallReqTags.js.map +1 -0
  26. package/v1/model/CreateFirewallRequest.d.ts +19 -0
  27. package/v1/model/CreateFirewallRequest.d.ts.map +1 -0
  28. package/v1/model/CreateFirewallRequest.js +44 -0
  29. package/v1/model/CreateFirewallRequest.js.map +1 -0
  30. package/v1/model/CreateFirewallResponse.d.ts +16 -0
  31. package/v1/model/CreateFirewallResponse.d.ts.map +1 -0
  32. package/v1/model/CreateFirewallResponse.js +35 -0
  33. package/v1/model/CreateFirewallResponse.js.map +1 -0
  34. package/v1/model/DeleteFirewallRequest.d.ts +12 -0
  35. package/v1/model/DeleteFirewallRequest.d.ts.map +1 -0
  36. package/v1/model/DeleteFirewallRequest.js +31 -0
  37. package/v1/model/DeleteFirewallRequest.js.map +1 -0
  38. package/v1/model/DeleteFirewallResponse.d.ts +7 -0
  39. package/v1/model/DeleteFirewallResponse.d.ts.map +1 -0
  40. package/v1/model/DeleteFirewallResponse.js +15 -0
  41. package/v1/model/DeleteFirewallResponse.js.map +1 -0
  42. package/v1/model/ErrorRsp.d.ts +12 -0
  43. package/v1/model/ErrorRsp.d.ts.map +1 -0
  44. package/v1/model/ErrorRsp.js +31 -0
  45. package/v1/model/ErrorRsp.js.map +1 -0
  46. package/v1/model/ListJobRequest.d.ts +12 -0
  47. package/v1/model/ListJobRequest.d.ts.map +1 -0
  48. package/v1/model/ListJobRequest.js +31 -0
  49. package/v1/model/ListJobRequest.js.map +1 -0
  50. package/v1/model/ListJobResponse.d.ts +15 -0
  51. package/v1/model/ListJobResponse.d.ts.map +1 -0
  52. package/v1/model/ListJobResponse.js +37 -0
  53. package/v1/model/ListJobResponse.js.map +1 -0
  54. package/v1/public-api.d.ts +11 -0
  55. package/v1/public-api.d.ts.map +1 -1
  56. package/v1/public-api.js +11 -0
  57. package/v1/public-api.js.map +1 -1
package/v1/CfwRegion.d.ts CHANGED
@@ -17,6 +17,8 @@ export declare class CfwRegion {
17
17
  static AF_SOUTH_1: Region;
18
18
  static SA_BRAZIL_1: Region;
19
19
  static TR_WEST_1: Region;
20
+ static ME_EAST_1: Region;
21
+ static CN_NORTH_11: Region;
20
22
  private static REGION_MAP;
21
23
  static valueOf(regionId: string): Region;
22
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CfwRegion.d.ts","sourceRoot":"","sources":["../../../../services/cfw/v1/CfwRegion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AAOzE,qBAAa,SAAS;IA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AAO,CAAC,QAAQ,EAAE,MAAM;CAUzC"}
package/v1/CfwRegion.js CHANGED
@@ -32,6 +32,8 @@ CfwRegion.CN_EAST_2 = new region_1.Region("cn-east-2", ["https://cfw.cn-east-2.m
32
32
  CfwRegion.AF_SOUTH_1 = new region_1.Region("af-south-1", ["https://cfw.af-south-1.myhuaweicloud.com"]);
33
33
  CfwRegion.SA_BRAZIL_1 = new region_1.Region("sa-brazil-1", ["https://cfw.sa-brazil-1.myhuaweicloud.com"]);
34
34
  CfwRegion.TR_WEST_1 = new region_1.Region("tr-west-1", ["https://cfw.tr-west-1.myhuaweicloud.com"]);
35
+ CfwRegion.ME_EAST_1 = new region_1.Region("me-east-1", ["https://cfw.me-east-1.myhuaweicloud.com"]);
36
+ CfwRegion.CN_NORTH_11 = new region_1.Region("cn-north-11", ["https://cfw.cn-north-11.myhuaweicloud.com"]);
35
37
  CfwRegion.REGION_MAP = {
36
38
  "eu-west-101": CfwRegion.EU_WEST_101,
37
39
  "cn-south-4": CfwRegion.CN_SOUTH_4,
@@ -49,6 +51,8 @@ CfwRegion.REGION_MAP = {
49
51
  "cn-east-2": CfwRegion.CN_EAST_2,
50
52
  "af-south-1": CfwRegion.AF_SOUTH_1,
51
53
  "sa-brazil-1": CfwRegion.SA_BRAZIL_1,
52
- "tr-west-1": CfwRegion.TR_WEST_1
54
+ "tr-west-1": CfwRegion.TR_WEST_1,
55
+ "me-east-1": CfwRegion.ME_EAST_1,
56
+ "cn-north-11": CfwRegion.CN_NORTH_11
53
57
  };
54
58
  //# sourceMappingURL=CfwRegion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CfwRegion.js","sourceRoot":"","sources":["../../../../services/cfw/v1/CfwRegion.ts"],"names":[],"mappings":";;;AAAA,4EAAyE;AAOzE,MAAa,SAAS;IAwCX,MAAM,CAAC,OAAO,CAAC,QAAgB;QAClC,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;SA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W,EAAC,SAAS,CAAC,SAAS;IAC/B,WAAW,EAAC,SAAS,CAAC,SAAS;IAC/B,aAAa,EAAC,SAAS,CAAC,WAAW;CACtC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { CreateFirewallReqChargeInfo } from './CreateFirewallReqChargeInfo';
2
+ import { CreateFirewallReqFlavor } from './CreateFirewallReqFlavor';
3
+ import { CreateFirewallReqTags } from './CreateFirewallReqTags';
4
+ export declare class CreateFirewallReq {
5
+ name?: string;
6
+ private 'enterprise_project_id'?;
7
+ tags?: Array<CreateFirewallReqTags>;
8
+ flavor?: CreateFirewallReqFlavor;
9
+ private 'charge_info'?;
10
+ constructor(name?: string, enterpriseProjectId?: string, chargeInfo?: CreateFirewallReqChargeInfo);
11
+ withName(name: string): CreateFirewallReq;
12
+ withEnterpriseProjectId(enterpriseProjectId: string): CreateFirewallReq;
13
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
14
+ get enterpriseProjectId(): string | undefined;
15
+ withTags(tags: Array<CreateFirewallReqTags>): CreateFirewallReq;
16
+ withFlavor(flavor: CreateFirewallReqFlavor): CreateFirewallReq;
17
+ withChargeInfo(chargeInfo: CreateFirewallReqChargeInfo): CreateFirewallReq;
18
+ set chargeInfo(chargeInfo: CreateFirewallReqChargeInfo | undefined);
19
+ get chargeInfo(): CreateFirewallReqChargeInfo | undefined;
20
+ }
21
+ //# sourceMappingURL=CreateFirewallReq.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallReq.d.ts","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReq.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,qBAAa,iBAAiB;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,uBAAuB,CAAC,CAAS;IAClC,IAAI,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACxC,OAAO,CAAC,aAAa,CAAC,CAA8B;gBACjC,IAAI,CAAC,EAAE,MAAM,EAAE,mBAAmB,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,2BAA2B;IAKjG,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB;IAIzC,uBAAuB,CAAC,mBAAmB,EAAE,MAAM,GAAG,iBAAiB;IAI9E,IAAW,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,GAAI,SAAS,EAEtE;IACD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IACM,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,iBAAiB;IAI/D,UAAU,CAAC,MAAM,EAAE,uBAAuB,GAAG,iBAAiB;IAI9D,cAAc,CAAC,UAAU,EAAE,2BAA2B,GAAG,iBAAiB;IAIjF,IAAW,UAAU,CAAC,UAAU,EAAE,2BAA2B,GAAI,SAAS,EAEzE;IACD,IAAW,UAAU,IAAI,2BAA2B,GAAG,SAAS,CAE/D;CACJ"}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateFirewallReq = void 0;
4
+ class CreateFirewallReq {
5
+ constructor(name, enterpriseProjectId, chargeInfo) {
6
+ this['name'] = name;
7
+ this['enterprise_project_id'] = enterpriseProjectId;
8
+ this['charge_info'] = chargeInfo;
9
+ }
10
+ withName(name) {
11
+ this['name'] = name;
12
+ return this;
13
+ }
14
+ withEnterpriseProjectId(enterpriseProjectId) {
15
+ this['enterprise_project_id'] = enterpriseProjectId;
16
+ return this;
17
+ }
18
+ set enterpriseProjectId(enterpriseProjectId) {
19
+ this['enterprise_project_id'] = enterpriseProjectId;
20
+ }
21
+ get enterpriseProjectId() {
22
+ return this['enterprise_project_id'];
23
+ }
24
+ withTags(tags) {
25
+ this['tags'] = tags;
26
+ return this;
27
+ }
28
+ withFlavor(flavor) {
29
+ this['flavor'] = flavor;
30
+ return this;
31
+ }
32
+ withChargeInfo(chargeInfo) {
33
+ this['charge_info'] = chargeInfo;
34
+ return this;
35
+ }
36
+ set chargeInfo(chargeInfo) {
37
+ this['charge_info'] = chargeInfo;
38
+ }
39
+ get chargeInfo() {
40
+ return this['charge_info'];
41
+ }
42
+ }
43
+ exports.CreateFirewallReq = CreateFirewallReq;
44
+ //# sourceMappingURL=CreateFirewallReq.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallReq.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReq.ts"],"names":[],"mappings":";;;AAKA,MAAa,iBAAiB;IAM1B,YAAmB,IAAa,EAAE,mBAA4B,EAAE,UAAwC;QACpG,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;QACpD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uBAAuB,CAAC,mBAA2B;QACtD,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;QACpD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,mBAAmB,CAAC,mBAAwC;QACnE,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;IACxD,CAAC;IACD,IAAW,mBAAmB;QAC1B,OAAO,IAAI,CAAC,uBAAuB,CAAC,CAAC;IACzC,CAAC;IACM,QAAQ,CAAC,IAAkC;QAC9C,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAA+B;QAC7C,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,cAAc,CAAC,UAAuC;QACzD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAAoD;QACtE,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;CACJ;AA3CD,8CA2CC"}
@@ -0,0 +1,24 @@
1
+ export declare class CreateFirewallReqChargeInfo {
2
+ private 'charge_mode'?;
3
+ private 'period_type'?;
4
+ private 'period_num'?;
5
+ private 'is_auto_renew'?;
6
+ private 'is_auto_pay'?;
7
+ constructor(chargeMode?: string);
8
+ withChargeMode(chargeMode: string): CreateFirewallReqChargeInfo;
9
+ set chargeMode(chargeMode: string | undefined);
10
+ get chargeMode(): string | undefined;
11
+ withPeriodType(periodType: string): CreateFirewallReqChargeInfo;
12
+ set periodType(periodType: string | undefined);
13
+ get periodType(): string | undefined;
14
+ withPeriodNum(periodNum: number): CreateFirewallReqChargeInfo;
15
+ set periodNum(periodNum: number | undefined);
16
+ get periodNum(): number | undefined;
17
+ withIsAutoRenew(isAutoRenew: boolean): CreateFirewallReqChargeInfo;
18
+ set isAutoRenew(isAutoRenew: boolean | undefined);
19
+ get isAutoRenew(): boolean | undefined;
20
+ withIsAutoPay(isAutoPay: boolean): CreateFirewallReqChargeInfo;
21
+ set isAutoPay(isAutoPay: boolean | undefined);
22
+ get isAutoPay(): boolean | undefined;
23
+ }
24
+ //# sourceMappingURL=CreateFirewallReqChargeInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallReqChargeInfo.d.ts","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReqChargeInfo.ts"],"names":[],"mappings":"AAEA,qBAAa,2BAA2B;IACpC,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,eAAe,CAAC,CAAU;IAClC,OAAO,CAAC,aAAa,CAAC,CAAU;gBACb,UAAU,CAAC,EAAE,MAAM;IAG/B,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,2BAA2B;IAItE,IAAW,UAAU,CAAC,UAAU,EAAE,MAAM,GAAI,SAAS,EAEpD;IACD,IAAW,UAAU,IAAI,MAAM,GAAG,SAAS,CAE1C;IACM,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,2BAA2B;IAItE,IAAW,UAAU,CAAC,UAAU,EAAE,MAAM,GAAI,SAAS,EAEpD;IACD,IAAW,UAAU,IAAI,MAAM,GAAG,SAAS,CAE1C;IACM,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,2BAA2B;IAIpE,IAAW,SAAS,CAAC,SAAS,EAAE,MAAM,GAAI,SAAS,EAElD;IACD,IAAW,SAAS,IAAI,MAAM,GAAG,SAAS,CAEzC;IACM,eAAe,CAAC,WAAW,EAAE,OAAO,GAAG,2BAA2B;IAIzE,IAAW,WAAW,CAAC,WAAW,EAAE,OAAO,GAAI,SAAS,EAEvD;IACD,IAAW,WAAW,IAAI,OAAO,GAAG,SAAS,CAE5C;IACM,aAAa,CAAC,SAAS,EAAE,OAAO,GAAG,2BAA2B;IAIrE,IAAW,SAAS,CAAC,SAAS,EAAE,OAAO,GAAI,SAAS,EAEnD;IACD,IAAW,SAAS,IAAI,OAAO,GAAG,SAAS,CAE1C;CACJ"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateFirewallReqChargeInfo = void 0;
4
+ class CreateFirewallReqChargeInfo {
5
+ constructor(chargeMode) {
6
+ this['charge_mode'] = chargeMode;
7
+ }
8
+ withChargeMode(chargeMode) {
9
+ this['charge_mode'] = chargeMode;
10
+ return this;
11
+ }
12
+ set chargeMode(chargeMode) {
13
+ this['charge_mode'] = chargeMode;
14
+ }
15
+ get chargeMode() {
16
+ return this['charge_mode'];
17
+ }
18
+ withPeriodType(periodType) {
19
+ this['period_type'] = periodType;
20
+ return this;
21
+ }
22
+ set periodType(periodType) {
23
+ this['period_type'] = periodType;
24
+ }
25
+ get periodType() {
26
+ return this['period_type'];
27
+ }
28
+ withPeriodNum(periodNum) {
29
+ this['period_num'] = periodNum;
30
+ return this;
31
+ }
32
+ set periodNum(periodNum) {
33
+ this['period_num'] = periodNum;
34
+ }
35
+ get periodNum() {
36
+ return this['period_num'];
37
+ }
38
+ withIsAutoRenew(isAutoRenew) {
39
+ this['is_auto_renew'] = isAutoRenew;
40
+ return this;
41
+ }
42
+ set isAutoRenew(isAutoRenew) {
43
+ this['is_auto_renew'] = isAutoRenew;
44
+ }
45
+ get isAutoRenew() {
46
+ return this['is_auto_renew'];
47
+ }
48
+ withIsAutoPay(isAutoPay) {
49
+ this['is_auto_pay'] = isAutoPay;
50
+ return this;
51
+ }
52
+ set isAutoPay(isAutoPay) {
53
+ this['is_auto_pay'] = isAutoPay;
54
+ }
55
+ get isAutoPay() {
56
+ return this['is_auto_pay'];
57
+ }
58
+ }
59
+ exports.CreateFirewallReqChargeInfo = CreateFirewallReqChargeInfo;
60
+ //# sourceMappingURL=CreateFirewallReqChargeInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallReqChargeInfo.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReqChargeInfo.ts"],"names":[],"mappings":";;;AAEA,MAAa,2BAA2B;IAMpC,YAAmB,UAAmB;QAClC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAA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ChB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;CACJ;AA3DD,kEA2DC"}
@@ -0,0 +1,27 @@
1
+ export declare class CreateFirewallReqFlavor {
2
+ version?: CreateFirewallReqFlavorVersionEnum | string;
3
+ private 'extend_eip_count'?;
4
+ private 'extend_bandwidth'?;
5
+ private 'extend_vpc_count'?;
6
+ constructor();
7
+ withVersion(version: CreateFirewallReqFlavorVersionEnum | string): CreateFirewallReqFlavor;
8
+ withExtendEipCount(extendEipCount: number): CreateFirewallReqFlavor;
9
+ set extendEipCount(extendEipCount: number | undefined);
10
+ get extendEipCount(): number | undefined;
11
+ withExtendBandwidth(extendBandwidth: number): CreateFirewallReqFlavor;
12
+ set extendBandwidth(extendBandwidth: number | undefined);
13
+ get extendBandwidth(): number | undefined;
14
+ withExtendVpcCount(extendVpcCount: number): CreateFirewallReqFlavor;
15
+ set extendVpcCount(extendVpcCount: number | undefined);
16
+ get extendVpcCount(): number | undefined;
17
+ }
18
+ /**
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ export declare enum CreateFirewallReqFlavorVersionEnum {
23
+ STANDARD = "Standard",
24
+ PROFESSIONAL = "Professional",
25
+ PLATINUM = "Platinum"
26
+ }
27
+ //# sourceMappingURL=CreateFirewallReqFlavor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallReqFlavor.d.ts","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReqFlavor.ts"],"names":[],"mappings":"AAEA,qBAAa,uBAAuB;IACzB,OAAO,CAAC,EAAE,kCAAkC,GAAG,MAAM,CAAC;IAC7D,OAAO,CAAC,kBAAkB,CAAC,CAAS;IACpC,OAAO,CAAC,kBAAkB,CAAC,CAAS;IACpC,OAAO,CAAC,kBAAkB,CAAC,CAAS;;IAG7B,WAAW,CAAC,OAAO,EAAE,kCAAkC,GAAG,MAAM,GAAG,uBAAuB;IAI1F,kBAAkB,CAAC,cAAc,EAAE,MAAM,GAAG,uBAAuB;IAI1E,IAAW,cAAc,CAAC,cAAc,EAAE,MAAM,GAAI,SAAS,EAE5D;IACD,IAAW,cAAc,IAAI,MAAM,GAAG,SAAS,CAE9C;IACM,mBAAmB,CAAC,eAAe,EAAE,MAAM,GAAG,uBAAuB;IAI5E,IAAW,eAAe,CAAC,eAAe,EAAE,MAAM,GAAI,SAAS,EAE9D;IACD,IAAW,eAAe,IAAI,MAAM,GAAG,SAAS,CAE/C;IACM,kBAAkB,CAAC,cAAc,EAAE,MAAM,GAAG,uBAAuB;IAI1E,IAAW,cAAc,CAAC,cAAc,EAAE,MAAM,GAAI,SAAS,EAE5D;IACD,IAAW,cAAc,IAAI,MAAM,GAAG,SAAS,CAE9C;CACJ;AAED;;;MAGM;AACN,oBAAY,kCAAkC;IAC1C,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;CACxB"}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateFirewallReqFlavorVersionEnum = exports.CreateFirewallReqFlavor = void 0;
4
+ class CreateFirewallReqFlavor {
5
+ constructor() {
6
+ }
7
+ withVersion(version) {
8
+ this['version'] = version;
9
+ return this;
10
+ }
11
+ withExtendEipCount(extendEipCount) {
12
+ this['extend_eip_count'] = extendEipCount;
13
+ return this;
14
+ }
15
+ set extendEipCount(extendEipCount) {
16
+ this['extend_eip_count'] = extendEipCount;
17
+ }
18
+ get extendEipCount() {
19
+ return this['extend_eip_count'];
20
+ }
21
+ withExtendBandwidth(extendBandwidth) {
22
+ this['extend_bandwidth'] = extendBandwidth;
23
+ return this;
24
+ }
25
+ set extendBandwidth(extendBandwidth) {
26
+ this['extend_bandwidth'] = extendBandwidth;
27
+ }
28
+ get extendBandwidth() {
29
+ return this['extend_bandwidth'];
30
+ }
31
+ withExtendVpcCount(extendVpcCount) {
32
+ this['extend_vpc_count'] = extendVpcCount;
33
+ return this;
34
+ }
35
+ set extendVpcCount(extendVpcCount) {
36
+ this['extend_vpc_count'] = extendVpcCount;
37
+ }
38
+ get extendVpcCount() {
39
+ return this['extend_vpc_count'];
40
+ }
41
+ }
42
+ exports.CreateFirewallReqFlavor = CreateFirewallReqFlavor;
43
+ /**
44
+ * @export
45
+ * @enum {string}
46
+ */
47
+ var CreateFirewallReqFlavorVersionEnum;
48
+ (function (CreateFirewallReqFlavorVersionEnum) {
49
+ CreateFirewallReqFlavorVersionEnum["STANDARD"] = "Standard";
50
+ CreateFirewallReqFlavorVersionEnum["PROFESSIONAL"] = "Professional";
51
+ CreateFirewallReqFlavorVersionEnum["PLATINUM"] = "Platinum";
52
+ })(CreateFirewallReqFlavorVersionEnum = exports.CreateFirewallReqFlavorVersionEnum || (exports.CreateFirewallReqFlavorVersionEnum = {}));
53
+ //# sourceMappingURL=CreateFirewallReqFlavor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallReqFlavor.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReqFlavor.ts"],"names":[],"mappings":";;;AAEA,MAAa,uBAAuB;IAKhC;IACA,CAAC;IACM,WAAW,CAAC,OAAoD;QACnE,IAAI,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;QAC1B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kBAAkB,CAAC,cAAsB;QAC5C,IAAI,CAAC,kBAAkB,CAAC,GAAG,cAAc,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,cAAc,CAAC,cAAmC;QACzD,IAAI,CAAC,kBAAkB,CAAC,GAAG,cAAc,CAAC;IAC9C,CAAC;IACD,IAAW,cAAc;QACrB,OAAO,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACpC,CAAC;IACM,mBAAmB,CAAC,eAAuB;QAC9C,IAAI,CAAC,kBAAkB,CAAC,GAAG,eAAe,CAAC;QAC3C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,eAAe,CAAC,eAAoC;QAC3D,IAAI,CAAC,kBAAkB,CAAC,GAAG,eAAe,CAAC;IAC/C,CAAC;IACD,IAAW,eAAe;QACtB,OAAO,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACpC,CAAC;IACM,kBAAkB,CAAC,cAAsB;QAC5C,IAAI,CAAC,kBAAkB,CAAC,GAAG,cAAc,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,cAAc,CAAC,cAAmC;QACzD,IAAI,CAAC,kBAAkB,CAAC,GAAG,cAAc,CAAC;IAC9C,CAAC;IACD,IAAW,cAAc;QACrB,OAAO,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACpC,CAAC;CACJ;AAzCD,0DAyCC;AAED;;;MAGM;AACN,IAAY,kCAIX;AAJD,WAAY,kCAAkC;IAC1C,2DAAqB,CAAA;IACrB,mEAA6B,CAAA;IAC7B,2DAAqB,CAAA;AACzB,CAAC,EAJW,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAI7C"}
@@ -0,0 +1,8 @@
1
+ export declare class CreateFirewallReqTags {
2
+ key?: string;
3
+ value?: string;
4
+ constructor(key?: string, value?: string);
5
+ withKey(key: string): CreateFirewallReqTags;
6
+ withValue(value: string): CreateFirewallReqTags;
7
+ }
8
+ //# sourceMappingURL=CreateFirewallReqTags.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallReqTags.d.ts","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReqTags.ts"],"names":[],"mappings":"AAEA,qBAAa,qBAAqB;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;gBACH,GAAG,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;IAIxC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB;IAI3C,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB;CAIzD"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateFirewallReqTags = void 0;
4
+ class CreateFirewallReqTags {
5
+ constructor(key, value) {
6
+ this['key'] = key;
7
+ this['value'] = value;
8
+ }
9
+ withKey(key) {
10
+ this['key'] = key;
11
+ return this;
12
+ }
13
+ withValue(value) {
14
+ this['value'] = value;
15
+ return this;
16
+ }
17
+ }
18
+ exports.CreateFirewallReqTags = CreateFirewallReqTags;
19
+ //# sourceMappingURL=CreateFirewallReqTags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallReqTags.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReqTags.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;IAG9B,YAAmB,GAAY,EAAE,KAAc;QAC3C,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QAClB,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;IAC1B,CAAC;IACM,OAAO,CAAC,GAAW;QACtB,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAfD,sDAeC"}
@@ -0,0 +1,19 @@
1
+ import { CreateFirewallReq } from './CreateFirewallReq';
2
+ export declare class CreateFirewallRequest {
3
+ private 'project_id'?;
4
+ private 'X-Client-Token'?;
5
+ private 'X-Trace-Id'?;
6
+ body?: CreateFirewallReq;
7
+ constructor(projectId?: string);
8
+ withProjectId(projectId: string): CreateFirewallRequest;
9
+ set projectId(projectId: string | undefined);
10
+ get projectId(): string | undefined;
11
+ withXClientToken(xClientToken: string): CreateFirewallRequest;
12
+ set xClientToken(xClientToken: string | undefined);
13
+ get xClientToken(): string | undefined;
14
+ withXTraceId(xTraceId: string): CreateFirewallRequest;
15
+ set xTraceId(xTraceId: string | undefined);
16
+ get xTraceId(): string | undefined;
17
+ withBody(body: CreateFirewallReq): CreateFirewallRequest;
18
+ }
19
+ //# sourceMappingURL=CreateFirewallRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallRequest.d.ts","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,qBAAa,qBAAqB;IAC9B,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,gBAAgB,CAAC,CAAS;IAClC,OAAO,CAAC,YAAY,CAAC,CAAS;IACvB,IAAI,CAAC,EAAE,iBAAiB,CAAC;gBACb,SAAS,CAAC,EAAE,MAAM;IAG9B,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,qBAAqB;IAI9D,IAAW,SAAS,CAAC,SAAS,EAAE,MAAM,GAAI,SAAS,EAElD;IACD,IAAW,SAAS,IAAI,MAAM,GAAG,SAAS,CAEzC;IACM,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,qBAAqB;IAIpE,IAAW,YAAY,CAAC,YAAY,EAAE,MAAM,GAAI,SAAS,EAExD;IACD,IAAW,YAAY,IAAI,MAAM,GAAG,SAAS,CAE5C;IACM,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB;IAI5D,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;IACM,QAAQ,CAAC,IAAI,EAAE,iBAAiB,GAAG,qBAAqB;CAIlE"}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateFirewallRequest = void 0;
4
+ class CreateFirewallRequest {
5
+ constructor(projectId) {
6
+ this['project_id'] = projectId;
7
+ }
8
+ withProjectId(projectId) {
9
+ this['project_id'] = projectId;
10
+ return this;
11
+ }
12
+ set projectId(projectId) {
13
+ this['project_id'] = projectId;
14
+ }
15
+ get projectId() {
16
+ return this['project_id'];
17
+ }
18
+ withXClientToken(xClientToken) {
19
+ this['X-Client-Token'] = xClientToken;
20
+ return this;
21
+ }
22
+ set xClientToken(xClientToken) {
23
+ this['X-Client-Token'] = xClientToken;
24
+ }
25
+ get xClientToken() {
26
+ return this['X-Client-Token'];
27
+ }
28
+ withXTraceId(xTraceId) {
29
+ this['X-Trace-Id'] = xTraceId;
30
+ return this;
31
+ }
32
+ set xTraceId(xTraceId) {
33
+ this['X-Trace-Id'] = xTraceId;
34
+ }
35
+ get xTraceId() {
36
+ return this['X-Trace-Id'];
37
+ }
38
+ withBody(body) {
39
+ this['body'] = body;
40
+ return this;
41
+ }
42
+ }
43
+ exports.CreateFirewallRequest = CreateFirewallRequest;
44
+ //# sourceMappingURL=CreateFirewallRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallRequest.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallRequest.ts"],"names":[],"mappings":";;;AAGA,MAAa,qBAAqB;IAK9B,YAAmB,SAAkB;QACjC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAA8B;QAC/C,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;IACM,gBAAgB,CAAC,YAAoB;QACxC,IAAI,CAAC,gBAAgB,CAAC,GAAG,YAAY,CAAC;QACtC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,YAAY,CAAC,YAAiC;QACrD,IAAI,CAAC,gBAAgB,CAAC,GAAG,YAAY,CAAC;IAC1C,CAAC;IACD,IAAW,YAAY;QACnB,OAAO,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAClC,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC;QAC9B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC;IAClC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;IACM,QAAQ,CAAC,IAAuB;QACnC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA1CD,sDA0CC"}
@@ -0,0 +1,16 @@
1
+ import { CreateFirewallReq } from './CreateFirewallReq';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class CreateFirewallResponse extends SdkResponse {
4
+ private 'job_id'?;
5
+ private 'order_id'?;
6
+ data?: CreateFirewallReq;
7
+ constructor();
8
+ withJobId(jobId: string): CreateFirewallResponse;
9
+ set jobId(jobId: string | undefined);
10
+ get jobId(): string | undefined;
11
+ withOrderId(orderId: string): CreateFirewallResponse;
12
+ set orderId(orderId: string | undefined);
13
+ get orderId(): string | undefined;
14
+ withData(data: CreateFirewallReq): CreateFirewallResponse;
15
+ }
16
+ //# sourceMappingURL=CreateFirewallResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,sBAAuB,SAAQ,WAAW;IACnD,OAAO,CAAC,QAAQ,CAAC,CAAS;IAC1B,OAAO,CAAC,UAAU,CAAC,CAAS;IACrB,IAAI,CAAC,EAAE,iBAAiB,CAAC;;IAIzB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,sBAAsB;IAIvD,IAAW,KAAK,CAAC,KAAK,EAAE,MAAM,GAAI,SAAS,EAE1C;IACD,IAAW,KAAK,IAAI,MAAM,GAAG,SAAS,CAErC;IACM,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,sBAAsB;IAI3D,IAAW,OAAO,CAAC,OAAO,EAAE,MAAM,GAAI,SAAS,EAE9C;IACD,IAAW,OAAO,IAAI,MAAM,GAAG,SAAS,CAEvC;IACM,QAAQ,CAAC,IAAI,EAAE,iBAAiB,GAAG,sBAAsB;CAInE"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateFirewallResponse = void 0;
4
+ const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
5
+ class CreateFirewallResponse extends SdkResponse_1.SdkResponse {
6
+ constructor() {
7
+ super();
8
+ }
9
+ withJobId(jobId) {
10
+ this['job_id'] = jobId;
11
+ return this;
12
+ }
13
+ set jobId(jobId) {
14
+ this['job_id'] = jobId;
15
+ }
16
+ get jobId() {
17
+ return this['job_id'];
18
+ }
19
+ withOrderId(orderId) {
20
+ this['order_id'] = orderId;
21
+ return this;
22
+ }
23
+ set orderId(orderId) {
24
+ this['order_id'] = orderId;
25
+ }
26
+ get orderId() {
27
+ return this['order_id'];
28
+ }
29
+ withData(data) {
30
+ this['data'] = data;
31
+ return this;
32
+ }
33
+ }
34
+ exports.CreateFirewallResponse = CreateFirewallResponse;
35
+ //# sourceMappingURL=CreateFirewallResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFirewallResponse.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,sBAAuB,SAAQ,yBAAW;IAInD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC;QACvB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,KAAK,CAAC,KAA0B;QACvC,IAAI,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC;IAC3B,CAAC;IACD,IAAW,KAAK;QACZ,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC1B,CAAC;IACM,WAAW,CAAC,OAAe;QAC9B,IAAI,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,OAAO,CAAC,OAA4B;QAC3C,IAAI,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;IAC/B,CAAC;IACD,IAAW,OAAO;QACd,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC;IAC5B,CAAC;IACM,QAAQ,CAAC,IAAuB;QACnC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA/BD,wDA+BC"}
@@ -0,0 +1,12 @@
1
+ export declare class DeleteFirewallRequest {
2
+ private 'project_id'?;
3
+ private 'resource_id'?;
4
+ constructor(projectId?: string, resourceId?: string);
5
+ withProjectId(projectId: string): DeleteFirewallRequest;
6
+ set projectId(projectId: string | undefined);
7
+ get projectId(): string | undefined;
8
+ withResourceId(resourceId: string): DeleteFirewallRequest;
9
+ set resourceId(resourceId: string | undefined);
10
+ get resourceId(): string | undefined;
11
+ }
12
+ //# sourceMappingURL=DeleteFirewallRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteFirewallRequest.d.ts","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/DeleteFirewallRequest.ts"],"names":[],"mappings":"AAEA,qBAAa,qBAAqB;IAC9B,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,aAAa,CAAC,CAAS;gBACZ,SAAS,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;IAInD,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,qBAAqB;IAI9D,IAAW,SAAS,CAAC,SAAS,EAAE,MAAM,GAAI,SAAS,EAElD;IACD,IAAW,SAAS,IAAI,MAAM,GAAG,SAAS,CAEzC;IACM,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,qBAAqB;IAIhE,IAAW,UAAU,CAAC,UAAU,EAAE,MAAM,GAAI,SAAS,EAEpD;IACD,IAAW,UAAU,IAAI,MAAM,GAAG,SAAS,CAE1C;CACJ"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteFirewallRequest = void 0;
4
+ class DeleteFirewallRequest {
5
+ constructor(projectId, resourceId) {
6
+ this['project_id'] = projectId;
7
+ this['resource_id'] = resourceId;
8
+ }
9
+ withProjectId(projectId) {
10
+ this['project_id'] = projectId;
11
+ return this;
12
+ }
13
+ set projectId(projectId) {
14
+ this['project_id'] = projectId;
15
+ }
16
+ get projectId() {
17
+ return this['project_id'];
18
+ }
19
+ withResourceId(resourceId) {
20
+ this['resource_id'] = resourceId;
21
+ return this;
22
+ }
23
+ set resourceId(resourceId) {
24
+ this['resource_id'] = resourceId;
25
+ }
26
+ get resourceId() {
27
+ return this['resource_id'];
28
+ }
29
+ }
30
+ exports.DeleteFirewallRequest = DeleteFirewallRequest;
31
+ //# sourceMappingURL=DeleteFirewallRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteFirewallRequest.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/DeleteFirewallRequest.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;IAG9B,YAAmB,SAAkB,EAAE,UAAmB;QACtD,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAA8B;QAC/C,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAA+B;QACjD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;CACJ;AA3BD,sDA2BC"}
@@ -0,0 +1,7 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class DeleteFirewallResponse extends SdkResponse {
3
+ data?: string;
4
+ constructor();
5
+ withData(data: string): DeleteFirewallResponse;
6
+ }
7
+ //# sourceMappingURL=DeleteFirewallResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteFirewallResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/DeleteFirewallResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,sBAAuB,SAAQ,WAAW;IAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;;IAId,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,sBAAsB;CAIxD"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteFirewallResponse = void 0;
4
+ const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
5
+ class DeleteFirewallResponse extends SdkResponse_1.SdkResponse {
6
+ constructor() {
7
+ super();
8
+ }
9
+ withData(data) {
10
+ this['data'] = data;
11
+ return this;
12
+ }
13
+ }
14
+ exports.DeleteFirewallResponse = DeleteFirewallResponse;
15
+ //# sourceMappingURL=DeleteFirewallResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteFirewallResponse.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/DeleteFirewallResponse.ts"],"names":[],"mappings":";;;AACA,+EAA4E;AAE5E,MAAa,sBAAuB,SAAQ,yBAAW;IAEnD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AATD,wDASC"}
@@ -0,0 +1,12 @@
1
+ export declare class ErrorRsp {
2
+ private 'error_code'?;
3
+ private 'error_msg'?;
4
+ constructor(errorCode?: string, errorMsg?: string);
5
+ withErrorCode(errorCode: string): ErrorRsp;
6
+ set errorCode(errorCode: string | undefined);
7
+ get errorCode(): string | undefined;
8
+ withErrorMsg(errorMsg: string): ErrorRsp;
9
+ set errorMsg(errorMsg: string | undefined);
10
+ get errorMsg(): string | undefined;
11
+ }
12
+ //# sourceMappingURL=ErrorRsp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorRsp.d.ts","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/ErrorRsp.ts"],"names":[],"mappings":"AAEA,qBAAa,QAAQ;IACjB,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,WAAW,CAAC,CAAS;gBACV,SAAS,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;IAIjD,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ;IAIjD,IAAW,SAAS,CAAC,SAAS,EAAE,MAAM,GAAI,SAAS,EAElD;IACD,IAAW,SAAS,IAAI,MAAM,GAAG,SAAS,CAEzC;IACM,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ;IAI/C,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;CACJ"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ErrorRsp = void 0;
4
+ class ErrorRsp {
5
+ constructor(errorCode, errorMsg) {
6
+ this['error_code'] = errorCode;
7
+ this['error_msg'] = errorMsg;
8
+ }
9
+ withErrorCode(errorCode) {
10
+ this['error_code'] = errorCode;
11
+ return this;
12
+ }
13
+ set errorCode(errorCode) {
14
+ this['error_code'] = errorCode;
15
+ }
16
+ get errorCode() {
17
+ return this['error_code'];
18
+ }
19
+ withErrorMsg(errorMsg) {
20
+ this['error_msg'] = errorMsg;
21
+ return this;
22
+ }
23
+ set errorMsg(errorMsg) {
24
+ this['error_msg'] = errorMsg;
25
+ }
26
+ get errorMsg() {
27
+ return this['error_msg'];
28
+ }
29
+ }
30
+ exports.ErrorRsp = ErrorRsp;
31
+ //# sourceMappingURL=ErrorRsp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorRsp.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/ErrorRsp.ts"],"names":[],"mappings":";;;AAEA,MAAa,QAAQ;IAGjB,YAAmB,SAAkB,EAAE,QAAiB;QACpD,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAA8B;QAC/C,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;CACJ;AA3BD,4BA2BC"}