@alicloud/ecd20200930 4.24.2 → 4.25.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.
@@ -0,0 +1,59 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryHistoryUsageDurationRankRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1
9
+ */
10
+ bizType?: number;
11
+ /**
12
+ * @example
13
+ * 2026-04-19
14
+ */
15
+ endDate?: string;
16
+ /**
17
+ * @example
18
+ * 8
19
+ */
20
+ limit?: number;
21
+ /**
22
+ * @example
23
+ * caeba0bbb2be03f84eb48b699f0a4883
24
+ */
25
+ nextToken?: string;
26
+ /**
27
+ * @example
28
+ * 2026-05-07
29
+ */
30
+ startDate?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ bizType: 'BizType',
34
+ endDate: 'EndDate',
35
+ limit: 'Limit',
36
+ nextToken: 'NextToken',
37
+ startDate: 'StartDate',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ bizType: 'number',
44
+ endDate: 'string',
45
+ limit: 'number',
46
+ nextToken: 'string',
47
+ startDate: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryHistoryUsageDurationRankResponseBody } from "./QueryHistoryUsageDurationRankResponseBody";
4
+
5
+
6
+ export class QueryHistoryUsageDurationRankResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: QueryHistoryUsageDurationRankResponseBody;
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: QueryHistoryUsageDurationRankResponseBody,
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 QueryHistoryUsageDurationRankResponseBodyUsageDurationList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * PrePaid
9
+ */
10
+ chargeType?: string;
11
+ /**
12
+ * @example
13
+ * ecd-8cndajrdrd424sb99
14
+ */
15
+ desktopId?: string;
16
+ /**
17
+ * @example
18
+ * TestName
19
+ */
20
+ desktopName?: string;
21
+ /**
22
+ * @example
23
+ * endUserId
24
+ */
25
+ endUserId?: string;
26
+ /**
27
+ * @example
28
+ * cn-shanghai
29
+ */
30
+ regionId?: string;
31
+ /**
32
+ * @example
33
+ * 20000
34
+ */
35
+ usageDuration?: number;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ chargeType: 'ChargeType',
39
+ desktopId: 'DesktopId',
40
+ desktopName: 'DesktopName',
41
+ endUserId: 'EndUserId',
42
+ regionId: 'RegionId',
43
+ usageDuration: 'UsageDuration',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ chargeType: 'string',
50
+ desktopId: 'string',
51
+ desktopName: 'string',
52
+ endUserId: 'string',
53
+ regionId: 'string',
54
+ usageDuration: 'number',
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 QueryHistoryUsageDurationRankResponseBody extends $dara.Model {
68
+ /**
69
+ * @example
70
+ * AAAAAWvmfbFWy0uSlxZ6pIAKAnuwt1ezsRqxI6hPibm27fMH
71
+ */
72
+ nextToken?: string;
73
+ /**
74
+ * @example
75
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
76
+ */
77
+ requestId?: string;
78
+ /**
79
+ * @example
80
+ * 94
81
+ */
82
+ totalCount?: number;
83
+ usageDurationList?: QueryHistoryUsageDurationRankResponseBodyUsageDurationList[];
84
+ static names(): { [key: string]: string } {
85
+ return {
86
+ nextToken: 'NextToken',
87
+ requestId: 'RequestId',
88
+ totalCount: 'TotalCount',
89
+ usageDurationList: 'UsageDurationList',
90
+ };
91
+ }
92
+
93
+ static types(): { [key: string]: any } {
94
+ return {
95
+ nextToken: 'string',
96
+ requestId: 'string',
97
+ totalCount: 'number',
98
+ usageDurationList: { 'type': 'array', 'itemType': QueryHistoryUsageDurationRankResponseBodyUsageDurationList },
99
+ };
100
+ }
101
+
102
+ validate() {
103
+ if(Array.isArray(this.usageDurationList)) {
104
+ $dara.Model.validateArray(this.usageDurationList);
105
+ }
106
+ super.validate();
107
+ }
108
+
109
+ constructor(map?: { [key: string]: any }) {
110
+ super(map);
111
+ }
112
+ }
113
+
@@ -274,6 +274,7 @@ export { QueryHistoryAvgMetricListResponseBodyAvgMetricListSessions } from './Qu
274
274
  export { QueryHistoryAvgMetricListResponseBodyAvgMetricList } from './QueryHistoryAvgMetricListResponseBody';
275
275
  export { QueryHistoryMetricDistributionRequestRanges } from './QueryHistoryMetricDistributionRequest';
276
276
  export { QueryHistoryMetricDistributionResponseBodyDistributionList } from './QueryHistoryMetricDistributionResponseBody';
277
+ export { QueryHistoryUsageDurationRankResponseBodyUsageDurationList } from './QueryHistoryUsageDurationRankResponseBody';
277
278
  export { RebuildDesktopsResponseBodyRebuildResults } from './RebuildDesktopsResponseBody';
278
279
  export { RemoveFilePermissionRequestMemberListCdsIdentity } from './RemoveFilePermissionRequest';
279
280
  export { RemoveFilePermissionRequestMemberList } from './RemoveFilePermissionRequest';
@@ -1042,6 +1043,9 @@ export { QueryHistoryAvgMetricListResponse } from './QueryHistoryAvgMetricListRe
1042
1043
  export { QueryHistoryMetricDistributionRequest } from './QueryHistoryMetricDistributionRequest';
1043
1044
  export { QueryHistoryMetricDistributionResponseBody } from './QueryHistoryMetricDistributionResponseBody';
1044
1045
  export { QueryHistoryMetricDistributionResponse } from './QueryHistoryMetricDistributionResponse';
1046
+ export { QueryHistoryUsageDurationRankRequest } from './QueryHistoryUsageDurationRankRequest';
1047
+ export { QueryHistoryUsageDurationRankResponseBody } from './QueryHistoryUsageDurationRankResponseBody';
1048
+ export { QueryHistoryUsageDurationRankResponse } from './QueryHistoryUsageDurationRankResponse';
1045
1049
  export { RebootDesktopsRequest } from './RebootDesktopsRequest';
1046
1050
  export { RebootDesktopsResponseBody } from './RebootDesktopsResponseBody';
1047
1051
  export { RebootDesktopsResponse } from './RebootDesktopsResponse';