@alicloud/dataworks-public20200518 4.3.8 → 4.3.9

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.
package/src/client.ts CHANGED
@@ -6066,6 +6066,72 @@ export class GetDataServiceApiResponse extends $tea.Model {
6066
6066
  }
6067
6067
  }
6068
6068
 
6069
+ export class GetDataServiceApiTestRequest extends $tea.Model {
6070
+ testId?: number;
6071
+ static names(): { [key: string]: string } {
6072
+ return {
6073
+ testId: 'TestId',
6074
+ };
6075
+ }
6076
+
6077
+ static types(): { [key: string]: any } {
6078
+ return {
6079
+ testId: 'number',
6080
+ };
6081
+ }
6082
+
6083
+ constructor(map?: { [key: string]: any }) {
6084
+ super(map);
6085
+ }
6086
+ }
6087
+
6088
+ export class GetDataServiceApiTestResponseBody extends $tea.Model {
6089
+ data?: GetDataServiceApiTestResponseBodyData;
6090
+ requestId?: string;
6091
+ static names(): { [key: string]: string } {
6092
+ return {
6093
+ data: 'Data',
6094
+ requestId: 'RequestId',
6095
+ };
6096
+ }
6097
+
6098
+ static types(): { [key: string]: any } {
6099
+ return {
6100
+ data: GetDataServiceApiTestResponseBodyData,
6101
+ requestId: 'string',
6102
+ };
6103
+ }
6104
+
6105
+ constructor(map?: { [key: string]: any }) {
6106
+ super(map);
6107
+ }
6108
+ }
6109
+
6110
+ export class GetDataServiceApiTestResponse extends $tea.Model {
6111
+ headers: { [key: string]: string };
6112
+ statusCode: number;
6113
+ body: GetDataServiceApiTestResponseBody;
6114
+ static names(): { [key: string]: string } {
6115
+ return {
6116
+ headers: 'headers',
6117
+ statusCode: 'statusCode',
6118
+ body: 'body',
6119
+ };
6120
+ }
6121
+
6122
+ static types(): { [key: string]: any } {
6123
+ return {
6124
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6125
+ statusCode: 'number',
6126
+ body: GetDataServiceApiTestResponseBody,
6127
+ };
6128
+ }
6129
+
6130
+ constructor(map?: { [key: string]: any }) {
6131
+ super(map);
6132
+ }
6133
+ }
6134
+
6069
6135
  export class GetDataServiceApplicationRequest extends $tea.Model {
6070
6136
  applicationId?: number;
6071
6137
  projectId?: number;
@@ -6543,6 +6609,84 @@ export class GetDeploymentResponse extends $tea.Model {
6543
6609
  }
6544
6610
  }
6545
6611
 
6612
+ export class GetDutyRosterRequest extends $tea.Model {
6613
+ beginTime?: number;
6614
+ dutyRosterIdentifier?: string;
6615
+ endTime?: number;
6616
+ userType?: string;
6617
+ watchkeeper?: string;
6618
+ static names(): { [key: string]: string } {
6619
+ return {
6620
+ beginTime: 'BeginTime',
6621
+ dutyRosterIdentifier: 'DutyRosterIdentifier',
6622
+ endTime: 'EndTime',
6623
+ userType: 'UserType',
6624
+ watchkeeper: 'Watchkeeper',
6625
+ };
6626
+ }
6627
+
6628
+ static types(): { [key: string]: any } {
6629
+ return {
6630
+ beginTime: 'number',
6631
+ dutyRosterIdentifier: 'string',
6632
+ endTime: 'number',
6633
+ userType: 'string',
6634
+ watchkeeper: 'string',
6635
+ };
6636
+ }
6637
+
6638
+ constructor(map?: { [key: string]: any }) {
6639
+ super(map);
6640
+ }
6641
+ }
6642
+
6643
+ export class GetDutyRosterResponseBody extends $tea.Model {
6644
+ paging?: GetDutyRosterResponseBodyPaging;
6645
+ requestId?: string;
6646
+ static names(): { [key: string]: string } {
6647
+ return {
6648
+ paging: 'Paging',
6649
+ requestId: 'RequestId',
6650
+ };
6651
+ }
6652
+
6653
+ static types(): { [key: string]: any } {
6654
+ return {
6655
+ paging: GetDutyRosterResponseBodyPaging,
6656
+ requestId: 'string',
6657
+ };
6658
+ }
6659
+
6660
+ constructor(map?: { [key: string]: any }) {
6661
+ super(map);
6662
+ }
6663
+ }
6664
+
6665
+ export class GetDutyRosterResponse extends $tea.Model {
6666
+ headers: { [key: string]: string };
6667
+ statusCode: number;
6668
+ body: GetDutyRosterResponseBody;
6669
+ static names(): { [key: string]: string } {
6670
+ return {
6671
+ headers: 'headers',
6672
+ statusCode: 'statusCode',
6673
+ body: 'body',
6674
+ };
6675
+ }
6676
+
6677
+ static types(): { [key: string]: any } {
6678
+ return {
6679
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6680
+ statusCode: 'number',
6681
+ body: GetDutyRosterResponseBody,
6682
+ };
6683
+ }
6684
+
6685
+ constructor(map?: { [key: string]: any }) {
6686
+ super(map);
6687
+ }
6688
+ }
6689
+
6546
6690
  export class GetExtensionRequest extends $tea.Model {
6547
6691
  extensionCode?: string;
6548
6692
  static names(): { [key: string]: string } {
@@ -11604,6 +11748,75 @@ export class ListDataServiceApiAuthoritiesResponse extends $tea.Model {
11604
11748
  }
11605
11749
  }
11606
11750
 
11751
+ export class ListDataServiceApiTestRequest extends $tea.Model {
11752
+ apiId?: number;
11753
+ pageSize?: number;
11754
+ static names(): { [key: string]: string } {
11755
+ return {
11756
+ apiId: 'ApiId',
11757
+ pageSize: 'PageSize',
11758
+ };
11759
+ }
11760
+
11761
+ static types(): { [key: string]: any } {
11762
+ return {
11763
+ apiId: 'number',
11764
+ pageSize: 'number',
11765
+ };
11766
+ }
11767
+
11768
+ constructor(map?: { [key: string]: any }) {
11769
+ super(map);
11770
+ }
11771
+ }
11772
+
11773
+ export class ListDataServiceApiTestResponseBody extends $tea.Model {
11774
+ data?: ListDataServiceApiTestResponseBodyData[];
11775
+ requestId?: string;
11776
+ static names(): { [key: string]: string } {
11777
+ return {
11778
+ data: 'Data',
11779
+ requestId: 'RequestId',
11780
+ };
11781
+ }
11782
+
11783
+ static types(): { [key: string]: any } {
11784
+ return {
11785
+ data: { 'type': 'array', 'itemType': ListDataServiceApiTestResponseBodyData },
11786
+ requestId: 'string',
11787
+ };
11788
+ }
11789
+
11790
+ constructor(map?: { [key: string]: any }) {
11791
+ super(map);
11792
+ }
11793
+ }
11794
+
11795
+ export class ListDataServiceApiTestResponse extends $tea.Model {
11796
+ headers: { [key: string]: string };
11797
+ statusCode: number;
11798
+ body: ListDataServiceApiTestResponseBody;
11799
+ static names(): { [key: string]: string } {
11800
+ return {
11801
+ headers: 'headers',
11802
+ statusCode: 'statusCode',
11803
+ body: 'body',
11804
+ };
11805
+ }
11806
+
11807
+ static types(): { [key: string]: any } {
11808
+ return {
11809
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11810
+ statusCode: 'number',
11811
+ body: ListDataServiceApiTestResponseBody,
11812
+ };
11813
+ }
11814
+
11815
+ constructor(map?: { [key: string]: any }) {
11816
+ super(map);
11817
+ }
11818
+ }
11819
+
11607
11820
  export class ListDataServiceApisRequest extends $tea.Model {
11608
11821
  apiNameKeyword?: string;
11609
11822
  apiPathKeyword?: string;
@@ -12318,6 +12531,81 @@ export class ListDeploymentsResponse extends $tea.Model {
12318
12531
  }
12319
12532
  }
12320
12533
 
12534
+ export class ListDutyRostersRequest extends $tea.Model {
12535
+ dutyRosterName?: string;
12536
+ dutyRosterOwner?: string;
12537
+ pageNumber?: number;
12538
+ pageSize?: number;
12539
+ static names(): { [key: string]: string } {
12540
+ return {
12541
+ dutyRosterName: 'DutyRosterName',
12542
+ dutyRosterOwner: 'DutyRosterOwner',
12543
+ pageNumber: 'PageNumber',
12544
+ pageSize: 'PageSize',
12545
+ };
12546
+ }
12547
+
12548
+ static types(): { [key: string]: any } {
12549
+ return {
12550
+ dutyRosterName: 'string',
12551
+ dutyRosterOwner: 'string',
12552
+ pageNumber: 'number',
12553
+ pageSize: 'number',
12554
+ };
12555
+ }
12556
+
12557
+ constructor(map?: { [key: string]: any }) {
12558
+ super(map);
12559
+ }
12560
+ }
12561
+
12562
+ export class ListDutyRostersResponseBody extends $tea.Model {
12563
+ paging?: ListDutyRostersResponseBodyPaging;
12564
+ requestId?: string;
12565
+ static names(): { [key: string]: string } {
12566
+ return {
12567
+ paging: 'Paging',
12568
+ requestId: 'RequestId',
12569
+ };
12570
+ }
12571
+
12572
+ static types(): { [key: string]: any } {
12573
+ return {
12574
+ paging: ListDutyRostersResponseBodyPaging,
12575
+ requestId: 'string',
12576
+ };
12577
+ }
12578
+
12579
+ constructor(map?: { [key: string]: any }) {
12580
+ super(map);
12581
+ }
12582
+ }
12583
+
12584
+ export class ListDutyRostersResponse extends $tea.Model {
12585
+ headers: { [key: string]: string };
12586
+ statusCode: number;
12587
+ body: ListDutyRostersResponseBody;
12588
+ static names(): { [key: string]: string } {
12589
+ return {
12590
+ headers: 'headers',
12591
+ statusCode: 'statusCode',
12592
+ body: 'body',
12593
+ };
12594
+ }
12595
+
12596
+ static types(): { [key: string]: any } {
12597
+ return {
12598
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
12599
+ statusCode: 'number',
12600
+ body: ListDutyRostersResponseBody,
12601
+ };
12602
+ }
12603
+
12604
+ constructor(map?: { [key: string]: any }) {
12605
+ super(map);
12606
+ }
12607
+ }
12608
+
12321
12609
  export class ListExtensionsRequest extends $tea.Model {
12322
12610
  pageNumber?: number;
12323
12611
  pageSize?: number;
@@ -17034,6 +17322,87 @@ export class TerminateDISyncInstanceResponse extends $tea.Model {
17034
17322
  }
17035
17323
  }
17036
17324
 
17325
+ export class TestDataServiceApiRequest extends $tea.Model {
17326
+ apiId?: number;
17327
+ bodyContent?: string;
17328
+ bodyParams?: TestDataServiceApiRequestBodyParams[];
17329
+ headParams?: TestDataServiceApiRequestHeadParams[];
17330
+ pathParams?: TestDataServiceApiRequestPathParams[];
17331
+ queryParam?: TestDataServiceApiRequestQueryParam[];
17332
+ static names(): { [key: string]: string } {
17333
+ return {
17334
+ apiId: 'ApiId',
17335
+ bodyContent: 'BodyContent',
17336
+ bodyParams: 'BodyParams',
17337
+ headParams: 'HeadParams',
17338
+ pathParams: 'PathParams',
17339
+ queryParam: 'QueryParam',
17340
+ };
17341
+ }
17342
+
17343
+ static types(): { [key: string]: any } {
17344
+ return {
17345
+ apiId: 'number',
17346
+ bodyContent: 'string',
17347
+ bodyParams: { 'type': 'array', 'itemType': TestDataServiceApiRequestBodyParams },
17348
+ headParams: { 'type': 'array', 'itemType': TestDataServiceApiRequestHeadParams },
17349
+ pathParams: { 'type': 'array', 'itemType': TestDataServiceApiRequestPathParams },
17350
+ queryParam: { 'type': 'array', 'itemType': TestDataServiceApiRequestQueryParam },
17351
+ };
17352
+ }
17353
+
17354
+ constructor(map?: { [key: string]: any }) {
17355
+ super(map);
17356
+ }
17357
+ }
17358
+
17359
+ export class TestDataServiceApiResponseBody extends $tea.Model {
17360
+ data?: TestDataServiceApiResponseBodyData;
17361
+ requestId?: string;
17362
+ static names(): { [key: string]: string } {
17363
+ return {
17364
+ data: 'Data',
17365
+ requestId: 'RequestId',
17366
+ };
17367
+ }
17368
+
17369
+ static types(): { [key: string]: any } {
17370
+ return {
17371
+ data: TestDataServiceApiResponseBodyData,
17372
+ requestId: 'string',
17373
+ };
17374
+ }
17375
+
17376
+ constructor(map?: { [key: string]: any }) {
17377
+ super(map);
17378
+ }
17379
+ }
17380
+
17381
+ export class TestDataServiceApiResponse extends $tea.Model {
17382
+ headers: { [key: string]: string };
17383
+ statusCode: number;
17384
+ body: TestDataServiceApiResponseBody;
17385
+ static names(): { [key: string]: string } {
17386
+ return {
17387
+ headers: 'headers',
17388
+ statusCode: 'statusCode',
17389
+ body: 'body',
17390
+ };
17391
+ }
17392
+
17393
+ static types(): { [key: string]: any } {
17394
+ return {
17395
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
17396
+ statusCode: 'number',
17397
+ body: TestDataServiceApiResponseBody,
17398
+ };
17399
+ }
17400
+
17401
+ constructor(map?: { [key: string]: any }) {
17402
+ super(map);
17403
+ }
17404
+ }
17405
+
17037
17406
  export class TestNetworkConnectionRequest extends $tea.Model {
17038
17407
  datasourceName?: string;
17039
17408
  envType?: string;
@@ -20949,6 +21318,46 @@ export class GetDataServiceApiResponseBodyData extends $tea.Model {
20949
21318
  }
20950
21319
  }
20951
21320
 
21321
+ export class GetDataServiceApiTestResponseBodyData extends $tea.Model {
21322
+ apiId?: number;
21323
+ costTime?: string;
21324
+ debugInfo?: string;
21325
+ nodesDebugInfo?: string;
21326
+ paramMap?: string;
21327
+ retCode?: number;
21328
+ retResult?: string;
21329
+ status?: string;
21330
+ static names(): { [key: string]: string } {
21331
+ return {
21332
+ apiId: 'ApiId',
21333
+ costTime: 'CostTime',
21334
+ debugInfo: 'DebugInfo',
21335
+ nodesDebugInfo: 'NodesDebugInfo',
21336
+ paramMap: 'ParamMap',
21337
+ retCode: 'RetCode',
21338
+ retResult: 'RetResult',
21339
+ status: 'Status',
21340
+ };
21341
+ }
21342
+
21343
+ static types(): { [key: string]: any } {
21344
+ return {
21345
+ apiId: 'number',
21346
+ costTime: 'string',
21347
+ debugInfo: 'string',
21348
+ nodesDebugInfo: 'string',
21349
+ paramMap: 'string',
21350
+ retCode: 'number',
21351
+ retResult: 'string',
21352
+ status: 'string',
21353
+ };
21354
+ }
21355
+
21356
+ constructor(map?: { [key: string]: any }) {
21357
+ super(map);
21358
+ }
21359
+ }
21360
+
20952
21361
  export class GetDataServiceApplicationResponseBodyData extends $tea.Model {
20953
21362
  applicationCode?: string;
20954
21363
  applicationId?: number;
@@ -21647,6 +22056,62 @@ export class GetDeploymentResponseBodyData extends $tea.Model {
21647
22056
  }
21648
22057
  }
21649
22058
 
22059
+ export class GetDutyRosterResponseBodyPagingDutyRoster extends $tea.Model {
22060
+ endLong?: number;
22061
+ startLong?: number;
22062
+ watchkeeper?: string;
22063
+ watchkeeperName?: string;
22064
+ static names(): { [key: string]: string } {
22065
+ return {
22066
+ endLong: 'EndLong',
22067
+ startLong: 'StartLong',
22068
+ watchkeeper: 'Watchkeeper',
22069
+ watchkeeperName: 'WatchkeeperName',
22070
+ };
22071
+ }
22072
+
22073
+ static types(): { [key: string]: any } {
22074
+ return {
22075
+ endLong: 'number',
22076
+ startLong: 'number',
22077
+ watchkeeper: 'string',
22078
+ watchkeeperName: 'string',
22079
+ };
22080
+ }
22081
+
22082
+ constructor(map?: { [key: string]: any }) {
22083
+ super(map);
22084
+ }
22085
+ }
22086
+
22087
+ export class GetDutyRosterResponseBodyPaging extends $tea.Model {
22088
+ dutyRoster?: GetDutyRosterResponseBodyPagingDutyRoster[];
22089
+ pageNumber?: number;
22090
+ pageSize?: number;
22091
+ totalCount?: number;
22092
+ static names(): { [key: string]: string } {
22093
+ return {
22094
+ dutyRoster: 'DutyRoster',
22095
+ pageNumber: 'PageNumber',
22096
+ pageSize: 'PageSize',
22097
+ totalCount: 'TotalCount',
22098
+ };
22099
+ }
22100
+
22101
+ static types(): { [key: string]: any } {
22102
+ return {
22103
+ dutyRoster: { 'type': 'array', 'itemType': GetDutyRosterResponseBodyPagingDutyRoster },
22104
+ pageNumber: 'number',
22105
+ pageSize: 'number',
22106
+ totalCount: 'number',
22107
+ };
22108
+ }
22109
+
22110
+ constructor(map?: { [key: string]: any }) {
22111
+ super(map);
22112
+ }
22113
+ }
22114
+
21650
22115
  export class GetExtensionResponseBodyExtensionBindEventList extends $tea.Model {
21651
22116
  eventCode?: string;
21652
22117
  eventName?: string;
@@ -26010,6 +26475,46 @@ export class ListDataServiceApiAuthoritiesResponseBodyData extends $tea.Model {
26010
26475
  }
26011
26476
  }
26012
26477
 
26478
+ export class ListDataServiceApiTestResponseBodyData extends $tea.Model {
26479
+ apiId?: number;
26480
+ costTime?: number;
26481
+ createTime?: number;
26482
+ paramMap?: string;
26483
+ retCode?: number;
26484
+ retResult?: string;
26485
+ status?: string;
26486
+ testId?: number;
26487
+ static names(): { [key: string]: string } {
26488
+ return {
26489
+ apiId: 'ApiId',
26490
+ costTime: 'CostTime',
26491
+ createTime: 'CreateTime',
26492
+ paramMap: 'ParamMap',
26493
+ retCode: 'RetCode',
26494
+ retResult: 'RetResult',
26495
+ status: 'Status',
26496
+ testId: 'TestId',
26497
+ };
26498
+ }
26499
+
26500
+ static types(): { [key: string]: any } {
26501
+ return {
26502
+ apiId: 'number',
26503
+ costTime: 'number',
26504
+ createTime: 'number',
26505
+ paramMap: 'string',
26506
+ retCode: 'number',
26507
+ retResult: 'string',
26508
+ status: 'string',
26509
+ testId: 'number',
26510
+ };
26511
+ }
26512
+
26513
+ constructor(map?: { [key: string]: any }) {
26514
+ super(map);
26515
+ }
26516
+ }
26517
+
26013
26518
  export class ListDataServiceApisResponseBodyDataApisRegistrationDetailsRegistrationErrorCodes extends $tea.Model {
26014
26519
  errorCode?: string;
26015
26520
  errorMessage?: string;
@@ -27439,6 +27944,56 @@ export class ListDeploymentsResponseBodyData extends $tea.Model {
27439
27944
  }
27440
27945
  }
27441
27946
 
27947
+ export class ListDutyRostersResponseBodyPagingDutyRosters extends $tea.Model {
27948
+ dutyRosterIdentifier?: string;
27949
+ dutyRosterName?: string;
27950
+ static names(): { [key: string]: string } {
27951
+ return {
27952
+ dutyRosterIdentifier: 'DutyRosterIdentifier',
27953
+ dutyRosterName: 'DutyRosterName',
27954
+ };
27955
+ }
27956
+
27957
+ static types(): { [key: string]: any } {
27958
+ return {
27959
+ dutyRosterIdentifier: 'string',
27960
+ dutyRosterName: 'string',
27961
+ };
27962
+ }
27963
+
27964
+ constructor(map?: { [key: string]: any }) {
27965
+ super(map);
27966
+ }
27967
+ }
27968
+
27969
+ export class ListDutyRostersResponseBodyPaging extends $tea.Model {
27970
+ dutyRosters?: ListDutyRostersResponseBodyPagingDutyRosters[];
27971
+ pageNumber?: number;
27972
+ pageSize?: number;
27973
+ totalCount?: number;
27974
+ static names(): { [key: string]: string } {
27975
+ return {
27976
+ dutyRosters: 'DutyRosters',
27977
+ pageNumber: 'PageNumber',
27978
+ pageSize: 'PageSize',
27979
+ totalCount: 'TotalCount',
27980
+ };
27981
+ }
27982
+
27983
+ static types(): { [key: string]: any } {
27984
+ return {
27985
+ dutyRosters: { 'type': 'array', 'itemType': ListDutyRostersResponseBodyPagingDutyRosters },
27986
+ pageNumber: 'number',
27987
+ pageSize: 'number',
27988
+ totalCount: 'number',
27989
+ };
27990
+ }
27991
+
27992
+ constructor(map?: { [key: string]: any }) {
27993
+ super(map);
27994
+ }
27995
+ }
27996
+
27442
27997
  export class ListExtensionsResponseBodyPagingInfoExtensionsBindEventList extends $tea.Model {
27443
27998
  eventCode?: string;
27444
27999
  eventName?: string;
@@ -30110,6 +30665,113 @@ export class TerminateDISyncInstanceResponseBodyData extends $tea.Model {
30110
30665
  }
30111
30666
  }
30112
30667
 
30668
+ export class TestDataServiceApiRequestBodyParams extends $tea.Model {
30669
+ paramKey?: string;
30670
+ paramValue?: string;
30671
+ static names(): { [key: string]: string } {
30672
+ return {
30673
+ paramKey: 'ParamKey',
30674
+ paramValue: 'ParamValue',
30675
+ };
30676
+ }
30677
+
30678
+ static types(): { [key: string]: any } {
30679
+ return {
30680
+ paramKey: 'string',
30681
+ paramValue: 'string',
30682
+ };
30683
+ }
30684
+
30685
+ constructor(map?: { [key: string]: any }) {
30686
+ super(map);
30687
+ }
30688
+ }
30689
+
30690
+ export class TestDataServiceApiRequestHeadParams extends $tea.Model {
30691
+ paramKey?: string;
30692
+ paramValue?: string;
30693
+ static names(): { [key: string]: string } {
30694
+ return {
30695
+ paramKey: 'ParamKey',
30696
+ paramValue: 'ParamValue',
30697
+ };
30698
+ }
30699
+
30700
+ static types(): { [key: string]: any } {
30701
+ return {
30702
+ paramKey: 'string',
30703
+ paramValue: 'string',
30704
+ };
30705
+ }
30706
+
30707
+ constructor(map?: { [key: string]: any }) {
30708
+ super(map);
30709
+ }
30710
+ }
30711
+
30712
+ export class TestDataServiceApiRequestPathParams extends $tea.Model {
30713
+ paramKey?: string;
30714
+ paramValue?: string;
30715
+ static names(): { [key: string]: string } {
30716
+ return {
30717
+ paramKey: 'ParamKey',
30718
+ paramValue: 'ParamValue',
30719
+ };
30720
+ }
30721
+
30722
+ static types(): { [key: string]: any } {
30723
+ return {
30724
+ paramKey: 'string',
30725
+ paramValue: 'string',
30726
+ };
30727
+ }
30728
+
30729
+ constructor(map?: { [key: string]: any }) {
30730
+ super(map);
30731
+ }
30732
+ }
30733
+
30734
+ export class TestDataServiceApiRequestQueryParam extends $tea.Model {
30735
+ paramKey?: string;
30736
+ paramValue?: string;
30737
+ static names(): { [key: string]: string } {
30738
+ return {
30739
+ paramKey: 'ParamKey',
30740
+ paramValue: 'ParamValue',
30741
+ };
30742
+ }
30743
+
30744
+ static types(): { [key: string]: any } {
30745
+ return {
30746
+ paramKey: 'string',
30747
+ paramValue: 'string',
30748
+ };
30749
+ }
30750
+
30751
+ constructor(map?: { [key: string]: any }) {
30752
+ super(map);
30753
+ }
30754
+ }
30755
+
30756
+ export class TestDataServiceApiResponseBodyData extends $tea.Model {
30757
+ testId?: string;
30758
+ static names(): { [key: string]: string } {
30759
+ return {
30760
+ testId: 'TestId',
30761
+ };
30762
+ }
30763
+
30764
+ static types(): { [key: string]: any } {
30765
+ return {
30766
+ testId: 'string',
30767
+ };
30768
+ }
30769
+
30770
+ constructor(map?: { [key: string]: any }) {
30771
+ super(map);
30772
+ }
30773
+ }
30774
+
30113
30775
  export class TestNetworkConnectionResponseBodyTaskList extends $tea.Model {
30114
30776
  connectMessage?: string;
30115
30777
  connectStatus?: boolean;
@@ -33706,6 +34368,31 @@ export default class Client extends OpenApi {
33706
34368
  return await this.getDataServiceApiWithOptions(request, runtime);
33707
34369
  }
33708
34370
 
34371
+ async getDataServiceApiTestWithOptions(request: GetDataServiceApiTestRequest, runtime: $Util.RuntimeOptions): Promise<GetDataServiceApiTestResponse> {
34372
+ Util.validateModel(request);
34373
+ let query = OpenApiUtil.query(Util.toMap(request));
34374
+ let req = new $OpenApi.OpenApiRequest({
34375
+ query: OpenApiUtil.query(query),
34376
+ });
34377
+ let params = new $OpenApi.Params({
34378
+ action: "GetDataServiceApiTest",
34379
+ version: "2020-05-18",
34380
+ protocol: "HTTPS",
34381
+ pathname: "/",
34382
+ method: "GET",
34383
+ authType: "AK",
34384
+ style: "RPC",
34385
+ reqBodyType: "formData",
34386
+ bodyType: "json",
34387
+ });
34388
+ return $tea.cast<GetDataServiceApiTestResponse>(await this.callApi(params, req, runtime), new GetDataServiceApiTestResponse({}));
34389
+ }
34390
+
34391
+ async getDataServiceApiTest(request: GetDataServiceApiTestRequest): Promise<GetDataServiceApiTestResponse> {
34392
+ let runtime = new $Util.RuntimeOptions({ });
34393
+ return await this.getDataServiceApiTestWithOptions(request, runtime);
34394
+ }
34395
+
33709
34396
  async getDataServiceApplicationWithOptions(request: GetDataServiceApplicationRequest, runtime: $Util.RuntimeOptions): Promise<GetDataServiceApplicationResponse> {
33710
34397
  Util.validateModel(request);
33711
34398
  let body : {[key: string ]: any} = { };
@@ -33936,6 +34623,51 @@ export default class Client extends OpenApi {
33936
34623
  return await this.getDeploymentWithOptions(request, runtime);
33937
34624
  }
33938
34625
 
34626
+ async getDutyRosterWithOptions(request: GetDutyRosterRequest, runtime: $Util.RuntimeOptions): Promise<GetDutyRosterResponse> {
34627
+ Util.validateModel(request);
34628
+ let body : {[key: string ]: any} = { };
34629
+ if (!Util.isUnset(request.beginTime)) {
34630
+ body["BeginTime"] = request.beginTime;
34631
+ }
34632
+
34633
+ if (!Util.isUnset(request.dutyRosterIdentifier)) {
34634
+ body["DutyRosterIdentifier"] = request.dutyRosterIdentifier;
34635
+ }
34636
+
34637
+ if (!Util.isUnset(request.endTime)) {
34638
+ body["EndTime"] = request.endTime;
34639
+ }
34640
+
34641
+ if (!Util.isUnset(request.userType)) {
34642
+ body["UserType"] = request.userType;
34643
+ }
34644
+
34645
+ if (!Util.isUnset(request.watchkeeper)) {
34646
+ body["Watchkeeper"] = request.watchkeeper;
34647
+ }
34648
+
34649
+ let req = new $OpenApi.OpenApiRequest({
34650
+ body: OpenApiUtil.parseToMap(body),
34651
+ });
34652
+ let params = new $OpenApi.Params({
34653
+ action: "GetDutyRoster",
34654
+ version: "2020-05-18",
34655
+ protocol: "HTTPS",
34656
+ pathname: "/",
34657
+ method: "POST",
34658
+ authType: "AK",
34659
+ style: "RPC",
34660
+ reqBodyType: "formData",
34661
+ bodyType: "json",
34662
+ });
34663
+ return $tea.cast<GetDutyRosterResponse>(await this.callApi(params, req, runtime), new GetDutyRosterResponse({}));
34664
+ }
34665
+
34666
+ async getDutyRoster(request: GetDutyRosterRequest): Promise<GetDutyRosterResponse> {
34667
+ let runtime = new $Util.RuntimeOptions({ });
34668
+ return await this.getDutyRosterWithOptions(request, runtime);
34669
+ }
34670
+
33939
34671
  async getExtensionWithOptions(request: GetExtensionRequest, runtime: $Util.RuntimeOptions): Promise<GetExtensionResponse> {
33940
34672
  Util.validateModel(request);
33941
34673
  let query = { };
@@ -36196,6 +36928,31 @@ export default class Client extends OpenApi {
36196
36928
  return await this.listDataServiceApiAuthoritiesWithOptions(request, runtime);
36197
36929
  }
36198
36930
 
36931
+ async listDataServiceApiTestWithOptions(request: ListDataServiceApiTestRequest, runtime: $Util.RuntimeOptions): Promise<ListDataServiceApiTestResponse> {
36932
+ Util.validateModel(request);
36933
+ let query = OpenApiUtil.query(Util.toMap(request));
36934
+ let req = new $OpenApi.OpenApiRequest({
36935
+ query: OpenApiUtil.query(query),
36936
+ });
36937
+ let params = new $OpenApi.Params({
36938
+ action: "ListDataServiceApiTest",
36939
+ version: "2020-05-18",
36940
+ protocol: "HTTPS",
36941
+ pathname: "/",
36942
+ method: "GET",
36943
+ authType: "AK",
36944
+ style: "RPC",
36945
+ reqBodyType: "formData",
36946
+ bodyType: "json",
36947
+ });
36948
+ return $tea.cast<ListDataServiceApiTestResponse>(await this.callApi(params, req, runtime), new ListDataServiceApiTestResponse({}));
36949
+ }
36950
+
36951
+ async listDataServiceApiTest(request: ListDataServiceApiTestRequest): Promise<ListDataServiceApiTestResponse> {
36952
+ let runtime = new $Util.RuntimeOptions({ });
36953
+ return await this.listDataServiceApiTestWithOptions(request, runtime);
36954
+ }
36955
+
36199
36956
  async listDataServiceApisWithOptions(request: ListDataServiceApisRequest, runtime: $Util.RuntimeOptions): Promise<ListDataServiceApisResponse> {
36200
36957
  Util.validateModel(request);
36201
36958
  let body : {[key: string ]: any} = { };
@@ -36574,6 +37331,47 @@ export default class Client extends OpenApi {
36574
37331
  return await this.listDeploymentsWithOptions(request, runtime);
36575
37332
  }
36576
37333
 
37334
+ async listDutyRostersWithOptions(request: ListDutyRostersRequest, runtime: $Util.RuntimeOptions): Promise<ListDutyRostersResponse> {
37335
+ Util.validateModel(request);
37336
+ let body : {[key: string ]: any} = { };
37337
+ if (!Util.isUnset(request.dutyRosterName)) {
37338
+ body["DutyRosterName"] = request.dutyRosterName;
37339
+ }
37340
+
37341
+ if (!Util.isUnset(request.dutyRosterOwner)) {
37342
+ body["DutyRosterOwner"] = request.dutyRosterOwner;
37343
+ }
37344
+
37345
+ if (!Util.isUnset(request.pageNumber)) {
37346
+ body["PageNumber"] = request.pageNumber;
37347
+ }
37348
+
37349
+ if (!Util.isUnset(request.pageSize)) {
37350
+ body["PageSize"] = request.pageSize;
37351
+ }
37352
+
37353
+ let req = new $OpenApi.OpenApiRequest({
37354
+ body: OpenApiUtil.parseToMap(body),
37355
+ });
37356
+ let params = new $OpenApi.Params({
37357
+ action: "ListDutyRosters",
37358
+ version: "2020-05-18",
37359
+ protocol: "HTTPS",
37360
+ pathname: "/",
37361
+ method: "POST",
37362
+ authType: "AK",
37363
+ style: "RPC",
37364
+ reqBodyType: "formData",
37365
+ bodyType: "json",
37366
+ });
37367
+ return $tea.cast<ListDutyRostersResponse>(await this.callApi(params, req, runtime), new ListDutyRostersResponse({}));
37368
+ }
37369
+
37370
+ async listDutyRosters(request: ListDutyRostersRequest): Promise<ListDutyRostersResponse> {
37371
+ let runtime = new $Util.RuntimeOptions({ });
37372
+ return await this.listDutyRostersWithOptions(request, runtime);
37373
+ }
37374
+
36577
37375
  async listExtensionsWithOptions(request: ListExtensionsRequest, runtime: $Util.RuntimeOptions): Promise<ListExtensionsResponse> {
36578
37376
  Util.validateModel(request);
36579
37377
  let query = OpenApiUtil.query(Util.toMap(request));
@@ -38923,6 +39721,57 @@ export default class Client extends OpenApi {
38923
39721
  return await this.terminateDISyncInstanceWithOptions(request, runtime);
38924
39722
  }
38925
39723
 
39724
+ async testDataServiceApiWithOptions(request: TestDataServiceApiRequest, runtime: $Util.RuntimeOptions): Promise<TestDataServiceApiResponse> {
39725
+ Util.validateModel(request);
39726
+ let query = { };
39727
+ if (!Util.isUnset(request.apiId)) {
39728
+ query["ApiId"] = request.apiId;
39729
+ }
39730
+
39731
+ let body : {[key: string ]: any} = { };
39732
+ if (!Util.isUnset(request.bodyContent)) {
39733
+ body["BodyContent"] = request.bodyContent;
39734
+ }
39735
+
39736
+ if (!Util.isUnset(request.bodyParams)) {
39737
+ body["BodyParams"] = request.bodyParams;
39738
+ }
39739
+
39740
+ if (!Util.isUnset(request.headParams)) {
39741
+ body["HeadParams"] = request.headParams;
39742
+ }
39743
+
39744
+ if (!Util.isUnset(request.pathParams)) {
39745
+ body["PathParams"] = request.pathParams;
39746
+ }
39747
+
39748
+ if (!Util.isUnset(request.queryParam)) {
39749
+ body["QueryParam"] = request.queryParam;
39750
+ }
39751
+
39752
+ let req = new $OpenApi.OpenApiRequest({
39753
+ query: OpenApiUtil.query(query),
39754
+ body: OpenApiUtil.parseToMap(body),
39755
+ });
39756
+ let params = new $OpenApi.Params({
39757
+ action: "TestDataServiceApi",
39758
+ version: "2020-05-18",
39759
+ protocol: "HTTPS",
39760
+ pathname: "/",
39761
+ method: "POST",
39762
+ authType: "AK",
39763
+ style: "RPC",
39764
+ reqBodyType: "formData",
39765
+ bodyType: "json",
39766
+ });
39767
+ return $tea.cast<TestDataServiceApiResponse>(await this.callApi(params, req, runtime), new TestDataServiceApiResponse({}));
39768
+ }
39769
+
39770
+ async testDataServiceApi(request: TestDataServiceApiRequest): Promise<TestDataServiceApiResponse> {
39771
+ let runtime = new $Util.RuntimeOptions({ });
39772
+ return await this.testDataServiceApiWithOptions(request, runtime);
39773
+ }
39774
+
38926
39775
  async testNetworkConnectionWithOptions(request: TestNetworkConnectionRequest, runtime: $Util.RuntimeOptions): Promise<TestNetworkConnectionResponse> {
38927
39776
  Util.validateModel(request);
38928
39777
  let query = { };