@alicloud/waf-openapi20211001 6.7.1 → 6.8.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.
@@ -0,0 +1,83 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribePostpayBillsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1779195599
9
+ */
10
+ endTime?: number;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * waf-cn-zz11sr5****
17
+ */
18
+ instanceId?: string;
19
+ /**
20
+ * @example
21
+ * 24
22
+ */
23
+ maxResults?: number;
24
+ /**
25
+ * @example
26
+ * caeba0bbb2be03f84eb48b699f0*****
27
+ */
28
+ nextToken?: string;
29
+ /**
30
+ * @example
31
+ * hour
32
+ */
33
+ periodType?: string;
34
+ /**
35
+ * @example
36
+ * cn-hangzhou
37
+ */
38
+ regionId?: string;
39
+ /**
40
+ * @example
41
+ * rg-acfm***q
42
+ */
43
+ resourceManagerResourceGroupId?: string;
44
+ /**
45
+ * @example
46
+ * 1779120000
47
+ */
48
+ startTime?: number;
49
+ static names(): { [key: string]: string } {
50
+ return {
51
+ endTime: 'EndTime',
52
+ instanceId: 'InstanceId',
53
+ maxResults: 'MaxResults',
54
+ nextToken: 'NextToken',
55
+ periodType: 'PeriodType',
56
+ regionId: 'RegionId',
57
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
58
+ startTime: 'StartTime',
59
+ };
60
+ }
61
+
62
+ static types(): { [key: string]: any } {
63
+ return {
64
+ endTime: 'number',
65
+ instanceId: 'string',
66
+ maxResults: 'number',
67
+ nextToken: 'string',
68
+ periodType: 'string',
69
+ regionId: 'string',
70
+ resourceManagerResourceGroupId: 'string',
71
+ startTime: 'number',
72
+ };
73
+ }
74
+
75
+ validate() {
76
+ super.validate();
77
+ }
78
+
79
+ constructor(map?: { [key: string]: any }) {
80
+ super(map);
81
+ }
82
+ }
83
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribePostpayBillsResponseBody } from "./DescribePostpayBillsResponseBody";
4
+
5
+
6
+ export class DescribePostpayBillsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribePostpayBillsResponseBody;
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: DescribePostpayBillsResponseBody,
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,113 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribePostpayBillsResponseBodyBillDetail extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * {\\"aiWhiteListTemplateCount\\":4,\\"apisecResourceCount\\":2,\\"botAppTemplateCount\\":1,\\"botWebTemplateCount\\":4,\\"ccRuleCount\\":1,\\"customAclAdvanceRuleCount\\":4,\\"customResponseRuleCount\\":5,\\"dlpRuleCount\\":1,\\"gslb\\":1,\\"instanceFee\\":1,\\"ipv6\\":1,\\"nonPort\\":1,\\"qps\\":0,\\"regionBlockRuleCount\\":1,\\"threatIntelligenceTemplateCount\\":1,\\"wafBaseTemplateCount\\":4}
9
+ */
10
+ chargeData?: string;
11
+ /**
12
+ * @example
13
+ * 51
14
+ */
15
+ cu?: string;
16
+ /**
17
+ * @example
18
+ * 1779123599
19
+ */
20
+ endTime?: number;
21
+ /**
22
+ * @example
23
+ * 30
24
+ */
25
+ functionCu?: string;
26
+ /**
27
+ * @example
28
+ * 1779120000
29
+ */
30
+ startTime?: number;
31
+ /**
32
+ * @example
33
+ * 21
34
+ */
35
+ trafficCu?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ chargeData: 'ChargeData',
39
+ cu: 'Cu',
40
+ endTime: 'EndTime',
41
+ functionCu: 'FunctionCu',
42
+ startTime: 'StartTime',
43
+ trafficCu: 'TrafficCu',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ chargeData: 'string',
50
+ cu: 'string',
51
+ endTime: 'number',
52
+ functionCu: 'string',
53
+ startTime: 'number',
54
+ trafficCu: 'string',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
67
+ export class DescribePostpayBillsResponseBody extends $dara.Model {
68
+ billDetail?: DescribePostpayBillsResponseBodyBillDetail[];
69
+ /**
70
+ * @example
71
+ * 24
72
+ */
73
+ maxResults?: number;
74
+ /**
75
+ * @example
76
+ * caeba0bbb2be03f84eb48b699f0*****
77
+ */
78
+ nextToken?: string;
79
+ /**
80
+ * @example
81
+ * 0FBBDE11-C35F-531B-96BA-64CA****C875
82
+ */
83
+ requestId?: string;
84
+ static names(): { [key: string]: string } {
85
+ return {
86
+ billDetail: 'BillDetail',
87
+ maxResults: 'MaxResults',
88
+ nextToken: 'NextToken',
89
+ requestId: 'RequestId',
90
+ };
91
+ }
92
+
93
+ static types(): { [key: string]: any } {
94
+ return {
95
+ billDetail: { 'type': 'array', 'itemType': DescribePostpayBillsResponseBodyBillDetail },
96
+ maxResults: 'number',
97
+ nextToken: 'string',
98
+ requestId: 'string',
99
+ };
100
+ }
101
+
102
+ validate() {
103
+ if(Array.isArray(this.billDetail)) {
104
+ $dara.Model.validateArray(this.billDetail);
105
+ }
106
+ super.validate();
107
+ }
108
+
109
+ constructor(map?: { [key: string]: any }) {
110
+ super(map);
111
+ }
112
+ }
113
+
@@ -131,6 +131,7 @@ export { DescribeNetworkFlowTopNMetricResponseBodyTopNMetaDataDateRange } from '
131
131
  export { DescribeNetworkFlowTopNMetricResponseBodyTopNMetaData } from './DescribeNetworkFlowTopNmetricResponseBody';
132
132
  export { DescribePeakTrendResponseBodyFlowChart } from './DescribePeakTrendResponseBody';
133
133
  export { DescribePocFunctionsResponseBodyFunctions } from './DescribePocFunctionsResponseBody';
134
+ export { DescribePostpayBillsResponseBodyBillDetail } from './DescribePostpayBillsResponseBody';
134
135
  export { DescribePrepayDailyBillsResponseBodyBills } from './DescribePrepayDailyBillsResponseBody';
135
136
  export { DescribeProductInstancesResponseBodyProductInstancesAccessPortAndProtocols } from './DescribeProductInstancesResponseBody';
136
137
  export { DescribeProductInstancesResponseBodyProductInstancesResourcePortsCertificates } from './DescribeProductInstancesResponseBody';
@@ -629,6 +630,9 @@ export { DescribePeakTrendResponse } from './DescribePeakTrendResponse';
629
630
  export { DescribePocFunctionsRequest } from './DescribePocFunctionsRequest';
630
631
  export { DescribePocFunctionsResponseBody } from './DescribePocFunctionsResponseBody';
631
632
  export { DescribePocFunctionsResponse } from './DescribePocFunctionsResponse';
633
+ export { DescribePostpayBillsRequest } from './DescribePostpayBillsRequest';
634
+ export { DescribePostpayBillsResponseBody } from './DescribePostpayBillsResponseBody';
635
+ export { DescribePostpayBillsResponse } from './DescribePostpayBillsResponse';
632
636
  export { DescribePrepayDailyBillsRequest } from './DescribePrepayDailyBillsRequest';
633
637
  export { DescribePrepayDailyBillsResponseBody } from './DescribePrepayDailyBillsResponseBody';
634
638
  export { DescribePrepayDailyBillsResponse } from './DescribePrepayDailyBillsResponse';