tencentcloud-sdk-nodejs-intl-en 3.0.1391 → 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.
@@ -16,6 +16,118 @@
16
16
  */
17
17
  const AbstractModel = require("../../common/abstract_model");
18
18
 
19
+ /**
20
+ * Termbase detail
21
+ * @class
22
+ */
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
+
19
131
  /**
20
132
  * Create terminology entry
21
133
  * @class
@@ -80,36 +192,61 @@ class DeleteGlossaryEntryInput extends AbstractModel {
80
192
  }
81
193
 
82
194
  /**
83
- * DescribeGlossaries response structure.
195
+ * Terminology entry detail
84
196
  * @class
85
197
  */
86
- class DescribeGlossariesResponse extends AbstractModel {
198
+ class GlossaryEntryItem extends AbstractModel {
87
199
  constructor(){
88
200
  super();
89
201
 
90
202
  /**
91
- * Terminology repository list.
92
- * @type {Array.<GlossaryItem> || null}
203
+ * Terminology entry ID.
204
+ * @type {string || null}
93
205
  */
94
- this.Items = null;
206
+ this.EntryId = null;
95
207
 
96
208
  /**
97
- * Total number of eligible terminology repositories.
98
- * @type {number || null}
209
+ * Source language terminology.
210
+ * @type {string || null}
99
211
  */
100
- this.TotalCount = null;
212
+ this.SourceTerm = null;
101
213
 
102
214
  /**
103
- * Current page.
104
- * @type {number || null}
215
+ * Target language terminology.
216
+ * @type {string || null}
105
217
  */
106
- this.Current = null;
218
+ this.TargetTerm = null;
107
219
 
108
220
  /**
109
- * Size per page
221
+ * Last update time. Unix timestamp (ms).
110
222
  * @type {number || null}
111
223
  */
112
- this.PageSize = null;
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();
113
250
 
114
251
  /**
115
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.
@@ -126,36 +263,60 @@ class DescribeGlossariesResponse extends AbstractModel {
126
263
  if (!params) {
127
264
  return;
128
265
  }
129
-
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);
136
- }
137
- }
138
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
139
- this.Current = 'Current' in params ? params.Current : null;
140
- this.PageSize = 'PageSize' in params ? params.PageSize : null;
141
266
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
142
267
 
143
268
  }
144
269
  }
145
270
 
146
271
  /**
147
- * DeleteGlossary response structure.
272
+ * Token quota information
148
273
  * @class
149
274
  */
150
- class DeleteGlossaryResponse extends AbstractModel {
275
+ class QuotaInfo extends AbstractModel {
151
276
  constructor(){
152
277
  super();
153
278
 
154
279
  /**
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.
280
+ * Quota package ID.
156
281
  * @type {string || null}
157
282
  */
158
- this.RequestId = null;
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;
159
320
 
160
321
  }
161
322
 
@@ -166,7 +327,13 @@ class DeleteGlossaryResponse extends AbstractModel {
166
327
  if (!params) {
167
328
  return;
168
329
  }
169
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
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;
170
337
 
171
338
  }
172
339
  }
@@ -200,54 +367,68 @@ class DeleteGlossaryEntriesResponse extends AbstractModel {
200
367
  }
201
368
 
202
369
  /**
203
- * Termbase detail
370
+ * DescribeApiKeyList response structure.
204
371
  * @class
205
372
  */
206
- class GlossaryItem extends AbstractModel {
373
+ class DescribeApiKeyListResponse extends AbstractModel {
207
374
  constructor(){
208
375
  super();
209
376
 
210
377
  /**
211
- * Termbase ID.
212
- * @type {string || null}
378
+ * API Key List.
379
+ * @type {Array.<ApiKeyDetail> || null}
213
380
  */
214
- this.GlossaryId = null;
381
+ this.ApiKeySet = null;
215
382
 
216
383
  /**
217
- * Terminology repository name.
218
- * @type {string || null}
384
+ * Total number of eligible API keys.
385
+ * @type {number || null}
219
386
  */
220
- this.Name = null;
387
+ this.TotalCount = null;
221
388
 
222
389
  /**
223
- * Repository description.
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.
224
391
  * @type {string || null}
225
392
  */
226
- this.Description = null;
393
+ this.RequestId = null;
227
394
 
228
- /**
229
- * Source language code.
230
- * @type {string || null}
231
- */
232
- this.Source = null;
395
+ }
233
396
 
234
- /**
235
- * Target language code.
236
- * @type {string || null}
237
- */
238
- this.Target = null;
397
+ /**
398
+ * @private
399
+ */
400
+ deserialize(params) {
401
+ if (!params) {
402
+ return;
403
+ }
239
404
 
240
- /**
241
- * Creation time.
242
- * @type {string || null}
243
- */
244
- this.CreatedTime = null;
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();
245
426
 
246
427
  /**
247
- * Update time.
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.
248
429
  * @type {string || null}
249
430
  */
250
- this.UpdatedTime = null;
431
+ this.RequestId = null;
251
432
 
252
433
  }
253
434
 
@@ -258,30 +439,48 @@ class GlossaryItem extends AbstractModel {
258
439
  if (!params) {
259
440
  return;
260
441
  }
261
- this.GlossaryId = 'GlossaryId' in params ? params.GlossaryId : null;
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;
442
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
268
443
 
269
444
  }
270
445
  }
271
446
 
272
447
  /**
273
- * ModifyApiKeyInfo response structure.
448
+ * DescribeApiKeyList request structure.
274
449
  * @class
275
450
  */
276
- class ModifyApiKeyInfoResponse extends AbstractModel {
451
+ class DescribeApiKeyListRequest extends AbstractModel {
277
452
  constructor(){
278
453
  super();
279
454
 
280
455
  /**
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.
456
+ * Platform type. Currently supported values: maas.
282
457
  * @type {string || null}
283
458
  */
284
- this.RequestId = null;
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;
285
484
 
286
485
  }
287
486
 
@@ -292,7 +491,27 @@ class ModifyApiKeyInfoResponse extends AbstractModel {
292
491
  if (!params) {
293
492
  return;
294
493
  }
295
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
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
+ }
296
515
 
297
516
  }
298
517
  }
@@ -814,6 +1033,48 @@ class DescribeGlossariesRequest extends AbstractModel {
814
1033
  }
815
1034
  }
816
1035
 
1036
+ /**
1037
+ * DescribeApiKey request structure.
1038
+ * @class
1039
+ */
1040
+ class DescribeApiKeyRequest extends AbstractModel {
1041
+ constructor(){
1042
+ super();
1043
+
1044
+ /**
1045
+ * Platform type. Currently supported values: maas.
1046
+ * @type {string || null}
1047
+ */
1048
+ this.Platform = null;
1049
+
1050
+ /**
1051
+ * API Key ID. At least one of this or ApiKey is required. Prioritize ApiKeyId.
1052
+ * @type {string || null}
1053
+ */
1054
+ this.ApiKeyId = null;
1055
+
1056
+ /**
1057
+ * API key plaintext. At least one of it and ApiKeyId must be imported.
1058
+ * @type {string || null}
1059
+ */
1060
+ this.ApiKey = null;
1061
+
1062
+ }
1063
+
1064
+ /**
1065
+ * @private
1066
+ */
1067
+ deserialize(params) {
1068
+ if (!params) {
1069
+ return;
1070
+ }
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;
1074
+
1075
+ }
1076
+ }
1077
+
817
1078
  /**
818
1079
  * ModifyApiKeyStatus request structure.
819
1080
  * @class
@@ -879,36 +1140,205 @@ class CreateGlossaryEntriesRequest extends AbstractModel {
879
1140
  }
880
1141
 
881
1142
  /**
882
- * Terminology entry detail
1143
+ * Details of the specified API key
883
1144
  * @class
884
1145
  */
885
- class GlossaryEntryItem extends AbstractModel {
1146
+ class ApiKeyDetail extends AbstractModel {
886
1147
  constructor(){
887
1148
  super();
888
1149
 
889
1150
  /**
890
- * Terminology entry ID.
1151
+ * API Key ID.
891
1152
  * @type {string || null}
892
1153
  */
893
- this.EntryId = null;
1154
+ this.ApiKeyId = null;
894
1155
 
895
1156
  /**
896
- * Source language terminology.
1157
+ * Name
897
1158
  * @type {string || null}
898
1159
  */
899
- this.SourceTerm = null;
1160
+ this.Name = null;
900
1161
 
901
1162
  /**
902
- * Target language terminology.
1163
+ * API key value. The API response contains the masking value.
903
1164
  * @type {string || null}
904
1165
  */
905
- this.TargetTerm = null;
1166
+ this.ApiKey = null;
906
1167
 
907
1168
  /**
908
- * Last update time. Unix timestamp (ms).
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;
1257
+
1258
+ }
1259
+
1260
+ /**
1261
+ * @private
1262
+ */
1263
+ deserialize(params) {
1264
+ if (!params) {
1265
+ return;
1266
+ }
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;
1301
+
1302
+ }
1303
+ }
1304
+
1305
+ /**
1306
+ * DescribeGlossaries response structure.
1307
+ * @class
1308
+ */
1309
+ class DescribeGlossariesResponse extends AbstractModel {
1310
+ constructor(){
1311
+ super();
1312
+
1313
+ /**
1314
+ * Terminology repository list.
1315
+ * @type {Array.<GlossaryItem> || null}
1316
+ */
1317
+ this.Items = null;
1318
+
1319
+ /**
1320
+ * Total number of eligible terminology repositories.
909
1321
  * @type {number || null}
910
1322
  */
911
- this.UpdatedAt = null;
1323
+ this.TotalCount = null;
1324
+
1325
+ /**
1326
+ * Current page.
1327
+ * @type {number || null}
1328
+ */
1329
+ this.Current = null;
1330
+
1331
+ /**
1332
+ * Size per page
1333
+ * @type {number || null}
1334
+ */
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;
912
1342
 
913
1343
  }
914
1344
 
@@ -919,10 +1349,19 @@ class GlossaryEntryItem extends AbstractModel {
919
1349
  if (!params) {
920
1350
  return;
921
1351
  }
922
- this.EntryId = 'EntryId' in params ? params.EntryId : null;
923
- this.SourceTerm = 'SourceTerm' in params ? params.SourceTerm : null;
924
- this.TargetTerm = 'TargetTerm' in params ? params.TargetTerm : null;
925
- this.UpdatedAt = 'UpdatedAt' in params ? params.UpdatedAt : null;
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;
926
1365
 
927
1366
  }
928
1367
  }
@@ -1124,6 +1563,176 @@ class RequestSort extends AbstractModel {
1124
1563
  }
1125
1564
  }
1126
1565
 
1566
+ /**
1567
+ * DescribeApiKey response structure.
1568
+ * @class
1569
+ */
1570
+ class DescribeApiKeyResponse extends AbstractModel {
1571
+ constructor(){
1572
+ super();
1573
+
1574
+ /**
1575
+ * API Key ID.
1576
+ * @type {string || null}
1577
+ */
1578
+ this.ApiKeyId = null;
1579
+
1580
+ /**
1581
+ * Name
1582
+ * @type {string || null}
1583
+ */
1584
+ this.Name = null;
1585
+
1586
+ /**
1587
+ * API Key value (plaintext).
1588
+ * @type {string || null}
1589
+ */
1590
+ this.ApiKey = null;
1591
+
1592
+ /**
1593
+ * Remarks.
1594
+ * @type {string || null}
1595
+ */
1596
+ this.Remark = null;
1597
+
1598
+ /**
1599
+ * Platform type. Enumerate: maas.
1600
+ * @type {string || null}
1601
+ */
1602
+ this.Platform = null;
1603
+
1604
+ /**
1605
+ * Root account.
1606
+ * @type {string || null}
1607
+ */
1608
+ this.Uin = null;
1609
+
1610
+ /**
1611
+ * Sub-account.
1612
+ * @type {string || null}
1613
+ */
1614
+ this.SubUin = null;
1615
+
1616
+ /**
1617
+ * Status. Valid values: enable, disable.
1618
+ * @type {string || null}
1619
+ */
1620
+ this.Status = null;
1621
+
1622
+ /**
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).
1624
+ * @type {string || null}
1625
+ */
1626
+ this.BindType = null;
1627
+
1628
+ /**
1629
+ * Creation time. Format: YYYY-MM-DD HH:mm:ss.
1630
+ * @type {string || null}
1631
+ */
1632
+ this.CreateTime = null;
1633
+
1634
+ /**
1635
+ * Last update time. Format: YYYY-MM-DD HH:mm:ss.
1636
+ * @type {string || null}
1637
+ */
1638
+ this.UpdateTime = null;
1639
+
1640
+ /**
1641
+ * App ID.
1642
+ * @type {string || null}
1643
+ */
1644
+ this.AppId = null;
1645
+
1646
+ /**
1647
+ * Whether it is editable. true means editable, false means non-editable.
1648
+ * @type {boolean || null}
1649
+ */
1650
+ this.Editable = null;
1651
+
1652
+ /**
1653
+ * List of bound resources, case-sensitive for endpoint and model kind.
1654
+ * @type {Array.<BindingItem> || null}
1655
+ */
1656
+ this.BindingItems = null;
1657
+
1658
+ /**
1659
+ * IP allowlist. Supports IPv4 and CIDR format. Empty array indicates no restriction.
1660
+ * @type {Array.<string> || null}
1661
+ */
1662
+ this.IpWhitelist = null;
1663
+
1664
+ /**
1665
+ * This field is empty when Platform is maas.
1666
+ * @type {string || null}
1667
+ */
1668
+ this.Creator = null;
1669
+
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;
1675
+
1676
+ /**
1677
+ * Token quota status. An empty string means no configuration. active means configured with current availability. inactive means configured but quota exhausted.
1678
+ * @type {string || null}
1679
+ */
1680
+ this.QuotaStatus = null;
1681
+
1682
+ /**
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.
1684
+ * @type {string || null}
1685
+ */
1686
+ this.RequestId = null;
1687
+
1688
+ }
1689
+
1690
+ /**
1691
+ * @private
1692
+ */
1693
+ deserialize(params) {
1694
+ if (!params) {
1695
+ return;
1696
+ }
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;
1732
+
1733
+ }
1734
+ }
1735
+
1127
1736
  /**
1128
1737
  * CreateApiKey request structure.
1129
1738
  * @class
@@ -1146,13 +1755,17 @@ class CreateApiKeyRequest extends AbstractModel {
1146
1755
  }
1147
1756
 
1148
1757
  module.exports = {
1758
+ GlossaryItem: GlossaryItem,
1759
+ BindingItem: BindingItem,
1149
1760
  GlossaryEntryInput: GlossaryEntryInput,
1150
1761
  DeleteGlossaryEntryInput: DeleteGlossaryEntryInput,
1151
- DescribeGlossariesResponse: DescribeGlossariesResponse,
1762
+ GlossaryEntryItem: GlossaryEntryItem,
1152
1763
  DeleteGlossaryResponse: DeleteGlossaryResponse,
1764
+ QuotaInfo: QuotaInfo,
1153
1765
  DeleteGlossaryEntriesResponse: DeleteGlossaryEntriesResponse,
1154
- GlossaryItem: GlossaryItem,
1766
+ DescribeApiKeyListResponse: DescribeApiKeyListResponse,
1155
1767
  ModifyApiKeyInfoResponse: ModifyApiKeyInfoResponse,
1768
+ DescribeApiKeyListRequest: DescribeApiKeyListRequest,
1156
1769
  CreateGlossaryRequest: CreateGlossaryRequest,
1157
1770
  DescribeGlossaryEntriesResponse: DescribeGlossaryEntriesResponse,
1158
1771
  DeleteGlossaryRequest: DeleteGlossaryRequest,
@@ -1165,15 +1778,18 @@ module.exports = {
1165
1778
  CreateGlossaryResponse: CreateGlossaryResponse,
1166
1779
  ModifyGlossaryEntriesRequest: ModifyGlossaryEntriesRequest,
1167
1780
  DescribeGlossariesRequest: DescribeGlossariesRequest,
1781
+ DescribeApiKeyRequest: DescribeApiKeyRequest,
1168
1782
  ModifyApiKeyStatusRequest: ModifyApiKeyStatusRequest,
1169
1783
  CreateGlossaryEntriesRequest: CreateGlossaryEntriesRequest,
1170
- GlossaryEntryItem: GlossaryEntryItem,
1784
+ ApiKeyDetail: ApiKeyDetail,
1785
+ DescribeGlossariesResponse: DescribeGlossariesResponse,
1171
1786
  ModifyApiKeyStatusResponse: ModifyApiKeyStatusResponse,
1172
1787
  CreateApiKeyResponse: CreateApiKeyResponse,
1173
1788
  DeleteApiKeyRequest: DeleteApiKeyRequest,
1174
1789
  RequestFilter: RequestFilter,
1175
1790
  ModifyGlossaryEntriesResponse: ModifyGlossaryEntriesResponse,
1176
1791
  RequestSort: RequestSort,
1792
+ DescribeApiKeyResponse: DescribeApiKeyResponse,
1177
1793
  CreateApiKeyRequest: CreateApiKeyRequest,
1178
1794
 
1179
1795
  }