@alicloud/sas20181203 2.2.3 → 2.3.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.
- package/dist/client.d.ts +238 -0
- package/dist/client.js +390 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +481 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -25476,6 +25476,75 @@ export class GetCheckSummaryResponse extends $tea.Model {
|
|
|
25476
25476
|
}
|
|
25477
25477
|
}
|
|
25478
25478
|
|
|
25479
|
+
export class GetClientInstallationStatisticRequest extends $tea.Model {
|
|
25480
|
+
timeEnd?: number;
|
|
25481
|
+
timeStart?: number;
|
|
25482
|
+
static names(): { [key: string]: string } {
|
|
25483
|
+
return {
|
|
25484
|
+
timeEnd: 'TimeEnd',
|
|
25485
|
+
timeStart: 'TimeStart',
|
|
25486
|
+
};
|
|
25487
|
+
}
|
|
25488
|
+
|
|
25489
|
+
static types(): { [key: string]: any } {
|
|
25490
|
+
return {
|
|
25491
|
+
timeEnd: 'number',
|
|
25492
|
+
timeStart: 'number',
|
|
25493
|
+
};
|
|
25494
|
+
}
|
|
25495
|
+
|
|
25496
|
+
constructor(map?: { [key: string]: any }) {
|
|
25497
|
+
super(map);
|
|
25498
|
+
}
|
|
25499
|
+
}
|
|
25500
|
+
|
|
25501
|
+
export class GetClientInstallationStatisticResponseBody extends $tea.Model {
|
|
25502
|
+
clientInstallRatio?: GetClientInstallationStatisticResponseBodyClientInstallRatio;
|
|
25503
|
+
requestId?: string;
|
|
25504
|
+
static names(): { [key: string]: string } {
|
|
25505
|
+
return {
|
|
25506
|
+
clientInstallRatio: 'ClientInstallRatio',
|
|
25507
|
+
requestId: 'RequestId',
|
|
25508
|
+
};
|
|
25509
|
+
}
|
|
25510
|
+
|
|
25511
|
+
static types(): { [key: string]: any } {
|
|
25512
|
+
return {
|
|
25513
|
+
clientInstallRatio: GetClientInstallationStatisticResponseBodyClientInstallRatio,
|
|
25514
|
+
requestId: 'string',
|
|
25515
|
+
};
|
|
25516
|
+
}
|
|
25517
|
+
|
|
25518
|
+
constructor(map?: { [key: string]: any }) {
|
|
25519
|
+
super(map);
|
|
25520
|
+
}
|
|
25521
|
+
}
|
|
25522
|
+
|
|
25523
|
+
export class GetClientInstallationStatisticResponse extends $tea.Model {
|
|
25524
|
+
headers: { [key: string]: string };
|
|
25525
|
+
statusCode: number;
|
|
25526
|
+
body: GetClientInstallationStatisticResponseBody;
|
|
25527
|
+
static names(): { [key: string]: string } {
|
|
25528
|
+
return {
|
|
25529
|
+
headers: 'headers',
|
|
25530
|
+
statusCode: 'statusCode',
|
|
25531
|
+
body: 'body',
|
|
25532
|
+
};
|
|
25533
|
+
}
|
|
25534
|
+
|
|
25535
|
+
static types(): { [key: string]: any } {
|
|
25536
|
+
return {
|
|
25537
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
25538
|
+
statusCode: 'number',
|
|
25539
|
+
body: GetClientInstallationStatisticResponseBody,
|
|
25540
|
+
};
|
|
25541
|
+
}
|
|
25542
|
+
|
|
25543
|
+
constructor(map?: { [key: string]: any }) {
|
|
25544
|
+
super(map);
|
|
25545
|
+
}
|
|
25546
|
+
}
|
|
25547
|
+
|
|
25479
25548
|
export class GetClientRatioStatisticRequest extends $tea.Model {
|
|
25480
25549
|
resourceDirectoryAccountId?: number;
|
|
25481
25550
|
statisticTypes?: string[];
|
|
@@ -28804,6 +28873,81 @@ export class ListCheckInstanceResultResponse extends $tea.Model {
|
|
|
28804
28873
|
}
|
|
28805
28874
|
}
|
|
28806
28875
|
|
|
28876
|
+
export class ListCheckItemRequest extends $tea.Model {
|
|
28877
|
+
currentPage?: number;
|
|
28878
|
+
lang?: string;
|
|
28879
|
+
pageSize?: number;
|
|
28880
|
+
static names(): { [key: string]: string } {
|
|
28881
|
+
return {
|
|
28882
|
+
currentPage: 'CurrentPage',
|
|
28883
|
+
lang: 'Lang',
|
|
28884
|
+
pageSize: 'PageSize',
|
|
28885
|
+
};
|
|
28886
|
+
}
|
|
28887
|
+
|
|
28888
|
+
static types(): { [key: string]: any } {
|
|
28889
|
+
return {
|
|
28890
|
+
currentPage: 'number',
|
|
28891
|
+
lang: 'string',
|
|
28892
|
+
pageSize: 'number',
|
|
28893
|
+
};
|
|
28894
|
+
}
|
|
28895
|
+
|
|
28896
|
+
constructor(map?: { [key: string]: any }) {
|
|
28897
|
+
super(map);
|
|
28898
|
+
}
|
|
28899
|
+
}
|
|
28900
|
+
|
|
28901
|
+
export class ListCheckItemResponseBody extends $tea.Model {
|
|
28902
|
+
checkItems?: ListCheckItemResponseBodyCheckItems[];
|
|
28903
|
+
pageInfo?: ListCheckItemResponseBodyPageInfo;
|
|
28904
|
+
requestId?: string;
|
|
28905
|
+
static names(): { [key: string]: string } {
|
|
28906
|
+
return {
|
|
28907
|
+
checkItems: 'CheckItems',
|
|
28908
|
+
pageInfo: 'PageInfo',
|
|
28909
|
+
requestId: 'RequestId',
|
|
28910
|
+
};
|
|
28911
|
+
}
|
|
28912
|
+
|
|
28913
|
+
static types(): { [key: string]: any } {
|
|
28914
|
+
return {
|
|
28915
|
+
checkItems: { 'type': 'array', 'itemType': ListCheckItemResponseBodyCheckItems },
|
|
28916
|
+
pageInfo: ListCheckItemResponseBodyPageInfo,
|
|
28917
|
+
requestId: 'string',
|
|
28918
|
+
};
|
|
28919
|
+
}
|
|
28920
|
+
|
|
28921
|
+
constructor(map?: { [key: string]: any }) {
|
|
28922
|
+
super(map);
|
|
28923
|
+
}
|
|
28924
|
+
}
|
|
28925
|
+
|
|
28926
|
+
export class ListCheckItemResponse extends $tea.Model {
|
|
28927
|
+
headers: { [key: string]: string };
|
|
28928
|
+
statusCode: number;
|
|
28929
|
+
body: ListCheckItemResponseBody;
|
|
28930
|
+
static names(): { [key: string]: string } {
|
|
28931
|
+
return {
|
|
28932
|
+
headers: 'headers',
|
|
28933
|
+
statusCode: 'statusCode',
|
|
28934
|
+
body: 'body',
|
|
28935
|
+
};
|
|
28936
|
+
}
|
|
28937
|
+
|
|
28938
|
+
static types(): { [key: string]: any } {
|
|
28939
|
+
return {
|
|
28940
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28941
|
+
statusCode: 'number',
|
|
28942
|
+
body: ListCheckItemResponseBody,
|
|
28943
|
+
};
|
|
28944
|
+
}
|
|
28945
|
+
|
|
28946
|
+
constructor(map?: { [key: string]: any }) {
|
|
28947
|
+
super(map);
|
|
28948
|
+
}
|
|
28949
|
+
}
|
|
28950
|
+
|
|
28807
28951
|
export class ListCheckItemWarningMachineRequest extends $tea.Model {
|
|
28808
28952
|
checkId?: number;
|
|
28809
28953
|
containerFieldName?: string;
|
|
@@ -49658,6 +49802,7 @@ export class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
|
|
|
49658
49802
|
k8sNodeId?: string;
|
|
49659
49803
|
k8sNodeName?: string;
|
|
49660
49804
|
k8sPodName?: string;
|
|
49805
|
+
largeModel?: boolean;
|
|
49661
49806
|
lastTime?: string;
|
|
49662
49807
|
lastTimeStamp?: number;
|
|
49663
49808
|
level?: string;
|
|
@@ -49712,6 +49857,7 @@ export class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
|
|
|
49712
49857
|
k8sNodeId: 'K8sNodeId',
|
|
49713
49858
|
k8sNodeName: 'K8sNodeName',
|
|
49714
49859
|
k8sPodName: 'K8sPodName',
|
|
49860
|
+
largeModel: 'LargeModel',
|
|
49715
49861
|
lastTime: 'LastTime',
|
|
49716
49862
|
lastTimeStamp: 'LastTimeStamp',
|
|
49717
49863
|
level: 'Level',
|
|
@@ -49769,6 +49915,7 @@ export class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
|
|
|
49769
49915
|
k8sNodeId: 'string',
|
|
49770
49916
|
k8sNodeName: 'string',
|
|
49771
49917
|
k8sPodName: 'string',
|
|
49918
|
+
largeModel: 'boolean',
|
|
49772
49919
|
lastTime: 'string',
|
|
49773
49920
|
lastTimeStamp: 'number',
|
|
49774
49921
|
level: 'string',
|
|
@@ -52683,6 +52830,131 @@ export class GetCheckSummaryResponseBodySummarys extends $tea.Model {
|
|
|
52683
52830
|
}
|
|
52684
52831
|
}
|
|
52685
52832
|
|
|
52833
|
+
export class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
|
|
52834
|
+
assetTotalCount?: number;
|
|
52835
|
+
calculateTime?: number;
|
|
52836
|
+
installRatio?: number;
|
|
52837
|
+
installedAssetCount?: number;
|
|
52838
|
+
static names(): { [key: string]: string } {
|
|
52839
|
+
return {
|
|
52840
|
+
assetTotalCount: 'AssetTotalCount',
|
|
52841
|
+
calculateTime: 'CalculateTime',
|
|
52842
|
+
installRatio: 'InstallRatio',
|
|
52843
|
+
installedAssetCount: 'InstalledAssetCount',
|
|
52844
|
+
};
|
|
52845
|
+
}
|
|
52846
|
+
|
|
52847
|
+
static types(): { [key: string]: any } {
|
|
52848
|
+
return {
|
|
52849
|
+
assetTotalCount: 'number',
|
|
52850
|
+
calculateTime: 'number',
|
|
52851
|
+
installRatio: 'number',
|
|
52852
|
+
installedAssetCount: 'number',
|
|
52853
|
+
};
|
|
52854
|
+
}
|
|
52855
|
+
|
|
52856
|
+
constructor(map?: { [key: string]: any }) {
|
|
52857
|
+
super(map);
|
|
52858
|
+
}
|
|
52859
|
+
}
|
|
52860
|
+
|
|
52861
|
+
export class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems extends $tea.Model {
|
|
52862
|
+
items?: GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems[];
|
|
52863
|
+
vendor?: number;
|
|
52864
|
+
static names(): { [key: string]: string } {
|
|
52865
|
+
return {
|
|
52866
|
+
items: 'Items',
|
|
52867
|
+
vendor: 'Vendor',
|
|
52868
|
+
};
|
|
52869
|
+
}
|
|
52870
|
+
|
|
52871
|
+
static types(): { [key: string]: any } {
|
|
52872
|
+
return {
|
|
52873
|
+
items: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems },
|
|
52874
|
+
vendor: 'number',
|
|
52875
|
+
};
|
|
52876
|
+
}
|
|
52877
|
+
|
|
52878
|
+
constructor(map?: { [key: string]: any }) {
|
|
52879
|
+
super(map);
|
|
52880
|
+
}
|
|
52881
|
+
}
|
|
52882
|
+
|
|
52883
|
+
export class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems extends $tea.Model {
|
|
52884
|
+
assetTotalCount?: number;
|
|
52885
|
+
calculateTime?: number;
|
|
52886
|
+
installRatio?: number;
|
|
52887
|
+
installedAssetCount?: number;
|
|
52888
|
+
static names(): { [key: string]: string } {
|
|
52889
|
+
return {
|
|
52890
|
+
assetTotalCount: 'AssetTotalCount',
|
|
52891
|
+
calculateTime: 'CalculateTime',
|
|
52892
|
+
installRatio: 'InstallRatio',
|
|
52893
|
+
installedAssetCount: 'InstalledAssetCount',
|
|
52894
|
+
};
|
|
52895
|
+
}
|
|
52896
|
+
|
|
52897
|
+
static types(): { [key: string]: any } {
|
|
52898
|
+
return {
|
|
52899
|
+
assetTotalCount: 'number',
|
|
52900
|
+
calculateTime: 'number',
|
|
52901
|
+
installRatio: 'number',
|
|
52902
|
+
installedAssetCount: 'number',
|
|
52903
|
+
};
|
|
52904
|
+
}
|
|
52905
|
+
|
|
52906
|
+
constructor(map?: { [key: string]: any }) {
|
|
52907
|
+
super(map);
|
|
52908
|
+
}
|
|
52909
|
+
}
|
|
52910
|
+
|
|
52911
|
+
export class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems extends $tea.Model {
|
|
52912
|
+
items?: GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems[];
|
|
52913
|
+
vendor?: number;
|
|
52914
|
+
static names(): { [key: string]: string } {
|
|
52915
|
+
return {
|
|
52916
|
+
items: 'Items',
|
|
52917
|
+
vendor: 'Vendor',
|
|
52918
|
+
};
|
|
52919
|
+
}
|
|
52920
|
+
|
|
52921
|
+
static types(): { [key: string]: any } {
|
|
52922
|
+
return {
|
|
52923
|
+
items: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems },
|
|
52924
|
+
vendor: 'number',
|
|
52925
|
+
};
|
|
52926
|
+
}
|
|
52927
|
+
|
|
52928
|
+
constructor(map?: { [key: string]: any }) {
|
|
52929
|
+
super(map);
|
|
52930
|
+
}
|
|
52931
|
+
}
|
|
52932
|
+
|
|
52933
|
+
export class GetClientInstallationStatisticResponseBodyClientInstallRatio extends $tea.Model {
|
|
52934
|
+
currentItems?: GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems[];
|
|
52935
|
+
dates?: number[];
|
|
52936
|
+
historyItems?: GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems[];
|
|
52937
|
+
static names(): { [key: string]: string } {
|
|
52938
|
+
return {
|
|
52939
|
+
currentItems: 'CurrentItems',
|
|
52940
|
+
dates: 'Dates',
|
|
52941
|
+
historyItems: 'HistoryItems',
|
|
52942
|
+
};
|
|
52943
|
+
}
|
|
52944
|
+
|
|
52945
|
+
static types(): { [key: string]: any } {
|
|
52946
|
+
return {
|
|
52947
|
+
currentItems: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems },
|
|
52948
|
+
dates: { 'type': 'array', 'itemType': 'number' },
|
|
52949
|
+
historyItems: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems },
|
|
52950
|
+
};
|
|
52951
|
+
}
|
|
52952
|
+
|
|
52953
|
+
constructor(map?: { [key: string]: any }) {
|
|
52954
|
+
super(map);
|
|
52955
|
+
}
|
|
52956
|
+
}
|
|
52957
|
+
|
|
52686
52958
|
export class GetClientRatioStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
|
|
52687
52959
|
assetTotalCount?: number;
|
|
52688
52960
|
calculateTime?: number;
|
|
@@ -54665,6 +54937,130 @@ export class ListCheckInstanceResultResponseBodyPageInfo extends $tea.Model {
|
|
|
54665
54937
|
}
|
|
54666
54938
|
}
|
|
54667
54939
|
|
|
54940
|
+
export class ListCheckItemResponseBodyCheckItemsCustomConfigs extends $tea.Model {
|
|
54941
|
+
defaultValue?: string;
|
|
54942
|
+
name?: string;
|
|
54943
|
+
showName?: string;
|
|
54944
|
+
typeDefine?: string;
|
|
54945
|
+
value?: string;
|
|
54946
|
+
static names(): { [key: string]: string } {
|
|
54947
|
+
return {
|
|
54948
|
+
defaultValue: 'DefaultValue',
|
|
54949
|
+
name: 'Name',
|
|
54950
|
+
showName: 'ShowName',
|
|
54951
|
+
typeDefine: 'TypeDefine',
|
|
54952
|
+
value: 'Value',
|
|
54953
|
+
};
|
|
54954
|
+
}
|
|
54955
|
+
|
|
54956
|
+
static types(): { [key: string]: any } {
|
|
54957
|
+
return {
|
|
54958
|
+
defaultValue: 'string',
|
|
54959
|
+
name: 'string',
|
|
54960
|
+
showName: 'string',
|
|
54961
|
+
typeDefine: 'string',
|
|
54962
|
+
value: 'string',
|
|
54963
|
+
};
|
|
54964
|
+
}
|
|
54965
|
+
|
|
54966
|
+
constructor(map?: { [key: string]: any }) {
|
|
54967
|
+
super(map);
|
|
54968
|
+
}
|
|
54969
|
+
}
|
|
54970
|
+
|
|
54971
|
+
export class ListCheckItemResponseBodyCheckItemsDescription extends $tea.Model {
|
|
54972
|
+
type?: string;
|
|
54973
|
+
value?: string;
|
|
54974
|
+
static names(): { [key: string]: string } {
|
|
54975
|
+
return {
|
|
54976
|
+
type: 'Type',
|
|
54977
|
+
value: 'Value',
|
|
54978
|
+
};
|
|
54979
|
+
}
|
|
54980
|
+
|
|
54981
|
+
static types(): { [key: string]: any } {
|
|
54982
|
+
return {
|
|
54983
|
+
type: 'string',
|
|
54984
|
+
value: 'string',
|
|
54985
|
+
};
|
|
54986
|
+
}
|
|
54987
|
+
|
|
54988
|
+
constructor(map?: { [key: string]: any }) {
|
|
54989
|
+
super(map);
|
|
54990
|
+
}
|
|
54991
|
+
}
|
|
54992
|
+
|
|
54993
|
+
export class ListCheckItemResponseBodyCheckItems extends $tea.Model {
|
|
54994
|
+
checkId?: number;
|
|
54995
|
+
checkShowName?: string;
|
|
54996
|
+
customConfigs?: ListCheckItemResponseBodyCheckItemsCustomConfigs[];
|
|
54997
|
+
description?: ListCheckItemResponseBodyCheckItemsDescription;
|
|
54998
|
+
instanceSubType?: string;
|
|
54999
|
+
instanceType?: string;
|
|
55000
|
+
riskLevel?: string;
|
|
55001
|
+
sectionIds?: number[];
|
|
55002
|
+
vendor?: string;
|
|
55003
|
+
static names(): { [key: string]: string } {
|
|
55004
|
+
return {
|
|
55005
|
+
checkId: 'CheckId',
|
|
55006
|
+
checkShowName: 'CheckShowName',
|
|
55007
|
+
customConfigs: 'CustomConfigs',
|
|
55008
|
+
description: 'Description',
|
|
55009
|
+
instanceSubType: 'InstanceSubType',
|
|
55010
|
+
instanceType: 'InstanceType',
|
|
55011
|
+
riskLevel: 'RiskLevel',
|
|
55012
|
+
sectionIds: 'SectionIds',
|
|
55013
|
+
vendor: 'Vendor',
|
|
55014
|
+
};
|
|
55015
|
+
}
|
|
55016
|
+
|
|
55017
|
+
static types(): { [key: string]: any } {
|
|
55018
|
+
return {
|
|
55019
|
+
checkId: 'number',
|
|
55020
|
+
checkShowName: 'string',
|
|
55021
|
+
customConfigs: { 'type': 'array', 'itemType': ListCheckItemResponseBodyCheckItemsCustomConfigs },
|
|
55022
|
+
description: ListCheckItemResponseBodyCheckItemsDescription,
|
|
55023
|
+
instanceSubType: 'string',
|
|
55024
|
+
instanceType: 'string',
|
|
55025
|
+
riskLevel: 'string',
|
|
55026
|
+
sectionIds: { 'type': 'array', 'itemType': 'number' },
|
|
55027
|
+
vendor: 'string',
|
|
55028
|
+
};
|
|
55029
|
+
}
|
|
55030
|
+
|
|
55031
|
+
constructor(map?: { [key: string]: any }) {
|
|
55032
|
+
super(map);
|
|
55033
|
+
}
|
|
55034
|
+
}
|
|
55035
|
+
|
|
55036
|
+
export class ListCheckItemResponseBodyPageInfo extends $tea.Model {
|
|
55037
|
+
count?: number;
|
|
55038
|
+
currentPage?: number;
|
|
55039
|
+
pageSize?: number;
|
|
55040
|
+
totalCount?: number;
|
|
55041
|
+
static names(): { [key: string]: string } {
|
|
55042
|
+
return {
|
|
55043
|
+
count: 'Count',
|
|
55044
|
+
currentPage: 'CurrentPage',
|
|
55045
|
+
pageSize: 'PageSize',
|
|
55046
|
+
totalCount: 'TotalCount',
|
|
55047
|
+
};
|
|
55048
|
+
}
|
|
55049
|
+
|
|
55050
|
+
static types(): { [key: string]: any } {
|
|
55051
|
+
return {
|
|
55052
|
+
count: 'number',
|
|
55053
|
+
currentPage: 'number',
|
|
55054
|
+
pageSize: 'number',
|
|
55055
|
+
totalCount: 'number',
|
|
55056
|
+
};
|
|
55057
|
+
}
|
|
55058
|
+
|
|
55059
|
+
constructor(map?: { [key: string]: any }) {
|
|
55060
|
+
super(map);
|
|
55061
|
+
}
|
|
55062
|
+
}
|
|
55063
|
+
|
|
54668
55064
|
export class ListCheckItemWarningMachineResponseBodyListFixList extends $tea.Model {
|
|
54669
55065
|
riskId?: number;
|
|
54670
55066
|
riskName?: string;
|
|
@@ -71266,6 +71662,54 @@ export default class Client extends OpenApi {
|
|
|
71266
71662
|
return await this.getCheckSummaryWithOptions(request, runtime);
|
|
71267
71663
|
}
|
|
71268
71664
|
|
|
71665
|
+
/**
|
|
71666
|
+
* @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
|
|
71667
|
+
*
|
|
71668
|
+
* @param request GetClientInstallationStatisticRequest
|
|
71669
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
71670
|
+
* @return GetClientInstallationStatisticResponse
|
|
71671
|
+
*/
|
|
71672
|
+
// Deprecated
|
|
71673
|
+
async getClientInstallationStatisticWithOptions(request: GetClientInstallationStatisticRequest, runtime: $Util.RuntimeOptions): Promise<GetClientInstallationStatisticResponse> {
|
|
71674
|
+
Util.validateModel(request);
|
|
71675
|
+
let query = { };
|
|
71676
|
+
if (!Util.isUnset(request.timeEnd)) {
|
|
71677
|
+
query["TimeEnd"] = request.timeEnd;
|
|
71678
|
+
}
|
|
71679
|
+
|
|
71680
|
+
if (!Util.isUnset(request.timeStart)) {
|
|
71681
|
+
query["TimeStart"] = request.timeStart;
|
|
71682
|
+
}
|
|
71683
|
+
|
|
71684
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
71685
|
+
query: OpenApiUtil.query(query),
|
|
71686
|
+
});
|
|
71687
|
+
let params = new $OpenApi.Params({
|
|
71688
|
+
action: "GetClientInstallationStatistic",
|
|
71689
|
+
version: "2018-12-03",
|
|
71690
|
+
protocol: "HTTPS",
|
|
71691
|
+
pathname: "/",
|
|
71692
|
+
method: "POST",
|
|
71693
|
+
authType: "AK",
|
|
71694
|
+
style: "RPC",
|
|
71695
|
+
reqBodyType: "formData",
|
|
71696
|
+
bodyType: "json",
|
|
71697
|
+
});
|
|
71698
|
+
return $tea.cast<GetClientInstallationStatisticResponse>(await this.callApi(params, req, runtime), new GetClientInstallationStatisticResponse({}));
|
|
71699
|
+
}
|
|
71700
|
+
|
|
71701
|
+
/**
|
|
71702
|
+
* @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
|
|
71703
|
+
*
|
|
71704
|
+
* @param request GetClientInstallationStatisticRequest
|
|
71705
|
+
* @return GetClientInstallationStatisticResponse
|
|
71706
|
+
*/
|
|
71707
|
+
// Deprecated
|
|
71708
|
+
async getClientInstallationStatistic(request: GetClientInstallationStatisticRequest): Promise<GetClientInstallationStatisticResponse> {
|
|
71709
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
71710
|
+
return await this.getClientInstallationStatisticWithOptions(request, runtime);
|
|
71711
|
+
}
|
|
71712
|
+
|
|
71269
71713
|
async getClientRatioStatisticWithOptions(request: GetClientRatioStatisticRequest, runtime: $Util.RuntimeOptions): Promise<GetClientRatioStatisticResponse> {
|
|
71270
71714
|
Util.validateModel(request);
|
|
71271
71715
|
let query = { };
|
|
@@ -72942,6 +73386,43 @@ export default class Client extends OpenApi {
|
|
|
72942
73386
|
return await this.listCheckInstanceResultWithOptions(request, runtime);
|
|
72943
73387
|
}
|
|
72944
73388
|
|
|
73389
|
+
async listCheckItemWithOptions(request: ListCheckItemRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckItemResponse> {
|
|
73390
|
+
Util.validateModel(request);
|
|
73391
|
+
let query = { };
|
|
73392
|
+
if (!Util.isUnset(request.currentPage)) {
|
|
73393
|
+
query["CurrentPage"] = request.currentPage;
|
|
73394
|
+
}
|
|
73395
|
+
|
|
73396
|
+
if (!Util.isUnset(request.lang)) {
|
|
73397
|
+
query["Lang"] = request.lang;
|
|
73398
|
+
}
|
|
73399
|
+
|
|
73400
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
73401
|
+
query["PageSize"] = request.pageSize;
|
|
73402
|
+
}
|
|
73403
|
+
|
|
73404
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
73405
|
+
query: OpenApiUtil.query(query),
|
|
73406
|
+
});
|
|
73407
|
+
let params = new $OpenApi.Params({
|
|
73408
|
+
action: "ListCheckItem",
|
|
73409
|
+
version: "2018-12-03",
|
|
73410
|
+
protocol: "HTTPS",
|
|
73411
|
+
pathname: "/",
|
|
73412
|
+
method: "POST",
|
|
73413
|
+
authType: "AK",
|
|
73414
|
+
style: "RPC",
|
|
73415
|
+
reqBodyType: "formData",
|
|
73416
|
+
bodyType: "json",
|
|
73417
|
+
});
|
|
73418
|
+
return $tea.cast<ListCheckItemResponse>(await this.callApi(params, req, runtime), new ListCheckItemResponse({}));
|
|
73419
|
+
}
|
|
73420
|
+
|
|
73421
|
+
async listCheckItem(request: ListCheckItemRequest): Promise<ListCheckItemResponse> {
|
|
73422
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
73423
|
+
return await this.listCheckItemWithOptions(request, runtime);
|
|
73424
|
+
}
|
|
73425
|
+
|
|
72945
73426
|
async listCheckItemWarningMachineWithOptions(request: ListCheckItemWarningMachineRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckItemWarningMachineResponse> {
|
|
72946
73427
|
Util.validateModel(request);
|
|
72947
73428
|
let query = { };
|