@alicloud/xtee20210910 2.1.2 → 2.2.1
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 +45 -0
- package/dist/client.js +162 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CompareRuleRequest.d.ts +47 -0
- package/dist/models/CompareRuleRequest.js +64 -0
- package/dist/models/CompareRuleRequest.js.map +1 -0
- package/dist/models/CompareRuleResponse.d.ts +19 -0
- package/dist/models/CompareRuleResponse.js +69 -0
- package/dist/models/CompareRuleResponse.js.map +1 -0
- package/dist/models/CompareRuleResponseBody.d.ts +644 -0
- package/dist/models/CompareRuleResponseBody.js +222 -0
- package/dist/models/CompareRuleResponseBody.js.map +1 -0
- package/dist/models/DescribeExpressionVariableVersionDetailRequest.d.ts +63 -0
- package/dist/models/DescribeExpressionVariableVersionDetailRequest.js +68 -0
- package/dist/models/DescribeExpressionVariableVersionDetailRequest.js.map +1 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponse.d.ts +19 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponse.js +69 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponse.js.map +1 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponseBody.d.ts +214 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponseBody.js +124 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponseBody.js.map +1 -0
- package/dist/models/DescribeListPocRequest.d.ts +2 -0
- package/dist/models/DescribeListPocRequest.js +4 -0
- package/dist/models/DescribeListPocRequest.js.map +1 -1
- package/dist/models/DescribeSafDeOrderResponseBody.d.ts +30 -0
- package/dist/models/DescribeSafDeOrderResponseBody.js.map +1 -1
- package/dist/models/DescribeVariableVersionDetailRequest.d.ts +63 -0
- package/dist/models/DescribeVariableVersionDetailRequest.js +68 -0
- package/dist/models/DescribeVariableVersionDetailRequest.js.map +1 -0
- package/dist/models/DescribeVariableVersionDetailResponse.d.ts +19 -0
- package/dist/models/DescribeVariableVersionDetailResponse.js +69 -0
- package/dist/models/DescribeVariableVersionDetailResponse.js.map +1 -0
- package/dist/models/DescribeVariableVersionDetailResponseBody.d.ts +166 -0
- package/dist/models/DescribeVariableVersionDetailResponseBody.js +112 -0
- package/dist/models/DescribeVariableVersionDetailResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +14 -0
- package/dist/models/model.js +50 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +186 -0
- package/src/models/CompareRuleRequest.ts +66 -0
- package/src/models/CompareRuleResponse.ts +40 -0
- package/src/models/CompareRuleResponseBody.ts +790 -0
- package/src/models/DescribeExpressionVariableVersionDetailRequest.ts +86 -0
- package/src/models/DescribeExpressionVariableVersionDetailResponse.ts +40 -0
- package/src/models/DescribeExpressionVariableVersionDetailResponseBody.ts +284 -0
- package/src/models/DescribeListPocRequest.ts +6 -0
- package/src/models/DescribeSafDeOrderResponseBody.ts +30 -0
- package/src/models/DescribeVariableVersionDetailRequest.ts +86 -0
- package/src/models/DescribeVariableVersionDetailResponse.ts +40 -0
- package/src/models/DescribeVariableVersionDetailResponseBody.ts +224 -0
- package/src/models/model.ts +14 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeExpressionVariableVersionDetailRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Sets the language type for requests and received messages, default value is **zh**. Values:
|
|
9
|
+
* - **zh**: Chinese
|
|
10
|
+
* - **en**: English
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* zh
|
|
14
|
+
*/
|
|
15
|
+
lang?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* Associated variable code.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ex_0kWIfZ27c525
|
|
22
|
+
*/
|
|
23
|
+
objectCode?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* Associated variable primary key ID.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* 397625
|
|
30
|
+
*/
|
|
31
|
+
objectId?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* Region code.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* cn-hangzhou
|
|
38
|
+
*/
|
|
39
|
+
regId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* Variable type.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* EXPRESSION
|
|
46
|
+
*/
|
|
47
|
+
type?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* Version number.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* 2
|
|
54
|
+
*/
|
|
55
|
+
version?: number;
|
|
56
|
+
static names(): { [key: string]: string } {
|
|
57
|
+
return {
|
|
58
|
+
lang: 'Lang',
|
|
59
|
+
objectCode: 'objectCode',
|
|
60
|
+
objectId: 'objectId',
|
|
61
|
+
regId: 'regId',
|
|
62
|
+
type: 'type',
|
|
63
|
+
version: 'version',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
lang: 'string',
|
|
70
|
+
objectCode: 'string',
|
|
71
|
+
objectId: 'number',
|
|
72
|
+
regId: 'string',
|
|
73
|
+
type: 'string',
|
|
74
|
+
version: 'number',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
validate() {
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeExpressionVariableVersionDetailResponseBody } from "./DescribeExpressionVariableVersionDetailResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeExpressionVariableVersionDetailResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeExpressionVariableVersionDetailResponseBody;
|
|
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: DescribeExpressionVariableVersionDetailResponseBody,
|
|
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,284 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeExpressionVariableVersionDetailResponseBodyResultObject extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Creation type.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* MORMAL
|
|
12
|
+
*/
|
|
13
|
+
createType?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Description information.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 变量描述
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Expression.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* @ex_GX9rrlTq4b67 + 1001
|
|
28
|
+
*/
|
|
29
|
+
expression?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* Expression title.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* @selfvariable_02 + 1001
|
|
36
|
+
*/
|
|
37
|
+
expressionTitle?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* Expression variable.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ex_GX9rrlTq4b67
|
|
44
|
+
*/
|
|
45
|
+
expressionVariable?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* Field ranking.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 0
|
|
52
|
+
*/
|
|
53
|
+
fieldRank?: number;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Creation time.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 1762409015000
|
|
60
|
+
*/
|
|
61
|
+
gmtCreate?: number;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* Modification time.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 1762409026000
|
|
68
|
+
*/
|
|
69
|
+
gmtModified?: number;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* Custom variable primary key.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* 397625
|
|
76
|
+
*/
|
|
77
|
+
id?: number;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* Invoke key.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* deInvokeSelfVariable_v1
|
|
84
|
+
*/
|
|
85
|
+
invokeKey?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* Variable name, a uniquely generated identifier.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ex_0kWIfZ27c525
|
|
92
|
+
*/
|
|
93
|
+
name?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* Outlier.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* SYS_ERROR
|
|
100
|
+
*/
|
|
101
|
+
outlier?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* Variable return type.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* EXPRESSION
|
|
108
|
+
*/
|
|
109
|
+
outputs?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* Variable associated event.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* de_awkhwh0314
|
|
116
|
+
*/
|
|
117
|
+
refObjId?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* Variable association type.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* EVENT_BY_EXPRESSION
|
|
124
|
+
*/
|
|
125
|
+
refObjType?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* Region ID.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* cn-hangzhou
|
|
132
|
+
*/
|
|
133
|
+
region?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* Source type.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* SAF
|
|
140
|
+
*/
|
|
141
|
+
sourceType?: string;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* Status.
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* ENABLE
|
|
148
|
+
*/
|
|
149
|
+
status?: string;
|
|
150
|
+
/**
|
|
151
|
+
* @remarks
|
|
152
|
+
* Variable title.
|
|
153
|
+
*
|
|
154
|
+
* @example
|
|
155
|
+
* 年龄
|
|
156
|
+
*/
|
|
157
|
+
title?: string;
|
|
158
|
+
/**
|
|
159
|
+
* @remarks
|
|
160
|
+
* Variable type.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* EXPRESSION
|
|
164
|
+
*/
|
|
165
|
+
type?: string;
|
|
166
|
+
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* User UID.
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* 151222xxxxxxxxxx
|
|
172
|
+
*/
|
|
173
|
+
userId?: number;
|
|
174
|
+
/**
|
|
175
|
+
* @remarks
|
|
176
|
+
* Variable version.
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* 2
|
|
180
|
+
*/
|
|
181
|
+
version?: number;
|
|
182
|
+
static names(): { [key: string]: string } {
|
|
183
|
+
return {
|
|
184
|
+
createType: 'createType',
|
|
185
|
+
description: 'description',
|
|
186
|
+
expression: 'expression',
|
|
187
|
+
expressionTitle: 'expressionTitle',
|
|
188
|
+
expressionVariable: 'expressionVariable',
|
|
189
|
+
fieldRank: 'fieldRank',
|
|
190
|
+
gmtCreate: 'gmtCreate',
|
|
191
|
+
gmtModified: 'gmtModified',
|
|
192
|
+
id: 'id',
|
|
193
|
+
invokeKey: 'invokeKey',
|
|
194
|
+
name: 'name',
|
|
195
|
+
outlier: 'outlier',
|
|
196
|
+
outputs: 'outputs',
|
|
197
|
+
refObjId: 'refObjId',
|
|
198
|
+
refObjType: 'refObjType',
|
|
199
|
+
region: 'region',
|
|
200
|
+
sourceType: 'sourceType',
|
|
201
|
+
status: 'status',
|
|
202
|
+
title: 'title',
|
|
203
|
+
type: 'type',
|
|
204
|
+
userId: 'userId',
|
|
205
|
+
version: 'version',
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
static types(): { [key: string]: any } {
|
|
210
|
+
return {
|
|
211
|
+
createType: 'string',
|
|
212
|
+
description: 'string',
|
|
213
|
+
expression: 'string',
|
|
214
|
+
expressionTitle: 'string',
|
|
215
|
+
expressionVariable: 'string',
|
|
216
|
+
fieldRank: 'number',
|
|
217
|
+
gmtCreate: 'number',
|
|
218
|
+
gmtModified: 'number',
|
|
219
|
+
id: 'number',
|
|
220
|
+
invokeKey: 'string',
|
|
221
|
+
name: 'string',
|
|
222
|
+
outlier: 'string',
|
|
223
|
+
outputs: 'string',
|
|
224
|
+
refObjId: 'string',
|
|
225
|
+
refObjType: 'string',
|
|
226
|
+
region: 'string',
|
|
227
|
+
sourceType: 'string',
|
|
228
|
+
status: 'string',
|
|
229
|
+
title: 'string',
|
|
230
|
+
type: 'string',
|
|
231
|
+
userId: 'number',
|
|
232
|
+
version: 'number',
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
validate() {
|
|
237
|
+
super.validate();
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
constructor(map?: { [key: string]: any }) {
|
|
241
|
+
super(map);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export class DescribeExpressionVariableVersionDetailResponseBody extends $dara.Model {
|
|
246
|
+
/**
|
|
247
|
+
* @remarks
|
|
248
|
+
* Request ID.
|
|
249
|
+
*
|
|
250
|
+
* @example
|
|
251
|
+
* A32FE941-35F2-5378-B37C-4B8FDB16F094
|
|
252
|
+
*/
|
|
253
|
+
requestId?: string;
|
|
254
|
+
/**
|
|
255
|
+
* @remarks
|
|
256
|
+
* Returned object.
|
|
257
|
+
*/
|
|
258
|
+
resultObject?: DescribeExpressionVariableVersionDetailResponseBodyResultObject;
|
|
259
|
+
static names(): { [key: string]: string } {
|
|
260
|
+
return {
|
|
261
|
+
requestId: 'RequestId',
|
|
262
|
+
resultObject: 'resultObject',
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
static types(): { [key: string]: any } {
|
|
267
|
+
return {
|
|
268
|
+
requestId: 'string',
|
|
269
|
+
resultObject: DescribeExpressionVariableVersionDetailResponseBodyResultObject,
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
validate() {
|
|
274
|
+
if(this.resultObject && typeof (this.resultObject as any).validate === 'function') {
|
|
275
|
+
(this.resultObject as any).validate();
|
|
276
|
+
}
|
|
277
|
+
super.validate();
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
constructor(map?: { [key: string]: any }) {
|
|
281
|
+
super(map);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
@@ -37,6 +37,8 @@ export class DescribeListPocRequest extends $dara.Model {
|
|
|
37
37
|
* cn-hangzhou
|
|
38
38
|
*/
|
|
39
39
|
regId?: string;
|
|
40
|
+
taskName?: string;
|
|
41
|
+
taskStatus?: string;
|
|
40
42
|
/**
|
|
41
43
|
* @remarks
|
|
42
44
|
* Type
|
|
@@ -51,6 +53,8 @@ export class DescribeListPocRequest extends $dara.Model {
|
|
|
51
53
|
lang: 'Lang',
|
|
52
54
|
pageSize: 'PageSize',
|
|
53
55
|
regId: 'RegId',
|
|
56
|
+
taskName: 'TaskName',
|
|
57
|
+
taskStatus: 'TaskStatus',
|
|
54
58
|
type: 'Type',
|
|
55
59
|
};
|
|
56
60
|
}
|
|
@@ -61,6 +65,8 @@ export class DescribeListPocRequest extends $dara.Model {
|
|
|
61
65
|
lang: 'string',
|
|
62
66
|
pageSize: 'number',
|
|
63
67
|
regId: 'string',
|
|
68
|
+
taskName: 'string',
|
|
69
|
+
taskStatus: 'string',
|
|
64
70
|
type: 'string',
|
|
65
71
|
};
|
|
66
72
|
}
|
|
@@ -3,8 +3,34 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeSafDeOrderResponseBodyResultObjectRegions extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Expiration date (timestamp).
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 2117750400000
|
|
12
|
+
*/
|
|
6
13
|
expirationDate?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Region ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cn-shanghai
|
|
20
|
+
*/
|
|
7
21
|
region?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Specification model:
|
|
25
|
+
*
|
|
26
|
+
* 1: Basic Edition
|
|
27
|
+
* 2: Advanced Edition
|
|
28
|
+
* 3: Premium Edition
|
|
29
|
+
* 4: Flagship Edition
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 1
|
|
33
|
+
*/
|
|
8
34
|
specification?: number;
|
|
9
35
|
static names(): { [key: string]: string } {
|
|
10
36
|
return {
|
|
@@ -52,6 +78,10 @@ export class DescribeSafDeOrderResponseBodyResultObject extends $dara.Model {
|
|
|
52
78
|
* 2
|
|
53
79
|
*/
|
|
54
80
|
openUserType?: number;
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* Activated region permission addresses.
|
|
84
|
+
*/
|
|
55
85
|
regions?: DescribeSafDeOrderResponseBodyResultObjectRegions[];
|
|
56
86
|
static names(): { [key: string]: string } {
|
|
57
87
|
return {
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeVariableVersionDetailRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Sets the language type for requests and received messages, default value is **zh**. Values:
|
|
9
|
+
* - **zh**: Chinese
|
|
10
|
+
* - **en**: English
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* zh
|
|
14
|
+
*/
|
|
15
|
+
lang?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* Associated variable name.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* dHSi2zf5bb8
|
|
22
|
+
*/
|
|
23
|
+
objectCode?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* Associated variable ID.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* 3434
|
|
30
|
+
*/
|
|
31
|
+
objectId?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* Region code.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* cn-hangzhou
|
|
38
|
+
*/
|
|
39
|
+
regId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* Type.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* VELOCITY
|
|
46
|
+
*/
|
|
47
|
+
type?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* Version.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* 2
|
|
54
|
+
*/
|
|
55
|
+
version?: number;
|
|
56
|
+
static names(): { [key: string]: string } {
|
|
57
|
+
return {
|
|
58
|
+
lang: 'Lang',
|
|
59
|
+
objectCode: 'objectCode',
|
|
60
|
+
objectId: 'objectId',
|
|
61
|
+
regId: 'regId',
|
|
62
|
+
type: 'type',
|
|
63
|
+
version: 'version',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
lang: 'string',
|
|
70
|
+
objectCode: 'string',
|
|
71
|
+
objectId: 'number',
|
|
72
|
+
regId: 'string',
|
|
73
|
+
type: 'string',
|
|
74
|
+
version: 'number',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
validate() {
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeVariableVersionDetailResponseBody } from "./DescribeVariableVersionDetailResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeVariableVersionDetailResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeVariableVersionDetailResponseBody;
|
|
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: DescribeVariableVersionDetailResponseBody,
|
|
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
|
+
|