Skip to content

Commit 452e16c

Browse files
committed
Update API GetQuota: add request parameters WithNodeMeta.
1 parent b1f6238 commit 452e16c

File tree

5 files changed

+42
-1
lines changed

5 files changed

+42
-1
lines changed

paistudio-20220112/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/paistudio20220112",
3-
"version": "1.2.13",
3+
"version": "1.2.14",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

paistudio-20220112/src/client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,6 +1008,10 @@ export default class Client extends OpenApi {
10081008
query["Verbose"] = request.verbose;
10091009
}
10101010

1011+
if (!$dara.isNull(request.withNodeMeta)) {
1012+
query["WithNodeMeta"] = request.withNodeMeta;
1013+
}
1014+
10111015
let req = new $OpenApiUtil.OpenApiRequest({
10121016
headers: headers,
10131017
query: OpenApiUtil.query(query),
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// This file is auto-generated, don't edit it
2+
import * as $dara from '@darabonba/typescript';
3+
4+
5+
export class AssignNodeSpec extends $dara.Model {
6+
antiAffinityNodeNames?: string;
7+
enableAssignNode?: boolean;
8+
nodeNames?: string;
9+
static names(): { [key: string]: string } {
10+
return {
11+
antiAffinityNodeNames: 'AntiAffinityNodeNames',
12+
enableAssignNode: 'EnableAssignNode',
13+
nodeNames: 'NodeNames',
14+
};
15+
}
16+
17+
static types(): { [key: string]: any } {
18+
return {
19+
antiAffinityNodeNames: 'string',
20+
enableAssignNode: 'boolean',
21+
nodeNames: 'string',
22+
};
23+
}
24+
25+
validate() {
26+
super.validate();
27+
}
28+
29+
constructor(map?: { [key: string]: any }) {
30+
super(map);
31+
}
32+
}
33+

paistudio-20220112/src/models/GetQuotaRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ import * as $dara from '@darabonba/typescript';
44

55
export class GetQuotaRequest extends $dara.Model {
66
verbose?: boolean;
7+
withNodeMeta?: boolean;
78
static names(): { [key: string]: string } {
89
return {
910
verbose: 'Verbose',
11+
withNodeMeta: 'WithNodeMeta',
1012
};
1113
}
1214

1315
static types(): { [key: string]: any } {
1416
return {
1517
verbose: 'boolean',
18+
withNodeMeta: 'boolean',
1619
};
1720
}
1821

paistudio-20220112/src/models/model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export { ACS } from './Acs';
6464
export { Action } from './Action';
6565
export { AlgorithmSpec } from './AlgorithmSpec';
6666
export { AllocateStrategySpec } from './AllocateStrategySpec';
67+
export { AssignNodeSpec } from './AssignNodeSpec';
6768
export { BindingPolicy } from './BindingPolicy';
6869
export { CacheInfo } from './CacheInfo';
6970
export { CacheService } from './CacheService';

0 commit comments

Comments
 (0)