@alicloud/waf-openapi20211001 5.5.1 → 5.6.0

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.
Files changed (108) hide show
  1. package/dist/client.d.ts +105 -0
  2. package/dist/client.js +351 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateMajorProtectionBlackIpV2request.d.ts +68 -0
  5. package/dist/models/CreateMajorProtectionBlackIpV2request.js +72 -0
  6. package/dist/models/CreateMajorProtectionBlackIpV2request.js.map +1 -0
  7. package/dist/models/CreateMajorProtectionBlackIpV2response.d.ts +19 -0
  8. package/dist/models/CreateMajorProtectionBlackIpV2response.js +69 -0
  9. package/dist/models/CreateMajorProtectionBlackIpV2response.js.map +1 -0
  10. package/dist/models/CreateMajorProtectionBlackIpV2responseBody.d.ts +18 -0
  11. package/dist/models/CreateMajorProtectionBlackIpV2responseBody.js +58 -0
  12. package/dist/models/CreateMajorProtectionBlackIpV2responseBody.js.map +1 -0
  13. package/dist/models/CreatePocFunctionRequest.d.ts +39 -0
  14. package/dist/models/CreatePocFunctionRequest.js +64 -0
  15. package/dist/models/CreatePocFunctionRequest.js.map +1 -0
  16. package/dist/models/CreatePocFunctionResponse.d.ts +19 -0
  17. package/dist/models/CreatePocFunctionResponse.js +69 -0
  18. package/dist/models/CreatePocFunctionResponse.js.map +1 -0
  19. package/dist/models/CreatePocFunctionResponseBody.d.ts +18 -0
  20. package/dist/models/CreatePocFunctionResponseBody.js +58 -0
  21. package/dist/models/CreatePocFunctionResponseBody.js.map +1 -0
  22. package/dist/models/DescribeChargeModuleRequest.d.ts +31 -0
  23. package/dist/models/DescribeChargeModuleRequest.js +62 -0
  24. package/dist/models/DescribeChargeModuleRequest.js.map +1 -0
  25. package/dist/models/DescribeChargeModuleResponse.d.ts +19 -0
  26. package/dist/models/DescribeChargeModuleResponse.js +69 -0
  27. package/dist/models/DescribeChargeModuleResponse.js.map +1 -0
  28. package/dist/models/DescribeChargeModuleResponseBody.d.ts +57 -0
  29. package/dist/models/DescribeChargeModuleResponseBody.js +95 -0
  30. package/dist/models/DescribeChargeModuleResponseBody.js.map +1 -0
  31. package/dist/models/DescribeChargeResultRequest.d.ts +63 -0
  32. package/dist/models/DescribeChargeResultRequest.js +90 -0
  33. package/dist/models/DescribeChargeResultRequest.js.map +1 -0
  34. package/dist/models/DescribeChargeResultResponse.d.ts +19 -0
  35. package/dist/models/DescribeChargeResultResponse.js +69 -0
  36. package/dist/models/DescribeChargeResultResponse.js.map +1 -0
  37. package/dist/models/DescribeChargeResultResponseBody.d.ts +46 -0
  38. package/dist/models/DescribeChargeResultResponseBody.js +86 -0
  39. package/dist/models/DescribeChargeResultResponseBody.js.map +1 -0
  40. package/dist/models/DescribeDefenseRulesResponseBody.d.ts +30 -0
  41. package/dist/models/DescribeDefenseRulesResponseBody.js.map +1 -1
  42. package/dist/models/DescribePocFunctionsRequest.d.ts +31 -0
  43. package/dist/models/DescribePocFunctionsRequest.js +62 -0
  44. package/dist/models/DescribePocFunctionsRequest.js.map +1 -0
  45. package/dist/models/DescribePocFunctionsResponse.d.ts +19 -0
  46. package/dist/models/DescribePocFunctionsResponse.js +69 -0
  47. package/dist/models/DescribePocFunctionsResponse.js.map +1 -0
  48. package/dist/models/DescribePocFunctionsResponseBody.d.ts +41 -0
  49. package/dist/models/DescribePocFunctionsResponseBody.js +84 -0
  50. package/dist/models/DescribePocFunctionsResponseBody.js.map +1 -0
  51. package/dist/models/DescribeTemplateResourceCountResponseBody.d.ts +5 -0
  52. package/dist/models/DescribeTemplateResourceCountResponseBody.js +2 -0
  53. package/dist/models/DescribeTemplateResourceCountResponseBody.js.map +1 -1
  54. package/dist/models/DescribeTemplateResourcesRequest.d.ts +5 -0
  55. package/dist/models/DescribeTemplateResourcesRequest.js +2 -0
  56. package/dist/models/DescribeTemplateResourcesRequest.js.map +1 -1
  57. package/dist/models/DescribeVerifyContentRequest.d.ts +37 -0
  58. package/dist/models/DescribeVerifyContentRequest.js +62 -0
  59. package/dist/models/DescribeVerifyContentRequest.js.map +1 -0
  60. package/dist/models/DescribeVerifyContentResponse.d.ts +19 -0
  61. package/dist/models/DescribeVerifyContentResponse.js +69 -0
  62. package/dist/models/DescribeVerifyContentResponse.js.map +1 -0
  63. package/dist/models/DescribeVerifyContentResponseBody.d.ts +89 -0
  64. package/dist/models/DescribeVerifyContentResponseBody.js +120 -0
  65. package/dist/models/DescribeVerifyContentResponseBody.js.map +1 -0
  66. package/dist/models/ModifyTemplateResourcesRequest.d.ts +2 -0
  67. package/dist/models/ModifyTemplateResourcesRequest.js +10 -0
  68. package/dist/models/ModifyTemplateResourcesRequest.js.map +1 -1
  69. package/dist/models/VerifyDomainOwnerRequest.d.ts +61 -0
  70. package/dist/models/VerifyDomainOwnerRequest.js +64 -0
  71. package/dist/models/VerifyDomainOwnerRequest.js.map +1 -0
  72. package/dist/models/VerifyDomainOwnerResponse.d.ts +19 -0
  73. package/dist/models/VerifyDomainOwnerResponse.js +69 -0
  74. package/dist/models/VerifyDomainOwnerResponse.js.map +1 -0
  75. package/dist/models/VerifyDomainOwnerResponseBody.d.ts +63 -0
  76. package/dist/models/VerifyDomainOwnerResponseBody.js +84 -0
  77. package/dist/models/VerifyDomainOwnerResponseBody.js.map +1 -0
  78. package/dist/models/model.d.ts +28 -0
  79. package/dist/models/model.js +73 -16
  80. package/dist/models/model.js.map +1 -1
  81. package/package.json +1 -1
  82. package/src/client.ts +398 -0
  83. package/src/models/CreateMajorProtectionBlackIpV2request.ts +95 -0
  84. package/src/models/CreateMajorProtectionBlackIpV2response.ts +40 -0
  85. package/src/models/CreateMajorProtectionBlackIpV2responseBody.ts +31 -0
  86. package/src/models/CreatePocFunctionRequest.ts +58 -0
  87. package/src/models/CreatePocFunctionResponse.ts +40 -0
  88. package/src/models/CreatePocFunctionResponseBody.ts +31 -0
  89. package/src/models/DescribeChargeModuleRequest.ts +48 -0
  90. package/src/models/DescribeChargeModuleResponse.ts +40 -0
  91. package/src/models/DescribeChargeModuleResponseBody.ts +98 -0
  92. package/src/models/DescribeChargeResultRequest.ts +99 -0
  93. package/src/models/DescribeChargeResultResponse.ts +40 -0
  94. package/src/models/DescribeChargeResultResponseBody.ts +78 -0
  95. package/src/models/DescribeDefenseRulesResponseBody.ts +30 -0
  96. package/src/models/DescribePocFunctionsRequest.ts +48 -0
  97. package/src/models/DescribePocFunctionsResponse.ts +40 -0
  98. package/src/models/DescribePocFunctionsResponseBody.ts +71 -0
  99. package/src/models/DescribeTemplateResourceCountResponseBody.ts +7 -0
  100. package/src/models/DescribeTemplateResourcesRequest.ts +7 -0
  101. package/src/models/DescribeVerifyContentRequest.ts +54 -0
  102. package/src/models/DescribeVerifyContentResponse.ts +40 -0
  103. package/src/models/DescribeVerifyContentResponseBody.ts +146 -0
  104. package/src/models/ModifyTemplateResourcesRequest.ts +12 -0
  105. package/src/models/VerifyDomainOwnerRequest.ts +80 -0
  106. package/src/models/VerifyDomainOwnerResponse.ts +40 -0
  107. package/src/models/VerifyDomainOwnerResponseBody.ts +93 -0
  108. package/src/models/model.ts +28 -0
@@ -0,0 +1,95 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateMajorProtectionBlackIpV2Request extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * Protection for major events
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * 1716528465
17
+ */
18
+ expiredTime?: number;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * waf_v3prepaid_public_cn-2r42s6y****
25
+ */
26
+ instanceId?: string;
27
+ /**
28
+ * @remarks
29
+ * This parameter is required.
30
+ *
31
+ * @example
32
+ * 192.0.XX.XX,192.0.XX.XX/24
33
+ */
34
+ ipList?: string;
35
+ /**
36
+ * @example
37
+ * cn-hangzhou
38
+ */
39
+ regionId?: string;
40
+ /**
41
+ * @example
42
+ * rg-acfm***q
43
+ */
44
+ resourceManagerResourceGroupId?: string;
45
+ /**
46
+ * @remarks
47
+ * This parameter is required.
48
+ *
49
+ * @example
50
+ * 12399
51
+ */
52
+ ruleId?: number;
53
+ /**
54
+ * @remarks
55
+ * This parameter is required.
56
+ *
57
+ * @example
58
+ * 2221
59
+ */
60
+ templateId?: number;
61
+ static names(): { [key: string]: string } {
62
+ return {
63
+ description: 'Description',
64
+ expiredTime: 'ExpiredTime',
65
+ instanceId: 'InstanceId',
66
+ ipList: 'IpList',
67
+ regionId: 'RegionId',
68
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
69
+ ruleId: 'RuleId',
70
+ templateId: 'TemplateId',
71
+ };
72
+ }
73
+
74
+ static types(): { [key: string]: any } {
75
+ return {
76
+ description: 'string',
77
+ expiredTime: 'number',
78
+ instanceId: 'string',
79
+ ipList: 'string',
80
+ regionId: 'string',
81
+ resourceManagerResourceGroupId: 'string',
82
+ ruleId: 'number',
83
+ templateId: 'number',
84
+ };
85
+ }
86
+
87
+ validate() {
88
+ super.validate();
89
+ }
90
+
91
+ constructor(map?: { [key: string]: any }) {
92
+ super(map);
93
+ }
94
+ }
95
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateMajorProtectionBlackIpV2ResponseBody } from "./CreateMajorProtectionBlackIpV2responseBody";
4
+
5
+
6
+ export class CreateMajorProtectionBlackIpV2Response extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateMajorProtectionBlackIpV2ResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: CreateMajorProtectionBlackIpV2ResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateMajorProtectionBlackIpV2ResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * D7861F61-5B61-46CE-A47C-6B19160D****
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreatePocFunctionRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * waf_cdnsdf3****
12
+ */
13
+ instanceId?: string;
14
+ /**
15
+ * @example
16
+ * cn-hangzhou
17
+ */
18
+ regionId?: string;
19
+ /**
20
+ * @example
21
+ * rg-acfm***q
22
+ */
23
+ resourceManagerResourceGroupId?: string;
24
+ /**
25
+ * @remarks
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * botWeb
30
+ */
31
+ type?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ instanceId: 'InstanceId',
35
+ regionId: 'RegionId',
36
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
37
+ type: 'Type',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ instanceId: 'string',
44
+ regionId: 'string',
45
+ resourceManagerResourceGroupId: 'string',
46
+ type: 'string',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreatePocFunctionResponseBody } from "./CreatePocFunctionResponseBody";
4
+
5
+
6
+ export class CreatePocFunctionResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreatePocFunctionResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: CreatePocFunctionResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreatePocFunctionResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * D7861F61-5B61-46CE-A47C-6B19160D5EB0
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeChargeModuleRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * POSTPAY
12
+ */
13
+ payType?: string;
14
+ /**
15
+ * @example
16
+ * cn-hangzhou
17
+ */
18
+ regionId?: string;
19
+ /**
20
+ * @example
21
+ * rg-acfm***q
22
+ */
23
+ resourceManagerResourceGroupId?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ payType: 'PayType',
27
+ regionId: 'RegionId',
28
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
29
+ };
30
+ }
31
+
32
+ static types(): { [key: string]: any } {
33
+ return {
34
+ payType: 'string',
35
+ regionId: 'string',
36
+ resourceManagerResourceGroupId: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeChargeModuleResponseBody } from "./DescribeChargeModuleResponseBody";
4
+
5
+
6
+ export class DescribeChargeModuleResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeChargeModuleResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DescribeChargeModuleResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,98 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeChargeModuleResponseBodyChargeModules extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * NORMAL_PRICE
9
+ */
10
+ chargeMode?: string;
11
+ chargeModeDetails?: string[];
12
+ /**
13
+ * @example
14
+ * domainCount
15
+ */
16
+ moduleCode?: string;
17
+ /**
18
+ * @example
19
+ * Hour
20
+ */
21
+ periodType?: string;
22
+ /**
23
+ * @example
24
+ * domain
25
+ */
26
+ usageType?: string;
27
+ /**
28
+ * @example
29
+ * 1
30
+ */
31
+ usageUnitFactor?: number;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ chargeMode: 'ChargeMode',
35
+ chargeModeDetails: 'ChargeModeDetails',
36
+ moduleCode: 'ModuleCode',
37
+ periodType: 'PeriodType',
38
+ usageType: 'UsageType',
39
+ usageUnitFactor: 'UsageUnitFactor',
40
+ };
41
+ }
42
+
43
+ static types(): { [key: string]: any } {
44
+ return {
45
+ chargeMode: 'string',
46
+ chargeModeDetails: { 'type': 'array', 'itemType': 'string' },
47
+ moduleCode: 'string',
48
+ periodType: 'string',
49
+ usageType: 'string',
50
+ usageUnitFactor: 'number',
51
+ };
52
+ }
53
+
54
+ validate() {
55
+ if(Array.isArray(this.chargeModeDetails)) {
56
+ $dara.Model.validateArray(this.chargeModeDetails);
57
+ }
58
+ super.validate();
59
+ }
60
+
61
+ constructor(map?: { [key: string]: any }) {
62
+ super(map);
63
+ }
64
+ }
65
+
66
+ export class DescribeChargeModuleResponseBody extends $dara.Model {
67
+ chargeModules?: DescribeChargeModuleResponseBodyChargeModules[];
68
+ /**
69
+ * @example
70
+ * D7861F61-5B61-46CE-A47C-6B19160D5EB0
71
+ */
72
+ requestId?: string;
73
+ static names(): { [key: string]: string } {
74
+ return {
75
+ chargeModules: 'ChargeModules',
76
+ requestId: 'RequestId',
77
+ };
78
+ }
79
+
80
+ static types(): { [key: string]: any } {
81
+ return {
82
+ chargeModules: { 'type': 'array', 'itemType': DescribeChargeModuleResponseBodyChargeModules },
83
+ requestId: 'string',
84
+ };
85
+ }
86
+
87
+ validate() {
88
+ if(Array.isArray(this.chargeModules)) {
89
+ $dara.Model.validateArray(this.chargeModules);
90
+ }
91
+ super.validate();
92
+ }
93
+
94
+ constructor(map?: { [key: string]: any }) {
95
+ super(map);
96
+ }
97
+ }
98
+
@@ -0,0 +1,99 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeChargeResultRequestChargeModules extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * domainCount
9
+ */
10
+ moduleCode?: string;
11
+ /**
12
+ * @example
13
+ * 10
14
+ */
15
+ usage?: number;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ moduleCode: 'ModuleCode',
19
+ usage: 'Usage',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ moduleCode: 'string',
26
+ usage: 'number',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class DescribeChargeResultRequest extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * Day
43
+ */
44
+ chargeCycle?: string;
45
+ /**
46
+ * @remarks
47
+ * This parameter is required.
48
+ */
49
+ chargeModules?: DescribeChargeResultRequestChargeModules[];
50
+ /**
51
+ * @remarks
52
+ * This parameter is required.
53
+ *
54
+ * @example
55
+ * POSTPAY
56
+ */
57
+ payType?: string;
58
+ /**
59
+ * @example
60
+ * cn-hangzhou
61
+ */
62
+ regionId?: string;
63
+ /**
64
+ * @example
65
+ * rg-acfm***q
66
+ */
67
+ resourceManagerResourceGroupId?: string;
68
+ static names(): { [key: string]: string } {
69
+ return {
70
+ chargeCycle: 'ChargeCycle',
71
+ chargeModules: 'ChargeModules',
72
+ payType: 'PayType',
73
+ regionId: 'RegionId',
74
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
75
+ };
76
+ }
77
+
78
+ static types(): { [key: string]: any } {
79
+ return {
80
+ chargeCycle: 'string',
81
+ chargeModules: { 'type': 'array', 'itemType': DescribeChargeResultRequestChargeModules },
82
+ payType: 'string',
83
+ regionId: 'string',
84
+ resourceManagerResourceGroupId: 'string',
85
+ };
86
+ }
87
+
88
+ validate() {
89
+ if(Array.isArray(this.chargeModules)) {
90
+ $dara.Model.validateArray(this.chargeModules);
91
+ }
92
+ super.validate();
93
+ }
94
+
95
+ constructor(map?: { [key: string]: any }) {
96
+ super(map);
97
+ }
98
+ }
99
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeChargeResultResponseBody } from "./DescribeChargeResultResponseBody";
4
+
5
+
6
+ export class DescribeChargeResultResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeChargeResultResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DescribeChargeResultResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,78 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeChargeResultResponseBodyModuleDetails extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * domainCount
9
+ */
10
+ moduleCode?: string;
11
+ /**
12
+ * @example
13
+ * 1080
14
+ */
15
+ seCu?: number;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ moduleCode: 'ModuleCode',
19
+ seCu: 'SeCu',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ moduleCode: 'string',
26
+ seCu: 'number',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class DescribeChargeResultResponseBody extends $dara.Model {
40
+ moduleDetails?: DescribeChargeResultResponseBodyModuleDetails[];
41
+ /**
42
+ * @example
43
+ * D7861F61-5B61-46CE-A47C-6B19160D5EB0
44
+ */
45
+ requestId?: string;
46
+ /**
47
+ * @example
48
+ * 1080
49
+ */
50
+ totalSeCu?: number;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ moduleDetails: 'ModuleDetails',
54
+ requestId: 'RequestId',
55
+ totalSeCu: 'TotalSeCu',
56
+ };
57
+ }
58
+
59
+ static types(): { [key: string]: any } {
60
+ return {
61
+ moduleDetails: { 'type': 'array', 'itemType': DescribeChargeResultResponseBodyModuleDetails },
62
+ requestId: 'string',
63
+ totalSeCu: 'number',
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ if(Array.isArray(this.moduleDetails)) {
69
+ $dara.Model.validateArray(this.moduleDetails);
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+