@alicloud/agentcore20260804 2.2.1 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/client.d.ts +148 -2
  2. package/dist/client.js +284 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCustomAgentRequest.d.ts +765 -0
  5. package/dist/models/CreateCustomAgentRequest.js +591 -0
  6. package/dist/models/CreateCustomAgentRequest.js.map +1 -0
  7. package/dist/models/CreateCustomAgentResponse.d.ts +19 -0
  8. package/dist/models/CreateCustomAgentResponse.js +69 -0
  9. package/dist/models/CreateCustomAgentResponse.js.map +1 -0
  10. package/dist/models/CreateCustomAgentResponseBody.d.ts +923 -0
  11. package/dist/models/CreateCustomAgentResponseBody.js +652 -0
  12. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -0
  13. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +26 -0
  14. package/dist/models/CreateCustomAgentShrinkRequest.js +60 -0
  15. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -0
  16. package/dist/models/CreateExternalAgentRequest.d.ts +61 -14
  17. package/dist/models/CreateExternalAgentRequest.js +29 -1
  18. package/dist/models/CreateExternalAgentRequest.js.map +1 -1
  19. package/dist/models/CreateExternalAgentResponseBody.d.ts +171 -39
  20. package/dist/models/CreateExternalAgentResponseBody.js +89 -1
  21. package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
  22. package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
  23. package/dist/models/DeleteCustomAgentRequest.d.ts +13 -0
  24. package/dist/models/DeleteCustomAgentRequest.js +54 -0
  25. package/dist/models/DeleteCustomAgentRequest.js.map +1 -0
  26. package/dist/models/DeleteCustomAgentResponse.d.ts +19 -0
  27. package/dist/models/DeleteCustomAgentResponse.js +69 -0
  28. package/dist/models/DeleteCustomAgentResponse.js.map +1 -0
  29. package/dist/models/DeleteCustomAgentResponseBody.d.ts +155 -0
  30. package/dist/models/DeleteCustomAgentResponseBody.js +110 -0
  31. package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -0
  32. package/dist/models/GetCustomAgentRequest.d.ts +13 -0
  33. package/dist/models/GetCustomAgentRequest.js +54 -0
  34. package/dist/models/GetCustomAgentRequest.js.map +1 -0
  35. package/dist/models/GetCustomAgentResponse.d.ts +19 -0
  36. package/dist/models/GetCustomAgentResponse.js +69 -0
  37. package/dist/models/GetCustomAgentResponse.js.map +1 -0
  38. package/dist/models/GetCustomAgentResponseBody.d.ts +655 -0
  39. package/dist/models/GetCustomAgentResponseBody.js +652 -0
  40. package/dist/models/GetCustomAgentResponseBody.js.map +1 -0
  41. package/dist/models/GetExternalAgentResponseBody.d.ts +164 -43
  42. package/dist/models/GetExternalAgentResponseBody.js +89 -1
  43. package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
  44. package/dist/models/ListCustomAgentsRequest.d.ts +29 -0
  45. package/dist/models/ListCustomAgentsRequest.js +60 -0
  46. package/dist/models/ListCustomAgentsRequest.js.map +1 -0
  47. package/dist/models/ListCustomAgentsResponse.d.ts +19 -0
  48. package/dist/models/ListCustomAgentsResponse.js +69 -0
  49. package/dist/models/ListCustomAgentsResponse.js.map +1 -0
  50. package/dist/models/ListCustomAgentsResponseBody.d.ts +248 -0
  51. package/dist/models/ListCustomAgentsResponseBody.js +171 -0
  52. package/dist/models/ListCustomAgentsResponseBody.js.map +1 -0
  53. package/dist/models/ListUsersRequest.d.ts +12 -4
  54. package/dist/models/ListUsersRequest.js +2 -0
  55. package/dist/models/ListUsersRequest.js.map +1 -1
  56. package/dist/models/ListUsersResponseBody.d.ts +14 -14
  57. package/dist/models/UpdateCustomAgentRequest.d.ts +757 -0
  58. package/dist/models/UpdateCustomAgentRequest.js +591 -0
  59. package/dist/models/UpdateCustomAgentRequest.js.map +1 -0
  60. package/dist/models/UpdateCustomAgentResponse.d.ts +19 -0
  61. package/dist/models/UpdateCustomAgentResponse.js +69 -0
  62. package/dist/models/UpdateCustomAgentResponse.js.map +1 -0
  63. package/dist/models/UpdateCustomAgentResponseBody.d.ts +910 -0
  64. package/dist/models/UpdateCustomAgentResponseBody.js +652 -0
  65. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -0
  66. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +26 -0
  67. package/dist/models/UpdateCustomAgentShrinkRequest.js +60 -0
  68. package/dist/models/UpdateCustomAgentShrinkRequest.js.map +1 -0
  69. package/dist/models/UpdateExternalAgentRequest.d.ts +59 -12
  70. package/dist/models/UpdateExternalAgentRequest.js +29 -1
  71. package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
  72. package/dist/models/UpdateExternalAgentResponseBody.d.ts +175 -34
  73. package/dist/models/UpdateExternalAgentResponseBody.js +89 -1
  74. package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
  75. package/dist/models/model.d.ts +135 -0
  76. package/dist/models/model.js +337 -65
  77. package/dist/models/model.js.map +1 -1
  78. package/package.json +1 -1
  79. package/src/client.ts +303 -2
  80. package/src/models/CreateCustomAgentRequest.ts +1129 -0
  81. package/src/models/CreateCustomAgentResponse.ts +40 -0
  82. package/src/models/CreateCustomAgentResponseBody.ts +1337 -0
  83. package/src/models/CreateCustomAgentShrinkRequest.ts +41 -0
  84. package/src/models/CreateExternalAgentRequest.ts +80 -14
  85. package/src/models/CreateExternalAgentResponseBody.ts +232 -39
  86. package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
  87. package/src/models/DeleteCustomAgentRequest.ts +24 -0
  88. package/src/models/DeleteCustomAgentResponse.ts +40 -0
  89. package/src/models/DeleteCustomAgentResponseBody.ts +211 -0
  90. package/src/models/GetCustomAgentRequest.ts +24 -0
  91. package/src/models/GetCustomAgentResponse.ts +40 -0
  92. package/src/models/GetCustomAgentResponseBody.ts +1069 -0
  93. package/src/models/GetExternalAgentResponseBody.ts +225 -43
  94. package/src/models/ListCustomAgentsRequest.ts +44 -0
  95. package/src/models/ListCustomAgentsResponse.ts +40 -0
  96. package/src/models/ListCustomAgentsResponseBody.ts +345 -0
  97. package/src/models/ListUsersRequest.ts +14 -4
  98. package/src/models/ListUsersResponseBody.ts +14 -14
  99. package/src/models/UpdateCustomAgentRequest.ts +1121 -0
  100. package/src/models/UpdateCustomAgentResponse.ts +40 -0
  101. package/src/models/UpdateCustomAgentResponseBody.ts +1324 -0
  102. package/src/models/UpdateCustomAgentShrinkRequest.ts +41 -0
  103. package/src/models/UpdateExternalAgentRequest.ts +78 -12
  104. package/src/models/UpdateExternalAgentResponseBody.ts +236 -34
  105. package/src/models/model.ts +135 -0
@@ -0,0 +1,1324 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateCustomAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The AgenticFS mount directory in the container, located under /mnt/agenticfs/.
9
+ *
10
+ * @example
11
+ * /mnt/agenticfs/data
12
+ */
13
+ mountPath?: string;
14
+ /**
15
+ * @remarks
16
+ * The relative directory within the mounted AccessPoint.
17
+ *
18
+ * @example
19
+ * workspace/data
20
+ */
21
+ path?: string;
22
+ /**
23
+ * @remarks
24
+ * Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write.
25
+ *
26
+ * @example
27
+ * false
28
+ */
29
+ readOnly?: boolean;
30
+ /**
31
+ * @remarks
32
+ * The domain name of the AgenticFS AccessPoint used for the mount.
33
+ *
34
+ * @example
35
+ * ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
36
+ */
37
+ server?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ mountPath: 'mountPath',
41
+ path: 'path',
42
+ readOnly: 'readOnly',
43
+ server: 'server',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ mountPath: 'string',
50
+ path: 'string',
51
+ readOnly: 'boolean',
52
+ server: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
65
+ export class UpdateCustomAgentResponseBodyDataArtifactCode extends $dara.Model {
66
+ /**
67
+ * @remarks
68
+ * The startup entry point of the code package. Code package deployment is not supported.
69
+ *
70
+ * This parameter is required.
71
+ *
72
+ * @example
73
+ * python app.py
74
+ */
75
+ entrypoint?: string;
76
+ /**
77
+ * @remarks
78
+ * The language runtime identifier of the code package. Code package deployment is not supported.
79
+ *
80
+ * This parameter is required.
81
+ *
82
+ * @example
83
+ * python
84
+ */
85
+ languageRuntime?: string;
86
+ /**
87
+ * @remarks
88
+ * The source URI of the code package. Code package deployment is not supported.
89
+ *
90
+ * This parameter is required.
91
+ *
92
+ * @example
93
+ * oss://my-agent-bucket/packages/agent.zip
94
+ */
95
+ sourceUri?: string;
96
+ static names(): { [key: string]: string } {
97
+ return {
98
+ entrypoint: 'entrypoint',
99
+ languageRuntime: 'languageRuntime',
100
+ sourceUri: 'sourceUri',
101
+ };
102
+ }
103
+
104
+ static types(): { [key: string]: any } {
105
+ return {
106
+ entrypoint: 'string',
107
+ languageRuntime: 'string',
108
+ sourceUri: 'string',
109
+ };
110
+ }
111
+
112
+ validate() {
113
+ super.validate();
114
+ }
115
+
116
+ constructor(map?: { [key: string]: any }) {
117
+ super(map);
118
+ }
119
+ }
120
+
121
+ export class UpdateCustomAgentResponseBodyDataArtifactContainer extends $dara.Model {
122
+ /**
123
+ * @remarks
124
+ * The custom executable program and startup parameters. If not configured, the default startup method of the image is used.
125
+ *
126
+ * @example
127
+ * python app.py
128
+ */
129
+ entrypoint?: string;
130
+ /**
131
+ * @remarks
132
+ * The ID of the ACR instance to which the image repository belongs.
133
+ *
134
+ * This parameter is required.
135
+ *
136
+ * @example
137
+ * cri-a1b2c3d4e5f6
138
+ */
139
+ instanceId?: string;
140
+ /**
141
+ * @remarks
142
+ * The namespace to which the ACR image repository belongs.
143
+ *
144
+ * This parameter is required.
145
+ *
146
+ * @example
147
+ * my-agent
148
+ */
149
+ namespace?: string;
150
+ /**
151
+ * @remarks
152
+ * The name of the image repository in the ACR namespace.
153
+ *
154
+ * This parameter is required.
155
+ *
156
+ * @example
157
+ * chat-agent
158
+ */
159
+ repo?: string;
160
+ /**
161
+ * @remarks
162
+ * The latest submitted image tag.
163
+ *
164
+ * This parameter is required.
165
+ *
166
+ * @example
167
+ * v1.0.0
168
+ */
169
+ tag?: string;
170
+ /**
171
+ * @remarks
172
+ * The image source type. A value of acr indicates Alibaba Cloud Container Registry (ACR).
173
+ *
174
+ * This parameter is required.
175
+ *
176
+ * @example
177
+ * acr
178
+ */
179
+ type?: string;
180
+ static names(): { [key: string]: string } {
181
+ return {
182
+ entrypoint: 'entrypoint',
183
+ instanceId: 'instanceId',
184
+ namespace: 'namespace',
185
+ repo: 'repo',
186
+ tag: 'tag',
187
+ type: 'type',
188
+ };
189
+ }
190
+
191
+ static types(): { [key: string]: any } {
192
+ return {
193
+ entrypoint: 'string',
194
+ instanceId: 'string',
195
+ namespace: 'string',
196
+ repo: 'string',
197
+ tag: 'string',
198
+ type: 'string',
199
+ };
200
+ }
201
+
202
+ validate() {
203
+ super.validate();
204
+ }
205
+
206
+ constructor(map?: { [key: string]: any }) {
207
+ super(map);
208
+ }
209
+ }
210
+
211
+ export class UpdateCustomAgentResponseBodyDataArtifact extends $dara.Model {
212
+ /**
213
+ * @remarks
214
+ * The code package configuration field. Code package deployment is not supported.
215
+ */
216
+ code?: UpdateCustomAgentResponseBodyDataArtifactCode;
217
+ /**
218
+ * @remarks
219
+ * The latest submitted ACR container image configuration.
220
+ */
221
+ container?: UpdateCustomAgentResponseBodyDataArtifactContainer;
222
+ /**
223
+ * @remarks
224
+ * The TCP port listened on by the agent service.
225
+ *
226
+ * This parameter is required.
227
+ *
228
+ * @example
229
+ * 8080
230
+ */
231
+ port?: number;
232
+ static names(): { [key: string]: string } {
233
+ return {
234
+ code: 'code',
235
+ container: 'container',
236
+ port: 'port',
237
+ };
238
+ }
239
+
240
+ static types(): { [key: string]: any } {
241
+ return {
242
+ code: UpdateCustomAgentResponseBodyDataArtifactCode,
243
+ container: UpdateCustomAgentResponseBodyDataArtifactContainer,
244
+ port: 'number',
245
+ };
246
+ }
247
+
248
+ validate() {
249
+ if(this.code && typeof (this.code as any).validate === 'function') {
250
+ (this.code as any).validate();
251
+ }
252
+ if(this.container && typeof (this.container as any).validate === 'function') {
253
+ (this.container as any).validate();
254
+ }
255
+ super.validate();
256
+ }
257
+
258
+ constructor(map?: { [key: string]: any }) {
259
+ super(map);
260
+ }
261
+ }
262
+
263
+ export class UpdateCustomAgentResponseBodyDataEnvironmentVariables extends $dara.Model {
264
+ /**
265
+ * @remarks
266
+ * The name of the environment variable.
267
+ *
268
+ * This parameter is required.
269
+ *
270
+ * @example
271
+ * LOG_LEVEL
272
+ */
273
+ name?: string;
274
+ /**
275
+ * @remarks
276
+ * The string value of the environment variable. Empty strings are allowed.
277
+ *
278
+ * This parameter is required.
279
+ *
280
+ * @example
281
+ * info
282
+ */
283
+ value?: string;
284
+ static names(): { [key: string]: string } {
285
+ return {
286
+ name: 'name',
287
+ value: 'value',
288
+ };
289
+ }
290
+
291
+ static types(): { [key: string]: any } {
292
+ return {
293
+ name: 'string',
294
+ value: 'string',
295
+ };
296
+ }
297
+
298
+ validate() {
299
+ super.validate();
300
+ }
301
+
302
+ constructor(map?: { [key: string]: any }) {
303
+ super(map);
304
+ }
305
+ }
306
+
307
+ export class UpdateCustomAgentResponseBodyDataEnvironment extends $dara.Model {
308
+ /**
309
+ * @remarks
310
+ * The latest submitted list of environment variables.
311
+ */
312
+ variables?: UpdateCustomAgentResponseBodyDataEnvironmentVariables[];
313
+ static names(): { [key: string]: string } {
314
+ return {
315
+ variables: 'variables',
316
+ };
317
+ }
318
+
319
+ static types(): { [key: string]: any } {
320
+ return {
321
+ variables: { 'type': 'array', 'itemType': UpdateCustomAgentResponseBodyDataEnvironmentVariables },
322
+ };
323
+ }
324
+
325
+ validate() {
326
+ if(Array.isArray(this.variables)) {
327
+ $dara.Model.validateArray(this.variables);
328
+ }
329
+ super.validate();
330
+ }
331
+
332
+ constructor(map?: { [key: string]: any }) {
333
+ super(map);
334
+ }
335
+ }
336
+
337
+ export class UpdateCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
338
+ /**
339
+ * @remarks
340
+ * This parameter does not take effect.
341
+ *
342
+ * @example
343
+ * 1
344
+ */
345
+ healthyThreshold?: number;
346
+ /**
347
+ * @remarks
348
+ * The interval between two consecutive health checks, in seconds.
349
+ *
350
+ * @example
351
+ * 10
352
+ */
353
+ intervalSeconds?: number;
354
+ /**
355
+ * @remarks
356
+ * The health check path.
357
+ *
358
+ * @example
359
+ * /healthz
360
+ */
361
+ path?: string;
362
+ /**
363
+ * @remarks
364
+ * The port accessed for the HTTP health check.
365
+ *
366
+ * @example
367
+ * 8080
368
+ */
369
+ port?: number;
370
+ /**
371
+ * @remarks
372
+ * The timeout period for a single health check, in seconds.
373
+ *
374
+ * @example
375
+ * 2
376
+ */
377
+ timeoutSeconds?: number;
378
+ /**
379
+ * @remarks
380
+ * The number of consecutive health check failures required to mark the agent as unhealthy.
381
+ *
382
+ * @example
383
+ * 3
384
+ */
385
+ unhealthyThreshold?: number;
386
+ static names(): { [key: string]: string } {
387
+ return {
388
+ healthyThreshold: 'healthyThreshold',
389
+ intervalSeconds: 'intervalSeconds',
390
+ path: 'path',
391
+ port: 'port',
392
+ timeoutSeconds: 'timeoutSeconds',
393
+ unhealthyThreshold: 'unhealthyThreshold',
394
+ };
395
+ }
396
+
397
+ static types(): { [key: string]: any } {
398
+ return {
399
+ healthyThreshold: 'number',
400
+ intervalSeconds: 'number',
401
+ path: 'string',
402
+ port: 'number',
403
+ timeoutSeconds: 'number',
404
+ unhealthyThreshold: 'number',
405
+ };
406
+ }
407
+
408
+ validate() {
409
+ super.validate();
410
+ }
411
+
412
+ constructor(map?: { [key: string]: any }) {
413
+ super(map);
414
+ }
415
+ }
416
+
417
+ export class UpdateCustomAgentResponseBodyDataLatestExecutionError extends $dara.Model {
418
+ /**
419
+ * @remarks
420
+ * The reason code for the waiting or execution failure of the latest configuration. This code is used to determine the subsequent processing method.
421
+ *
422
+ * @example
423
+ * AgentExecutionFailed
424
+ */
425
+ code?: string;
426
+ /**
427
+ * @remarks
428
+ * The description of the reason why the latest configuration is waiting or failed to execute. Refer to code and retryable to determine what to do next.
429
+ *
430
+ * @example
431
+ * Agent execution failed. Check the configuration and resubmit
432
+ */
433
+ message?: string;
434
+ /**
435
+ * @remarks
436
+ * Specifies whether automatic retry is performed. If the value is true, you can query again later. If the value is false, check and fix the configuration based on the reason, and then resubmit.
437
+ */
438
+ retryable?: boolean;
439
+ static names(): { [key: string]: string } {
440
+ return {
441
+ code: 'code',
442
+ message: 'message',
443
+ retryable: 'retryable',
444
+ };
445
+ }
446
+
447
+ static types(): { [key: string]: any } {
448
+ return {
449
+ code: 'string',
450
+ message: 'string',
451
+ retryable: 'boolean',
452
+ };
453
+ }
454
+
455
+ validate() {
456
+ super.validate();
457
+ }
458
+
459
+ constructor(map?: { [key: string]: any }) {
460
+ super(map);
461
+ }
462
+ }
463
+
464
+ export class UpdateCustomAgentResponseBodyDataLoggingSls extends $dara.Model {
465
+ /**
466
+ * @remarks
467
+ * The name of the Simple Log Service logstore that receives agent logs.
468
+ *
469
+ * @example
470
+ * agent-runtime
471
+ */
472
+ logstore?: string;
473
+ /**
474
+ * @remarks
475
+ * The name of the Simple Log Service project that receives agent logs.
476
+ *
477
+ * @example
478
+ * my-agent-logs
479
+ */
480
+ project?: string;
481
+ static names(): { [key: string]: string } {
482
+ return {
483
+ logstore: 'logstore',
484
+ project: 'project',
485
+ };
486
+ }
487
+
488
+ static types(): { [key: string]: any } {
489
+ return {
490
+ logstore: 'string',
491
+ project: 'string',
492
+ };
493
+ }
494
+
495
+ validate() {
496
+ super.validate();
497
+ }
498
+
499
+ constructor(map?: { [key: string]: any }) {
500
+ super(map);
501
+ }
502
+ }
503
+
504
+ export class UpdateCustomAgentResponseBodyDataLogging extends $dara.Model {
505
+ /**
506
+ * @remarks
507
+ * The Simple Log Service (SLS) log delivery destination.
508
+ */
509
+ sls?: UpdateCustomAgentResponseBodyDataLoggingSls;
510
+ static names(): { [key: string]: string } {
511
+ return {
512
+ sls: 'sls',
513
+ };
514
+ }
515
+
516
+ static types(): { [key: string]: any } {
517
+ return {
518
+ sls: UpdateCustomAgentResponseBodyDataLoggingSls,
519
+ };
520
+ }
521
+
522
+ validate() {
523
+ if(this.sls && typeof (this.sls as any).validate === 'function') {
524
+ (this.sls as any).validate();
525
+ }
526
+ super.validate();
527
+ }
528
+
529
+ constructor(map?: { [key: string]: any }) {
530
+ super(map);
531
+ }
532
+ }
533
+
534
+ export class UpdateCustomAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
535
+ /**
536
+ * @remarks
537
+ * Specifies whether Internet access is allowed on the agent side. The actual access is still restricted by the workspace.
538
+ */
539
+ enabled?: boolean;
540
+ static names(): { [key: string]: string } {
541
+ return {
542
+ enabled: 'enabled',
543
+ };
544
+ }
545
+
546
+ static types(): { [key: string]: any } {
547
+ return {
548
+ enabled: 'boolean',
549
+ };
550
+ }
551
+
552
+ validate() {
553
+ super.validate();
554
+ }
555
+
556
+ constructor(map?: { [key: string]: any }) {
557
+ super(map);
558
+ }
559
+ }
560
+
561
+ export class UpdateCustomAgentResponseBodyDataNetworkAccessVpc extends $dara.Model {
562
+ /**
563
+ * @remarks
564
+ * Specifies whether access to the user VPC configured for the workspace is allowed on the agent side. The actual access is still restricted by the workspace.
565
+ */
566
+ enabled?: boolean;
567
+ static names(): { [key: string]: string } {
568
+ return {
569
+ enabled: 'enabled',
570
+ };
571
+ }
572
+
573
+ static types(): { [key: string]: any } {
574
+ return {
575
+ enabled: 'boolean',
576
+ };
577
+ }
578
+
579
+ validate() {
580
+ super.validate();
581
+ }
582
+
583
+ constructor(map?: { [key: string]: any }) {
584
+ super(map);
585
+ }
586
+ }
587
+
588
+ export class UpdateCustomAgentResponseBodyDataNetwork extends $dara.Model {
589
+ /**
590
+ * @remarks
591
+ * The Internet access configuration of the agent. If this field is not configured, Internet access is allowed on the agent side, but it is still restricted by the workspace.
592
+ */
593
+ accessInternet?: UpdateCustomAgentResponseBodyDataNetworkAccessInternet;
594
+ /**
595
+ * @remarks
596
+ * The user VPC access configuration of the agent. If this field is not configured, user VPC access is allowed on the agent side, but it is still restricted by the workspace.
597
+ */
598
+ accessVpc?: UpdateCustomAgentResponseBodyDataNetworkAccessVpc;
599
+ static names(): { [key: string]: string } {
600
+ return {
601
+ accessInternet: 'accessInternet',
602
+ accessVpc: 'accessVpc',
603
+ };
604
+ }
605
+
606
+ static types(): { [key: string]: any } {
607
+ return {
608
+ accessInternet: UpdateCustomAgentResponseBodyDataNetworkAccessInternet,
609
+ accessVpc: UpdateCustomAgentResponseBodyDataNetworkAccessVpc,
610
+ };
611
+ }
612
+
613
+ validate() {
614
+ if(this.accessInternet && typeof (this.accessInternet as any).validate === 'function') {
615
+ (this.accessInternet as any).validate();
616
+ }
617
+ if(this.accessVpc && typeof (this.accessVpc as any).validate === 'function') {
618
+ (this.accessVpc as any).validate();
619
+ }
620
+ super.validate();
621
+ }
622
+
623
+ constructor(map?: { [key: string]: any }) {
624
+ super(map);
625
+ }
626
+ }
627
+
628
+ export class UpdateCustomAgentResponseBodyDataOssMounts extends $dara.Model {
629
+ /**
630
+ * @remarks
631
+ * The name of the mounted OSS bucket.
632
+ *
633
+ * @example
634
+ * my-agent-data
635
+ */
636
+ bucketName?: string;
637
+ /**
638
+ * @remarks
639
+ * The OSS mount directory in the container, located under /mnt/oss/.
640
+ *
641
+ * @example
642
+ * /mnt/oss/train
643
+ */
644
+ mountPath?: string;
645
+ /**
646
+ * @remarks
647
+ * The object directory prefix in the mounted bucket.
648
+ *
649
+ * @example
650
+ * datasets/train
651
+ */
652
+ path?: string;
653
+ /**
654
+ * @remarks
655
+ * Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write.
656
+ */
657
+ readOnly?: boolean;
658
+ static names(): { [key: string]: string } {
659
+ return {
660
+ bucketName: 'bucketName',
661
+ mountPath: 'mountPath',
662
+ path: 'path',
663
+ readOnly: 'readOnly',
664
+ };
665
+ }
666
+
667
+ static types(): { [key: string]: any } {
668
+ return {
669
+ bucketName: 'string',
670
+ mountPath: 'string',
671
+ path: 'string',
672
+ readOnly: 'boolean',
673
+ };
674
+ }
675
+
676
+ validate() {
677
+ super.validate();
678
+ }
679
+
680
+ constructor(map?: { [key: string]: any }) {
681
+ super(map);
682
+ }
683
+ }
684
+
685
+ export class UpdateCustomAgentResponseBodyDataProtocolPaths extends $dara.Model {
686
+ /**
687
+ * @remarks
688
+ * The description of the current API path.
689
+ *
690
+ * @example
691
+ * AG-UI conversation API
692
+ */
693
+ description?: string;
694
+ /**
695
+ * @remarks
696
+ * The API path corresponding to the current protocol.
697
+ *
698
+ * This parameter is required.
699
+ *
700
+ * @example
701
+ * /agui
702
+ */
703
+ name?: string;
704
+ static names(): { [key: string]: string } {
705
+ return {
706
+ description: 'description',
707
+ name: 'name',
708
+ };
709
+ }
710
+
711
+ static types(): { [key: string]: any } {
712
+ return {
713
+ description: 'string',
714
+ name: 'string',
715
+ };
716
+ }
717
+
718
+ validate() {
719
+ super.validate();
720
+ }
721
+
722
+ constructor(map?: { [key: string]: any }) {
723
+ super(map);
724
+ }
725
+ }
726
+
727
+ export class UpdateCustomAgentResponseBodyDataProtocol extends $dara.Model {
728
+ /**
729
+ * @remarks
730
+ * The request header configurations for the current protocol, where the key is the name and the value is a string.
731
+ */
732
+ headers?: { [key: string]: string };
733
+ /**
734
+ * @remarks
735
+ * The list of API paths corresponding to the current protocol.
736
+ */
737
+ paths?: UpdateCustomAgentResponseBodyDataProtocolPaths[];
738
+ /**
739
+ * @remarks
740
+ * The invocation protocol type. Valid values:
741
+ * - agui: AG-UI protocol.
742
+ * - openai-chat-completion: OpenAI Chat Completions compatible protocol.
743
+ * - custom: Custom protocol.
744
+ *
745
+ * This parameter is required.
746
+ *
747
+ * @example
748
+ * agui
749
+ */
750
+ type?: string;
751
+ static names(): { [key: string]: string } {
752
+ return {
753
+ headers: 'headers',
754
+ paths: 'paths',
755
+ type: 'type',
756
+ };
757
+ }
758
+
759
+ static types(): { [key: string]: any } {
760
+ return {
761
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
762
+ paths: { 'type': 'array', 'itemType': UpdateCustomAgentResponseBodyDataProtocolPaths },
763
+ type: 'string',
764
+ };
765
+ }
766
+
767
+ validate() {
768
+ if(this.headers) {
769
+ $dara.Model.validateMap(this.headers);
770
+ }
771
+ if(Array.isArray(this.paths)) {
772
+ $dara.Model.validateArray(this.paths);
773
+ }
774
+ super.validate();
775
+ }
776
+
777
+ constructor(map?: { [key: string]: any }) {
778
+ super(map);
779
+ }
780
+ }
781
+
782
+ export class UpdateCustomAgentResponseBodyDataRuntimeCompute extends $dara.Model {
783
+ /**
784
+ * @remarks
785
+ * The compute specification. Valid values:
786
+ * - INTERACTIVE: 1 vCPU and 2 GiB of memory.
787
+ * - STANDARD: 2 vCPUs and 4 GiB of memory.
788
+ * - HEAVY: 4 vCPUs and 8 GiB of memory.
789
+ *
790
+ * This parameter is required.
791
+ *
792
+ * @example
793
+ * STANDARD
794
+ */
795
+ computeClass?: string;
796
+ static names(): { [key: string]: string } {
797
+ return {
798
+ computeClass: 'computeClass',
799
+ };
800
+ }
801
+
802
+ static types(): { [key: string]: any } {
803
+ return {
804
+ computeClass: 'string',
805
+ };
806
+ }
807
+
808
+ validate() {
809
+ super.validate();
810
+ }
811
+
812
+ constructor(map?: { [key: string]: any }) {
813
+ super(map);
814
+ }
815
+ }
816
+
817
+ export class UpdateCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
818
+ /**
819
+ * @remarks
820
+ * Specifies whether elastic scaling is enabled. A value of true indicates that elastic scaling is enabled, and a value of false indicates that elastic scaling is disabled.
821
+ *
822
+ * This parameter is required.
823
+ */
824
+ enabled?: boolean;
825
+ /**
826
+ * @remarks
827
+ * The maximum number of concurrent sessions configured for a single running instance.
828
+ *
829
+ * @example
830
+ * 100
831
+ */
832
+ maxConcurrentSessionsPerSandbox?: number;
833
+ /**
834
+ * @remarks
835
+ * The maximum number of running instances configured.
836
+ *
837
+ * @example
838
+ * 10
839
+ */
840
+ maxSandboxCount?: number;
841
+ /**
842
+ * @remarks
843
+ * The minimum number of running instances configured.
844
+ *
845
+ * @example
846
+ * 1
847
+ */
848
+ minSandboxCount?: number;
849
+ /**
850
+ * @remarks
851
+ * The maximum idle time configured for a session, in seconds.
852
+ *
853
+ * @example
854
+ * 600
855
+ */
856
+ sessionTtlSeconds?: number;
857
+ static names(): { [key: string]: string } {
858
+ return {
859
+ enabled: 'enabled',
860
+ maxConcurrentSessionsPerSandbox: 'maxConcurrentSessionsPerSandbox',
861
+ maxSandboxCount: 'maxSandboxCount',
862
+ minSandboxCount: 'minSandboxCount',
863
+ sessionTtlSeconds: 'sessionTtlSeconds',
864
+ };
865
+ }
866
+
867
+ static types(): { [key: string]: any } {
868
+ return {
869
+ enabled: 'boolean',
870
+ maxConcurrentSessionsPerSandbox: 'number',
871
+ maxSandboxCount: 'number',
872
+ minSandboxCount: 'number',
873
+ sessionTtlSeconds: 'number',
874
+ };
875
+ }
876
+
877
+ validate() {
878
+ super.validate();
879
+ }
880
+
881
+ constructor(map?: { [key: string]: any }) {
882
+ super(map);
883
+ }
884
+ }
885
+
886
+ export class UpdateCustomAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
887
+ /**
888
+ * @remarks
889
+ * The name of the HTTP request header used by the session policy. This parameter is applicable to ISOLATED_HEADER_FIELD.
890
+ *
891
+ * @example
892
+ * X-Session-Id
893
+ */
894
+ headerName?: string;
895
+ /**
896
+ * @remarks
897
+ * The type of the session policy. Valid values: AFFINITY (session affinity), ISOLATED_HEADER_FIELD (associates sessions by using the request header specified by headerName), and ISOLATED_COOKIE (not recommended). The compatible value DISABLED in requests is returned as AFFINITY.
898
+ *
899
+ * This parameter is required.
900
+ *
901
+ * @example
902
+ * AFFINITY
903
+ */
904
+ type?: string;
905
+ static names(): { [key: string]: string } {
906
+ return {
907
+ headerName: 'headerName',
908
+ type: 'type',
909
+ };
910
+ }
911
+
912
+ static types(): { [key: string]: any } {
913
+ return {
914
+ headerName: 'string',
915
+ type: 'string',
916
+ };
917
+ }
918
+
919
+ validate() {
920
+ super.validate();
921
+ }
922
+
923
+ constructor(map?: { [key: string]: any }) {
924
+ super(map);
925
+ }
926
+ }
927
+
928
+ export class UpdateCustomAgentResponseBodyDataRuntime extends $dara.Model {
929
+ /**
930
+ * @remarks
931
+ * The compute resource configuration for the agent runtime instance.
932
+ *
933
+ * This parameter is required.
934
+ */
935
+ compute?: UpdateCustomAgentResponseBodyDataRuntimeCompute;
936
+ /**
937
+ * @remarks
938
+ * The elastic policy configurations for the agent.
939
+ */
940
+ hpa?: UpdateCustomAgentResponseBodyDataRuntimeHpa;
941
+ /**
942
+ * @remarks
943
+ * The session policy configurations for the agent.
944
+ *
945
+ * This parameter is required.
946
+ */
947
+ sessionPolicy?: UpdateCustomAgentResponseBodyDataRuntimeSessionPolicy;
948
+ static names(): { [key: string]: string } {
949
+ return {
950
+ compute: 'compute',
951
+ hpa: 'hpa',
952
+ sessionPolicy: 'sessionPolicy',
953
+ };
954
+ }
955
+
956
+ static types(): { [key: string]: any } {
957
+ return {
958
+ compute: UpdateCustomAgentResponseBodyDataRuntimeCompute,
959
+ hpa: UpdateCustomAgentResponseBodyDataRuntimeHpa,
960
+ sessionPolicy: UpdateCustomAgentResponseBodyDataRuntimeSessionPolicy,
961
+ };
962
+ }
963
+
964
+ validate() {
965
+ if(this.compute && typeof (this.compute as any).validate === 'function') {
966
+ (this.compute as any).validate();
967
+ }
968
+ if(this.hpa && typeof (this.hpa as any).validate === 'function') {
969
+ (this.hpa as any).validate();
970
+ }
971
+ if(this.sessionPolicy && typeof (this.sessionPolicy as any).validate === 'function') {
972
+ (this.sessionPolicy as any).validate();
973
+ }
974
+ super.validate();
975
+ }
976
+
977
+ constructor(map?: { [key: string]: any }) {
978
+ super(map);
979
+ }
980
+ }
981
+
982
+ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
983
+ /**
984
+ * @remarks
985
+ * The unique identifier of the custom agent. You can obtain this ID from the response of the CreateCustomAgent or ListCustomAgents operation.
986
+ *
987
+ * @example
988
+ * agent-550e8400e29b41d4a716446655440000
989
+ */
990
+ agentId?: string;
991
+ /**
992
+ * @remarks
993
+ * The latest submitted list of additional AgenticFS mounts.
994
+ */
995
+ agenticFsMounts?: UpdateCustomAgentResponseBodyDataAgenticFsMounts[];
996
+ /**
997
+ * @remarks
998
+ * The latest submitted deployment artifact configuration, including the service listening port and ACR container image. Check latestVersionStatus to determine whether the configuration has taken effect.
999
+ */
1000
+ artifact?: UpdateCustomAgentResponseBodyDataArtifact;
1001
+ /**
1002
+ * @remarks
1003
+ * The creation method of the agent. The value is CUSTOM for custom agents.
1004
+ *
1005
+ * @example
1006
+ * CUSTOM
1007
+ */
1008
+ createMode?: string;
1009
+ /**
1010
+ * @remarks
1011
+ * The creation time of the agent. The time is in ISO 8601 format. The trailing Z indicates the UTC time zone. Fractional seconds may be included.
1012
+ *
1013
+ * @example
1014
+ * 2026-10-10T06:00:00Z
1015
+ */
1016
+ createdAt?: string;
1017
+ /**
1018
+ * @remarks
1019
+ * The deployment method of the agent. Custom agents are deployed and managed by the platform, and the value is MANAGED.
1020
+ *
1021
+ * @example
1022
+ * MANAGED
1023
+ */
1024
+ deployType?: string;
1025
+ /**
1026
+ * @remarks
1027
+ * The description of the agent\\"s purpose.
1028
+ *
1029
+ * @example
1030
+ * Custom agent that provides conversation services
1031
+ */
1032
+ description?: string;
1033
+ /**
1034
+ * @remarks
1035
+ * The environment variable configuration for the agent process.
1036
+ */
1037
+ environment?: UpdateCustomAgentResponseBodyDataEnvironment;
1038
+ /**
1039
+ * @remarks
1040
+ * The HTTP health check configuration of the agent. This field is empty if no configuration is specified.
1041
+ */
1042
+ healthCheck?: UpdateCustomAgentResponseBodyDataHealthCheck;
1043
+ /**
1044
+ * @remarks
1045
+ * The waiting or execution error of the latest configuration version. This field is returned only when the version is waiting for a retry or fails to execute.
1046
+ */
1047
+ latestExecutionError?: UpdateCustomAgentResponseBodyDataLatestExecutionError;
1048
+ /**
1049
+ * @remarks
1050
+ * The current latest configuration version number. Updates with the same configuration may retain the original version number. This field does not indicate that the configuration has taken effect.
1051
+ *
1052
+ * @example
1053
+ * 1
1054
+ */
1055
+ latestSpecVersion?: number;
1056
+ /**
1057
+ * @remarks
1058
+ * The execution status corresponding to latestSpecVersion. Valid values:
1059
+ * - pending: Waiting for execution.
1060
+ * - processing: Executing.
1061
+ * - waiting_retry: Waiting for retry.
1062
+ * - succeeded: Execution succeeded.
1063
+ * - failed: Execution failed.
1064
+ * - superseded: Superseded by a subsequent version.
1065
+ *
1066
+ * @example
1067
+ * succeeded
1068
+ */
1069
+ latestVersionStatus?: string;
1070
+ /**
1071
+ * @remarks
1072
+ * The latest submitted log delivery configuration.
1073
+ */
1074
+ logging?: UpdateCustomAgentResponseBodyDataLogging;
1075
+ /**
1076
+ * @remarks
1077
+ * The name of the custom agent.
1078
+ *
1079
+ * @example
1080
+ * my-custom-agent
1081
+ */
1082
+ name?: string;
1083
+ /**
1084
+ * @remarks
1085
+ * The network access configuration of the agent. The actual access scope is also restricted by the workspace network configuration.
1086
+ */
1087
+ network?: UpdateCustomAgentResponseBodyDataNetwork;
1088
+ /**
1089
+ * @remarks
1090
+ * The latest submitted list of OSS directory mounts.
1091
+ */
1092
+ ossMounts?: UpdateCustomAgentResponseBodyDataOssMounts[];
1093
+ /**
1094
+ * @remarks
1095
+ * The list of invocation protocol configurations for the agent.
1096
+ */
1097
+ protocol?: UpdateCustomAgentResponseBodyDataProtocol[];
1098
+ /**
1099
+ * @remarks
1100
+ * The region ID of the workspace to which the agent belongs.
1101
+ *
1102
+ * @example
1103
+ * cn-hangzhou
1104
+ */
1105
+ regionId?: string;
1106
+ /**
1107
+ * @remarks
1108
+ * The ARN of the RAM role used by the agent to access user cloud resources.
1109
+ *
1110
+ * @example
1111
+ * acs:ram::1234567890123456:role/agentcore-runtime-role
1112
+ */
1113
+ roleArn?: string;
1114
+ /**
1115
+ * @remarks
1116
+ * The latest committed runtime configurations, including compute specifications, session policy, and elastic policy.
1117
+ */
1118
+ runtime?: UpdateCustomAgentResponseBodyDataRuntime;
1119
+ /**
1120
+ * @remarks
1121
+ * The counts of running instances by phase. Keys include PENDING (creating or initializing), RUNNING (running), HIBERNATING (hibernating), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (terminating), and FAILED (failed). Only phases that actually occur are returned. Missing keys are treated as 0.
1122
+ */
1123
+ sandboxPhaseCounts?: { [key: string]: number };
1124
+ /**
1125
+ * @remarks
1126
+ * The overall status of the agent. Valid values: Creating (creating), Running (running), Failed (failed), Updating (updating), Deleting (deleting), and Deleted (deleted). To check the execution progress of the latest configuration, query latestVersionStatus.
1127
+ *
1128
+ * @example
1129
+ * Running
1130
+ */
1131
+ status?: string;
1132
+ /**
1133
+ * @remarks
1134
+ * The time when the agent was last updated. The time follows the ISO 8601 standard. A trailing Z indicates the UTC time zone. Fractional seconds may be included.
1135
+ *
1136
+ * @example
1137
+ * 2026-10-10T06:05:00Z
1138
+ */
1139
+ updatedAt?: string;
1140
+ /**
1141
+ * @remarks
1142
+ * The ID of the workspace to which the custom agent belongs.
1143
+ *
1144
+ * @example
1145
+ * ws-a1b2c3d4e5f6
1146
+ */
1147
+ workspaceId?: string;
1148
+ static names(): { [key: string]: string } {
1149
+ return {
1150
+ agentId: 'agentId',
1151
+ agenticFsMounts: 'agenticFsMounts',
1152
+ artifact: 'artifact',
1153
+ createMode: 'createMode',
1154
+ createdAt: 'createdAt',
1155
+ deployType: 'deployType',
1156
+ description: 'description',
1157
+ environment: 'environment',
1158
+ healthCheck: 'healthCheck',
1159
+ latestExecutionError: 'latestExecutionError',
1160
+ latestSpecVersion: 'latestSpecVersion',
1161
+ latestVersionStatus: 'latestVersionStatus',
1162
+ logging: 'logging',
1163
+ name: 'name',
1164
+ network: 'network',
1165
+ ossMounts: 'ossMounts',
1166
+ protocol: 'protocol',
1167
+ regionId: 'regionId',
1168
+ roleArn: 'roleArn',
1169
+ runtime: 'runtime',
1170
+ sandboxPhaseCounts: 'sandboxPhaseCounts',
1171
+ status: 'status',
1172
+ updatedAt: 'updatedAt',
1173
+ workspaceId: 'workspaceId',
1174
+ };
1175
+ }
1176
+
1177
+ static types(): { [key: string]: any } {
1178
+ return {
1179
+ agentId: 'string',
1180
+ agenticFsMounts: { 'type': 'array', 'itemType': UpdateCustomAgentResponseBodyDataAgenticFsMounts },
1181
+ artifact: UpdateCustomAgentResponseBodyDataArtifact,
1182
+ createMode: 'string',
1183
+ createdAt: 'string',
1184
+ deployType: 'string',
1185
+ description: 'string',
1186
+ environment: UpdateCustomAgentResponseBodyDataEnvironment,
1187
+ healthCheck: UpdateCustomAgentResponseBodyDataHealthCheck,
1188
+ latestExecutionError: UpdateCustomAgentResponseBodyDataLatestExecutionError,
1189
+ latestSpecVersion: 'number',
1190
+ latestVersionStatus: 'string',
1191
+ logging: UpdateCustomAgentResponseBodyDataLogging,
1192
+ name: 'string',
1193
+ network: UpdateCustomAgentResponseBodyDataNetwork,
1194
+ ossMounts: { 'type': 'array', 'itemType': UpdateCustomAgentResponseBodyDataOssMounts },
1195
+ protocol: { 'type': 'array', 'itemType': UpdateCustomAgentResponseBodyDataProtocol },
1196
+ regionId: 'string',
1197
+ roleArn: 'string',
1198
+ runtime: UpdateCustomAgentResponseBodyDataRuntime,
1199
+ sandboxPhaseCounts: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
1200
+ status: 'string',
1201
+ updatedAt: 'string',
1202
+ workspaceId: 'string',
1203
+ };
1204
+ }
1205
+
1206
+ validate() {
1207
+ if(Array.isArray(this.agenticFsMounts)) {
1208
+ $dara.Model.validateArray(this.agenticFsMounts);
1209
+ }
1210
+ if(this.artifact && typeof (this.artifact as any).validate === 'function') {
1211
+ (this.artifact as any).validate();
1212
+ }
1213
+ if(this.environment && typeof (this.environment as any).validate === 'function') {
1214
+ (this.environment as any).validate();
1215
+ }
1216
+ if(this.healthCheck && typeof (this.healthCheck as any).validate === 'function') {
1217
+ (this.healthCheck as any).validate();
1218
+ }
1219
+ if(this.latestExecutionError && typeof (this.latestExecutionError as any).validate === 'function') {
1220
+ (this.latestExecutionError as any).validate();
1221
+ }
1222
+ if(this.logging && typeof (this.logging as any).validate === 'function') {
1223
+ (this.logging as any).validate();
1224
+ }
1225
+ if(this.network && typeof (this.network as any).validate === 'function') {
1226
+ (this.network as any).validate();
1227
+ }
1228
+ if(Array.isArray(this.ossMounts)) {
1229
+ $dara.Model.validateArray(this.ossMounts);
1230
+ }
1231
+ if(Array.isArray(this.protocol)) {
1232
+ $dara.Model.validateArray(this.protocol);
1233
+ }
1234
+ if(this.runtime && typeof (this.runtime as any).validate === 'function') {
1235
+ (this.runtime as any).validate();
1236
+ }
1237
+ if(this.sandboxPhaseCounts) {
1238
+ $dara.Model.validateMap(this.sandboxPhaseCounts);
1239
+ }
1240
+ super.validate();
1241
+ }
1242
+
1243
+ constructor(map?: { [key: string]: any }) {
1244
+ super(map);
1245
+ }
1246
+ }
1247
+
1248
+ export class UpdateCustomAgentResponseBody extends $dara.Model {
1249
+ /**
1250
+ * @remarks
1251
+ * The request result code. The value is SUCCESS when the request is successful.
1252
+ *
1253
+ * @example
1254
+ * SUCCESS
1255
+ */
1256
+ code?: string;
1257
+ /**
1258
+ * @remarks
1259
+ * The latest submitted configuration and status of the custom agent. A successful response indicates that the request is accepted, but the configuration may not have taken effect yet.
1260
+ */
1261
+ data?: UpdateCustomAgentResponseBodyData;
1262
+ /**
1263
+ * @remarks
1264
+ * The HTTP status code of the request. A value of 200 indicates success.
1265
+ *
1266
+ * @example
1267
+ * 200
1268
+ */
1269
+ httpStatusCode?: number;
1270
+ /**
1271
+ * @remarks
1272
+ * The processing result message of the request. The value is success if the request is successful.
1273
+ *
1274
+ * @example
1275
+ * success
1276
+ */
1277
+ message?: string;
1278
+ /**
1279
+ * @remarks
1280
+ * The unique identifier of the request, which is used to locate and troubleshoot issues.
1281
+ *
1282
+ * @example
1283
+ * 550E8400-E29B-41D4-A716-446655440000
1284
+ */
1285
+ requestId?: string;
1286
+ /**
1287
+ * @remarks
1288
+ * Indicates whether the request was processed successfully. A value of true indicates that the request was processed successfully. A successful creation, update, or deletion does not mean that the background operation is complete.
1289
+ */
1290
+ success?: boolean;
1291
+ static names(): { [key: string]: string } {
1292
+ return {
1293
+ code: 'code',
1294
+ data: 'data',
1295
+ httpStatusCode: 'httpStatusCode',
1296
+ message: 'message',
1297
+ requestId: 'requestId',
1298
+ success: 'success',
1299
+ };
1300
+ }
1301
+
1302
+ static types(): { [key: string]: any } {
1303
+ return {
1304
+ code: 'string',
1305
+ data: UpdateCustomAgentResponseBodyData,
1306
+ httpStatusCode: 'number',
1307
+ message: 'string',
1308
+ requestId: 'string',
1309
+ success: 'boolean',
1310
+ };
1311
+ }
1312
+
1313
+ validate() {
1314
+ if(this.data && typeof (this.data as any).validate === 'function') {
1315
+ (this.data as any).validate();
1316
+ }
1317
+ super.validate();
1318
+ }
1319
+
1320
+ constructor(map?: { [key: string]: any }) {
1321
+ super(map);
1322
+ }
1323
+ }
1324
+