tencentcloud-sdk-nodejs-intl-en 3.0.1390 → 3.0.1391
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.
|
@@ -17,24 +17,24 @@
|
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Create terminology entry
|
|
21
21
|
* @class
|
|
22
22
|
*/
|
|
23
|
-
class
|
|
23
|
+
class GlossaryEntryInput extends AbstractModel {
|
|
24
24
|
constructor(){
|
|
25
25
|
super();
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Source language terminology. Maximum 1000 characters.
|
|
29
29
|
* @type {string || null}
|
|
30
30
|
*/
|
|
31
|
-
this.
|
|
31
|
+
this.SourceTerm = null;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {
|
|
34
|
+
* Target language terminology. Maximum 1000 characters.
|
|
35
|
+
* @type {string || null}
|
|
36
36
|
*/
|
|
37
|
-
this.
|
|
37
|
+
this.TargetTerm = null;
|
|
38
38
|
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -45,51 +45,25 @@ class ModifyGlossaryEntriesRequest extends AbstractModel {
|
|
|
45
45
|
if (!params) {
|
|
46
46
|
return;
|
|
47
47
|
}
|
|
48
|
-
this.
|
|
49
|
-
|
|
50
|
-
if (params.Entries) {
|
|
51
|
-
this.Entries = new Array();
|
|
52
|
-
for (let z in params.Entries) {
|
|
53
|
-
let obj = new ModifyGlossaryEntryInput();
|
|
54
|
-
obj.deserialize(params.Entries[z]);
|
|
55
|
-
this.Entries.push(obj);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
48
|
+
this.SourceTerm = 'SourceTerm' in params ? params.SourceTerm : null;
|
|
49
|
+
this.TargetTerm = 'TargetTerm' in params ? params.TargetTerm : null;
|
|
58
50
|
|
|
59
51
|
}
|
|
60
52
|
}
|
|
61
53
|
|
|
62
54
|
/**
|
|
63
|
-
*
|
|
55
|
+
* Delete terminology entry
|
|
64
56
|
* @class
|
|
65
57
|
*/
|
|
66
|
-
class
|
|
58
|
+
class DeleteGlossaryEntryInput extends AbstractModel {
|
|
67
59
|
constructor(){
|
|
68
60
|
super();
|
|
69
61
|
|
|
70
62
|
/**
|
|
71
|
-
* Terminology
|
|
72
|
-
* @type {string || null}
|
|
73
|
-
*/
|
|
74
|
-
this.Name = null;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Source language code. Maximum 16 characters, such as zh (Chinese), en (English).
|
|
78
|
-
* @type {string || null}
|
|
79
|
-
*/
|
|
80
|
-
this.Source = null;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Target language code. Maximum 16 characters, such as zh (Chinese), en (English).
|
|
84
|
-
* @type {string || null}
|
|
85
|
-
*/
|
|
86
|
-
this.Target = null;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Termbase description. Maximum 255 characters.
|
|
63
|
+
* Terminology entry ID. Obtain through the API DescribeGlossaryEntries.
|
|
90
64
|
* @type {string || null}
|
|
91
65
|
*/
|
|
92
|
-
this.
|
|
66
|
+
this.EntryId = null;
|
|
93
67
|
|
|
94
68
|
}
|
|
95
69
|
|
|
@@ -100,39 +74,36 @@ class CreateGlossaryRequest extends AbstractModel {
|
|
|
100
74
|
if (!params) {
|
|
101
75
|
return;
|
|
102
76
|
}
|
|
103
|
-
this.
|
|
104
|
-
this.Source = 'Source' in params ? params.Source : null;
|
|
105
|
-
this.Target = 'Target' in params ? params.Target : null;
|
|
106
|
-
this.Description = 'Description' in params ? params.Description : null;
|
|
77
|
+
this.EntryId = 'EntryId' in params ? params.EntryId : null;
|
|
107
78
|
|
|
108
79
|
}
|
|
109
80
|
}
|
|
110
81
|
|
|
111
82
|
/**
|
|
112
|
-
*
|
|
83
|
+
* DescribeGlossaries response structure.
|
|
113
84
|
* @class
|
|
114
85
|
*/
|
|
115
|
-
class
|
|
86
|
+
class DescribeGlossariesResponse extends AbstractModel {
|
|
116
87
|
constructor(){
|
|
117
88
|
super();
|
|
118
89
|
|
|
119
90
|
/**
|
|
120
|
-
* Terminology
|
|
121
|
-
* @type {Array.<
|
|
91
|
+
* Terminology repository list.
|
|
92
|
+
* @type {Array.<GlossaryItem> || null}
|
|
122
93
|
*/
|
|
123
|
-
this.
|
|
94
|
+
this.Items = null;
|
|
124
95
|
|
|
125
96
|
/**
|
|
126
|
-
* Total number of eligible terminology
|
|
97
|
+
* Total number of eligible terminology repositories.
|
|
127
98
|
* @type {number || null}
|
|
128
99
|
*/
|
|
129
|
-
this.
|
|
100
|
+
this.TotalCount = null;
|
|
130
101
|
|
|
131
102
|
/**
|
|
132
103
|
* Current page.
|
|
133
104
|
* @type {number || null}
|
|
134
105
|
*/
|
|
135
|
-
this.
|
|
106
|
+
this.Current = null;
|
|
136
107
|
|
|
137
108
|
/**
|
|
138
109
|
* Size per page
|
|
@@ -156,16 +127,16 @@ class DescribeGlossaryEntriesResponse extends AbstractModel {
|
|
|
156
127
|
return;
|
|
157
128
|
}
|
|
158
129
|
|
|
159
|
-
if (params.
|
|
160
|
-
this.
|
|
161
|
-
for (let z in params.
|
|
162
|
-
let obj = new
|
|
163
|
-
obj.deserialize(params.
|
|
164
|
-
this.
|
|
130
|
+
if (params.Items) {
|
|
131
|
+
this.Items = new Array();
|
|
132
|
+
for (let z in params.Items) {
|
|
133
|
+
let obj = new GlossaryItem();
|
|
134
|
+
obj.deserialize(params.Items[z]);
|
|
135
|
+
this.Items.push(obj);
|
|
165
136
|
}
|
|
166
137
|
}
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
138
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
139
|
+
this.Current = 'Current' in params ? params.Current : null;
|
|
169
140
|
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
170
141
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
171
142
|
|
|
@@ -173,18 +144,18 @@ class DescribeGlossaryEntriesResponse extends AbstractModel {
|
|
|
173
144
|
}
|
|
174
145
|
|
|
175
146
|
/**
|
|
176
|
-
* DeleteGlossary
|
|
147
|
+
* DeleteGlossary response structure.
|
|
177
148
|
* @class
|
|
178
149
|
*/
|
|
179
|
-
class
|
|
150
|
+
class DeleteGlossaryResponse extends AbstractModel {
|
|
180
151
|
constructor(){
|
|
181
152
|
super();
|
|
182
153
|
|
|
183
154
|
/**
|
|
184
|
-
*
|
|
155
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
185
156
|
* @type {string || null}
|
|
186
157
|
*/
|
|
187
|
-
this.
|
|
158
|
+
this.RequestId = null;
|
|
188
159
|
|
|
189
160
|
}
|
|
190
161
|
|
|
@@ -195,36 +166,88 @@ class DeleteGlossaryRequest extends AbstractModel {
|
|
|
195
166
|
if (!params) {
|
|
196
167
|
return;
|
|
197
168
|
}
|
|
198
|
-
this.
|
|
169
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
199
170
|
|
|
200
171
|
}
|
|
201
172
|
}
|
|
202
173
|
|
|
203
174
|
/**
|
|
204
|
-
*
|
|
175
|
+
* DeleteGlossaryEntries response structure.
|
|
205
176
|
* @class
|
|
206
177
|
*/
|
|
207
|
-
class
|
|
178
|
+
class DeleteGlossaryEntriesResponse extends AbstractModel {
|
|
208
179
|
constructor(){
|
|
209
180
|
super();
|
|
210
181
|
|
|
211
182
|
/**
|
|
212
|
-
*
|
|
183
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
184
|
+
* @type {string || null}
|
|
185
|
+
*/
|
|
186
|
+
this.RequestId = null;
|
|
187
|
+
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* @private
|
|
192
|
+
*/
|
|
193
|
+
deserialize(params) {
|
|
194
|
+
if (!params) {
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
198
|
+
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Termbase detail
|
|
204
|
+
* @class
|
|
205
|
+
*/
|
|
206
|
+
class GlossaryItem extends AbstractModel {
|
|
207
|
+
constructor(){
|
|
208
|
+
super();
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Termbase ID.
|
|
213
212
|
* @type {string || null}
|
|
214
213
|
*/
|
|
215
214
|
this.GlossaryId = null;
|
|
216
215
|
|
|
217
216
|
/**
|
|
218
|
-
*
|
|
219
|
-
* @type {
|
|
217
|
+
* Terminology repository name.
|
|
218
|
+
* @type {string || null}
|
|
220
219
|
*/
|
|
221
|
-
this.
|
|
220
|
+
this.Name = null;
|
|
222
221
|
|
|
223
222
|
/**
|
|
224
|
-
*
|
|
225
|
-
* @type {
|
|
223
|
+
* Repository description.
|
|
224
|
+
* @type {string || null}
|
|
226
225
|
*/
|
|
227
|
-
this.
|
|
226
|
+
this.Description = null;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Source language code.
|
|
230
|
+
* @type {string || null}
|
|
231
|
+
*/
|
|
232
|
+
this.Source = null;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Target language code.
|
|
236
|
+
* @type {string || null}
|
|
237
|
+
*/
|
|
238
|
+
this.Target = null;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Creation time.
|
|
242
|
+
* @type {string || null}
|
|
243
|
+
*/
|
|
244
|
+
this.CreatedTime = null;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Update time.
|
|
248
|
+
* @type {string || null}
|
|
249
|
+
*/
|
|
250
|
+
this.UpdatedTime = null;
|
|
228
251
|
|
|
229
252
|
}
|
|
230
253
|
|
|
@@ -236,43 +259,130 @@ class DescribeGlossaryEntriesRequest extends AbstractModel {
|
|
|
236
259
|
return;
|
|
237
260
|
}
|
|
238
261
|
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
262
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
263
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
264
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
265
|
+
this.Target = 'Target' in params ? params.Target : null;
|
|
266
|
+
this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
|
|
267
|
+
this.UpdatedTime = 'UpdatedTime' in params ? params.UpdatedTime : null;
|
|
241
268
|
|
|
242
269
|
}
|
|
243
270
|
}
|
|
244
271
|
|
|
245
272
|
/**
|
|
246
|
-
*
|
|
273
|
+
* ModifyApiKeyInfo response structure.
|
|
247
274
|
* @class
|
|
248
275
|
*/
|
|
249
|
-
class
|
|
276
|
+
class ModifyApiKeyInfoResponse extends AbstractModel {
|
|
250
277
|
constructor(){
|
|
251
278
|
super();
|
|
252
279
|
|
|
253
280
|
/**
|
|
254
|
-
*
|
|
281
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
282
|
+
* @type {string || null}
|
|
283
|
+
*/
|
|
284
|
+
this.RequestId = null;
|
|
285
|
+
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* @private
|
|
290
|
+
*/
|
|
291
|
+
deserialize(params) {
|
|
292
|
+
if (!params) {
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
296
|
+
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* CreateGlossary request structure.
|
|
302
|
+
* @class
|
|
303
|
+
*/
|
|
304
|
+
class CreateGlossaryRequest extends AbstractModel {
|
|
305
|
+
constructor(){
|
|
306
|
+
super();
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Terminology library name. Maximum 50 characters.
|
|
310
|
+
* @type {string || null}
|
|
311
|
+
*/
|
|
312
|
+
this.Name = null;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Source language code. Maximum 16 characters, such as zh (Chinese), en (English).
|
|
316
|
+
* @type {string || null}
|
|
317
|
+
*/
|
|
318
|
+
this.Source = null;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Target language code. Maximum 16 characters, such as zh (Chinese), en (English).
|
|
322
|
+
* @type {string || null}
|
|
323
|
+
*/
|
|
324
|
+
this.Target = null;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Termbase description. Maximum 255 characters.
|
|
328
|
+
* @type {string || null}
|
|
329
|
+
*/
|
|
330
|
+
this.Description = null;
|
|
331
|
+
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* @private
|
|
336
|
+
*/
|
|
337
|
+
deserialize(params) {
|
|
338
|
+
if (!params) {
|
|
339
|
+
return;
|
|
340
|
+
}
|
|
341
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
342
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
343
|
+
this.Target = 'Target' in params ? params.Target : null;
|
|
344
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
345
|
+
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* DescribeGlossaryEntries response structure.
|
|
351
|
+
* @class
|
|
352
|
+
*/
|
|
353
|
+
class DescribeGlossaryEntriesResponse extends AbstractModel {
|
|
354
|
+
constructor(){
|
|
355
|
+
super();
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Terminology entry list.
|
|
359
|
+
* @type {Array.<GlossaryEntryItem> || null}
|
|
360
|
+
*/
|
|
361
|
+
this.Entries = null;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Total number of eligible terminology entries.
|
|
255
365
|
* @type {number || null}
|
|
256
366
|
*/
|
|
257
|
-
this.
|
|
367
|
+
this.Total = null;
|
|
258
368
|
|
|
259
369
|
/**
|
|
260
|
-
*
|
|
370
|
+
* Current page.
|
|
261
371
|
* @type {number || null}
|
|
262
372
|
*/
|
|
263
|
-
this.
|
|
373
|
+
this.Page = null;
|
|
264
374
|
|
|
265
375
|
/**
|
|
266
|
-
*
|
|
267
|
-
* @type {
|
|
376
|
+
* Size per page
|
|
377
|
+
* @type {number || null}
|
|
268
378
|
*/
|
|
269
|
-
this.
|
|
379
|
+
this.PageSize = null;
|
|
270
380
|
|
|
271
381
|
/**
|
|
272
|
-
*
|
|
273
|
-
* @type {
|
|
382
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
383
|
+
* @type {string || null}
|
|
274
384
|
*/
|
|
275
|
-
this.
|
|
385
|
+
this.RequestId = null;
|
|
276
386
|
|
|
277
387
|
}
|
|
278
388
|
|
|
@@ -283,55 +393,76 @@ class DescribeGlossariesRequest extends AbstractModel {
|
|
|
283
393
|
if (!params) {
|
|
284
394
|
return;
|
|
285
395
|
}
|
|
286
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
287
|
-
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
288
396
|
|
|
289
|
-
if (params.
|
|
290
|
-
this.
|
|
291
|
-
for (let z in params.
|
|
292
|
-
let obj = new
|
|
293
|
-
obj.deserialize(params.
|
|
294
|
-
this.
|
|
397
|
+
if (params.Entries) {
|
|
398
|
+
this.Entries = new Array();
|
|
399
|
+
for (let z in params.Entries) {
|
|
400
|
+
let obj = new GlossaryEntryItem();
|
|
401
|
+
obj.deserialize(params.Entries[z]);
|
|
402
|
+
this.Entries.push(obj);
|
|
295
403
|
}
|
|
296
404
|
}
|
|
405
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
406
|
+
this.Page = 'Page' in params ? params.Page : null;
|
|
407
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
408
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
297
409
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* DeleteGlossary request structure.
|
|
415
|
+
* @class
|
|
416
|
+
*/
|
|
417
|
+
class DeleteGlossaryRequest extends AbstractModel {
|
|
418
|
+
constructor(){
|
|
419
|
+
super();
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Termbase ID. Obtain through the API DescribeGlossaries.
|
|
423
|
+
* @type {string || null}
|
|
424
|
+
*/
|
|
425
|
+
this.GlossaryId = null;
|
|
426
|
+
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @private
|
|
431
|
+
*/
|
|
432
|
+
deserialize(params) {
|
|
433
|
+
if (!params) {
|
|
434
|
+
return;
|
|
305
435
|
}
|
|
436
|
+
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
306
437
|
|
|
307
438
|
}
|
|
308
439
|
}
|
|
309
440
|
|
|
310
441
|
/**
|
|
311
|
-
*
|
|
442
|
+
* DescribeGlossaryEntries request structure.
|
|
312
443
|
* @class
|
|
313
444
|
*/
|
|
314
|
-
class
|
|
445
|
+
class DescribeGlossaryEntriesRequest extends AbstractModel {
|
|
315
446
|
constructor(){
|
|
316
447
|
super();
|
|
317
448
|
|
|
318
449
|
/**
|
|
319
|
-
*
|
|
450
|
+
* Termbase ID. Obtain through the API DescribeGlossaries.
|
|
320
451
|
* @type {string || null}
|
|
321
452
|
*/
|
|
322
|
-
this.
|
|
453
|
+
this.GlossaryId = null;
|
|
323
454
|
|
|
324
455
|
/**
|
|
325
|
-
*
|
|
326
|
-
* @type {
|
|
456
|
+
* Page number. Default is 1.
|
|
457
|
+
* @type {number || null}
|
|
327
458
|
*/
|
|
328
|
-
this.
|
|
459
|
+
this.Page = null;
|
|
329
460
|
|
|
330
461
|
/**
|
|
331
|
-
*
|
|
332
|
-
* @type {
|
|
462
|
+
* Size per page. The default value is 20, and the maximum value is 200.
|
|
463
|
+
* @type {number || null}
|
|
333
464
|
*/
|
|
334
|
-
this.
|
|
465
|
+
this.PageSize = null;
|
|
335
466
|
|
|
336
467
|
}
|
|
337
468
|
|
|
@@ -342,9 +473,9 @@ class RequestFilter extends AbstractModel {
|
|
|
342
473
|
if (!params) {
|
|
343
474
|
return;
|
|
344
475
|
}
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
476
|
+
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
477
|
+
this.Page = 'Page' in params ? params.Page : null;
|
|
478
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
348
479
|
|
|
349
480
|
}
|
|
350
481
|
}
|
|
@@ -436,18 +567,18 @@ class CreateGlossaryEntriesResponse extends AbstractModel {
|
|
|
436
567
|
}
|
|
437
568
|
|
|
438
569
|
/**
|
|
439
|
-
*
|
|
570
|
+
* DeleteApiKey response structure.
|
|
440
571
|
* @class
|
|
441
572
|
*/
|
|
442
|
-
class
|
|
573
|
+
class DeleteApiKeyResponse extends AbstractModel {
|
|
443
574
|
constructor(){
|
|
444
575
|
super();
|
|
445
576
|
|
|
446
577
|
/**
|
|
447
|
-
*
|
|
578
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
448
579
|
* @type {string || null}
|
|
449
580
|
*/
|
|
450
|
-
this.
|
|
581
|
+
this.RequestId = null;
|
|
451
582
|
|
|
452
583
|
}
|
|
453
584
|
|
|
@@ -458,43 +589,37 @@ class DeleteGlossaryEntryInput extends AbstractModel {
|
|
|
458
589
|
if (!params) {
|
|
459
590
|
return;
|
|
460
591
|
}
|
|
461
|
-
this.
|
|
592
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
462
593
|
|
|
463
594
|
}
|
|
464
595
|
}
|
|
465
596
|
|
|
466
597
|
/**
|
|
467
|
-
*
|
|
598
|
+
* Modify terminology entry
|
|
468
599
|
* @class
|
|
469
600
|
*/
|
|
470
|
-
class
|
|
601
|
+
class ModifyGlossaryEntryInput extends AbstractModel {
|
|
471
602
|
constructor(){
|
|
472
603
|
super();
|
|
473
604
|
|
|
474
605
|
/**
|
|
475
|
-
* Terminology entry ID.
|
|
606
|
+
* Terminology entry ID. Obtain through the API DescribeGlossaryEntries.
|
|
476
607
|
* @type {string || null}
|
|
477
608
|
*/
|
|
478
609
|
this.EntryId = null;
|
|
479
610
|
|
|
480
611
|
/**
|
|
481
|
-
* Source language terminology.
|
|
612
|
+
* Source language terminology. Maximum 1000 characters. If not passed, remain unchanged.
|
|
482
613
|
* @type {string || null}
|
|
483
614
|
*/
|
|
484
615
|
this.SourceTerm = null;
|
|
485
616
|
|
|
486
617
|
/**
|
|
487
|
-
* Target language terminology.
|
|
618
|
+
* Target language terminology. Maximum 1000 characters. Remain unchanged if not passed.
|
|
488
619
|
* @type {string || null}
|
|
489
620
|
*/
|
|
490
621
|
this.TargetTerm = null;
|
|
491
622
|
|
|
492
|
-
/**
|
|
493
|
-
* Last update time. Unix timestamp (ms).
|
|
494
|
-
* @type {number || null}
|
|
495
|
-
*/
|
|
496
|
-
this.UpdatedAt = null;
|
|
497
|
-
|
|
498
623
|
}
|
|
499
624
|
|
|
500
625
|
/**
|
|
@@ -507,19 +632,57 @@ class GlossaryEntryItem extends AbstractModel {
|
|
|
507
632
|
this.EntryId = 'EntryId' in params ? params.EntryId : null;
|
|
508
633
|
this.SourceTerm = 'SourceTerm' in params ? params.SourceTerm : null;
|
|
509
634
|
this.TargetTerm = 'TargetTerm' in params ? params.TargetTerm : null;
|
|
510
|
-
this.UpdatedAt = 'UpdatedAt' in params ? params.UpdatedAt : null;
|
|
511
635
|
|
|
512
636
|
}
|
|
513
637
|
}
|
|
514
638
|
|
|
515
639
|
/**
|
|
516
|
-
*
|
|
640
|
+
* ModifyApiKeyInfo request structure.
|
|
517
641
|
* @class
|
|
518
642
|
*/
|
|
519
|
-
class
|
|
643
|
+
class ModifyApiKeyInfoRequest extends AbstractModel {
|
|
644
|
+
constructor(){
|
|
645
|
+
super();
|
|
646
|
+
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* @private
|
|
651
|
+
*/
|
|
652
|
+
deserialize(params) {
|
|
653
|
+
if (!params) {
|
|
654
|
+
return;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* CreateGlossary response structure.
|
|
662
|
+
* @class
|
|
663
|
+
*/
|
|
664
|
+
class CreateGlossaryResponse extends AbstractModel {
|
|
520
665
|
constructor(){
|
|
521
666
|
super();
|
|
522
667
|
|
|
668
|
+
/**
|
|
669
|
+
* Termbase ID.
|
|
670
|
+
* @type {string || null}
|
|
671
|
+
*/
|
|
672
|
+
this.GlossaryId = null;
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Terminology repository name.
|
|
676
|
+
* @type {string || null}
|
|
677
|
+
*/
|
|
678
|
+
this.Name = null;
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Creation time. Unix timestamp (ms).
|
|
682
|
+
* @type {number || null}
|
|
683
|
+
*/
|
|
684
|
+
this.CreatedAt = null;
|
|
685
|
+
|
|
523
686
|
/**
|
|
524
687
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
525
688
|
* @type {string || null}
|
|
@@ -535,16 +698,19 @@ class DeleteGlossaryResponse extends AbstractModel {
|
|
|
535
698
|
if (!params) {
|
|
536
699
|
return;
|
|
537
700
|
}
|
|
701
|
+
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
702
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
703
|
+
this.CreatedAt = 'CreatedAt' in params ? params.CreatedAt : null;
|
|
538
704
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
539
705
|
|
|
540
706
|
}
|
|
541
707
|
}
|
|
542
708
|
|
|
543
709
|
/**
|
|
544
|
-
*
|
|
710
|
+
* ModifyGlossaryEntries request structure.
|
|
545
711
|
* @class
|
|
546
712
|
*/
|
|
547
|
-
class
|
|
713
|
+
class ModifyGlossaryEntriesRequest extends AbstractModel {
|
|
548
714
|
constructor(){
|
|
549
715
|
super();
|
|
550
716
|
|
|
@@ -555,8 +721,8 @@ class CreateGlossaryEntriesRequest extends AbstractModel {
|
|
|
555
721
|
this.GlossaryId = null;
|
|
556
722
|
|
|
557
723
|
/**
|
|
558
|
-
* Terminology entry list. At a time
|
|
559
|
-
* @type {Array.<
|
|
724
|
+
* Terminology entry list. At a time 200.
|
|
725
|
+
* @type {Array.<ModifyGlossaryEntryInput> || null}
|
|
560
726
|
*/
|
|
561
727
|
this.Entries = null;
|
|
562
728
|
|
|
@@ -574,7 +740,7 @@ class CreateGlossaryEntriesRequest extends AbstractModel {
|
|
|
574
740
|
if (params.Entries) {
|
|
575
741
|
this.Entries = new Array();
|
|
576
742
|
for (let z in params.Entries) {
|
|
577
|
-
let obj = new
|
|
743
|
+
let obj = new ModifyGlossaryEntryInput();
|
|
578
744
|
obj.deserialize(params.Entries[z]);
|
|
579
745
|
this.Entries.push(obj);
|
|
580
746
|
}
|
|
@@ -584,25 +750,78 @@ class CreateGlossaryEntriesRequest extends AbstractModel {
|
|
|
584
750
|
}
|
|
585
751
|
|
|
586
752
|
/**
|
|
587
|
-
*
|
|
753
|
+
* DescribeGlossaries request structure.
|
|
754
|
+
* @class
|
|
755
|
+
*/
|
|
756
|
+
class DescribeGlossariesRequest extends AbstractModel {
|
|
757
|
+
constructor(){
|
|
758
|
+
super();
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Number of returned results. Defaults to 20, maximum value is 100.
|
|
762
|
+
* @type {number || null}
|
|
763
|
+
*/
|
|
764
|
+
this.Limit = null;
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Offset. Default value: 0.
|
|
768
|
+
* @type {number || null}
|
|
769
|
+
*/
|
|
770
|
+
this.Offset = null;
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* Filter condition list. Supported filter fields: GlossaryId (Termbase ID), Name, Source (source language code), Target (target language code).
|
|
774
|
+
* @type {Array.<RequestFilter> || null}
|
|
775
|
+
*/
|
|
776
|
+
this.Filters = null;
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Sorting condition list. Supported sorting fields: CreatedTime (creation time), UpdatedTime (last update time).
|
|
780
|
+
* @type {Array.<RequestSort> || null}
|
|
781
|
+
*/
|
|
782
|
+
this.Sorts = null;
|
|
783
|
+
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* @private
|
|
788
|
+
*/
|
|
789
|
+
deserialize(params) {
|
|
790
|
+
if (!params) {
|
|
791
|
+
return;
|
|
792
|
+
}
|
|
793
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
794
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
795
|
+
|
|
796
|
+
if (params.Filters) {
|
|
797
|
+
this.Filters = new Array();
|
|
798
|
+
for (let z in params.Filters) {
|
|
799
|
+
let obj = new RequestFilter();
|
|
800
|
+
obj.deserialize(params.Filters[z]);
|
|
801
|
+
this.Filters.push(obj);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
if (params.Sorts) {
|
|
806
|
+
this.Sorts = new Array();
|
|
807
|
+
for (let z in params.Sorts) {
|
|
808
|
+
let obj = new RequestSort();
|
|
809
|
+
obj.deserialize(params.Sorts[z]);
|
|
810
|
+
this.Sorts.push(obj);
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* ModifyApiKeyStatus request structure.
|
|
588
819
|
* @class
|
|
589
820
|
*/
|
|
590
|
-
class
|
|
821
|
+
class ModifyApiKeyStatusRequest extends AbstractModel {
|
|
591
822
|
constructor(){
|
|
592
823
|
super();
|
|
593
824
|
|
|
594
|
-
/**
|
|
595
|
-
* Sorting field name.
|
|
596
|
-
* @type {string || null}
|
|
597
|
-
*/
|
|
598
|
-
this.Name = null;
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* Sorting order. Value: ASC (ascending), DESC (descending).
|
|
602
|
-
* @type {string || null}
|
|
603
|
-
*/
|
|
604
|
-
this.Order = null;
|
|
605
|
-
|
|
606
825
|
}
|
|
607
826
|
|
|
608
827
|
/**
|
|
@@ -612,31 +831,29 @@ class RequestSort extends AbstractModel {
|
|
|
612
831
|
if (!params) {
|
|
613
832
|
return;
|
|
614
833
|
}
|
|
615
|
-
this.Name = 'Name' in params ? params.Name : null;
|
|
616
|
-
this.Order = 'Order' in params ? params.Order : null;
|
|
617
834
|
|
|
618
835
|
}
|
|
619
836
|
}
|
|
620
837
|
|
|
621
838
|
/**
|
|
622
|
-
*
|
|
839
|
+
* CreateGlossaryEntries request structure.
|
|
623
840
|
* @class
|
|
624
841
|
*/
|
|
625
|
-
class
|
|
842
|
+
class CreateGlossaryEntriesRequest extends AbstractModel {
|
|
626
843
|
constructor(){
|
|
627
844
|
super();
|
|
628
845
|
|
|
629
846
|
/**
|
|
630
|
-
*
|
|
631
|
-
* @type {
|
|
847
|
+
* Termbase ID. Obtain through the API DescribeGlossaries.
|
|
848
|
+
* @type {string || null}
|
|
632
849
|
*/
|
|
633
|
-
this.
|
|
850
|
+
this.GlossaryId = null;
|
|
634
851
|
|
|
635
852
|
/**
|
|
636
|
-
*
|
|
637
|
-
* @type {
|
|
853
|
+
* Terminology entry list. At a time 100.
|
|
854
|
+
* @type {Array.<GlossaryEntryInput> || null}
|
|
638
855
|
*/
|
|
639
|
-
this.
|
|
856
|
+
this.Entries = null;
|
|
640
857
|
|
|
641
858
|
}
|
|
642
859
|
|
|
@@ -647,46 +864,52 @@ class ModifyGlossaryEntriesResponse extends AbstractModel {
|
|
|
647
864
|
if (!params) {
|
|
648
865
|
return;
|
|
649
866
|
}
|
|
867
|
+
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
650
868
|
|
|
651
869
|
if (params.Entries) {
|
|
652
870
|
this.Entries = new Array();
|
|
653
871
|
for (let z in params.Entries) {
|
|
654
|
-
let obj = new
|
|
872
|
+
let obj = new GlossaryEntryInput();
|
|
655
873
|
obj.deserialize(params.Entries[z]);
|
|
656
874
|
this.Entries.push(obj);
|
|
657
875
|
}
|
|
658
876
|
}
|
|
659
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
660
877
|
|
|
661
878
|
}
|
|
662
879
|
}
|
|
663
880
|
|
|
664
881
|
/**
|
|
665
|
-
*
|
|
882
|
+
* Terminology entry detail
|
|
666
883
|
* @class
|
|
667
884
|
*/
|
|
668
|
-
class
|
|
885
|
+
class GlossaryEntryItem extends AbstractModel {
|
|
669
886
|
constructor(){
|
|
670
887
|
super();
|
|
671
888
|
|
|
672
889
|
/**
|
|
673
|
-
* Terminology entry ID.
|
|
890
|
+
* Terminology entry ID.
|
|
674
891
|
* @type {string || null}
|
|
675
892
|
*/
|
|
676
893
|
this.EntryId = null;
|
|
677
894
|
|
|
678
895
|
/**
|
|
679
|
-
* Source language terminology.
|
|
896
|
+
* Source language terminology.
|
|
680
897
|
* @type {string || null}
|
|
681
898
|
*/
|
|
682
899
|
this.SourceTerm = null;
|
|
683
900
|
|
|
684
901
|
/**
|
|
685
|
-
* Target language terminology.
|
|
902
|
+
* Target language terminology.
|
|
686
903
|
* @type {string || null}
|
|
687
904
|
*/
|
|
688
905
|
this.TargetTerm = null;
|
|
689
906
|
|
|
907
|
+
/**
|
|
908
|
+
* Last update time. Unix timestamp (ms).
|
|
909
|
+
* @type {number || null}
|
|
910
|
+
*/
|
|
911
|
+
this.UpdatedAt = null;
|
|
912
|
+
|
|
690
913
|
}
|
|
691
914
|
|
|
692
915
|
/**
|
|
@@ -699,15 +922,16 @@ class ModifyGlossaryEntryInput extends AbstractModel {
|
|
|
699
922
|
this.EntryId = 'EntryId' in params ? params.EntryId : null;
|
|
700
923
|
this.SourceTerm = 'SourceTerm' in params ? params.SourceTerm : null;
|
|
701
924
|
this.TargetTerm = 'TargetTerm' in params ? params.TargetTerm : null;
|
|
925
|
+
this.UpdatedAt = 'UpdatedAt' in params ? params.UpdatedAt : null;
|
|
702
926
|
|
|
703
927
|
}
|
|
704
928
|
}
|
|
705
929
|
|
|
706
930
|
/**
|
|
707
|
-
*
|
|
931
|
+
* ModifyApiKeyStatus response structure.
|
|
708
932
|
* @class
|
|
709
933
|
*/
|
|
710
|
-
class
|
|
934
|
+
class ModifyApiKeyStatusResponse extends AbstractModel {
|
|
711
935
|
constructor(){
|
|
712
936
|
super();
|
|
713
937
|
|
|
@@ -732,37 +956,13 @@ class DeleteGlossaryEntriesResponse extends AbstractModel {
|
|
|
732
956
|
}
|
|
733
957
|
|
|
734
958
|
/**
|
|
735
|
-
*
|
|
959
|
+
* CreateApiKey response structure.
|
|
736
960
|
* @class
|
|
737
961
|
*/
|
|
738
|
-
class
|
|
962
|
+
class CreateApiKeyResponse extends AbstractModel {
|
|
739
963
|
constructor(){
|
|
740
964
|
super();
|
|
741
965
|
|
|
742
|
-
/**
|
|
743
|
-
* Terminology repository list.
|
|
744
|
-
* @type {Array.<GlossaryItem> || null}
|
|
745
|
-
*/
|
|
746
|
-
this.Items = null;
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* Total number of eligible terminology repositories.
|
|
750
|
-
* @type {number || null}
|
|
751
|
-
*/
|
|
752
|
-
this.TotalCount = null;
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* Current page.
|
|
756
|
-
* @type {number || null}
|
|
757
|
-
*/
|
|
758
|
-
this.Current = null;
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* Size per page
|
|
762
|
-
* @type {number || null}
|
|
763
|
-
*/
|
|
764
|
-
this.PageSize = null;
|
|
765
|
-
|
|
766
966
|
/**
|
|
767
967
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
768
968
|
* @type {string || null}
|
|
@@ -778,72 +978,57 @@ class DescribeGlossariesResponse extends AbstractModel {
|
|
|
778
978
|
if (!params) {
|
|
779
979
|
return;
|
|
780
980
|
}
|
|
781
|
-
|
|
782
|
-
if (params.Items) {
|
|
783
|
-
this.Items = new Array();
|
|
784
|
-
for (let z in params.Items) {
|
|
785
|
-
let obj = new GlossaryItem();
|
|
786
|
-
obj.deserialize(params.Items[z]);
|
|
787
|
-
this.Items.push(obj);
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
791
|
-
this.Current = 'Current' in params ? params.Current : null;
|
|
792
|
-
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
793
981
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
794
982
|
|
|
795
983
|
}
|
|
796
984
|
}
|
|
797
985
|
|
|
798
986
|
/**
|
|
799
|
-
*
|
|
987
|
+
* DeleteApiKey request structure.
|
|
800
988
|
* @class
|
|
801
989
|
*/
|
|
802
|
-
class
|
|
990
|
+
class DeleteApiKeyRequest extends AbstractModel {
|
|
803
991
|
constructor(){
|
|
804
992
|
super();
|
|
805
993
|
|
|
806
|
-
|
|
807
|
-
* Termbase ID.
|
|
808
|
-
* @type {string || null}
|
|
809
|
-
*/
|
|
810
|
-
this.GlossaryId = null;
|
|
994
|
+
}
|
|
811
995
|
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
996
|
+
/**
|
|
997
|
+
* @private
|
|
998
|
+
*/
|
|
999
|
+
deserialize(params) {
|
|
1000
|
+
if (!params) {
|
|
1001
|
+
return;
|
|
1002
|
+
}
|
|
817
1003
|
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
* @type {string || null}
|
|
821
|
-
*/
|
|
822
|
-
this.Description = null;
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
823
1006
|
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
1007
|
+
/**
|
|
1008
|
+
* Filter criteria
|
|
1009
|
+
* @class
|
|
1010
|
+
*/
|
|
1011
|
+
class RequestFilter extends AbstractModel {
|
|
1012
|
+
constructor(){
|
|
1013
|
+
super();
|
|
829
1014
|
|
|
830
1015
|
/**
|
|
831
|
-
*
|
|
1016
|
+
* Filter field name.
|
|
832
1017
|
* @type {string || null}
|
|
833
1018
|
*/
|
|
834
|
-
this.
|
|
1019
|
+
this.Name = null;
|
|
835
1020
|
|
|
836
1021
|
/**
|
|
837
|
-
*
|
|
1022
|
+
* Filter operator. Values: EXACT (exact match), FUZZY (fuzzy matching), NOT (exclusion).
|
|
838
1023
|
* @type {string || null}
|
|
839
1024
|
*/
|
|
840
|
-
this.
|
|
1025
|
+
this.Op = null;
|
|
841
1026
|
|
|
842
1027
|
/**
|
|
843
|
-
*
|
|
844
|
-
* @type {string || null}
|
|
1028
|
+
* Filter value list. Supports up to 10.
|
|
1029
|
+
* @type {Array.<string> || null}
|
|
845
1030
|
*/
|
|
846
|
-
this.
|
|
1031
|
+
this.Values = null;
|
|
847
1032
|
|
|
848
1033
|
}
|
|
849
1034
|
|
|
@@ -854,36 +1039,32 @@ class GlossaryItem extends AbstractModel {
|
|
|
854
1039
|
if (!params) {
|
|
855
1040
|
return;
|
|
856
1041
|
}
|
|
857
|
-
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
858
1042
|
this.Name = 'Name' in params ? params.Name : null;
|
|
859
|
-
this.
|
|
860
|
-
this.
|
|
861
|
-
this.Target = 'Target' in params ? params.Target : null;
|
|
862
|
-
this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
|
|
863
|
-
this.UpdatedTime = 'UpdatedTime' in params ? params.UpdatedTime : null;
|
|
1043
|
+
this.Op = 'Op' in params ? params.Op : null;
|
|
1044
|
+
this.Values = 'Values' in params ? params.Values : null;
|
|
864
1045
|
|
|
865
1046
|
}
|
|
866
1047
|
}
|
|
867
1048
|
|
|
868
1049
|
/**
|
|
869
|
-
*
|
|
1050
|
+
* ModifyGlossaryEntries response structure.
|
|
870
1051
|
* @class
|
|
871
1052
|
*/
|
|
872
|
-
class
|
|
1053
|
+
class ModifyGlossaryEntriesResponse extends AbstractModel {
|
|
873
1054
|
constructor(){
|
|
874
1055
|
super();
|
|
875
1056
|
|
|
876
1057
|
/**
|
|
877
|
-
*
|
|
878
|
-
* @type {
|
|
1058
|
+
* Terminology entry list after modification.
|
|
1059
|
+
* @type {Array.<GlossaryEntryItem> || null}
|
|
879
1060
|
*/
|
|
880
|
-
this.
|
|
1061
|
+
this.Entries = null;
|
|
881
1062
|
|
|
882
1063
|
/**
|
|
883
|
-
*
|
|
1064
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
884
1065
|
* @type {string || null}
|
|
885
1066
|
*/
|
|
886
|
-
this.
|
|
1067
|
+
this.RequestId = null;
|
|
887
1068
|
|
|
888
1069
|
}
|
|
889
1070
|
|
|
@@ -894,43 +1075,39 @@ class GlossaryEntryInput extends AbstractModel {
|
|
|
894
1075
|
if (!params) {
|
|
895
1076
|
return;
|
|
896
1077
|
}
|
|
897
|
-
|
|
898
|
-
|
|
1078
|
+
|
|
1079
|
+
if (params.Entries) {
|
|
1080
|
+
this.Entries = new Array();
|
|
1081
|
+
for (let z in params.Entries) {
|
|
1082
|
+
let obj = new GlossaryEntryItem();
|
|
1083
|
+
obj.deserialize(params.Entries[z]);
|
|
1084
|
+
this.Entries.push(obj);
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
899
1088
|
|
|
900
1089
|
}
|
|
901
1090
|
}
|
|
902
1091
|
|
|
903
1092
|
/**
|
|
904
|
-
*
|
|
1093
|
+
* Sort criteria
|
|
905
1094
|
* @class
|
|
906
1095
|
*/
|
|
907
|
-
class
|
|
1096
|
+
class RequestSort extends AbstractModel {
|
|
908
1097
|
constructor(){
|
|
909
1098
|
super();
|
|
910
1099
|
|
|
911
1100
|
/**
|
|
912
|
-
*
|
|
913
|
-
* @type {string || null}
|
|
914
|
-
*/
|
|
915
|
-
this.GlossaryId = null;
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* Terminology repository name.
|
|
1101
|
+
* Sorting field name.
|
|
919
1102
|
* @type {string || null}
|
|
920
1103
|
*/
|
|
921
1104
|
this.Name = null;
|
|
922
1105
|
|
|
923
1106
|
/**
|
|
924
|
-
*
|
|
925
|
-
* @type {number || null}
|
|
926
|
-
*/
|
|
927
|
-
this.CreatedAt = null;
|
|
928
|
-
|
|
929
|
-
/**
|
|
930
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1107
|
+
* Sorting order. Value: ASC (ascending), DESC (descending).
|
|
931
1108
|
* @type {string || null}
|
|
932
1109
|
*/
|
|
933
|
-
this.
|
|
1110
|
+
this.Order = null;
|
|
934
1111
|
|
|
935
1112
|
}
|
|
936
1113
|
|
|
@@ -941,35 +1118,62 @@ class CreateGlossaryResponse extends AbstractModel {
|
|
|
941
1118
|
if (!params) {
|
|
942
1119
|
return;
|
|
943
1120
|
}
|
|
944
|
-
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
945
1121
|
this.Name = 'Name' in params ? params.Name : null;
|
|
946
|
-
this.
|
|
947
|
-
|
|
1122
|
+
this.Order = 'Order' in params ? params.Order : null;
|
|
1123
|
+
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* CreateApiKey request structure.
|
|
1129
|
+
* @class
|
|
1130
|
+
*/
|
|
1131
|
+
class CreateApiKeyRequest extends AbstractModel {
|
|
1132
|
+
constructor(){
|
|
1133
|
+
super();
|
|
1134
|
+
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* @private
|
|
1139
|
+
*/
|
|
1140
|
+
deserialize(params) {
|
|
1141
|
+
if (!params) {
|
|
1142
|
+
return;
|
|
1143
|
+
}
|
|
948
1144
|
|
|
949
1145
|
}
|
|
950
1146
|
}
|
|
951
1147
|
|
|
952
1148
|
module.exports = {
|
|
953
|
-
|
|
1149
|
+
GlossaryEntryInput: GlossaryEntryInput,
|
|
1150
|
+
DeleteGlossaryEntryInput: DeleteGlossaryEntryInput,
|
|
1151
|
+
DescribeGlossariesResponse: DescribeGlossariesResponse,
|
|
1152
|
+
DeleteGlossaryResponse: DeleteGlossaryResponse,
|
|
1153
|
+
DeleteGlossaryEntriesResponse: DeleteGlossaryEntriesResponse,
|
|
1154
|
+
GlossaryItem: GlossaryItem,
|
|
1155
|
+
ModifyApiKeyInfoResponse: ModifyApiKeyInfoResponse,
|
|
954
1156
|
CreateGlossaryRequest: CreateGlossaryRequest,
|
|
955
1157
|
DescribeGlossaryEntriesResponse: DescribeGlossaryEntriesResponse,
|
|
956
1158
|
DeleteGlossaryRequest: DeleteGlossaryRequest,
|
|
957
1159
|
DescribeGlossaryEntriesRequest: DescribeGlossaryEntriesRequest,
|
|
958
|
-
DescribeGlossariesRequest: DescribeGlossariesRequest,
|
|
959
|
-
RequestFilter: RequestFilter,
|
|
960
1160
|
DeleteGlossaryEntriesRequest: DeleteGlossaryEntriesRequest,
|
|
961
1161
|
CreateGlossaryEntriesResponse: CreateGlossaryEntriesResponse,
|
|
962
|
-
|
|
963
|
-
GlossaryEntryItem: GlossaryEntryItem,
|
|
964
|
-
DeleteGlossaryResponse: DeleteGlossaryResponse,
|
|
965
|
-
CreateGlossaryEntriesRequest: CreateGlossaryEntriesRequest,
|
|
966
|
-
RequestSort: RequestSort,
|
|
967
|
-
ModifyGlossaryEntriesResponse: ModifyGlossaryEntriesResponse,
|
|
1162
|
+
DeleteApiKeyResponse: DeleteApiKeyResponse,
|
|
968
1163
|
ModifyGlossaryEntryInput: ModifyGlossaryEntryInput,
|
|
969
|
-
|
|
970
|
-
DescribeGlossariesResponse: DescribeGlossariesResponse,
|
|
971
|
-
GlossaryItem: GlossaryItem,
|
|
972
|
-
GlossaryEntryInput: GlossaryEntryInput,
|
|
1164
|
+
ModifyApiKeyInfoRequest: ModifyApiKeyInfoRequest,
|
|
973
1165
|
CreateGlossaryResponse: CreateGlossaryResponse,
|
|
1166
|
+
ModifyGlossaryEntriesRequest: ModifyGlossaryEntriesRequest,
|
|
1167
|
+
DescribeGlossariesRequest: DescribeGlossariesRequest,
|
|
1168
|
+
ModifyApiKeyStatusRequest: ModifyApiKeyStatusRequest,
|
|
1169
|
+
CreateGlossaryEntriesRequest: CreateGlossaryEntriesRequest,
|
|
1170
|
+
GlossaryEntryItem: GlossaryEntryItem,
|
|
1171
|
+
ModifyApiKeyStatusResponse: ModifyApiKeyStatusResponse,
|
|
1172
|
+
CreateApiKeyResponse: CreateApiKeyResponse,
|
|
1173
|
+
DeleteApiKeyRequest: DeleteApiKeyRequest,
|
|
1174
|
+
RequestFilter: RequestFilter,
|
|
1175
|
+
ModifyGlossaryEntriesResponse: ModifyGlossaryEntriesResponse,
|
|
1176
|
+
RequestSort: RequestSort,
|
|
1177
|
+
CreateApiKeyRequest: CreateApiKeyRequest,
|
|
974
1178
|
|
|
975
1179
|
}
|