@alicloud/cas20200407 3.1.0 → 3.2.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 +53 -12
- package/dist/client.js +120 -12
- package/dist/client.js.map +1 -1
- package/dist/models/GetAssetCountResponse.d.ts +19 -0
- package/dist/models/GetAssetCountResponse.js +69 -0
- package/dist/models/GetAssetCountResponse.js.map +1 -0
- package/dist/models/GetAssetCountResponseBody.d.ts +30 -0
- package/dist/models/GetAssetCountResponseBody.js +82 -0
- package/dist/models/GetAssetCountResponseBody.js.map +1 -0
- package/dist/models/GetRiskCountResponse.d.ts +19 -0
- package/dist/models/GetRiskCountResponse.js +69 -0
- package/dist/models/GetRiskCountResponse.js.map +1 -0
- package/dist/models/GetRiskCountResponseBody.d.ts +36 -0
- package/dist/models/GetRiskCountResponseBody.js +94 -0
- package/dist/models/GetRiskCountResponseBody.js.map +1 -0
- package/dist/models/ListAssetCountRequest.d.ts +33 -0
- package/dist/models/ListAssetCountRequest.js +64 -0
- package/dist/models/ListAssetCountRequest.js.map +1 -0
- package/dist/models/ListAssetCountResponse.d.ts +19 -0
- package/dist/models/ListAssetCountResponse.js +69 -0
- package/dist/models/ListAssetCountResponse.js.map +1 -0
- package/dist/models/ListAssetCountResponseBody.d.ts +76 -0
- package/dist/models/ListAssetCountResponseBody.js +98 -0
- package/dist/models/ListAssetCountResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +21 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +130 -12
- package/src/models/GetAssetCountResponse.ts +40 -0
- package/src/models/GetAssetCountResponseBody.ts +67 -0
- package/src/models/GetRiskCountResponse.ts +40 -0
- package/src/models/GetRiskCountResponseBody.ts +85 -0
- package/src/models/ListAssetCountRequest.ts +52 -0
- package/src/models/ListAssetCountResponse.ts +40 -0
- package/src/models/ListAssetCountResponseBody.ts +120 -0
- package/src/models/model.ts +8 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListAssetCountResponseBody } from "./ListAssetCountResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListAssetCountResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListAssetCountResponseBody;
|
|
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: ListAssetCountResponseBody,
|
|
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,120 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListAssetCountResponseBodyAssetCountList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 99
|
|
9
|
+
*/
|
|
10
|
+
aliyunAssetCount?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 99
|
|
14
|
+
*/
|
|
15
|
+
certificateCount?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1767680115423
|
|
19
|
+
*/
|
|
20
|
+
countDate?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 99
|
|
24
|
+
*/
|
|
25
|
+
domainAssetCount?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 99
|
|
29
|
+
*/
|
|
30
|
+
multiCloudAssetCount?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 99
|
|
34
|
+
*/
|
|
35
|
+
points?: number;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
aliyunAssetCount: 'AliyunAssetCount',
|
|
39
|
+
certificateCount: 'CertificateCount',
|
|
40
|
+
countDate: 'CountDate',
|
|
41
|
+
domainAssetCount: 'DomainAssetCount',
|
|
42
|
+
multiCloudAssetCount: 'MultiCloudAssetCount',
|
|
43
|
+
points: 'Points',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
aliyunAssetCount: 'number',
|
|
50
|
+
certificateCount: 'number',
|
|
51
|
+
countDate: 'number',
|
|
52
|
+
domainAssetCount: 'number',
|
|
53
|
+
multiCloudAssetCount: 'number',
|
|
54
|
+
points: '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 ListAssetCountResponseBody extends $dara.Model {
|
|
68
|
+
assetCountList?: ListAssetCountResponseBodyAssetCountList[];
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* 1
|
|
72
|
+
*/
|
|
73
|
+
currentPage?: number;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D
|
|
77
|
+
*/
|
|
78
|
+
requestId?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* 20
|
|
82
|
+
*/
|
|
83
|
+
showSize?: number;
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* 12
|
|
87
|
+
*/
|
|
88
|
+
totalCount?: number;
|
|
89
|
+
static names(): { [key: string]: string } {
|
|
90
|
+
return {
|
|
91
|
+
assetCountList: 'AssetCountList',
|
|
92
|
+
currentPage: 'CurrentPage',
|
|
93
|
+
requestId: 'RequestId',
|
|
94
|
+
showSize: 'ShowSize',
|
|
95
|
+
totalCount: 'TotalCount',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
static types(): { [key: string]: any } {
|
|
100
|
+
return {
|
|
101
|
+
assetCountList: { 'type': 'array', 'itemType': ListAssetCountResponseBodyAssetCountList },
|
|
102
|
+
currentPage: 'number',
|
|
103
|
+
requestId: 'string',
|
|
104
|
+
showSize: 'number',
|
|
105
|
+
totalCount: 'number',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
validate() {
|
|
110
|
+
if(Array.isArray(this.assetCountList)) {
|
|
111
|
+
$dara.Model.validateArray(this.assetCountList);
|
|
112
|
+
}
|
|
113
|
+
super.validate();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
constructor(map?: { [key: string]: any }) {
|
|
117
|
+
super(map);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -11,6 +11,7 @@ export { GetInstanceDetailResponseBodyDomainValidationList } from './GetInstance
|
|
|
11
11
|
export { GetInstanceDetailResponseBodyTags } from './GetInstanceDetailResponseBody';
|
|
12
12
|
export { GetUserCertificateDetailResponseBodyCertChain } from './GetUserCertificateDetailResponseBody';
|
|
13
13
|
export { GetUserCertificateDetailResponseBodyTags } from './GetUserCertificateDetailResponseBody';
|
|
14
|
+
export { ListAssetCountResponseBodyAssetCountList } from './ListAssetCountResponseBody';
|
|
14
15
|
export { ListCertResponseBodyCertList } from './ListCertResponseBody';
|
|
15
16
|
export { ListCertWarehouseResponseBodyCertWarehouseList } from './ListCertWarehouseResponseBody';
|
|
16
17
|
export { ListCertificatesResponseBodyCertificateList } from './ListCertificatesResponseBody';
|
|
@@ -96,6 +97,8 @@ export { DescribePackageStateResponse } from './DescribePackageStateResponse';
|
|
|
96
97
|
export { EncryptRequest } from './EncryptRequest';
|
|
97
98
|
export { EncryptResponseBody } from './EncryptResponseBody';
|
|
98
99
|
export { EncryptResponse } from './EncryptResponse';
|
|
100
|
+
export { GetAssetCountResponseBody } from './GetAssetCountResponseBody';
|
|
101
|
+
export { GetAssetCountResponse } from './GetAssetCountResponse';
|
|
99
102
|
export { GetCertWarehouseQuotaResponseBody } from './GetCertWarehouseQuotaResponseBody';
|
|
100
103
|
export { GetCertWarehouseQuotaResponse } from './GetCertWarehouseQuotaResponse';
|
|
101
104
|
export { GetCertificateDetailRequest } from './GetCertificateDetailRequest';
|
|
@@ -110,12 +113,17 @@ export { GetInstanceDetailResponse } from './GetInstanceDetailResponse';
|
|
|
110
113
|
export { GetInstanceSummaryRequest } from './GetInstanceSummaryRequest';
|
|
111
114
|
export { GetInstanceSummaryResponseBody } from './GetInstanceSummaryResponseBody';
|
|
112
115
|
export { GetInstanceSummaryResponse } from './GetInstanceSummaryResponse';
|
|
116
|
+
export { GetRiskCountResponseBody } from './GetRiskCountResponseBody';
|
|
117
|
+
export { GetRiskCountResponse } from './GetRiskCountResponse';
|
|
113
118
|
export { GetTaskAttributeRequest } from './GetTaskAttributeRequest';
|
|
114
119
|
export { GetTaskAttributeResponseBody } from './GetTaskAttributeResponseBody';
|
|
115
120
|
export { GetTaskAttributeResponse } from './GetTaskAttributeResponse';
|
|
116
121
|
export { GetUserCertificateDetailRequest } from './GetUserCertificateDetailRequest';
|
|
117
122
|
export { GetUserCertificateDetailResponseBody } from './GetUserCertificateDetailResponseBody';
|
|
118
123
|
export { GetUserCertificateDetailResponse } from './GetUserCertificateDetailResponse';
|
|
124
|
+
export { ListAssetCountRequest } from './ListAssetCountRequest';
|
|
125
|
+
export { ListAssetCountResponseBody } from './ListAssetCountResponseBody';
|
|
126
|
+
export { ListAssetCountResponse } from './ListAssetCountResponse';
|
|
119
127
|
export { ListCertRequest } from './ListCertRequest';
|
|
120
128
|
export { ListCertResponseBody } from './ListCertResponseBody';
|
|
121
129
|
export { ListCertResponse } from './ListCertResponse';
|