tencentcloud-sdk-nodejs-intl-en 3.0.1390 → 3.0.1392
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/package.json +1 -1
- package/tencentcloud/antiddos/index.js +1 -1
- package/tencentcloud/antiddos/v20250903/antiddos_client.js +62 -0
- package/tencentcloud/antiddos/v20250903/index.js +4 -0
- package/tencentcloud/antiddos/v20250903/models.js +336 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/mps/v20190612/models.js +8 -1
- package/tencentcloud/privatedns/v20201028/models.js +2168 -1802
- package/tencentcloud/privatedns/v20201028/privatedns_client.js +109 -70
- package/tencentcloud/ses/v20201002/models.js +21 -0
- package/tencentcloud/tokenhub/v20260322/models.js +1159 -339
- package/tencentcloud/tokenhub/v20260322/tokenhub_client.js +114 -27
|
@@ -17,24 +17,591 @@
|
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Termbase detail
|
|
21
21
|
* @class
|
|
22
22
|
*/
|
|
23
|
-
class
|
|
23
|
+
class GlossaryItem extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Termbase ID.
|
|
29
|
+
* @type {string || null}
|
|
30
|
+
*/
|
|
31
|
+
this.GlossaryId = null;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Terminology repository name.
|
|
35
|
+
* @type {string || null}
|
|
36
|
+
*/
|
|
37
|
+
this.Name = null;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Repository description.
|
|
41
|
+
* @type {string || null}
|
|
42
|
+
*/
|
|
43
|
+
this.Description = null;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Source language code.
|
|
47
|
+
* @type {string || null}
|
|
48
|
+
*/
|
|
49
|
+
this.Source = null;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Target language code.
|
|
53
|
+
* @type {string || null}
|
|
54
|
+
*/
|
|
55
|
+
this.Target = null;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Creation time.
|
|
59
|
+
* @type {string || null}
|
|
60
|
+
*/
|
|
61
|
+
this.CreatedTime = null;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Update time.
|
|
65
|
+
* @type {string || null}
|
|
66
|
+
*/
|
|
67
|
+
this.UpdatedTime = null;
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @private
|
|
73
|
+
*/
|
|
74
|
+
deserialize(params) {
|
|
75
|
+
if (!params) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
79
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
80
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
81
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
82
|
+
this.Target = 'Target' in params ? params.Target : null;
|
|
83
|
+
this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
|
|
84
|
+
this.UpdatedTime = 'UpdatedTime' in params ? params.UpdatedTime : null;
|
|
85
|
+
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Bind Resource
|
|
91
|
+
* @class
|
|
92
|
+
*/
|
|
93
|
+
class BindingItem extends AbstractModel {
|
|
94
|
+
constructor(){
|
|
95
|
+
super();
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Resource ID (model ID or service ID).
|
|
99
|
+
* @type {string || null}
|
|
100
|
+
*/
|
|
101
|
+
this.ResourceId = null;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Resource type. Value: endpoint (service), model (model).
|
|
105
|
+
* @type {string || null}
|
|
106
|
+
*/
|
|
107
|
+
this.ResourceType = null;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Resource status
|
|
111
|
+
* @type {string || null}
|
|
112
|
+
*/
|
|
113
|
+
this.Status = null;
|
|
114
|
+
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
deserialize(params) {
|
|
121
|
+
if (!params) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
|
|
125
|
+
this.ResourceType = 'ResourceType' in params ? params.ResourceType : null;
|
|
126
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
127
|
+
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Create terminology entry
|
|
133
|
+
* @class
|
|
134
|
+
*/
|
|
135
|
+
class GlossaryEntryInput extends AbstractModel {
|
|
136
|
+
constructor(){
|
|
137
|
+
super();
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Source language terminology. Maximum 1000 characters.
|
|
141
|
+
* @type {string || null}
|
|
142
|
+
*/
|
|
143
|
+
this.SourceTerm = null;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Target language terminology. Maximum 1000 characters.
|
|
147
|
+
* @type {string || null}
|
|
148
|
+
*/
|
|
149
|
+
this.TargetTerm = null;
|
|
150
|
+
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @private
|
|
155
|
+
*/
|
|
156
|
+
deserialize(params) {
|
|
157
|
+
if (!params) {
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
this.SourceTerm = 'SourceTerm' in params ? params.SourceTerm : null;
|
|
161
|
+
this.TargetTerm = 'TargetTerm' in params ? params.TargetTerm : null;
|
|
162
|
+
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Delete terminology entry
|
|
168
|
+
* @class
|
|
169
|
+
*/
|
|
170
|
+
class DeleteGlossaryEntryInput extends AbstractModel {
|
|
171
|
+
constructor(){
|
|
172
|
+
super();
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Terminology entry ID. Obtain through the API DescribeGlossaryEntries.
|
|
176
|
+
* @type {string || null}
|
|
177
|
+
*/
|
|
178
|
+
this.EntryId = null;
|
|
179
|
+
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @private
|
|
184
|
+
*/
|
|
185
|
+
deserialize(params) {
|
|
186
|
+
if (!params) {
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
this.EntryId = 'EntryId' in params ? params.EntryId : null;
|
|
190
|
+
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Terminology entry detail
|
|
196
|
+
* @class
|
|
197
|
+
*/
|
|
198
|
+
class GlossaryEntryItem extends AbstractModel {
|
|
199
|
+
constructor(){
|
|
200
|
+
super();
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Terminology entry ID.
|
|
204
|
+
* @type {string || null}
|
|
205
|
+
*/
|
|
206
|
+
this.EntryId = null;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Source language terminology.
|
|
210
|
+
* @type {string || null}
|
|
211
|
+
*/
|
|
212
|
+
this.SourceTerm = null;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Target language terminology.
|
|
216
|
+
* @type {string || null}
|
|
217
|
+
*/
|
|
218
|
+
this.TargetTerm = null;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Last update time. Unix timestamp (ms).
|
|
222
|
+
* @type {number || null}
|
|
223
|
+
*/
|
|
224
|
+
this.UpdatedAt = null;
|
|
225
|
+
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @private
|
|
230
|
+
*/
|
|
231
|
+
deserialize(params) {
|
|
232
|
+
if (!params) {
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
this.EntryId = 'EntryId' in params ? params.EntryId : null;
|
|
236
|
+
this.SourceTerm = 'SourceTerm' in params ? params.SourceTerm : null;
|
|
237
|
+
this.TargetTerm = 'TargetTerm' in params ? params.TargetTerm : null;
|
|
238
|
+
this.UpdatedAt = 'UpdatedAt' in params ? params.UpdatedAt : null;
|
|
239
|
+
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* DeleteGlossary response structure.
|
|
245
|
+
* @class
|
|
246
|
+
*/
|
|
247
|
+
class DeleteGlossaryResponse extends AbstractModel {
|
|
248
|
+
constructor(){
|
|
249
|
+
super();
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* 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.
|
|
253
|
+
* @type {string || null}
|
|
254
|
+
*/
|
|
255
|
+
this.RequestId = null;
|
|
256
|
+
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @private
|
|
261
|
+
*/
|
|
262
|
+
deserialize(params) {
|
|
263
|
+
if (!params) {
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
267
|
+
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Token quota information
|
|
273
|
+
* @class
|
|
274
|
+
*/
|
|
275
|
+
class QuotaInfo extends AbstractModel {
|
|
276
|
+
constructor(){
|
|
277
|
+
super();
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Quota package ID.
|
|
281
|
+
* @type {string || null}
|
|
282
|
+
*/
|
|
283
|
+
this.PkgId = null;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Package status. Value: 1 (normal), 3 (exhausted), 4 (terminated).
|
|
287
|
+
* @type {number || null}
|
|
288
|
+
*/
|
|
289
|
+
this.Status = null;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Quota period. Value: d (by day), m (monthly), lifetime (total quota, no reset).
|
|
293
|
+
* @type {string || null}
|
|
294
|
+
*/
|
|
295
|
+
this.CycleUnit = null;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Dimensional quota total amount (number of tokens). Use string to avoid precision loss.
|
|
299
|
+
* @type {string || null}
|
|
300
|
+
*/
|
|
301
|
+
this.CycleCredits = null;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Dimensional used amount (number of tokens). Use string literal to avoid precision loss.
|
|
305
|
+
* @type {string || null}
|
|
306
|
+
*/
|
|
307
|
+
this.CycleUsed = null;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Quota effective start time.
|
|
311
|
+
* @type {string || null}
|
|
312
|
+
*/
|
|
313
|
+
this.StartTime = null;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Quota expiration time.
|
|
317
|
+
* @type {string || null}
|
|
318
|
+
*/
|
|
319
|
+
this.ExpireTime = null;
|
|
320
|
+
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* @private
|
|
325
|
+
*/
|
|
326
|
+
deserialize(params) {
|
|
327
|
+
if (!params) {
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
this.PkgId = 'PkgId' in params ? params.PkgId : null;
|
|
331
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
332
|
+
this.CycleUnit = 'CycleUnit' in params ? params.CycleUnit : null;
|
|
333
|
+
this.CycleCredits = 'CycleCredits' in params ? params.CycleCredits : null;
|
|
334
|
+
this.CycleUsed = 'CycleUsed' in params ? params.CycleUsed : null;
|
|
335
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
336
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
337
|
+
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* DeleteGlossaryEntries response structure.
|
|
343
|
+
* @class
|
|
344
|
+
*/
|
|
345
|
+
class DeleteGlossaryEntriesResponse extends AbstractModel {
|
|
346
|
+
constructor(){
|
|
347
|
+
super();
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* 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.
|
|
351
|
+
* @type {string || null}
|
|
352
|
+
*/
|
|
353
|
+
this.RequestId = null;
|
|
354
|
+
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* @private
|
|
359
|
+
*/
|
|
360
|
+
deserialize(params) {
|
|
361
|
+
if (!params) {
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
364
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
365
|
+
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* DescribeApiKeyList response structure.
|
|
371
|
+
* @class
|
|
372
|
+
*/
|
|
373
|
+
class DescribeApiKeyListResponse extends AbstractModel {
|
|
374
|
+
constructor(){
|
|
375
|
+
super();
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* API Key List.
|
|
379
|
+
* @type {Array.<ApiKeyDetail> || null}
|
|
380
|
+
*/
|
|
381
|
+
this.ApiKeySet = null;
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Total number of eligible API keys.
|
|
385
|
+
* @type {number || null}
|
|
386
|
+
*/
|
|
387
|
+
this.TotalCount = null;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* 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.
|
|
391
|
+
* @type {string || null}
|
|
392
|
+
*/
|
|
393
|
+
this.RequestId = null;
|
|
394
|
+
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* @private
|
|
399
|
+
*/
|
|
400
|
+
deserialize(params) {
|
|
401
|
+
if (!params) {
|
|
402
|
+
return;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
if (params.ApiKeySet) {
|
|
406
|
+
this.ApiKeySet = new Array();
|
|
407
|
+
for (let z in params.ApiKeySet) {
|
|
408
|
+
let obj = new ApiKeyDetail();
|
|
409
|
+
obj.deserialize(params.ApiKeySet[z]);
|
|
410
|
+
this.ApiKeySet.push(obj);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
414
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
415
|
+
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* ModifyApiKeyInfo response structure.
|
|
421
|
+
* @class
|
|
422
|
+
*/
|
|
423
|
+
class ModifyApiKeyInfoResponse extends AbstractModel {
|
|
424
|
+
constructor(){
|
|
425
|
+
super();
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* 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.
|
|
429
|
+
* @type {string || null}
|
|
430
|
+
*/
|
|
431
|
+
this.RequestId = null;
|
|
432
|
+
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* @private
|
|
437
|
+
*/
|
|
438
|
+
deserialize(params) {
|
|
439
|
+
if (!params) {
|
|
440
|
+
return;
|
|
441
|
+
}
|
|
442
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
443
|
+
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* DescribeApiKeyList request structure.
|
|
449
|
+
* @class
|
|
450
|
+
*/
|
|
451
|
+
class DescribeApiKeyListRequest extends AbstractModel {
|
|
452
|
+
constructor(){
|
|
453
|
+
super();
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Platform type. Currently supported values: maas.
|
|
457
|
+
* @type {string || null}
|
|
458
|
+
*/
|
|
459
|
+
this.Platform = null;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Number of returned results, defaults to 20, maximum value 100.
|
|
463
|
+
* @type {number || null}
|
|
464
|
+
*/
|
|
465
|
+
this.Limit = null;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Offset. Default value: 0.
|
|
469
|
+
* @type {number || null}
|
|
470
|
+
*/
|
|
471
|
+
this.Offset = null;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Filter condition list. Supported filter fields: apikeyId (API Key ID), apiKeyName (name), platform (platform type), status (status), bindType (binding type).
|
|
475
|
+
* @type {Array.<RequestFilter> || null}
|
|
476
|
+
*/
|
|
477
|
+
this.Filters = null;
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Sorting condition list. Supported sorting field: apiKeyName
|
|
481
|
+
* @type {Array.<RequestSort> || null}
|
|
482
|
+
*/
|
|
483
|
+
this.Sorts = null;
|
|
484
|
+
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* @private
|
|
489
|
+
*/
|
|
490
|
+
deserialize(params) {
|
|
491
|
+
if (!params) {
|
|
492
|
+
return;
|
|
493
|
+
}
|
|
494
|
+
this.Platform = 'Platform' in params ? params.Platform : null;
|
|
495
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
496
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
497
|
+
|
|
498
|
+
if (params.Filters) {
|
|
499
|
+
this.Filters = new Array();
|
|
500
|
+
for (let z in params.Filters) {
|
|
501
|
+
let obj = new RequestFilter();
|
|
502
|
+
obj.deserialize(params.Filters[z]);
|
|
503
|
+
this.Filters.push(obj);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
if (params.Sorts) {
|
|
508
|
+
this.Sorts = new Array();
|
|
509
|
+
for (let z in params.Sorts) {
|
|
510
|
+
let obj = new RequestSort();
|
|
511
|
+
obj.deserialize(params.Sorts[z]);
|
|
512
|
+
this.Sorts.push(obj);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* CreateGlossary request structure.
|
|
521
|
+
* @class
|
|
522
|
+
*/
|
|
523
|
+
class CreateGlossaryRequest extends AbstractModel {
|
|
524
|
+
constructor(){
|
|
525
|
+
super();
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Terminology library name. Maximum 50 characters.
|
|
529
|
+
* @type {string || null}
|
|
530
|
+
*/
|
|
531
|
+
this.Name = null;
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* Source language code. Maximum 16 characters, such as zh (Chinese), en (English).
|
|
535
|
+
* @type {string || null}
|
|
536
|
+
*/
|
|
537
|
+
this.Source = null;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Target language code. Maximum 16 characters, such as zh (Chinese), en (English).
|
|
541
|
+
* @type {string || null}
|
|
542
|
+
*/
|
|
543
|
+
this.Target = null;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Termbase description. Maximum 255 characters.
|
|
547
|
+
* @type {string || null}
|
|
548
|
+
*/
|
|
549
|
+
this.Description = null;
|
|
550
|
+
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* @private
|
|
555
|
+
*/
|
|
556
|
+
deserialize(params) {
|
|
557
|
+
if (!params) {
|
|
558
|
+
return;
|
|
559
|
+
}
|
|
560
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
561
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
562
|
+
this.Target = 'Target' in params ? params.Target : null;
|
|
563
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
564
|
+
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* DescribeGlossaryEntries response structure.
|
|
570
|
+
* @class
|
|
571
|
+
*/
|
|
572
|
+
class DescribeGlossaryEntriesResponse extends AbstractModel {
|
|
24
573
|
constructor(){
|
|
25
574
|
super();
|
|
26
575
|
|
|
27
576
|
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {
|
|
577
|
+
* Terminology entry list.
|
|
578
|
+
* @type {Array.<GlossaryEntryItem> || null}
|
|
30
579
|
*/
|
|
31
|
-
this.
|
|
580
|
+
this.Entries = null;
|
|
32
581
|
|
|
33
582
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {
|
|
583
|
+
* Total number of eligible terminology entries.
|
|
584
|
+
* @type {number || null}
|
|
36
585
|
*/
|
|
37
|
-
this.
|
|
586
|
+
this.Total = null;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Current page.
|
|
590
|
+
* @type {number || null}
|
|
591
|
+
*/
|
|
592
|
+
this.Page = null;
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Size per page
|
|
596
|
+
* @type {number || null}
|
|
597
|
+
*/
|
|
598
|
+
this.PageSize = null;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* 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.
|
|
602
|
+
* @type {string || null}
|
|
603
|
+
*/
|
|
604
|
+
this.RequestId = null;
|
|
38
605
|
|
|
39
606
|
}
|
|
40
607
|
|
|
@@ -45,51 +612,76 @@ class ModifyGlossaryEntriesRequest extends AbstractModel {
|
|
|
45
612
|
if (!params) {
|
|
46
613
|
return;
|
|
47
614
|
}
|
|
48
|
-
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
49
615
|
|
|
50
616
|
if (params.Entries) {
|
|
51
617
|
this.Entries = new Array();
|
|
52
618
|
for (let z in params.Entries) {
|
|
53
|
-
let obj = new
|
|
619
|
+
let obj = new GlossaryEntryItem();
|
|
54
620
|
obj.deserialize(params.Entries[z]);
|
|
55
621
|
this.Entries.push(obj);
|
|
56
622
|
}
|
|
57
623
|
}
|
|
624
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
625
|
+
this.Page = 'Page' in params ? params.Page : null;
|
|
626
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
627
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
58
628
|
|
|
59
629
|
}
|
|
60
630
|
}
|
|
61
631
|
|
|
62
632
|
/**
|
|
63
|
-
*
|
|
633
|
+
* DeleteGlossary request structure.
|
|
64
634
|
* @class
|
|
65
635
|
*/
|
|
66
|
-
class
|
|
636
|
+
class DeleteGlossaryRequest extends AbstractModel {
|
|
67
637
|
constructor(){
|
|
68
638
|
super();
|
|
69
639
|
|
|
70
640
|
/**
|
|
71
|
-
*
|
|
641
|
+
* Termbase ID. Obtain through the API DescribeGlossaries.
|
|
72
642
|
* @type {string || null}
|
|
73
643
|
*/
|
|
74
|
-
this.
|
|
644
|
+
this.GlossaryId = null;
|
|
645
|
+
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* @private
|
|
650
|
+
*/
|
|
651
|
+
deserialize(params) {
|
|
652
|
+
if (!params) {
|
|
653
|
+
return;
|
|
654
|
+
}
|
|
655
|
+
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
656
|
+
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* DescribeGlossaryEntries request structure.
|
|
662
|
+
* @class
|
|
663
|
+
*/
|
|
664
|
+
class DescribeGlossaryEntriesRequest extends AbstractModel {
|
|
665
|
+
constructor(){
|
|
666
|
+
super();
|
|
75
667
|
|
|
76
668
|
/**
|
|
77
|
-
*
|
|
669
|
+
* Termbase ID. Obtain through the API DescribeGlossaries.
|
|
78
670
|
* @type {string || null}
|
|
79
671
|
*/
|
|
80
|
-
this.
|
|
672
|
+
this.GlossaryId = null;
|
|
81
673
|
|
|
82
674
|
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {
|
|
675
|
+
* Page number. Default is 1.
|
|
676
|
+
* @type {number || null}
|
|
85
677
|
*/
|
|
86
|
-
this.
|
|
678
|
+
this.Page = null;
|
|
87
679
|
|
|
88
680
|
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {
|
|
681
|
+
* Size per page. The default value is 20, and the maximum value is 200.
|
|
682
|
+
* @type {number || null}
|
|
91
683
|
*/
|
|
92
|
-
this.
|
|
684
|
+
this.PageSize = null;
|
|
93
685
|
|
|
94
686
|
}
|
|
95
687
|
|
|
@@ -100,45 +692,69 @@ class CreateGlossaryRequest extends AbstractModel {
|
|
|
100
692
|
if (!params) {
|
|
101
693
|
return;
|
|
102
694
|
}
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.Description = 'Description' in params ? params.Description : null;
|
|
695
|
+
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
696
|
+
this.Page = 'Page' in params ? params.Page : null;
|
|
697
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
107
698
|
|
|
108
699
|
}
|
|
109
700
|
}
|
|
110
701
|
|
|
111
702
|
/**
|
|
112
|
-
*
|
|
703
|
+
* DeleteGlossaryEntries request structure.
|
|
113
704
|
* @class
|
|
114
705
|
*/
|
|
115
|
-
class
|
|
706
|
+
class DeleteGlossaryEntriesRequest extends AbstractModel {
|
|
116
707
|
constructor(){
|
|
117
708
|
super();
|
|
118
709
|
|
|
119
710
|
/**
|
|
120
|
-
*
|
|
121
|
-
* @type {
|
|
711
|
+
* Termbase ID. Obtain through the API DescribeGlossaries.
|
|
712
|
+
* @type {string || null}
|
|
122
713
|
*/
|
|
123
|
-
this.
|
|
714
|
+
this.GlossaryId = null;
|
|
124
715
|
|
|
125
716
|
/**
|
|
126
|
-
*
|
|
127
|
-
* @type {
|
|
717
|
+
* Terminology entry list to be deleted. At a time 200.
|
|
718
|
+
* @type {Array.<DeleteGlossaryEntryInput> || null}
|
|
128
719
|
*/
|
|
129
|
-
this.
|
|
720
|
+
this.Entries = null;
|
|
130
721
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* @private
|
|
726
|
+
*/
|
|
727
|
+
deserialize(params) {
|
|
728
|
+
if (!params) {
|
|
729
|
+
return;
|
|
730
|
+
}
|
|
731
|
+
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
732
|
+
|
|
733
|
+
if (params.Entries) {
|
|
734
|
+
this.Entries = new Array();
|
|
735
|
+
for (let z in params.Entries) {
|
|
736
|
+
let obj = new DeleteGlossaryEntryInput();
|
|
737
|
+
obj.deserialize(params.Entries[z]);
|
|
738
|
+
this.Entries.push(obj);
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* CreateGlossaryEntries response structure.
|
|
747
|
+
* @class
|
|
748
|
+
*/
|
|
749
|
+
class CreateGlossaryEntriesResponse extends AbstractModel {
|
|
750
|
+
constructor(){
|
|
751
|
+
super();
|
|
136
752
|
|
|
137
753
|
/**
|
|
138
|
-
*
|
|
139
|
-
* @type {
|
|
754
|
+
* List of successfully created terminology entries.
|
|
755
|
+
* @type {Array.<GlossaryEntryItem> || null}
|
|
140
756
|
*/
|
|
141
|
-
this.
|
|
757
|
+
this.Entries = null;
|
|
142
758
|
|
|
143
759
|
/**
|
|
144
760
|
* 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.
|
|
@@ -164,27 +780,133 @@ class DescribeGlossaryEntriesResponse extends AbstractModel {
|
|
|
164
780
|
this.Entries.push(obj);
|
|
165
781
|
}
|
|
166
782
|
}
|
|
167
|
-
this.Total = 'Total' in params ? params.Total : null;
|
|
168
|
-
this.Page = 'Page' in params ? params.Page : null;
|
|
169
|
-
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
170
783
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
171
784
|
|
|
172
785
|
}
|
|
173
786
|
}
|
|
174
787
|
|
|
175
|
-
/**
|
|
176
|
-
*
|
|
177
|
-
* @class
|
|
178
|
-
*/
|
|
179
|
-
class
|
|
180
|
-
constructor(){
|
|
181
|
-
super();
|
|
788
|
+
/**
|
|
789
|
+
* DeleteApiKey response structure.
|
|
790
|
+
* @class
|
|
791
|
+
*/
|
|
792
|
+
class DeleteApiKeyResponse extends AbstractModel {
|
|
793
|
+
constructor(){
|
|
794
|
+
super();
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* 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.
|
|
798
|
+
* @type {string || null}
|
|
799
|
+
*/
|
|
800
|
+
this.RequestId = null;
|
|
801
|
+
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* @private
|
|
806
|
+
*/
|
|
807
|
+
deserialize(params) {
|
|
808
|
+
if (!params) {
|
|
809
|
+
return;
|
|
810
|
+
}
|
|
811
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
812
|
+
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* Modify terminology entry
|
|
818
|
+
* @class
|
|
819
|
+
*/
|
|
820
|
+
class ModifyGlossaryEntryInput extends AbstractModel {
|
|
821
|
+
constructor(){
|
|
822
|
+
super();
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Terminology entry ID. Obtain through the API DescribeGlossaryEntries.
|
|
826
|
+
* @type {string || null}
|
|
827
|
+
*/
|
|
828
|
+
this.EntryId = null;
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* Source language terminology. Maximum 1000 characters. If not passed, remain unchanged.
|
|
832
|
+
* @type {string || null}
|
|
833
|
+
*/
|
|
834
|
+
this.SourceTerm = null;
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Target language terminology. Maximum 1000 characters. Remain unchanged if not passed.
|
|
838
|
+
* @type {string || null}
|
|
839
|
+
*/
|
|
840
|
+
this.TargetTerm = null;
|
|
841
|
+
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* @private
|
|
846
|
+
*/
|
|
847
|
+
deserialize(params) {
|
|
848
|
+
if (!params) {
|
|
849
|
+
return;
|
|
850
|
+
}
|
|
851
|
+
this.EntryId = 'EntryId' in params ? params.EntryId : null;
|
|
852
|
+
this.SourceTerm = 'SourceTerm' in params ? params.SourceTerm : null;
|
|
853
|
+
this.TargetTerm = 'TargetTerm' in params ? params.TargetTerm : null;
|
|
854
|
+
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* ModifyApiKeyInfo request structure.
|
|
860
|
+
* @class
|
|
861
|
+
*/
|
|
862
|
+
class ModifyApiKeyInfoRequest extends AbstractModel {
|
|
863
|
+
constructor(){
|
|
864
|
+
super();
|
|
865
|
+
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* @private
|
|
870
|
+
*/
|
|
871
|
+
deserialize(params) {
|
|
872
|
+
if (!params) {
|
|
873
|
+
return;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* CreateGlossary response structure.
|
|
881
|
+
* @class
|
|
882
|
+
*/
|
|
883
|
+
class CreateGlossaryResponse extends AbstractModel {
|
|
884
|
+
constructor(){
|
|
885
|
+
super();
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Termbase ID.
|
|
889
|
+
* @type {string || null}
|
|
890
|
+
*/
|
|
891
|
+
this.GlossaryId = null;
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Terminology repository name.
|
|
895
|
+
* @type {string || null}
|
|
896
|
+
*/
|
|
897
|
+
this.Name = null;
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* Creation time. Unix timestamp (ms).
|
|
901
|
+
* @type {number || null}
|
|
902
|
+
*/
|
|
903
|
+
this.CreatedAt = null;
|
|
182
904
|
|
|
183
905
|
/**
|
|
184
|
-
*
|
|
906
|
+
* 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
907
|
* @type {string || null}
|
|
186
908
|
*/
|
|
187
|
-
this.
|
|
909
|
+
this.RequestId = null;
|
|
188
910
|
|
|
189
911
|
}
|
|
190
912
|
|
|
@@ -196,15 +918,18 @@ class DeleteGlossaryRequest extends AbstractModel {
|
|
|
196
918
|
return;
|
|
197
919
|
}
|
|
198
920
|
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
921
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
922
|
+
this.CreatedAt = 'CreatedAt' in params ? params.CreatedAt : null;
|
|
923
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
199
924
|
|
|
200
925
|
}
|
|
201
926
|
}
|
|
202
927
|
|
|
203
928
|
/**
|
|
204
|
-
*
|
|
929
|
+
* ModifyGlossaryEntries request structure.
|
|
205
930
|
* @class
|
|
206
931
|
*/
|
|
207
|
-
class
|
|
932
|
+
class ModifyGlossaryEntriesRequest extends AbstractModel {
|
|
208
933
|
constructor(){
|
|
209
934
|
super();
|
|
210
935
|
|
|
@@ -215,16 +940,10 @@ class DescribeGlossaryEntriesRequest extends AbstractModel {
|
|
|
215
940
|
this.GlossaryId = null;
|
|
216
941
|
|
|
217
942
|
/**
|
|
218
|
-
*
|
|
219
|
-
* @type {
|
|
220
|
-
*/
|
|
221
|
-
this.Page = null;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Size per page. The default value is 20, and the maximum value is 200.
|
|
225
|
-
* @type {number || null}
|
|
943
|
+
* Terminology entry list. At a time 200.
|
|
944
|
+
* @type {Array.<ModifyGlossaryEntryInput> || null}
|
|
226
945
|
*/
|
|
227
|
-
this.
|
|
946
|
+
this.Entries = null;
|
|
228
947
|
|
|
229
948
|
}
|
|
230
949
|
|
|
@@ -236,8 +955,15 @@ class DescribeGlossaryEntriesRequest extends AbstractModel {
|
|
|
236
955
|
return;
|
|
237
956
|
}
|
|
238
957
|
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
239
|
-
|
|
240
|
-
|
|
958
|
+
|
|
959
|
+
if (params.Entries) {
|
|
960
|
+
this.Entries = new Array();
|
|
961
|
+
for (let z in params.Entries) {
|
|
962
|
+
let obj = new ModifyGlossaryEntryInput();
|
|
963
|
+
obj.deserialize(params.Entries[z]);
|
|
964
|
+
this.Entries.push(obj);
|
|
965
|
+
}
|
|
966
|
+
}
|
|
241
967
|
|
|
242
968
|
}
|
|
243
969
|
}
|
|
@@ -308,30 +1034,30 @@ class DescribeGlossariesRequest extends AbstractModel {
|
|
|
308
1034
|
}
|
|
309
1035
|
|
|
310
1036
|
/**
|
|
311
|
-
*
|
|
1037
|
+
* DescribeApiKey request structure.
|
|
312
1038
|
* @class
|
|
313
1039
|
*/
|
|
314
|
-
class
|
|
1040
|
+
class DescribeApiKeyRequest extends AbstractModel {
|
|
315
1041
|
constructor(){
|
|
316
1042
|
super();
|
|
317
1043
|
|
|
318
1044
|
/**
|
|
319
|
-
*
|
|
1045
|
+
* Platform type. Currently supported values: maas.
|
|
320
1046
|
* @type {string || null}
|
|
321
1047
|
*/
|
|
322
|
-
this.
|
|
1048
|
+
this.Platform = null;
|
|
323
1049
|
|
|
324
1050
|
/**
|
|
325
|
-
*
|
|
1051
|
+
* API Key ID. At least one of this or ApiKey is required. Prioritize ApiKeyId.
|
|
326
1052
|
* @type {string || null}
|
|
327
1053
|
*/
|
|
328
|
-
this.
|
|
1054
|
+
this.ApiKeyId = null;
|
|
329
1055
|
|
|
330
1056
|
/**
|
|
331
|
-
*
|
|
332
|
-
* @type {
|
|
1057
|
+
* API key plaintext. At least one of it and ApiKeyId must be imported.
|
|
1058
|
+
* @type {string || null}
|
|
333
1059
|
*/
|
|
334
|
-
this.
|
|
1060
|
+
this.ApiKey = null;
|
|
335
1061
|
|
|
336
1062
|
}
|
|
337
1063
|
|
|
@@ -342,33 +1068,21 @@ class RequestFilter extends AbstractModel {
|
|
|
342
1068
|
if (!params) {
|
|
343
1069
|
return;
|
|
344
1070
|
}
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
1071
|
+
this.Platform = 'Platform' in params ? params.Platform : null;
|
|
1072
|
+
this.ApiKeyId = 'ApiKeyId' in params ? params.ApiKeyId : null;
|
|
1073
|
+
this.ApiKey = 'ApiKey' in params ? params.ApiKey : null;
|
|
348
1074
|
|
|
349
1075
|
}
|
|
350
1076
|
}
|
|
351
1077
|
|
|
352
1078
|
/**
|
|
353
|
-
*
|
|
1079
|
+
* ModifyApiKeyStatus request structure.
|
|
354
1080
|
* @class
|
|
355
1081
|
*/
|
|
356
|
-
class
|
|
1082
|
+
class ModifyApiKeyStatusRequest extends AbstractModel {
|
|
357
1083
|
constructor(){
|
|
358
1084
|
super();
|
|
359
1085
|
|
|
360
|
-
/**
|
|
361
|
-
* Termbase ID. Obtain through the API DescribeGlossaries.
|
|
362
|
-
* @type {string || null}
|
|
363
|
-
*/
|
|
364
|
-
this.GlossaryId = null;
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* Terminology entry list to be deleted. At a time 200.
|
|
368
|
-
* @type {Array.<DeleteGlossaryEntryInput> || null}
|
|
369
|
-
*/
|
|
370
|
-
this.Entries = null;
|
|
371
|
-
|
|
372
1086
|
}
|
|
373
1087
|
|
|
374
1088
|
/**
|
|
@@ -378,39 +1092,29 @@ class DeleteGlossaryEntriesRequest extends AbstractModel {
|
|
|
378
1092
|
if (!params) {
|
|
379
1093
|
return;
|
|
380
1094
|
}
|
|
381
|
-
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
382
|
-
|
|
383
|
-
if (params.Entries) {
|
|
384
|
-
this.Entries = new Array();
|
|
385
|
-
for (let z in params.Entries) {
|
|
386
|
-
let obj = new DeleteGlossaryEntryInput();
|
|
387
|
-
obj.deserialize(params.Entries[z]);
|
|
388
|
-
this.Entries.push(obj);
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
1095
|
|
|
392
1096
|
}
|
|
393
1097
|
}
|
|
394
1098
|
|
|
395
1099
|
/**
|
|
396
|
-
* CreateGlossaryEntries
|
|
1100
|
+
* CreateGlossaryEntries request structure.
|
|
397
1101
|
* @class
|
|
398
1102
|
*/
|
|
399
|
-
class
|
|
1103
|
+
class CreateGlossaryEntriesRequest extends AbstractModel {
|
|
400
1104
|
constructor(){
|
|
401
1105
|
super();
|
|
402
1106
|
|
|
403
1107
|
/**
|
|
404
|
-
*
|
|
405
|
-
* @type {
|
|
1108
|
+
* Termbase ID. Obtain through the API DescribeGlossaries.
|
|
1109
|
+
* @type {string || null}
|
|
406
1110
|
*/
|
|
407
|
-
this.
|
|
1111
|
+
this.GlossaryId = null;
|
|
408
1112
|
|
|
409
1113
|
/**
|
|
410
|
-
*
|
|
411
|
-
* @type {
|
|
1114
|
+
* Terminology entry list. At a time 100.
|
|
1115
|
+
* @type {Array.<GlossaryEntryInput> || null}
|
|
412
1116
|
*/
|
|
413
|
-
this.
|
|
1117
|
+
this.Entries = null;
|
|
414
1118
|
|
|
415
1119
|
}
|
|
416
1120
|
|
|
@@ -421,33 +1125,135 @@ class CreateGlossaryEntriesResponse extends AbstractModel {
|
|
|
421
1125
|
if (!params) {
|
|
422
1126
|
return;
|
|
423
1127
|
}
|
|
1128
|
+
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
424
1129
|
|
|
425
1130
|
if (params.Entries) {
|
|
426
1131
|
this.Entries = new Array();
|
|
427
1132
|
for (let z in params.Entries) {
|
|
428
|
-
let obj = new
|
|
1133
|
+
let obj = new GlossaryEntryInput();
|
|
429
1134
|
obj.deserialize(params.Entries[z]);
|
|
430
1135
|
this.Entries.push(obj);
|
|
431
1136
|
}
|
|
432
1137
|
}
|
|
433
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
434
1138
|
|
|
435
1139
|
}
|
|
436
1140
|
}
|
|
437
1141
|
|
|
438
1142
|
/**
|
|
439
|
-
*
|
|
1143
|
+
* Details of the specified API key
|
|
440
1144
|
* @class
|
|
441
1145
|
*/
|
|
442
|
-
class
|
|
1146
|
+
class ApiKeyDetail extends AbstractModel {
|
|
443
1147
|
constructor(){
|
|
444
1148
|
super();
|
|
445
1149
|
|
|
446
1150
|
/**
|
|
447
|
-
*
|
|
1151
|
+
* API Key ID.
|
|
448
1152
|
* @type {string || null}
|
|
449
1153
|
*/
|
|
450
|
-
this.
|
|
1154
|
+
this.ApiKeyId = null;
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* Name
|
|
1158
|
+
* @type {string || null}
|
|
1159
|
+
*/
|
|
1160
|
+
this.Name = null;
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* API key value. The API response contains the masking value.
|
|
1164
|
+
* @type {string || null}
|
|
1165
|
+
*/
|
|
1166
|
+
this.ApiKey = null;
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* Remarks.
|
|
1170
|
+
* @type {string || null}
|
|
1171
|
+
*/
|
|
1172
|
+
this.Remark = null;
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* Platform type. Currently supported values: maas.
|
|
1176
|
+
* @type {string || null}
|
|
1177
|
+
*/
|
|
1178
|
+
this.Platform = null;
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* Root account.
|
|
1182
|
+
* @type {string || null}
|
|
1183
|
+
*/
|
|
1184
|
+
this.Uin = null;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* Sub-account.
|
|
1188
|
+
* @type {string || null}
|
|
1189
|
+
*/
|
|
1190
|
+
this.SubUin = null;
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* Status. Valid values: enable, disable.
|
|
1194
|
+
* @type {string || null}
|
|
1195
|
+
*/
|
|
1196
|
+
this.Status = null;
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* Binding type. Value: all (all models and services), model_all_endpoint_custom (all models + custom service), model_custom_endpoint_all (custom model + all services), model_custom_endpoint_custom (custom model + custom service).
|
|
1200
|
+
* @type {string || null}
|
|
1201
|
+
*/
|
|
1202
|
+
this.BindType = null;
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* Creation time. Format: YYYY-MM-DD HH:mm:ss.
|
|
1206
|
+
* @type {string || null}
|
|
1207
|
+
*/
|
|
1208
|
+
this.CreateTime = null;
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* Last update time. Format: YYYY-MM-DD HH:mm:ss.
|
|
1212
|
+
* @type {string || null}
|
|
1213
|
+
*/
|
|
1214
|
+
this.UpdateTime = null;
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* App ID.
|
|
1218
|
+
* @type {string || null}
|
|
1219
|
+
*/
|
|
1220
|
+
this.AppId = null;
|
|
1221
|
+
|
|
1222
|
+
/**
|
|
1223
|
+
* Whether it is editable. true means editable, false means non-editable.
|
|
1224
|
+
* @type {boolean || null}
|
|
1225
|
+
*/
|
|
1226
|
+
this.Editable = null;
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* List of bound resources, case-sensitive for endpoint and model kind.
|
|
1230
|
+
* @type {Array.<BindingItem> || null}
|
|
1231
|
+
*/
|
|
1232
|
+
this.BindingItems = null;
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* IP allowlist. Supports IPv4 and CIDR format. Empty array indicates no restriction.
|
|
1236
|
+
* @type {Array.<string> || null}
|
|
1237
|
+
*/
|
|
1238
|
+
this.IpWhitelist = null;
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* This field is empty when Platform is maas.
|
|
1242
|
+
* @type {string || null}
|
|
1243
|
+
*/
|
|
1244
|
+
this.Creator = null;
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* Multi-dimensional list of Token quota information. This field is not returned when unconfigured.
|
|
1248
|
+
* @type {Array.<QuotaInfo> || null}
|
|
1249
|
+
*/
|
|
1250
|
+
this.QuotaSet = null;
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* Token quota status. An empty string means no configuration. active means configured with current availability. inactive means configured but quota exhausted.
|
|
1254
|
+
* @type {string || null}
|
|
1255
|
+
*/
|
|
1256
|
+
this.QuotaStatus = null;
|
|
451
1257
|
|
|
452
1258
|
}
|
|
453
1259
|
|
|
@@ -458,42 +1264,81 @@ class DeleteGlossaryEntryInput extends AbstractModel {
|
|
|
458
1264
|
if (!params) {
|
|
459
1265
|
return;
|
|
460
1266
|
}
|
|
461
|
-
this.
|
|
1267
|
+
this.ApiKeyId = 'ApiKeyId' in params ? params.ApiKeyId : null;
|
|
1268
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1269
|
+
this.ApiKey = 'ApiKey' in params ? params.ApiKey : null;
|
|
1270
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
1271
|
+
this.Platform = 'Platform' in params ? params.Platform : null;
|
|
1272
|
+
this.Uin = 'Uin' in params ? params.Uin : null;
|
|
1273
|
+
this.SubUin = 'SubUin' in params ? params.SubUin : null;
|
|
1274
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1275
|
+
this.BindType = 'BindType' in params ? params.BindType : null;
|
|
1276
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1277
|
+
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
1278
|
+
this.AppId = 'AppId' in params ? params.AppId : null;
|
|
1279
|
+
this.Editable = 'Editable' in params ? params.Editable : null;
|
|
1280
|
+
|
|
1281
|
+
if (params.BindingItems) {
|
|
1282
|
+
this.BindingItems = new Array();
|
|
1283
|
+
for (let z in params.BindingItems) {
|
|
1284
|
+
let obj = new BindingItem();
|
|
1285
|
+
obj.deserialize(params.BindingItems[z]);
|
|
1286
|
+
this.BindingItems.push(obj);
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
this.IpWhitelist = 'IpWhitelist' in params ? params.IpWhitelist : null;
|
|
1290
|
+
this.Creator = 'Creator' in params ? params.Creator : null;
|
|
1291
|
+
|
|
1292
|
+
if (params.QuotaSet) {
|
|
1293
|
+
this.QuotaSet = new Array();
|
|
1294
|
+
for (let z in params.QuotaSet) {
|
|
1295
|
+
let obj = new QuotaInfo();
|
|
1296
|
+
obj.deserialize(params.QuotaSet[z]);
|
|
1297
|
+
this.QuotaSet.push(obj);
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
this.QuotaStatus = 'QuotaStatus' in params ? params.QuotaStatus : null;
|
|
462
1301
|
|
|
463
1302
|
}
|
|
464
1303
|
}
|
|
465
1304
|
|
|
466
1305
|
/**
|
|
467
|
-
*
|
|
1306
|
+
* DescribeGlossaries response structure.
|
|
468
1307
|
* @class
|
|
469
1308
|
*/
|
|
470
|
-
class
|
|
1309
|
+
class DescribeGlossariesResponse extends AbstractModel {
|
|
471
1310
|
constructor(){
|
|
472
1311
|
super();
|
|
473
1312
|
|
|
474
1313
|
/**
|
|
475
|
-
* Terminology
|
|
476
|
-
* @type {
|
|
1314
|
+
* Terminology repository list.
|
|
1315
|
+
* @type {Array.<GlossaryItem> || null}
|
|
477
1316
|
*/
|
|
478
|
-
this.
|
|
1317
|
+
this.Items = null;
|
|
479
1318
|
|
|
480
1319
|
/**
|
|
481
|
-
*
|
|
482
|
-
* @type {
|
|
1320
|
+
* Total number of eligible terminology repositories.
|
|
1321
|
+
* @type {number || null}
|
|
483
1322
|
*/
|
|
484
|
-
this.
|
|
1323
|
+
this.TotalCount = null;
|
|
485
1324
|
|
|
486
1325
|
/**
|
|
487
|
-
*
|
|
488
|
-
* @type {
|
|
1326
|
+
* Current page.
|
|
1327
|
+
* @type {number || null}
|
|
489
1328
|
*/
|
|
490
|
-
this.
|
|
1329
|
+
this.Current = null;
|
|
491
1330
|
|
|
492
1331
|
/**
|
|
493
|
-
*
|
|
1332
|
+
* Size per page
|
|
494
1333
|
* @type {number || null}
|
|
495
1334
|
*/
|
|
496
|
-
this.
|
|
1335
|
+
this.PageSize = null;
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* 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.
|
|
1339
|
+
* @type {string || null}
|
|
1340
|
+
*/
|
|
1341
|
+
this.RequestId = null;
|
|
497
1342
|
|
|
498
1343
|
}
|
|
499
1344
|
|
|
@@ -504,19 +1349,28 @@ class GlossaryEntryItem extends AbstractModel {
|
|
|
504
1349
|
if (!params) {
|
|
505
1350
|
return;
|
|
506
1351
|
}
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
1352
|
+
|
|
1353
|
+
if (params.Items) {
|
|
1354
|
+
this.Items = new Array();
|
|
1355
|
+
for (let z in params.Items) {
|
|
1356
|
+
let obj = new GlossaryItem();
|
|
1357
|
+
obj.deserialize(params.Items[z]);
|
|
1358
|
+
this.Items.push(obj);
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1362
|
+
this.Current = 'Current' in params ? params.Current : null;
|
|
1363
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
1364
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
511
1365
|
|
|
512
1366
|
}
|
|
513
1367
|
}
|
|
514
1368
|
|
|
515
1369
|
/**
|
|
516
|
-
*
|
|
1370
|
+
* ModifyApiKeyStatus response structure.
|
|
517
1371
|
* @class
|
|
518
1372
|
*/
|
|
519
|
-
class
|
|
1373
|
+
class ModifyApiKeyStatusResponse extends AbstractModel {
|
|
520
1374
|
constructor(){
|
|
521
1375
|
super();
|
|
522
1376
|
|
|
@@ -541,24 +1395,40 @@ class DeleteGlossaryResponse extends AbstractModel {
|
|
|
541
1395
|
}
|
|
542
1396
|
|
|
543
1397
|
/**
|
|
544
|
-
*
|
|
1398
|
+
* CreateApiKey response structure.
|
|
545
1399
|
* @class
|
|
546
1400
|
*/
|
|
547
|
-
class
|
|
1401
|
+
class CreateApiKeyResponse extends AbstractModel {
|
|
548
1402
|
constructor(){
|
|
549
1403
|
super();
|
|
550
1404
|
|
|
551
1405
|
/**
|
|
552
|
-
*
|
|
1406
|
+
* 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.
|
|
553
1407
|
* @type {string || null}
|
|
554
1408
|
*/
|
|
555
|
-
this.
|
|
1409
|
+
this.RequestId = null;
|
|
556
1410
|
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* @private
|
|
1415
|
+
*/
|
|
1416
|
+
deserialize(params) {
|
|
1417
|
+
if (!params) {
|
|
1418
|
+
return;
|
|
1419
|
+
}
|
|
1420
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1421
|
+
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* DeleteApiKey request structure.
|
|
1427
|
+
* @class
|
|
1428
|
+
*/
|
|
1429
|
+
class DeleteApiKeyRequest extends AbstractModel {
|
|
1430
|
+
constructor(){
|
|
1431
|
+
super();
|
|
562
1432
|
|
|
563
1433
|
}
|
|
564
1434
|
|
|
@@ -569,39 +1439,35 @@ class CreateGlossaryEntriesRequest extends AbstractModel {
|
|
|
569
1439
|
if (!params) {
|
|
570
1440
|
return;
|
|
571
1441
|
}
|
|
572
|
-
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
573
|
-
|
|
574
|
-
if (params.Entries) {
|
|
575
|
-
this.Entries = new Array();
|
|
576
|
-
for (let z in params.Entries) {
|
|
577
|
-
let obj = new GlossaryEntryInput();
|
|
578
|
-
obj.deserialize(params.Entries[z]);
|
|
579
|
-
this.Entries.push(obj);
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
1442
|
|
|
583
1443
|
}
|
|
584
1444
|
}
|
|
585
1445
|
|
|
586
1446
|
/**
|
|
587
|
-
*
|
|
1447
|
+
* Filter criteria
|
|
588
1448
|
* @class
|
|
589
1449
|
*/
|
|
590
|
-
class
|
|
1450
|
+
class RequestFilter extends AbstractModel {
|
|
591
1451
|
constructor(){
|
|
592
1452
|
super();
|
|
593
1453
|
|
|
594
1454
|
/**
|
|
595
|
-
*
|
|
1455
|
+
* Filter field name.
|
|
596
1456
|
* @type {string || null}
|
|
597
1457
|
*/
|
|
598
1458
|
this.Name = null;
|
|
599
1459
|
|
|
600
1460
|
/**
|
|
601
|
-
*
|
|
1461
|
+
* Filter operator. Values: EXACT (exact match), FUZZY (fuzzy matching), NOT (exclusion).
|
|
602
1462
|
* @type {string || null}
|
|
603
1463
|
*/
|
|
604
|
-
this.
|
|
1464
|
+
this.Op = null;
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* Filter value list. Supports up to 10.
|
|
1468
|
+
* @type {Array.<string> || null}
|
|
1469
|
+
*/
|
|
1470
|
+
this.Values = null;
|
|
605
1471
|
|
|
606
1472
|
}
|
|
607
1473
|
|
|
@@ -613,7 +1479,8 @@ class RequestSort extends AbstractModel {
|
|
|
613
1479
|
return;
|
|
614
1480
|
}
|
|
615
1481
|
this.Name = 'Name' in params ? params.Name : null;
|
|
616
|
-
this.
|
|
1482
|
+
this.Op = 'Op' in params ? params.Op : null;
|
|
1483
|
+
this.Values = 'Values' in params ? params.Values : null;
|
|
617
1484
|
|
|
618
1485
|
}
|
|
619
1486
|
}
|
|
@@ -662,30 +1529,24 @@ class ModifyGlossaryEntriesResponse extends AbstractModel {
|
|
|
662
1529
|
}
|
|
663
1530
|
|
|
664
1531
|
/**
|
|
665
|
-
*
|
|
1532
|
+
* Sort criteria
|
|
666
1533
|
* @class
|
|
667
1534
|
*/
|
|
668
|
-
class
|
|
1535
|
+
class RequestSort extends AbstractModel {
|
|
669
1536
|
constructor(){
|
|
670
1537
|
super();
|
|
671
1538
|
|
|
672
1539
|
/**
|
|
673
|
-
*
|
|
674
|
-
* @type {string || null}
|
|
675
|
-
*/
|
|
676
|
-
this.EntryId = null;
|
|
677
|
-
|
|
678
|
-
/**
|
|
679
|
-
* Source language terminology. Maximum 1000 characters. If not passed, remain unchanged.
|
|
1540
|
+
* Sorting field name.
|
|
680
1541
|
* @type {string || null}
|
|
681
1542
|
*/
|
|
682
|
-
this.
|
|
1543
|
+
this.Name = null;
|
|
683
1544
|
|
|
684
1545
|
/**
|
|
685
|
-
*
|
|
1546
|
+
* Sorting order. Value: ASC (ascending), DESC (descending).
|
|
686
1547
|
* @type {string || null}
|
|
687
1548
|
*/
|
|
688
|
-
this.
|
|
1549
|
+
this.Order = null;
|
|
689
1550
|
|
|
690
1551
|
}
|
|
691
1552
|
|
|
@@ -696,194 +1557,133 @@ class ModifyGlossaryEntryInput extends AbstractModel {
|
|
|
696
1557
|
if (!params) {
|
|
697
1558
|
return;
|
|
698
1559
|
}
|
|
699
|
-
this.
|
|
700
|
-
this.
|
|
701
|
-
this.TargetTerm = 'TargetTerm' in params ? params.TargetTerm : null;
|
|
1560
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1561
|
+
this.Order = 'Order' in params ? params.Order : null;
|
|
702
1562
|
|
|
703
1563
|
}
|
|
704
1564
|
}
|
|
705
1565
|
|
|
706
1566
|
/**
|
|
707
|
-
*
|
|
1567
|
+
* DescribeApiKey response structure.
|
|
708
1568
|
* @class
|
|
709
1569
|
*/
|
|
710
|
-
class
|
|
1570
|
+
class DescribeApiKeyResponse extends AbstractModel {
|
|
711
1571
|
constructor(){
|
|
712
1572
|
super();
|
|
713
1573
|
|
|
714
1574
|
/**
|
|
715
|
-
*
|
|
1575
|
+
* API Key ID.
|
|
716
1576
|
* @type {string || null}
|
|
717
1577
|
*/
|
|
718
|
-
this.
|
|
719
|
-
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* @private
|
|
724
|
-
*/
|
|
725
|
-
deserialize(params) {
|
|
726
|
-
if (!params) {
|
|
727
|
-
return;
|
|
728
|
-
}
|
|
729
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
730
|
-
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
/**
|
|
735
|
-
* DescribeGlossaries response structure.
|
|
736
|
-
* @class
|
|
737
|
-
*/
|
|
738
|
-
class DescribeGlossariesResponse extends AbstractModel {
|
|
739
|
-
constructor(){
|
|
740
|
-
super();
|
|
1578
|
+
this.ApiKeyId = null;
|
|
741
1579
|
|
|
742
1580
|
/**
|
|
743
|
-
*
|
|
744
|
-
* @type {
|
|
1581
|
+
* Name
|
|
1582
|
+
* @type {string || null}
|
|
745
1583
|
*/
|
|
746
|
-
this.
|
|
1584
|
+
this.Name = null;
|
|
747
1585
|
|
|
748
1586
|
/**
|
|
749
|
-
*
|
|
750
|
-
* @type {
|
|
1587
|
+
* API Key value (plaintext).
|
|
1588
|
+
* @type {string || null}
|
|
751
1589
|
*/
|
|
752
|
-
this.
|
|
1590
|
+
this.ApiKey = null;
|
|
753
1591
|
|
|
754
1592
|
/**
|
|
755
|
-
*
|
|
756
|
-
* @type {
|
|
1593
|
+
* Remarks.
|
|
1594
|
+
* @type {string || null}
|
|
757
1595
|
*/
|
|
758
|
-
this.
|
|
1596
|
+
this.Remark = null;
|
|
759
1597
|
|
|
760
1598
|
/**
|
|
761
|
-
*
|
|
762
|
-
* @type {
|
|
1599
|
+
* Platform type. Enumerate: maas.
|
|
1600
|
+
* @type {string || null}
|
|
763
1601
|
*/
|
|
764
|
-
this.
|
|
1602
|
+
this.Platform = null;
|
|
765
1603
|
|
|
766
1604
|
/**
|
|
767
|
-
*
|
|
1605
|
+
* Root account.
|
|
768
1606
|
* @type {string || null}
|
|
769
1607
|
*/
|
|
770
|
-
this.
|
|
771
|
-
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
/**
|
|
775
|
-
* @private
|
|
776
|
-
*/
|
|
777
|
-
deserialize(params) {
|
|
778
|
-
if (!params) {
|
|
779
|
-
return;
|
|
780
|
-
}
|
|
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
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
794
|
-
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
* Termbase detail
|
|
800
|
-
* @class
|
|
801
|
-
*/
|
|
802
|
-
class GlossaryItem extends AbstractModel {
|
|
803
|
-
constructor(){
|
|
804
|
-
super();
|
|
1608
|
+
this.Uin = null;
|
|
805
1609
|
|
|
806
1610
|
/**
|
|
807
|
-
*
|
|
1611
|
+
* Sub-account.
|
|
808
1612
|
* @type {string || null}
|
|
809
1613
|
*/
|
|
810
|
-
this.
|
|
1614
|
+
this.SubUin = null;
|
|
811
1615
|
|
|
812
1616
|
/**
|
|
813
|
-
*
|
|
1617
|
+
* Status. Valid values: enable, disable.
|
|
814
1618
|
* @type {string || null}
|
|
815
1619
|
*/
|
|
816
|
-
this.
|
|
1620
|
+
this.Status = null;
|
|
817
1621
|
|
|
818
1622
|
/**
|
|
819
|
-
*
|
|
1623
|
+
* Binding type. Value: all (all models and access points), model_all_endpoint_custom (all models + custom access point), model_custom_endpoint_all (custom model + all access points), model_custom_endpoint_custom (custom model + custom access point).
|
|
820
1624
|
* @type {string || null}
|
|
821
1625
|
*/
|
|
822
|
-
this.
|
|
1626
|
+
this.BindType = null;
|
|
823
1627
|
|
|
824
1628
|
/**
|
|
825
|
-
*
|
|
1629
|
+
* Creation time. Format: YYYY-MM-DD HH:mm:ss.
|
|
826
1630
|
* @type {string || null}
|
|
827
1631
|
*/
|
|
828
|
-
this.
|
|
1632
|
+
this.CreateTime = null;
|
|
829
1633
|
|
|
830
1634
|
/**
|
|
831
|
-
*
|
|
1635
|
+
* Last update time. Format: YYYY-MM-DD HH:mm:ss.
|
|
832
1636
|
* @type {string || null}
|
|
833
1637
|
*/
|
|
834
|
-
this.
|
|
1638
|
+
this.UpdateTime = null;
|
|
835
1639
|
|
|
836
1640
|
/**
|
|
837
|
-
*
|
|
1641
|
+
* App ID.
|
|
838
1642
|
* @type {string || null}
|
|
839
1643
|
*/
|
|
840
|
-
this.
|
|
1644
|
+
this.AppId = null;
|
|
841
1645
|
|
|
842
1646
|
/**
|
|
843
|
-
*
|
|
844
|
-
* @type {
|
|
1647
|
+
* Whether it is editable. true means editable, false means non-editable.
|
|
1648
|
+
* @type {boolean || null}
|
|
845
1649
|
*/
|
|
846
|
-
this.
|
|
1650
|
+
this.Editable = null;
|
|
847
1651
|
|
|
848
|
-
|
|
1652
|
+
/**
|
|
1653
|
+
* List of bound resources, case-sensitive for endpoint and model kind.
|
|
1654
|
+
* @type {Array.<BindingItem> || null}
|
|
1655
|
+
*/
|
|
1656
|
+
this.BindingItems = null;
|
|
849
1657
|
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
return;
|
|
856
|
-
}
|
|
857
|
-
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
858
|
-
this.Name = 'Name' in params ? params.Name : null;
|
|
859
|
-
this.Description = 'Description' in params ? params.Description : null;
|
|
860
|
-
this.Source = 'Source' in params ? params.Source : null;
|
|
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;
|
|
1658
|
+
/**
|
|
1659
|
+
* IP allowlist. Supports IPv4 and CIDR format. Empty array indicates no restriction.
|
|
1660
|
+
* @type {Array.<string> || null}
|
|
1661
|
+
*/
|
|
1662
|
+
this.IpWhitelist = null;
|
|
864
1663
|
|
|
865
|
-
|
|
866
|
-
|
|
1664
|
+
/**
|
|
1665
|
+
* This field is empty when Platform is maas.
|
|
1666
|
+
* @type {string || null}
|
|
1667
|
+
*/
|
|
1668
|
+
this.Creator = null;
|
|
867
1669
|
|
|
868
|
-
/**
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
constructor(){
|
|
874
|
-
super();
|
|
1670
|
+
/**
|
|
1671
|
+
* Multi-dimensional information of Token quota. This field is not returned when unconfigured.
|
|
1672
|
+
* @type {Array.<QuotaInfo> || null}
|
|
1673
|
+
*/
|
|
1674
|
+
this.QuotaSet = null;
|
|
875
1675
|
|
|
876
1676
|
/**
|
|
877
|
-
*
|
|
1677
|
+
* Token quota status. An empty string means no configuration. active means configured with current availability. inactive means configured but quota exhausted.
|
|
878
1678
|
* @type {string || null}
|
|
879
1679
|
*/
|
|
880
|
-
this.
|
|
1680
|
+
this.QuotaStatus = null;
|
|
881
1681
|
|
|
882
1682
|
/**
|
|
883
|
-
*
|
|
1683
|
+
* 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
1684
|
* @type {string || null}
|
|
885
1685
|
*/
|
|
886
|
-
this.
|
|
1686
|
+
this.RequestId = null;
|
|
887
1687
|
|
|
888
1688
|
}
|
|
889
1689
|
|
|
@@ -894,44 +1694,53 @@ class GlossaryEntryInput extends AbstractModel {
|
|
|
894
1694
|
if (!params) {
|
|
895
1695
|
return;
|
|
896
1696
|
}
|
|
897
|
-
this.
|
|
898
|
-
this.
|
|
1697
|
+
this.ApiKeyId = 'ApiKeyId' in params ? params.ApiKeyId : null;
|
|
1698
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1699
|
+
this.ApiKey = 'ApiKey' in params ? params.ApiKey : null;
|
|
1700
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
1701
|
+
this.Platform = 'Platform' in params ? params.Platform : null;
|
|
1702
|
+
this.Uin = 'Uin' in params ? params.Uin : null;
|
|
1703
|
+
this.SubUin = 'SubUin' in params ? params.SubUin : null;
|
|
1704
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1705
|
+
this.BindType = 'BindType' in params ? params.BindType : null;
|
|
1706
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1707
|
+
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
1708
|
+
this.AppId = 'AppId' in params ? params.AppId : null;
|
|
1709
|
+
this.Editable = 'Editable' in params ? params.Editable : null;
|
|
1710
|
+
|
|
1711
|
+
if (params.BindingItems) {
|
|
1712
|
+
this.BindingItems = new Array();
|
|
1713
|
+
for (let z in params.BindingItems) {
|
|
1714
|
+
let obj = new BindingItem();
|
|
1715
|
+
obj.deserialize(params.BindingItems[z]);
|
|
1716
|
+
this.BindingItems.push(obj);
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
this.IpWhitelist = 'IpWhitelist' in params ? params.IpWhitelist : null;
|
|
1720
|
+
this.Creator = 'Creator' in params ? params.Creator : null;
|
|
1721
|
+
|
|
1722
|
+
if (params.QuotaSet) {
|
|
1723
|
+
this.QuotaSet = new Array();
|
|
1724
|
+
for (let z in params.QuotaSet) {
|
|
1725
|
+
let obj = new QuotaInfo();
|
|
1726
|
+
obj.deserialize(params.QuotaSet[z]);
|
|
1727
|
+
this.QuotaSet.push(obj);
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
this.QuotaStatus = 'QuotaStatus' in params ? params.QuotaStatus : null;
|
|
1731
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
899
1732
|
|
|
900
1733
|
}
|
|
901
1734
|
}
|
|
902
1735
|
|
|
903
1736
|
/**
|
|
904
|
-
*
|
|
1737
|
+
* CreateApiKey request structure.
|
|
905
1738
|
* @class
|
|
906
1739
|
*/
|
|
907
|
-
class
|
|
1740
|
+
class CreateApiKeyRequest extends AbstractModel {
|
|
908
1741
|
constructor(){
|
|
909
1742
|
super();
|
|
910
1743
|
|
|
911
|
-
/**
|
|
912
|
-
* Termbase ID.
|
|
913
|
-
* @type {string || null}
|
|
914
|
-
*/
|
|
915
|
-
this.GlossaryId = null;
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* Terminology repository name.
|
|
919
|
-
* @type {string || null}
|
|
920
|
-
*/
|
|
921
|
-
this.Name = null;
|
|
922
|
-
|
|
923
|
-
/**
|
|
924
|
-
* Creation time. Unix timestamp (ms).
|
|
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.
|
|
931
|
-
* @type {string || null}
|
|
932
|
-
*/
|
|
933
|
-
this.RequestId = null;
|
|
934
|
-
|
|
935
1744
|
}
|
|
936
1745
|
|
|
937
1746
|
/**
|
|
@@ -941,35 +1750,46 @@ class CreateGlossaryResponse extends AbstractModel {
|
|
|
941
1750
|
if (!params) {
|
|
942
1751
|
return;
|
|
943
1752
|
}
|
|
944
|
-
this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
|
|
945
|
-
this.Name = 'Name' in params ? params.Name : null;
|
|
946
|
-
this.CreatedAt = 'CreatedAt' in params ? params.CreatedAt : null;
|
|
947
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
948
1753
|
|
|
949
1754
|
}
|
|
950
1755
|
}
|
|
951
1756
|
|
|
952
1757
|
module.exports = {
|
|
953
|
-
|
|
1758
|
+
GlossaryItem: GlossaryItem,
|
|
1759
|
+
BindingItem: BindingItem,
|
|
1760
|
+
GlossaryEntryInput: GlossaryEntryInput,
|
|
1761
|
+
DeleteGlossaryEntryInput: DeleteGlossaryEntryInput,
|
|
1762
|
+
GlossaryEntryItem: GlossaryEntryItem,
|
|
1763
|
+
DeleteGlossaryResponse: DeleteGlossaryResponse,
|
|
1764
|
+
QuotaInfo: QuotaInfo,
|
|
1765
|
+
DeleteGlossaryEntriesResponse: DeleteGlossaryEntriesResponse,
|
|
1766
|
+
DescribeApiKeyListResponse: DescribeApiKeyListResponse,
|
|
1767
|
+
ModifyApiKeyInfoResponse: ModifyApiKeyInfoResponse,
|
|
1768
|
+
DescribeApiKeyListRequest: DescribeApiKeyListRequest,
|
|
954
1769
|
CreateGlossaryRequest: CreateGlossaryRequest,
|
|
955
1770
|
DescribeGlossaryEntriesResponse: DescribeGlossaryEntriesResponse,
|
|
956
1771
|
DeleteGlossaryRequest: DeleteGlossaryRequest,
|
|
957
1772
|
DescribeGlossaryEntriesRequest: DescribeGlossaryEntriesRequest,
|
|
958
|
-
DescribeGlossariesRequest: DescribeGlossariesRequest,
|
|
959
|
-
RequestFilter: RequestFilter,
|
|
960
1773
|
DeleteGlossaryEntriesRequest: DeleteGlossaryEntriesRequest,
|
|
961
1774
|
CreateGlossaryEntriesResponse: CreateGlossaryEntriesResponse,
|
|
962
|
-
|
|
963
|
-
GlossaryEntryItem: GlossaryEntryItem,
|
|
964
|
-
DeleteGlossaryResponse: DeleteGlossaryResponse,
|
|
965
|
-
CreateGlossaryEntriesRequest: CreateGlossaryEntriesRequest,
|
|
966
|
-
RequestSort: RequestSort,
|
|
967
|
-
ModifyGlossaryEntriesResponse: ModifyGlossaryEntriesResponse,
|
|
1775
|
+
DeleteApiKeyResponse: DeleteApiKeyResponse,
|
|
968
1776
|
ModifyGlossaryEntryInput: ModifyGlossaryEntryInput,
|
|
969
|
-
|
|
970
|
-
DescribeGlossariesResponse: DescribeGlossariesResponse,
|
|
971
|
-
GlossaryItem: GlossaryItem,
|
|
972
|
-
GlossaryEntryInput: GlossaryEntryInput,
|
|
1777
|
+
ModifyApiKeyInfoRequest: ModifyApiKeyInfoRequest,
|
|
973
1778
|
CreateGlossaryResponse: CreateGlossaryResponse,
|
|
1779
|
+
ModifyGlossaryEntriesRequest: ModifyGlossaryEntriesRequest,
|
|
1780
|
+
DescribeGlossariesRequest: DescribeGlossariesRequest,
|
|
1781
|
+
DescribeApiKeyRequest: DescribeApiKeyRequest,
|
|
1782
|
+
ModifyApiKeyStatusRequest: ModifyApiKeyStatusRequest,
|
|
1783
|
+
CreateGlossaryEntriesRequest: CreateGlossaryEntriesRequest,
|
|
1784
|
+
ApiKeyDetail: ApiKeyDetail,
|
|
1785
|
+
DescribeGlossariesResponse: DescribeGlossariesResponse,
|
|
1786
|
+
ModifyApiKeyStatusResponse: ModifyApiKeyStatusResponse,
|
|
1787
|
+
CreateApiKeyResponse: CreateApiKeyResponse,
|
|
1788
|
+
DeleteApiKeyRequest: DeleteApiKeyRequest,
|
|
1789
|
+
RequestFilter: RequestFilter,
|
|
1790
|
+
ModifyGlossaryEntriesResponse: ModifyGlossaryEntriesResponse,
|
|
1791
|
+
RequestSort: RequestSort,
|
|
1792
|
+
DescribeApiKeyResponse: DescribeApiKeyResponse,
|
|
1793
|
+
CreateApiKeyRequest: CreateApiKeyRequest,
|
|
974
1794
|
|
|
975
1795
|
}
|