@alicloud/ecd20200930 4.16.3 → 4.18.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 (60) hide show
  1. package/dist/client.d.ts +63 -0
  2. package/dist/client.js +210 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchModifyEntitlementRequest.d.ts +24 -0
  5. package/dist/models/BatchModifyEntitlementRequest.js.map +1 -1
  6. package/dist/models/BatchModifyEntitlementResponseBody.d.ts +35 -0
  7. package/dist/models/BatchModifyEntitlementResponseBody.js.map +1 -1
  8. package/dist/models/DescribeGlobalTimerBatchesRequest.d.ts +43 -0
  9. package/dist/models/DescribeGlobalTimerBatchesRequest.js +68 -0
  10. package/dist/models/DescribeGlobalTimerBatchesRequest.js.map +1 -0
  11. package/dist/models/DescribeGlobalTimerBatchesResponse.d.ts +19 -0
  12. package/dist/models/DescribeGlobalTimerBatchesResponse.js +69 -0
  13. package/dist/models/DescribeGlobalTimerBatchesResponse.js.map +1 -0
  14. package/dist/models/DescribeGlobalTimerBatchesResponseBody.d.ts +79 -0
  15. package/dist/models/DescribeGlobalTimerBatchesResponseBody.js +98 -0
  16. package/dist/models/DescribeGlobalTimerBatchesResponseBody.js.map +1 -0
  17. package/dist/models/DescribeGlobalTimerRecordsRequest.d.ts +107 -0
  18. package/dist/models/DescribeGlobalTimerRecordsRequest.js +82 -0
  19. package/dist/models/DescribeGlobalTimerRecordsRequest.js.map +1 -0
  20. package/dist/models/DescribeGlobalTimerRecordsResponse.d.ts +19 -0
  21. package/dist/models/DescribeGlobalTimerRecordsResponse.js +69 -0
  22. package/dist/models/DescribeGlobalTimerRecordsResponse.js.map +1 -0
  23. package/dist/models/DescribeGlobalTimerRecordsResponseBody.d.ts +128 -0
  24. package/dist/models/DescribeGlobalTimerRecordsResponseBody.js +106 -0
  25. package/dist/models/DescribeGlobalTimerRecordsResponseBody.js.map +1 -0
  26. package/dist/models/DescribeOfficeSitesRequest.d.ts +7 -0
  27. package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
  28. package/dist/models/DescribeRecordFileRequest.d.ts +76 -0
  29. package/dist/models/DescribeRecordFileRequest.js +80 -0
  30. package/dist/models/DescribeRecordFileRequest.js.map +1 -0
  31. package/dist/models/DescribeRecordFileResponse.d.ts +19 -0
  32. package/dist/models/DescribeRecordFileResponse.js +69 -0
  33. package/dist/models/DescribeRecordFileResponse.js.map +1 -0
  34. package/dist/models/DescribeRecordFileResponseBody.d.ts +137 -0
  35. package/dist/models/DescribeRecordFileResponseBody.js +138 -0
  36. package/dist/models/DescribeRecordFileResponseBody.js.map +1 -0
  37. package/dist/models/ModifyTemplateRequest.d.ts +97 -3
  38. package/dist/models/ModifyTemplateRequest.js.map +1 -1
  39. package/dist/models/ModifyTemplateResponseBody.d.ts +15 -0
  40. package/dist/models/ModifyTemplateResponseBody.js.map +1 -1
  41. package/dist/models/model.d.ts +13 -0
  42. package/dist/models/model.js +47 -20
  43. package/dist/models/model.js.map +1 -1
  44. package/package.json +1 -1
  45. package/src/client.ts +244 -0
  46. package/src/models/BatchModifyEntitlementRequest.ts +24 -0
  47. package/src/models/BatchModifyEntitlementResponseBody.ts +35 -0
  48. package/src/models/DescribeGlobalTimerBatchesRequest.ts +66 -0
  49. package/src/models/DescribeGlobalTimerBatchesResponse.ts +40 -0
  50. package/src/models/DescribeGlobalTimerBatchesResponseBody.ts +123 -0
  51. package/src/models/DescribeGlobalTimerRecordsRequest.ts +144 -0
  52. package/src/models/DescribeGlobalTimerRecordsResponse.ts +40 -0
  53. package/src/models/DescribeGlobalTimerRecordsResponseBody.ts +180 -0
  54. package/src/models/DescribeOfficeSitesRequest.ts +7 -0
  55. package/src/models/DescribeRecordFileRequest.ts +111 -0
  56. package/src/models/DescribeRecordFileResponse.ts +40 -0
  57. package/src/models/DescribeRecordFileResponseBody.ts +212 -0
  58. package/src/models/ModifyTemplateRequest.ts +97 -3
  59. package/src/models/ModifyTemplateResponseBody.ts +15 -0
  60. package/src/models/model.ts +13 -0
package/src/client.ts CHANGED
@@ -984,6 +984,11 @@ export default class Client extends OpenApi {
984
984
  }
985
985
 
986
986
  /**
987
+ * @remarks
988
+ * The cloud computers for which you want to change their policies must be in the Running state.
989
+ * * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
990
+ * * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
991
+ *
987
992
  * @param request - BatchModifyEntitlementRequest
988
993
  * @param runtime - runtime options for this request RuntimeOptions
989
994
  * @returns BatchModifyEntitlementResponse
@@ -1037,6 +1042,11 @@ export default class Client extends OpenApi {
1037
1042
  }
1038
1043
 
1039
1044
  /**
1045
+ * @remarks
1046
+ * The cloud computers for which you want to change their policies must be in the Running state.
1047
+ * * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
1048
+ * * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
1049
+ *
1040
1050
  * @param request - BatchModifyEntitlementRequest
1041
1051
  * @returns BatchModifyEntitlementResponse
1042
1052
  */
@@ -9282,6 +9292,146 @@ export default class Client extends OpenApi {
9282
9292
  return await this.describeGlobalDesktopRecordsWithOptions(request, runtime);
9283
9293
  }
9284
9294
 
9295
+ /**
9296
+ * 查询全局定时任务Batch记录
9297
+ *
9298
+ * @param request - DescribeGlobalTimerBatchesRequest
9299
+ * @param runtime - runtime options for this request RuntimeOptions
9300
+ * @returns DescribeGlobalTimerBatchesResponse
9301
+ */
9302
+ async describeGlobalTimerBatchesWithOptions(request: $_model.DescribeGlobalTimerBatchesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGlobalTimerBatchesResponse> {
9303
+ request.validate();
9304
+ let query = { };
9305
+ if (!$dara.isNull(request.groupId)) {
9306
+ query["GroupId"] = request.groupId;
9307
+ }
9308
+
9309
+ if (!$dara.isNull(request.maxResults)) {
9310
+ query["MaxResults"] = request.maxResults;
9311
+ }
9312
+
9313
+ if (!$dara.isNull(request.nextToken)) {
9314
+ query["NextToken"] = request.nextToken;
9315
+ }
9316
+
9317
+ if (!$dara.isNull(request.regionId)) {
9318
+ query["RegionId"] = request.regionId;
9319
+ }
9320
+
9321
+ if (!$dara.isNull(request.searchRegionId)) {
9322
+ query["SearchRegionId"] = request.searchRegionId;
9323
+ }
9324
+
9325
+ if (!$dara.isNull(request.timerType)) {
9326
+ query["TimerType"] = request.timerType;
9327
+ }
9328
+
9329
+ let req = new $OpenApiUtil.OpenApiRequest({
9330
+ query: OpenApiUtil.query(query),
9331
+ });
9332
+ let params = new $OpenApiUtil.Params({
9333
+ action: "DescribeGlobalTimerBatches",
9334
+ version: "2020-09-30",
9335
+ protocol: "HTTPS",
9336
+ pathname: "/",
9337
+ method: "POST",
9338
+ authType: "AK",
9339
+ style: "RPC",
9340
+ reqBodyType: "formData",
9341
+ bodyType: "json",
9342
+ });
9343
+ return $dara.cast<$_model.DescribeGlobalTimerBatchesResponse>(await this.callApi(params, req, runtime), new $_model.DescribeGlobalTimerBatchesResponse({}));
9344
+ }
9345
+
9346
+ /**
9347
+ * 查询全局定时任务Batch记录
9348
+ *
9349
+ * @param request - DescribeGlobalTimerBatchesRequest
9350
+ * @returns DescribeGlobalTimerBatchesResponse
9351
+ */
9352
+ async describeGlobalTimerBatches(request: $_model.DescribeGlobalTimerBatchesRequest): Promise<$_model.DescribeGlobalTimerBatchesResponse> {
9353
+ let runtime = new $dara.RuntimeOptions({ });
9354
+ return await this.describeGlobalTimerBatchesWithOptions(request, runtime);
9355
+ }
9356
+
9357
+ /**
9358
+ * Queries the execution records of scheduled tasks on cloud computers.
9359
+ *
9360
+ * @param request - DescribeGlobalTimerRecordsRequest
9361
+ * @param runtime - runtime options for this request RuntimeOptions
9362
+ * @returns DescribeGlobalTimerRecordsResponse
9363
+ */
9364
+ async describeGlobalTimerRecordsWithOptions(request: $_model.DescribeGlobalTimerRecordsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGlobalTimerRecordsResponse> {
9365
+ request.validate();
9366
+ let query = { };
9367
+ if (!$dara.isNull(request.batchId)) {
9368
+ query["BatchId"] = request.batchId;
9369
+ }
9370
+
9371
+ if (!$dara.isNull(request.desktopIds)) {
9372
+ query["DesktopIds"] = request.desktopIds;
9373
+ }
9374
+
9375
+ if (!$dara.isNull(request.groupId)) {
9376
+ query["GroupId"] = request.groupId;
9377
+ }
9378
+
9379
+ if (!$dara.isNull(request.maxResults)) {
9380
+ query["MaxResults"] = request.maxResults;
9381
+ }
9382
+
9383
+ if (!$dara.isNull(request.nextToken)) {
9384
+ query["NextToken"] = request.nextToken;
9385
+ }
9386
+
9387
+ if (!$dara.isNull(request.regionId)) {
9388
+ query["RegionId"] = request.regionId;
9389
+ }
9390
+
9391
+ if (!$dara.isNull(request.resultCategory)) {
9392
+ query["ResultCategory"] = request.resultCategory;
9393
+ }
9394
+
9395
+ if (!$dara.isNull(request.searchRegionId)) {
9396
+ query["SearchRegionId"] = request.searchRegionId;
9397
+ }
9398
+
9399
+ if (!$dara.isNull(request.timerResult)) {
9400
+ query["TimerResult"] = request.timerResult;
9401
+ }
9402
+
9403
+ if (!$dara.isNull(request.timerTypes)) {
9404
+ query["TimerTypes"] = request.timerTypes;
9405
+ }
9406
+
9407
+ let req = new $OpenApiUtil.OpenApiRequest({
9408
+ query: OpenApiUtil.query(query),
9409
+ });
9410
+ let params = new $OpenApiUtil.Params({
9411
+ action: "DescribeGlobalTimerRecords",
9412
+ version: "2020-09-30",
9413
+ protocol: "HTTPS",
9414
+ pathname: "/",
9415
+ method: "POST",
9416
+ authType: "AK",
9417
+ style: "RPC",
9418
+ reqBodyType: "formData",
9419
+ bodyType: "json",
9420
+ });
9421
+ return $dara.cast<$_model.DescribeGlobalTimerRecordsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeGlobalTimerRecordsResponse({}));
9422
+ }
9423
+
9424
+ /**
9425
+ * Queries the execution records of scheduled tasks on cloud computers.
9426
+ *
9427
+ * @param request - DescribeGlobalTimerRecordsRequest
9428
+ * @returns DescribeGlobalTimerRecordsResponse
9429
+ */
9430
+ async describeGlobalTimerRecords(request: $_model.DescribeGlobalTimerRecordsRequest): Promise<$_model.DescribeGlobalTimerRecordsResponse> {
9431
+ let runtime = new $dara.RuntimeOptions({ });
9432
+ return await this.describeGlobalTimerRecordsWithOptions(request, runtime);
9433
+ }
9434
+
9285
9435
  /**
9286
9436
  * Queries the applications and their processes of an end user.
9287
9437
  *
@@ -10434,6 +10584,92 @@ export default class Client extends OpenApi {
10434
10584
  return await this.describePriceForRenewDesktopOversoldGroupWithOptions(request, runtime);
10435
10585
  }
10436
10586
 
10587
+ /**
10588
+ * 查询录屏文件列表
10589
+ *
10590
+ * @param request - DescribeRecordFileRequest
10591
+ * @param runtime - runtime options for this request RuntimeOptions
10592
+ * @returns DescribeRecordFileResponse
10593
+ */
10594
+ async describeRecordFileWithOptions(request: $_model.DescribeRecordFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRecordFileResponse> {
10595
+ request.validate();
10596
+ let query = { };
10597
+ if (!$dara.isNull(request.desktopId)) {
10598
+ query["DesktopId"] = request.desktopId;
10599
+ }
10600
+
10601
+ if (!$dara.isNull(request.endTime)) {
10602
+ query["EndTime"] = request.endTime;
10603
+ }
10604
+
10605
+ if (!$dara.isNull(request.endUserId)) {
10606
+ query["EndUserId"] = request.endUserId;
10607
+ }
10608
+
10609
+ if (!$dara.isNull(request.fileName)) {
10610
+ query["FileName"] = request.fileName;
10611
+ }
10612
+
10613
+ if (!$dara.isNull(request.orderBy)) {
10614
+ query["OrderBy"] = request.orderBy;
10615
+ }
10616
+
10617
+ if (!$dara.isNull(request.orderSort)) {
10618
+ query["OrderSort"] = request.orderSort;
10619
+ }
10620
+
10621
+ if (!$dara.isNull(request.pageNumber)) {
10622
+ query["PageNumber"] = request.pageNumber;
10623
+ }
10624
+
10625
+ if (!$dara.isNull(request.pageSize)) {
10626
+ query["PageSize"] = request.pageSize;
10627
+ }
10628
+
10629
+ if (!$dara.isNull(request.recordType)) {
10630
+ query["RecordType"] = request.recordType;
10631
+ }
10632
+
10633
+ if (!$dara.isNull(request.regionId)) {
10634
+ query["RegionId"] = request.regionId;
10635
+ }
10636
+
10637
+ if (!$dara.isNull(request.startTime)) {
10638
+ query["StartTime"] = request.startTime;
10639
+ }
10640
+
10641
+ if (!$dara.isNull(request.status)) {
10642
+ query["Status"] = request.status;
10643
+ }
10644
+
10645
+ let req = new $OpenApiUtil.OpenApiRequest({
10646
+ query: OpenApiUtil.query(query),
10647
+ });
10648
+ let params = new $OpenApiUtil.Params({
10649
+ action: "DescribeRecordFile",
10650
+ version: "2020-09-30",
10651
+ protocol: "HTTPS",
10652
+ pathname: "/",
10653
+ method: "POST",
10654
+ authType: "AK",
10655
+ style: "RPC",
10656
+ reqBodyType: "formData",
10657
+ bodyType: "json",
10658
+ });
10659
+ return $dara.cast<$_model.DescribeRecordFileResponse>(await this.callApi(params, req, runtime), new $_model.DescribeRecordFileResponse({}));
10660
+ }
10661
+
10662
+ /**
10663
+ * 查询录屏文件列表
10664
+ *
10665
+ * @param request - DescribeRecordFileRequest
10666
+ * @returns DescribeRecordFileResponse
10667
+ */
10668
+ async describeRecordFile(request: $_model.DescribeRecordFileRequest): Promise<$_model.DescribeRecordFileResponse> {
10669
+ let runtime = new $dara.RuntimeOptions({ });
10670
+ return await this.describeRecordFileWithOptions(request, runtime);
10671
+ }
10672
+
10437
10673
  /**
10438
10674
  * Queries the details of screen recording files.
10439
10675
  *
@@ -16771,6 +17007,10 @@ export default class Client extends OpenApi {
16771
17007
  /**
16772
17008
  * Modifies a custom cloud computer template.
16773
17009
  *
17010
+ * @remarks
17011
+ * *
17012
+ * **Warning** This operation employs the full parameter update logic to maintain compatibility between the no-configuration logic and the default update logic. In other words, any unspecified parameters are treated as empty.
17013
+ *
16774
17014
  * @param request - ModifyTemplateRequest
16775
17015
  * @param runtime - runtime options for this request RuntimeOptions
16776
17016
  * @returns ModifyTemplateResponse
@@ -16887,6 +17127,10 @@ export default class Client extends OpenApi {
16887
17127
  /**
16888
17128
  * Modifies a custom cloud computer template.
16889
17129
  *
17130
+ * @remarks
17131
+ * *
17132
+ * **Warning** This operation employs the full parameter update logic to maintain compatibility between the no-configuration logic and the default update logic. In other words, any unspecified parameters are treated as empty.
17133
+ *
16890
17134
  * @param request - ModifyTemplateRequest
16891
17135
  * @returns ModifyTemplateResponse
16892
17136
  */
@@ -5,27 +5,44 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class BatchModifyEntitlementRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The IDs of the cloud computers for which you want to modify end users.
9
+ *
8
10
  * This parameter is required.
9
11
  */
10
12
  desktopId?: string[];
13
+ /**
14
+ * @remarks
15
+ * The IDs of the users.
16
+ */
11
17
  endUserId?: string[];
12
18
  /**
19
+ * @remarks
20
+ * The number of cloud computers allocated to each user.
21
+ *
13
22
  * @example
14
23
  * 0
15
24
  */
16
25
  maxDesktopPerUser?: number;
17
26
  /**
27
+ * @remarks
28
+ * The number of users assigned to each cloud computer.
29
+ *
18
30
  * @example
19
31
  * 1
20
32
  */
21
33
  maxUserPerDesktop?: number;
22
34
  /**
35
+ * @remarks
36
+ * Whether to preview the assign results instead of actually assigning cloud computers.
37
+ *
23
38
  * @example
24
39
  * true
25
40
  */
26
41
  preview?: boolean;
27
42
  /**
28
43
  * @remarks
44
+ * The ID of the region. Call the DescribeRegions operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
45
+ *
29
46
  * This parameter is required.
30
47
  *
31
48
  * @example
@@ -33,6 +50,13 @@ export class BatchModifyEntitlementRequest extends $dara.Model {
33
50
  */
34
51
  regionId?: string;
35
52
  /**
53
+ * @remarks
54
+ * The disproportional assignment policy. Valid values:
55
+ *
56
+ * AVERAGE: The system preferentially guarantees that each user is assigned with at least a cloud computer. If the number of selected cloud computers cannot be proportionally assigned to the selected users, ensure that each user is assigned a cloud computer.
57
+ *
58
+ * CENTRAL: The system preferentially assigns the designated number of cloud computers to each user. If the number of selected cloud computers cannot be proportionally assigned to the selected users, ensure that each user is assigned the specified number of cloud computers.
59
+ *
36
60
  * @example
37
61
  * AVERAGE
38
62
  */
@@ -4,12 +4,30 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class BatchModifyEntitlementResponseBodyEntitlementsAssignModels extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The cloud computer ID.
9
+ *
7
10
  * @example
8
11
  * ecd-e94kzikmpljjx99pl
9
12
  */
10
13
  desktopId?: string;
14
+ /**
15
+ * @remarks
16
+ * The authorized user IDs for the cloud computer.
17
+ */
11
18
  endUserIds?: string[];
12
19
  /**
20
+ * @remarks
21
+ * The assign result for each cloud computer.
22
+ *
23
+ * Valid values:
24
+ *
25
+ * * FAILED
26
+ * * NOT_STARTED
27
+ * * STARTED
28
+ * * PROCESSING
29
+ * * FINISHED
30
+ *
13
31
  * @example
14
32
  * FINISHED
15
33
  */
@@ -45,11 +63,25 @@ export class BatchModifyEntitlementResponseBodyEntitlementsAssignModels extends
45
63
  export class BatchModifyEntitlementResponseBodyEntitlements extends $dara.Model {
46
64
  assignModels?: BatchModifyEntitlementResponseBodyEntitlementsAssignModels[];
47
65
  /**
66
+ * @remarks
67
+ * The result.
68
+ *
69
+ * Valid values:
70
+ *
71
+ * * FAILED
72
+ * * NOT_STARTED
73
+ * * STARTED
74
+ * * PROCESSING
75
+ * * FINISHED
76
+ *
48
77
  * @example
49
78
  * FINISHED
50
79
  */
51
80
  status?: string;
52
81
  /**
82
+ * @remarks
83
+ * The task ID.
84
+ *
53
85
  * @example
54
86
  * B2F4F018-0EDF-159C-B285-117B5F1C****
55
87
  */
@@ -85,6 +117,9 @@ export class BatchModifyEntitlementResponseBodyEntitlements extends $dara.Model
85
117
  export class BatchModifyEntitlementResponseBody extends $dara.Model {
86
118
  entitlements?: BatchModifyEntitlementResponseBodyEntitlements;
87
119
  /**
120
+ * @remarks
121
+ * The request ID.
122
+ *
88
123
  * @example
89
124
  * 51592A88-0F2C-55E6-AD2C-2AD9C10D****
90
125
  */
@@ -0,0 +1,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeGlobalTimerBatchesRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ccg-i1ruuudp92qpj****
9
+ */
10
+ groupId?: string;
11
+ /**
12
+ * @example
13
+ * 20
14
+ */
15
+ maxResults?: string;
16
+ /**
17
+ * @example
18
+ * caeba0bbb2be03f84eb48b699f0a4883
19
+ */
20
+ nextToken?: string;
21
+ /**
22
+ * @example
23
+ * cn-shanghai
24
+ */
25
+ regionId?: string;
26
+ /**
27
+ * @example
28
+ * cn-hangzhou
29
+ */
30
+ searchRegionId?: string;
31
+ /**
32
+ * @example
33
+ * 1
34
+ */
35
+ timerType?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ groupId: 'GroupId',
39
+ maxResults: 'MaxResults',
40
+ nextToken: 'NextToken',
41
+ regionId: 'RegionId',
42
+ searchRegionId: 'SearchRegionId',
43
+ timerType: 'TimerType',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ groupId: 'string',
50
+ maxResults: 'string',
51
+ nextToken: 'string',
52
+ regionId: 'string',
53
+ searchRegionId: 'string',
54
+ timerType: 'string',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeGlobalTimerBatchesResponseBody } from "./DescribeGlobalTimerBatchesResponseBody";
4
+
5
+
6
+ export class DescribeGlobalTimerBatchesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeGlobalTimerBatchesResponseBody;
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: DescribeGlobalTimerBatchesResponseBody,
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,123 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeGlobalTimerBatchesResponseBodyResults extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ccg-0cvfvf6u1enx1****
9
+ */
10
+ batchId?: string;
11
+ /**
12
+ * @example
13
+ * 2023-08-03T08:27:29Z
14
+ */
15
+ createTime?: string;
16
+ /**
17
+ * @example
18
+ * 0
19
+ */
20
+ failedCount?: number;
21
+ /**
22
+ * @example
23
+ * 0
24
+ */
25
+ runningCount?: number;
26
+ /**
27
+ * @example
28
+ * 0
29
+ */
30
+ skippedCount?: number;
31
+ /**
32
+ * @example
33
+ * 0
34
+ */
35
+ succeedCount?: number;
36
+ /**
37
+ * @example
38
+ * TimerBoot
39
+ */
40
+ timerType?: string;
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ batchId: 'BatchId',
44
+ createTime: 'CreateTime',
45
+ failedCount: 'FailedCount',
46
+ runningCount: 'RunningCount',
47
+ skippedCount: 'SkippedCount',
48
+ succeedCount: 'SucceedCount',
49
+ timerType: 'TimerType',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ batchId: 'string',
56
+ createTime: 'string',
57
+ failedCount: 'number',
58
+ runningCount: 'number',
59
+ skippedCount: 'number',
60
+ succeedCount: 'number',
61
+ timerType: 'string',
62
+ };
63
+ }
64
+
65
+ validate() {
66
+ super.validate();
67
+ }
68
+
69
+ constructor(map?: { [key: string]: any }) {
70
+ super(map);
71
+ }
72
+ }
73
+
74
+ export class DescribeGlobalTimerBatchesResponseBody extends $dara.Model {
75
+ /**
76
+ * @example
77
+ * 1
78
+ */
79
+ count?: number;
80
+ /**
81
+ * @example
82
+ * caeba0bbb2be03f84eb48b699f0a4883
83
+ */
84
+ nextToken?: string;
85
+ /**
86
+ * @remarks
87
+ * Id of the request
88
+ *
89
+ * @example
90
+ * E54EB497-D7B7-5F04-B744-D8DFA7B******
91
+ */
92
+ requestId?: string;
93
+ results?: DescribeGlobalTimerBatchesResponseBodyResults[];
94
+ static names(): { [key: string]: string } {
95
+ return {
96
+ count: 'Count',
97
+ nextToken: 'NextToken',
98
+ requestId: 'RequestId',
99
+ results: 'Results',
100
+ };
101
+ }
102
+
103
+ static types(): { [key: string]: any } {
104
+ return {
105
+ count: 'number',
106
+ nextToken: 'string',
107
+ requestId: 'string',
108
+ results: { 'type': 'array', 'itemType': DescribeGlobalTimerBatchesResponseBodyResults },
109
+ };
110
+ }
111
+
112
+ validate() {
113
+ if(Array.isArray(this.results)) {
114
+ $dara.Model.validateArray(this.results);
115
+ }
116
+ super.validate();
117
+ }
118
+
119
+ constructor(map?: { [key: string]: any }) {
120
+ super(map);
121
+ }
122
+ }
123
+