@alicloud/gpdb20160503 3.8.0 → 3.10.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 +159 -0
- package/dist/client.js +467 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateModelOperatorApiKeyRequest.d.ts +21 -0
- package/dist/models/CreateModelOperatorApiKeyRequest.js +58 -0
- package/dist/models/CreateModelOperatorApiKeyRequest.js.map +1 -0
- package/dist/models/CreateModelOperatorApiKeyResponse.d.ts +19 -0
- package/dist/models/CreateModelOperatorApiKeyResponse.js +69 -0
- package/dist/models/CreateModelOperatorApiKeyResponse.js.map +1 -0
- package/dist/models/CreateModelOperatorApiKeyResponseBody.d.ts +23 -0
- package/dist/models/CreateModelOperatorApiKeyResponseBody.js +60 -0
- package/dist/models/CreateModelOperatorApiKeyResponseBody.js.map +1 -0
- package/dist/models/DescribeModelOperatorApiKeyRequest.d.ts +18 -0
- package/dist/models/DescribeModelOperatorApiKeyRequest.js +58 -0
- package/dist/models/DescribeModelOperatorApiKeyRequest.js.map +1 -0
- package/dist/models/DescribeModelOperatorApiKeyResponse.d.ts +19 -0
- package/dist/models/DescribeModelOperatorApiKeyResponse.js +69 -0
- package/dist/models/DescribeModelOperatorApiKeyResponse.js.map +1 -0
- package/dist/models/DescribeModelOperatorApiKeyResponseBody.d.ts +43 -0
- package/dist/models/DescribeModelOperatorApiKeyResponseBody.js +68 -0
- package/dist/models/DescribeModelOperatorApiKeyResponseBody.js.map +1 -0
- package/dist/models/DescribeModelOperatorUsageRequest.d.ts +36 -0
- package/dist/models/DescribeModelOperatorUsageRequest.js +79 -0
- package/dist/models/DescribeModelOperatorUsageRequest.js.map +1 -0
- package/dist/models/DescribeModelOperatorUsageResponse.d.ts +19 -0
- package/dist/models/DescribeModelOperatorUsageResponse.js +69 -0
- package/dist/models/DescribeModelOperatorUsageResponse.js.map +1 -0
- package/dist/models/DescribeModelOperatorUsageResponseBody.d.ts +98 -0
- package/dist/models/DescribeModelOperatorUsageResponseBody.js +145 -0
- package/dist/models/DescribeModelOperatorUsageResponseBody.js.map +1 -0
- package/dist/models/DescribeModelOperatorUsageShrinkRequest.d.ts +36 -0
- package/dist/models/DescribeModelOperatorUsageShrinkRequest.js +70 -0
- package/dist/models/DescribeModelOperatorUsageShrinkRequest.js.map +1 -0
- package/dist/models/ListModelOperatorApiKeysRequest.d.ts +23 -0
- package/dist/models/ListModelOperatorApiKeysRequest.js +60 -0
- package/dist/models/ListModelOperatorApiKeysRequest.js.map +1 -0
- package/dist/models/ListModelOperatorApiKeysResponse.d.ts +19 -0
- package/dist/models/ListModelOperatorApiKeysResponse.js +69 -0
- package/dist/models/ListModelOperatorApiKeysResponse.js.map +1 -0
- package/dist/models/ListModelOperatorApiKeysResponseBody.d.ts +66 -0
- package/dist/models/ListModelOperatorApiKeysResponseBody.js +94 -0
- package/dist/models/ListModelOperatorApiKeysResponseBody.js.map +1 -0
- package/dist/models/ListModelOperatorServicesRequest.d.ts +23 -0
- package/dist/models/ListModelOperatorServicesRequest.js +60 -0
- package/dist/models/ListModelOperatorServicesRequest.js.map +1 -0
- package/dist/models/ListModelOperatorServicesResponse.d.ts +19 -0
- package/dist/models/ListModelOperatorServicesResponse.js +69 -0
- package/dist/models/ListModelOperatorServicesResponse.js.map +1 -0
- package/dist/models/ListModelOperatorServicesResponseBody.d.ts +51 -0
- package/dist/models/ListModelOperatorServicesResponseBody.js +88 -0
- package/dist/models/ListModelOperatorServicesResponseBody.js.map +1 -0
- package/dist/models/ResetBranchRequest.d.ts +41 -0
- package/dist/models/ResetBranchRequest.js +62 -0
- package/dist/models/ResetBranchRequest.js.map +1 -0
- package/dist/models/ResetBranchResponse.d.ts +19 -0
- package/dist/models/ResetBranchResponse.js +69 -0
- package/dist/models/ResetBranchResponse.js.map +1 -0
- package/dist/models/ResetBranchResponseBody.d.ts +21 -0
- package/dist/models/ResetBranchResponseBody.js +58 -0
- package/dist/models/ResetBranchResponseBody.js.map +1 -0
- package/dist/models/RestoreBranchRequest.d.ts +83 -0
- package/dist/models/RestoreBranchRequest.js +72 -0
- package/dist/models/RestoreBranchRequest.js.map +1 -0
- package/dist/models/RestoreBranchResponse.d.ts +19 -0
- package/dist/models/RestoreBranchResponse.js +69 -0
- package/dist/models/RestoreBranchResponse.js.map +1 -0
- package/dist/models/RestoreBranchResponseBody.d.ts +29 -0
- package/dist/models/RestoreBranchResponseBody.js +60 -0
- package/dist/models/RestoreBranchResponseBody.js.map +1 -0
- package/dist/models/SetAsDefaultBranchRequest.d.ts +41 -0
- package/dist/models/SetAsDefaultBranchRequest.js +62 -0
- package/dist/models/SetAsDefaultBranchRequest.js.map +1 -0
- package/dist/models/SetAsDefaultBranchResponse.d.ts +19 -0
- package/dist/models/SetAsDefaultBranchResponse.js +69 -0
- package/dist/models/SetAsDefaultBranchResponse.js.map +1 -0
- package/dist/models/SetAsDefaultBranchResponseBody.d.ts +21 -0
- package/dist/models/SetAsDefaultBranchResponseBody.js +58 -0
- package/dist/models/SetAsDefaultBranchResponseBody.js.map +1 -0
- package/dist/models/UpdateBranchRequest.d.ts +126 -0
- package/dist/models/UpdateBranchRequest.js +98 -0
- package/dist/models/UpdateBranchRequest.js.map +1 -0
- package/dist/models/UpdateBranchResponse.d.ts +19 -0
- package/dist/models/UpdateBranchResponse.js +69 -0
- package/dist/models/UpdateBranchResponse.js.map +1 -0
- package/dist/models/UpdateBranchResponseBody.d.ts +21 -0
- package/dist/models/UpdateBranchResponseBody.js +58 -0
- package/dist/models/UpdateBranchResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +34 -0
- package/dist/models/model.js +89 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +524 -0
- package/src/models/CreateModelOperatorApiKeyRequest.ts +34 -0
- package/src/models/CreateModelOperatorApiKeyResponse.ts +40 -0
- package/src/models/CreateModelOperatorApiKeyResponseBody.ts +38 -0
- package/src/models/DescribeModelOperatorApiKeyRequest.ts +31 -0
- package/src/models/DescribeModelOperatorApiKeyResponse.ts +40 -0
- package/src/models/DescribeModelOperatorApiKeyResponseBody.ts +66 -0
- package/src/models/DescribeModelOperatorUsageRequest.ts +70 -0
- package/src/models/DescribeModelOperatorUsageResponse.ts +40 -0
- package/src/models/DescribeModelOperatorUsageResponseBody.ts +171 -0
- package/src/models/DescribeModelOperatorUsageShrinkRequest.ts +61 -0
- package/src/models/ListModelOperatorApiKeysRequest.ts +38 -0
- package/src/models/ListModelOperatorApiKeysResponse.ts +40 -0
- package/src/models/ListModelOperatorApiKeysResponseBody.ts +106 -0
- package/src/models/ListModelOperatorServicesRequest.ts +38 -0
- package/src/models/ListModelOperatorServicesResponse.ts +40 -0
- package/src/models/ListModelOperatorServicesResponseBody.ts +85 -0
- package/src/models/ResetBranchRequest.ts +58 -0
- package/src/models/ResetBranchResponse.ts +40 -0
- package/src/models/ResetBranchResponseBody.ts +34 -0
- package/src/models/RestoreBranchRequest.ts +110 -0
- package/src/models/RestoreBranchResponse.ts +40 -0
- package/src/models/RestoreBranchResponseBody.ts +44 -0
- package/src/models/SetAsDefaultBranchRequest.ts +58 -0
- package/src/models/SetAsDefaultBranchResponse.ts +40 -0
- package/src/models/SetAsDefaultBranchResponseBody.ts +34 -0
- package/src/models/UpdateBranchRequest.ts +170 -0
- package/src/models/UpdateBranchResponse.ts +40 -0
- package/src/models/UpdateBranchResponseBody.ts +34 -0
- package/src/models/model.ts +34 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeModelOperatorApiKeyRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
apiKeyId?: number;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
apiKeyId: 'ApiKeyId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
apiKeyId: 'number',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeModelOperatorApiKeyResponseBody } from "./DescribeModelOperatorApiKeyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeModelOperatorApiKeyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeModelOperatorApiKeyResponseBody;
|
|
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: DescribeModelOperatorApiKeyResponseBody,
|
|
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,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeModelOperatorApiKeyResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* QEDGOTAJOG
|
|
9
|
+
*/
|
|
10
|
+
apiKey?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
apiKeyId?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 2026-06-01T00:00:00Z
|
|
19
|
+
*/
|
|
20
|
+
createTime?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* test-apikey
|
|
24
|
+
*/
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* https://xxxx
|
|
29
|
+
*/
|
|
30
|
+
endpoint?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
34
|
+
*/
|
|
35
|
+
requestId?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
apiKey: 'ApiKey',
|
|
39
|
+
apiKeyId: 'ApiKeyId',
|
|
40
|
+
createTime: 'CreateTime',
|
|
41
|
+
description: 'Description',
|
|
42
|
+
endpoint: 'Endpoint',
|
|
43
|
+
requestId: 'RequestId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
apiKey: 'string',
|
|
50
|
+
apiKeyId: 'number',
|
|
51
|
+
createTime: 'string',
|
|
52
|
+
description: 'string',
|
|
53
|
+
endpoint: 'string',
|
|
54
|
+
requestId: '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,70 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeModelOperatorUsageRequest extends $dara.Model {
|
|
6
|
+
apiKeyIds?: number[];
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 2026-06-02T00:00Z
|
|
10
|
+
*/
|
|
11
|
+
endTime?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* model
|
|
15
|
+
*/
|
|
16
|
+
groupBy?: string;
|
|
17
|
+
keys?: string[];
|
|
18
|
+
modelNames?: string[];
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 1
|
|
22
|
+
*/
|
|
23
|
+
period?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* 2026-06-01T00:00Z
|
|
27
|
+
*/
|
|
28
|
+
startTime?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
apiKeyIds: 'ApiKeyIds',
|
|
32
|
+
endTime: 'EndTime',
|
|
33
|
+
groupBy: 'GroupBy',
|
|
34
|
+
keys: 'Keys',
|
|
35
|
+
modelNames: 'ModelNames',
|
|
36
|
+
period: 'Period',
|
|
37
|
+
startTime: 'StartTime',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
apiKeyIds: { 'type': 'array', 'itemType': 'number' },
|
|
44
|
+
endTime: 'string',
|
|
45
|
+
groupBy: 'string',
|
|
46
|
+
keys: { 'type': 'array', 'itemType': 'string' },
|
|
47
|
+
modelNames: { 'type': 'array', 'itemType': 'string' },
|
|
48
|
+
period: 'number',
|
|
49
|
+
startTime: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
validate() {
|
|
54
|
+
if(Array.isArray(this.apiKeyIds)) {
|
|
55
|
+
$dara.Model.validateArray(this.apiKeyIds);
|
|
56
|
+
}
|
|
57
|
+
if(Array.isArray(this.keys)) {
|
|
58
|
+
$dara.Model.validateArray(this.keys);
|
|
59
|
+
}
|
|
60
|
+
if(Array.isArray(this.modelNames)) {
|
|
61
|
+
$dara.Model.validateArray(this.modelNames);
|
|
62
|
+
}
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
constructor(map?: { [key: string]: any }) {
|
|
67
|
+
super(map);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeModelOperatorUsageResponseBody } from "./DescribeModelOperatorUsageResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeModelOperatorUsageResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeModelOperatorUsageResponseBody;
|
|
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: DescribeModelOperatorUsageResponseBody,
|
|
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,171 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeModelOperatorUsageResponseBodyKeysSeriesValues extends $dara.Model {
|
|
6
|
+
point?: string[];
|
|
7
|
+
static names(): { [key: string]: string } {
|
|
8
|
+
return {
|
|
9
|
+
point: 'Point',
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
static types(): { [key: string]: any } {
|
|
14
|
+
return {
|
|
15
|
+
point: { 'type': 'array', 'itemType': 'string' },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
validate() {
|
|
20
|
+
if(Array.isArray(this.point)) {
|
|
21
|
+
$dara.Model.validateArray(this.point);
|
|
22
|
+
}
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export class DescribeModelOperatorUsageResponseBodyKeysSeries extends $dara.Model {
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* 1
|
|
35
|
+
*/
|
|
36
|
+
apiKeyId?: number;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* qwen3.6-plus
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* model
|
|
45
|
+
*/
|
|
46
|
+
role?: string;
|
|
47
|
+
values?: DescribeModelOperatorUsageResponseBodyKeysSeriesValues[];
|
|
48
|
+
static names(): { [key: string]: string } {
|
|
49
|
+
return {
|
|
50
|
+
apiKeyId: 'ApiKeyId',
|
|
51
|
+
name: 'Name',
|
|
52
|
+
role: 'Role',
|
|
53
|
+
values: 'Values',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
static types(): { [key: string]: any } {
|
|
58
|
+
return {
|
|
59
|
+
apiKeyId: 'number',
|
|
60
|
+
name: 'string',
|
|
61
|
+
role: 'string',
|
|
62
|
+
values: { 'type': 'array', 'itemType': DescribeModelOperatorUsageResponseBodyKeysSeriesValues },
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
if(Array.isArray(this.values)) {
|
|
68
|
+
$dara.Model.validateArray(this.values);
|
|
69
|
+
}
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
constructor(map?: { [key: string]: any }) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export class DescribeModelOperatorUsageResponseBodyKeys extends $dara.Model {
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* request_count
|
|
82
|
+
*/
|
|
83
|
+
name?: string;
|
|
84
|
+
series?: DescribeModelOperatorUsageResponseBodyKeysSeries[];
|
|
85
|
+
/**
|
|
86
|
+
* @example
|
|
87
|
+
* requests
|
|
88
|
+
*/
|
|
89
|
+
unit?: string;
|
|
90
|
+
static names(): { [key: string]: string } {
|
|
91
|
+
return {
|
|
92
|
+
name: 'Name',
|
|
93
|
+
series: 'Series',
|
|
94
|
+
unit: 'Unit',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
static types(): { [key: string]: any } {
|
|
99
|
+
return {
|
|
100
|
+
name: 'string',
|
|
101
|
+
series: { 'type': 'array', 'itemType': DescribeModelOperatorUsageResponseBodyKeysSeries },
|
|
102
|
+
unit: 'string',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
validate() {
|
|
107
|
+
if(Array.isArray(this.series)) {
|
|
108
|
+
$dara.Model.validateArray(this.series);
|
|
109
|
+
}
|
|
110
|
+
super.validate();
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
constructor(map?: { [key: string]: any }) {
|
|
114
|
+
super(map);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export class DescribeModelOperatorUsageResponseBody extends $dara.Model {
|
|
119
|
+
/**
|
|
120
|
+
* @example
|
|
121
|
+
* 2026-06-02T00:00Z
|
|
122
|
+
*/
|
|
123
|
+
endTime?: string;
|
|
124
|
+
keys?: DescribeModelOperatorUsageResponseBodyKeys[];
|
|
125
|
+
/**
|
|
126
|
+
* @example
|
|
127
|
+
* 1
|
|
128
|
+
*/
|
|
129
|
+
period?: number;
|
|
130
|
+
/**
|
|
131
|
+
* @example
|
|
132
|
+
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
133
|
+
*/
|
|
134
|
+
requestId?: string;
|
|
135
|
+
/**
|
|
136
|
+
* @example
|
|
137
|
+
* 2026-06-01T00:00Z
|
|
138
|
+
*/
|
|
139
|
+
startTime?: string;
|
|
140
|
+
static names(): { [key: string]: string } {
|
|
141
|
+
return {
|
|
142
|
+
endTime: 'EndTime',
|
|
143
|
+
keys: 'Keys',
|
|
144
|
+
period: 'Period',
|
|
145
|
+
requestId: 'RequestId',
|
|
146
|
+
startTime: 'StartTime',
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
static types(): { [key: string]: any } {
|
|
151
|
+
return {
|
|
152
|
+
endTime: 'string',
|
|
153
|
+
keys: { 'type': 'array', 'itemType': DescribeModelOperatorUsageResponseBodyKeys },
|
|
154
|
+
period: 'number',
|
|
155
|
+
requestId: 'string',
|
|
156
|
+
startTime: 'string',
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
validate() {
|
|
161
|
+
if(Array.isArray(this.keys)) {
|
|
162
|
+
$dara.Model.validateArray(this.keys);
|
|
163
|
+
}
|
|
164
|
+
super.validate();
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
constructor(map?: { [key: string]: any }) {
|
|
168
|
+
super(map);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeModelOperatorUsageShrinkRequest extends $dara.Model {
|
|
6
|
+
apiKeyIdsShrink?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 2026-06-02T00:00Z
|
|
10
|
+
*/
|
|
11
|
+
endTime?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* model
|
|
15
|
+
*/
|
|
16
|
+
groupBy?: string;
|
|
17
|
+
keysShrink?: string;
|
|
18
|
+
modelNamesShrink?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 1
|
|
22
|
+
*/
|
|
23
|
+
period?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* 2026-06-01T00:00Z
|
|
27
|
+
*/
|
|
28
|
+
startTime?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
apiKeyIdsShrink: 'ApiKeyIds',
|
|
32
|
+
endTime: 'EndTime',
|
|
33
|
+
groupBy: 'GroupBy',
|
|
34
|
+
keysShrink: 'Keys',
|
|
35
|
+
modelNamesShrink: 'ModelNames',
|
|
36
|
+
period: 'Period',
|
|
37
|
+
startTime: 'StartTime',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
apiKeyIdsShrink: 'string',
|
|
44
|
+
endTime: 'string',
|
|
45
|
+
groupBy: 'string',
|
|
46
|
+
keysShrink: 'string',
|
|
47
|
+
modelNamesShrink: 'string',
|
|
48
|
+
period: 'number',
|
|
49
|
+
startTime: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
validate() {
|
|
54
|
+
super.validate();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
constructor(map?: { [key: string]: any }) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListModelOperatorApiKeysRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
pageNumber?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 20
|
|
14
|
+
*/
|
|
15
|
+
pageSize?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
pageNumber: 'PageNumber',
|
|
19
|
+
pageSize: 'PageSize',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
pageNumber: 'number',
|
|
26
|
+
pageSize: 'number',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListModelOperatorApiKeysResponseBody } from "./ListModelOperatorApiKeysResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListModelOperatorApiKeysResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListModelOperatorApiKeysResponseBody;
|
|
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: ListModelOperatorApiKeysResponseBody,
|
|
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,106 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListModelOperatorApiKeysResponseBodyApiKeys extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
apiKeyId?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 2026-06-01T00:00:00Z
|
|
14
|
+
*/
|
|
15
|
+
createTime?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* test-apikey
|
|
19
|
+
*/
|
|
20
|
+
description?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* https://xxxx
|
|
24
|
+
*/
|
|
25
|
+
endpoint?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
apiKeyId: 'ApiKeyId',
|
|
29
|
+
createTime: 'CreateTime',
|
|
30
|
+
description: 'Description',
|
|
31
|
+
endpoint: 'Endpoint',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
apiKeyId: 'number',
|
|
38
|
+
createTime: 'string',
|
|
39
|
+
description: 'string',
|
|
40
|
+
endpoint: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class ListModelOperatorApiKeysResponseBody extends $dara.Model {
|
|
54
|
+
apiKeys?: ListModelOperatorApiKeysResponseBodyApiKeys[];
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* 1
|
|
58
|
+
*/
|
|
59
|
+
pageNumber?: number;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* 1
|
|
63
|
+
*/
|
|
64
|
+
pageRecordCount?: number;
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
68
|
+
*/
|
|
69
|
+
requestId?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @example
|
|
72
|
+
* 2
|
|
73
|
+
*/
|
|
74
|
+
totalRecordCount?: number;
|
|
75
|
+
static names(): { [key: string]: string } {
|
|
76
|
+
return {
|
|
77
|
+
apiKeys: 'ApiKeys',
|
|
78
|
+
pageNumber: 'PageNumber',
|
|
79
|
+
pageRecordCount: 'PageRecordCount',
|
|
80
|
+
requestId: 'RequestId',
|
|
81
|
+
totalRecordCount: 'TotalRecordCount',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
static types(): { [key: string]: any } {
|
|
86
|
+
return {
|
|
87
|
+
apiKeys: { 'type': 'array', 'itemType': ListModelOperatorApiKeysResponseBodyApiKeys },
|
|
88
|
+
pageNumber: 'number',
|
|
89
|
+
pageRecordCount: 'number',
|
|
90
|
+
requestId: 'string',
|
|
91
|
+
totalRecordCount: 'number',
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
validate() {
|
|
96
|
+
if(Array.isArray(this.apiKeys)) {
|
|
97
|
+
$dara.Model.validateArray(this.apiKeys);
|
|
98
|
+
}
|
|
99
|
+
super.validate();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
constructor(map?: { [key: string]: any }) {
|
|
103
|
+
super(map);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListModelOperatorServicesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
pageNumber?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 20
|
|
14
|
+
*/
|
|
15
|
+
pageSize?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
pageNumber: 'PageNumber',
|
|
19
|
+
pageSize: 'PageSize',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
pageNumber: 'number',
|
|
26
|
+
pageSize: 'number',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|