Skip to content

Commit fc49a34

Browse files
committed
Generated ts 2020-12-30 for Sls.
1 parent 6c2f9fe commit fc49a34

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

sls-20201230/package.json

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

sls-20201230/src/models/ListAgentInstanceConfigsResponseBodyConfigs.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as $dara from '@darabonba/typescript';
33

44

55
export class ListAgentInstanceConfigsResponseBodyConfigs extends $dara.Model {
6-
attributes?: string;
6+
attributes?: { [key: string]: string };
77
configType?: string;
88
static names(): { [key: string]: string } {
99
return {
@@ -14,12 +14,15 @@ export class ListAgentInstanceConfigsResponseBodyConfigs extends $dara.Model {
1414

1515
static types(): { [key: string]: any } {
1616
return {
17-
attributes: 'string',
17+
attributes: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1818
configType: 'string',
1919
};
2020
}
2121

2222
validate() {
23+
if(this.attributes) {
24+
$dara.Model.validateMap(this.attributes);
25+
}
2326
super.validate();
2427
}
2528

0 commit comments

Comments
 (0)