@alicloud/ecd20200930 5.4.0 → 5.5.0

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 (59) hide show
  1. package/dist/client.d.ts +80 -20
  2. package/dist/client.js +155 -20
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateVirtualBridgeRequest.d.ts +10 -10
  5. package/dist/models/DeleteVirtualBridgeRequest.d.ts +2 -2
  6. package/dist/models/DescribeConsoleMessagesRequest.d.ts +84 -0
  7. package/dist/models/DescribeConsoleMessagesRequest.js +85 -0
  8. package/dist/models/DescribeConsoleMessagesRequest.js.map +1 -0
  9. package/dist/models/DescribeConsoleMessagesResponse.d.ts +19 -0
  10. package/dist/models/DescribeConsoleMessagesResponse.js +69 -0
  11. package/dist/models/DescribeConsoleMessagesResponse.js.map +1 -0
  12. package/dist/models/DescribeConsoleMessagesResponseBody.d.ts +365 -0
  13. package/dist/models/DescribeConsoleMessagesResponseBody.js +258 -0
  14. package/dist/models/DescribeConsoleMessagesResponseBody.js.map +1 -0
  15. package/dist/models/DescribeDesktopsRequest.d.ts +30 -23
  16. package/dist/models/DescribeDesktopsRequest.js.map +1 -1
  17. package/dist/models/DescribeDesktopsResponseBody.d.ts +73 -59
  18. package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
  19. package/dist/models/GetAggregatedDesktopsRequest.d.ts +5 -1
  20. package/dist/models/GetAggregatedDesktopsRequest.js.map +1 -1
  21. package/dist/models/GetAggregatedDesktopsResponseBody.d.ts +1 -1
  22. package/dist/models/ListVirtualBridgesRequest.d.ts +3 -3
  23. package/dist/models/ListVirtualBridgesResponseBody.d.ts +5 -3
  24. package/dist/models/ListVirtualBridgesResponseBody.js.map +1 -1
  25. package/dist/models/ModifyVirtualBridgeLevelRequest.d.ts +5 -5
  26. package/dist/models/ModifyVirtualBridgeStatusRequest.d.ts +3 -3
  27. package/dist/models/RenewVirtualBridgeRequest.d.ts +3 -3
  28. package/dist/models/SendConsoleMessageRequest.d.ts +23 -0
  29. package/dist/models/SendConsoleMessageRequest.js +58 -0
  30. package/dist/models/SendConsoleMessageRequest.js.map +1 -0
  31. package/dist/models/SendConsoleMessageResponse.d.ts +19 -0
  32. package/dist/models/SendConsoleMessageResponse.js +69 -0
  33. package/dist/models/SendConsoleMessageResponse.js.map +1 -0
  34. package/dist/models/SendConsoleMessageResponseBody.d.ts +29 -0
  35. package/dist/models/SendConsoleMessageResponseBody.js +60 -0
  36. package/dist/models/SendConsoleMessageResponseBody.js.map +1 -0
  37. package/dist/models/model.d.ts +12 -0
  38. package/dist/models/model.js +48 -24
  39. package/dist/models/model.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/client.ts +170 -20
  42. package/src/models/CreateVirtualBridgeRequest.ts +10 -10
  43. package/src/models/DeleteVirtualBridgeRequest.ts +2 -2
  44. package/src/models/DescribeConsoleMessagesRequest.ts +124 -0
  45. package/src/models/DescribeConsoleMessagesResponse.ts +40 -0
  46. package/src/models/DescribeConsoleMessagesResponseBody.ts +524 -0
  47. package/src/models/DescribeDesktopsRequest.ts +30 -23
  48. package/src/models/DescribeDesktopsResponseBody.ts +73 -59
  49. package/src/models/GetAggregatedDesktopsRequest.ts +5 -1
  50. package/src/models/GetAggregatedDesktopsResponseBody.ts +1 -1
  51. package/src/models/ListVirtualBridgesRequest.ts +3 -3
  52. package/src/models/ListVirtualBridgesResponseBody.ts +5 -3
  53. package/src/models/ModifyVirtualBridgeLevelRequest.ts +5 -5
  54. package/src/models/ModifyVirtualBridgeStatusRequest.ts +3 -3
  55. package/src/models/RenewVirtualBridgeRequest.ts +3 -3
  56. package/src/models/SendConsoleMessageRequest.ts +36 -0
  57. package/src/models/SendConsoleMessageResponse.ts +40 -0
  58. package/src/models/SendConsoleMessageResponseBody.ts +44 -0
  59. package/src/models/model.ts +12 -0
@@ -0,0 +1,365 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeConsoleMessagesResponseBodyMessageListContentConfigs extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The color of the body text, which retains the color value saved when the message was created or modified.
6
+ *
7
+ * @example
8
+ * #666666
9
+ */
10
+ color?: string;
11
+ /**
12
+ * @remarks
13
+ * The message body text in the specified language.
14
+ *
15
+ * @example
16
+ * The cloud computer will undergo routine maintenance. Please save your work in advance
17
+ */
18
+ contentText?: string;
19
+ /**
20
+ * @remarks
21
+ * The body language. Valid values: CN (Chinese), EN (English), and JP (Japanese). The query returns the language value saved when the message was created or modified, retaining the original case.
22
+ *
23
+ * @example
24
+ * CN
25
+ */
26
+ langType?: string;
27
+ static names(): {
28
+ [key: string]: string;
29
+ };
30
+ static types(): {
31
+ [key: string]: any;
32
+ };
33
+ validate(): void;
34
+ constructor(map?: {
35
+ [key: string]: any;
36
+ });
37
+ }
38
+ export declare class DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs extends $dara.Model {
39
+ /**
40
+ * @remarks
41
+ * The text displayed on the hyperlink button.
42
+ *
43
+ * @example
44
+ * View Details
45
+ */
46
+ title?: string;
47
+ /**
48
+ * @remarks
49
+ * The URL accessed after clicking the hyperlink button.
50
+ *
51
+ * @example
52
+ * https://example.com/announcements/maintenance
53
+ */
54
+ url?: string;
55
+ static names(): {
56
+ [key: string]: string;
57
+ };
58
+ static types(): {
59
+ [key: string]: any;
60
+ };
61
+ validate(): void;
62
+ constructor(map?: {
63
+ [key: string]: any;
64
+ });
65
+ }
66
+ export declare class DescribeConsoleMessagesResponseBodyMessageListImageInfoList extends $dara.Model {
67
+ /**
68
+ * @remarks
69
+ * The name of the image file.
70
+ *
71
+ * @example
72
+ * img0.jpg
73
+ */
74
+ fileName?: string;
75
+ /**
76
+ * @remarks
77
+ * The storage path of the image file.
78
+ *
79
+ * @example
80
+ * image_file/CUSTOM_WALLPAPER/00000000-0000-img0.jpg
81
+ */
82
+ imageFilePath?: string;
83
+ /**
84
+ * @remarks
85
+ * The image type. Configuration types defined by the backend include Operational (operational message image), WallpaperBasic (basic wallpaper image), and WallpaperAppend (appended wallpaper image). The query returns the image type value saved when the message was created or modified, retaining the original case.
86
+ *
87
+ * @example
88
+ * WallpaperBasic
89
+ */
90
+ imageType?: string;
91
+ /**
92
+ * @remarks
93
+ * The temporary download URL of the image file. The link has a limited validity period. If it expires, you can query again to obtain a new one.
94
+ *
95
+ * @example
96
+ * https://example.com/images/img0.jpg
97
+ */
98
+ imageUrl?: string;
99
+ static names(): {
100
+ [key: string]: string;
101
+ };
102
+ static types(): {
103
+ [key: string]: any;
104
+ };
105
+ validate(): void;
106
+ constructor(map?: {
107
+ [key: string]: any;
108
+ });
109
+ }
110
+ export declare class DescribeConsoleMessagesResponseBodyMessageListMetaData extends $dara.Model {
111
+ /**
112
+ * @remarks
113
+ * The AD domain name associated with the message configuration.
114
+ *
115
+ * @example
116
+ * ad.example.com
117
+ */
118
+ adDomain?: string;
119
+ /**
120
+ * @remarks
121
+ * The workspace ID associated with the message configuration.
122
+ *
123
+ * @example
124
+ * cn-shanghai+dir-example01
125
+ */
126
+ officeSiteId?: string;
127
+ /**
128
+ * @remarks
129
+ * The list of scheduled sending configurations. If TimerType is CRON, the elements are cron expressions. If TimerType is Timestamp, the elements are millisecond timestamps represented as strings.
130
+ */
131
+ timer?: string[];
132
+ /**
133
+ * @remarks
134
+ * The scheduled sending type. Valid values: CRON (cron expression) and Timestamp (timestamp). The configuration values are case-sensitive.
135
+ *
136
+ * @example
137
+ * CRON
138
+ */
139
+ timerType?: string;
140
+ static names(): {
141
+ [key: string]: string;
142
+ };
143
+ static types(): {
144
+ [key: string]: any;
145
+ };
146
+ validate(): void;
147
+ constructor(map?: {
148
+ [key: string]: any;
149
+ });
150
+ }
151
+ export declare class DescribeConsoleMessagesResponseBodyMessageListTitleConfigs extends $dara.Model {
152
+ /**
153
+ * @remarks
154
+ * The color of the title text, which retains the color value saved when the message was created or modified.
155
+ *
156
+ * @example
157
+ * #333333
158
+ */
159
+ color?: string;
160
+ /**
161
+ * @remarks
162
+ * The title language. Valid values: CN (Chinese), EN (English), and JP (Japanese). The query returns the language value saved when the message was created or modified, retaining the original case.
163
+ *
164
+ * @example
165
+ * CN
166
+ */
167
+ langType?: string;
168
+ /**
169
+ * @remarks
170
+ * The message title text in the specified language.
171
+ *
172
+ * @example
173
+ * System Maintenance Notice
174
+ */
175
+ titleText?: string;
176
+ static names(): {
177
+ [key: string]: string;
178
+ };
179
+ static types(): {
180
+ [key: string]: any;
181
+ };
182
+ validate(): void;
183
+ constructor(map?: {
184
+ [key: string]: any;
185
+ });
186
+ }
187
+ export declare class DescribeConsoleMessagesResponseBodyMessageList extends $dara.Model {
188
+ /**
189
+ * @remarks
190
+ * The list of client types to which the message applies. Standard names are returned: Windows, Mac, Web, and Hardware.
191
+ */
192
+ clientTypes?: string[];
193
+ /**
194
+ * @remarks
195
+ * The list of message body configurations for each language.
196
+ */
197
+ contentConfigs?: DescribeConsoleMessagesResponseBodyMessageListContentConfigs[];
198
+ /**
199
+ * @remarks
200
+ * The time when the operational message stops taking effect.
201
+ *
202
+ * @example
203
+ * 2026-10-11T02:00:00.000+00:00
204
+ */
205
+ endTime?: string;
206
+ /**
207
+ * @remarks
208
+ * The time when the message was created.
209
+ *
210
+ * @example
211
+ * 2026-10-10T00:00:00.000+00:00
212
+ */
213
+ gmtCreate?: string;
214
+ /**
215
+ * @remarks
216
+ * The time when the message was last modified. This time is also updated when the message status changes.
217
+ *
218
+ * @example
219
+ * 2026-10-10T01:00:00.000+00:00
220
+ */
221
+ gmtModified?: string;
222
+ /**
223
+ * @remarks
224
+ * The list of hyperlink button configurations in the message.
225
+ */
226
+ hyperLinkConfigs?: DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs[];
227
+ /**
228
+ * @remarks
229
+ * The storage path of the image file for the operational message.
230
+ *
231
+ * @example
232
+ * image_file/OPERATIONAL/00000000-0000-console-message.png
233
+ */
234
+ imageFilePath?: string;
235
+ /**
236
+ * @remarks
237
+ * The list of image configurations, which is mainly used for custom wallpaper messages. Each item includes the image name, image type, storage path, and temporary download URL.
238
+ */
239
+ imageInfoList?: DescribeConsoleMessagesResponseBodyMessageListImageInfoList[];
240
+ /**
241
+ * @remarks
242
+ * The temporary download URL of the operational message image. The link has a limited validity period. If it expires, you can query again to obtain a new one.
243
+ *
244
+ * @example
245
+ * https://example.com/images/console-message.png
246
+ */
247
+ imageUrl?: string;
248
+ /**
249
+ * @remarks
250
+ * The message ID, which can be used to send, modify, or delete a specified message.
251
+ *
252
+ * @example
253
+ * msg-123456
254
+ */
255
+ messageId?: string;
256
+ /**
257
+ * @remarks
258
+ * The message level of the notification message. Valid values: STRONG (strong message) and WEAK (weak message).
259
+ *
260
+ * @example
261
+ * STRONG
262
+ */
263
+ messageLevel?: string;
264
+ /**
265
+ * @remarks
266
+ * The message type. Valid values: OPERATIONAL (client operational message), WALLPAPER (desktop wallpaper text message), NOTIFICATION (message center notification), and CUSTOM_WALLPAPER (custom desktop wallpaper).
267
+ *
268
+ * @example
269
+ * NOTIFICATION
270
+ */
271
+ messageType?: string;
272
+ /**
273
+ * @remarks
274
+ * The additional configuration of the message, including the associated workspace, AD domain name, and scheduled sending configuration. Whether specific fields are returned depends on the message type and its saved configuration.
275
+ */
276
+ metaData?: DescribeConsoleMessagesResponseBodyMessageListMetaData;
277
+ /**
278
+ * @remarks
279
+ * The display position of the message. For wallpaper text messages, valid values are CENTER (center), TOP_RIGHT (top right), BOTTOM_RIGHT (bottom right), and BOTTOM_LEFT (bottom left). For client operational messages, valid values are CLIENT_ENTERPRISE_RESOURCE_PAGE (Enterprise Edition client cloud resource page) and CLIENT_BUSINESS_RESOURCE_PAGE (Business Edition client cloud resource page).
280
+ *
281
+ * @example
282
+ * CENTER
283
+ */
284
+ position?: string;
285
+ /**
286
+ * @remarks
287
+ * The time when the operational message starts taking effect.
288
+ *
289
+ * @example
290
+ * 2026-10-10T02:00:00.000+00:00
291
+ */
292
+ startTime?: string;
293
+ /**
294
+ * @remarks
295
+ * The current status of the message. Valid values: Init (initializing), Pushing (pushing), Published (published), Expired (expired), Deleting (deleting), and Failed (failed). Published indicates that the message has been published or the server has finished pushing, but it does not indicate that all target terminals have successfully received the message.
296
+ *
297
+ * @example
298
+ * Published
299
+ */
300
+ status?: string;
301
+ /**
302
+ * @remarks
303
+ * The JSON string of the list of targets to which the message applies. For Organization and AdOrg, it is an array of objects containing orgId (organization ID) and orgName (organization name). The organization name may be empty, and records in the old format may not contain orgName. For Tag, it is an array of objects containing tagKey (tag key), tagValue (tag value), and regionId (region ID). For other target types, it is an array of strings. The target for all users is represented by ALL_USERS.
304
+ *
305
+ * @example
306
+ * ["user01"]
307
+ */
308
+ targetIds?: string;
309
+ /**
310
+ * @remarks
311
+ * The type of the target to which the message applies. Valid values: AllUsers (all convenience users), EndUser (specified convenience user), Organization (specified convenience user organization), Desktop (cloud computer), ResourceGroup (resource group), Region (region), Tag (tag), AdAllUsers (all AD users), AdUser (specified AD user), and AdOrg (specified AD organization).
312
+ *
313
+ * @example
314
+ * EndUser
315
+ */
316
+ targetType?: string;
317
+ /**
318
+ * @remarks
319
+ * The list of message title configurations for each language.
320
+ */
321
+ titleConfigs?: DescribeConsoleMessagesResponseBodyMessageListTitleConfigs[];
322
+ static names(): {
323
+ [key: string]: string;
324
+ };
325
+ static types(): {
326
+ [key: string]: any;
327
+ };
328
+ validate(): void;
329
+ constructor(map?: {
330
+ [key: string]: any;
331
+ });
332
+ }
333
+ export declare class DescribeConsoleMessagesResponseBody extends $dara.Model {
334
+ /**
335
+ * @remarks
336
+ * The list of console messages queried on the current page. If no messages match, an empty list is returned.
337
+ */
338
+ messageList?: DescribeConsoleMessagesResponseBodyMessageList[];
339
+ /**
340
+ * @remarks
341
+ * The ID of the request, which is used to locate and troubleshoot issues.
342
+ *
343
+ * @example
344
+ * 9F1D7E42-06A8-4B50-9A21-6E0C8D3F5B72
345
+ */
346
+ requestId?: string;
347
+ /**
348
+ * @remarks
349
+ * The total number of messages that match the query conditions, not the number of messages returned on the current page.
350
+ *
351
+ * @example
352
+ * 1
353
+ */
354
+ totalCount?: string;
355
+ static names(): {
356
+ [key: string]: string;
357
+ };
358
+ static types(): {
359
+ [key: string]: any;
360
+ };
361
+ validate(): void;
362
+ constructor(map?: {
363
+ [key: string]: any;
364
+ });
365
+ }
@@ -0,0 +1,258 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeConsoleMessagesResponseBody = exports.DescribeConsoleMessagesResponseBodyMessageList = exports.DescribeConsoleMessagesResponseBodyMessageListTitleConfigs = exports.DescribeConsoleMessagesResponseBodyMessageListMetaData = exports.DescribeConsoleMessagesResponseBodyMessageListImageInfoList = exports.DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs = exports.DescribeConsoleMessagesResponseBodyMessageListContentConfigs = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeConsoleMessagesResponseBodyMessageListContentConfigs extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ color: 'Color',
43
+ contentText: 'ContentText',
44
+ langType: 'LangType',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ color: 'string',
50
+ contentText: 'string',
51
+ langType: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.DescribeConsoleMessagesResponseBodyMessageListContentConfigs = DescribeConsoleMessagesResponseBodyMessageListContentConfigs;
62
+ class DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs extends $dara.Model {
63
+ static names() {
64
+ return {
65
+ title: 'Title',
66
+ url: 'Url',
67
+ };
68
+ }
69
+ static types() {
70
+ return {
71
+ title: 'string',
72
+ url: 'string',
73
+ };
74
+ }
75
+ validate() {
76
+ super.validate();
77
+ }
78
+ constructor(map) {
79
+ super(map);
80
+ }
81
+ }
82
+ exports.DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs = DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs;
83
+ class DescribeConsoleMessagesResponseBodyMessageListImageInfoList extends $dara.Model {
84
+ static names() {
85
+ return {
86
+ fileName: 'FileName',
87
+ imageFilePath: 'ImageFilePath',
88
+ imageType: 'ImageType',
89
+ imageUrl: 'ImageUrl',
90
+ };
91
+ }
92
+ static types() {
93
+ return {
94
+ fileName: 'string',
95
+ imageFilePath: 'string',
96
+ imageType: 'string',
97
+ imageUrl: 'string',
98
+ };
99
+ }
100
+ validate() {
101
+ super.validate();
102
+ }
103
+ constructor(map) {
104
+ super(map);
105
+ }
106
+ }
107
+ exports.DescribeConsoleMessagesResponseBodyMessageListImageInfoList = DescribeConsoleMessagesResponseBodyMessageListImageInfoList;
108
+ class DescribeConsoleMessagesResponseBodyMessageListMetaData extends $dara.Model {
109
+ static names() {
110
+ return {
111
+ adDomain: 'AdDomain',
112
+ officeSiteId: 'OfficeSiteId',
113
+ timer: 'Timer',
114
+ timerType: 'TimerType',
115
+ };
116
+ }
117
+ static types() {
118
+ return {
119
+ adDomain: 'string',
120
+ officeSiteId: 'string',
121
+ timer: { 'type': 'array', 'itemType': 'string' },
122
+ timerType: 'string',
123
+ };
124
+ }
125
+ validate() {
126
+ if (Array.isArray(this.timer)) {
127
+ $dara.Model.validateArray(this.timer);
128
+ }
129
+ super.validate();
130
+ }
131
+ constructor(map) {
132
+ super(map);
133
+ }
134
+ }
135
+ exports.DescribeConsoleMessagesResponseBodyMessageListMetaData = DescribeConsoleMessagesResponseBodyMessageListMetaData;
136
+ class DescribeConsoleMessagesResponseBodyMessageListTitleConfigs extends $dara.Model {
137
+ static names() {
138
+ return {
139
+ color: 'Color',
140
+ langType: 'LangType',
141
+ titleText: 'TitleText',
142
+ };
143
+ }
144
+ static types() {
145
+ return {
146
+ color: 'string',
147
+ langType: 'string',
148
+ titleText: 'string',
149
+ };
150
+ }
151
+ validate() {
152
+ super.validate();
153
+ }
154
+ constructor(map) {
155
+ super(map);
156
+ }
157
+ }
158
+ exports.DescribeConsoleMessagesResponseBodyMessageListTitleConfigs = DescribeConsoleMessagesResponseBodyMessageListTitleConfigs;
159
+ class DescribeConsoleMessagesResponseBodyMessageList extends $dara.Model {
160
+ static names() {
161
+ return {
162
+ clientTypes: 'ClientTypes',
163
+ contentConfigs: 'ContentConfigs',
164
+ endTime: 'EndTime',
165
+ gmtCreate: 'GmtCreate',
166
+ gmtModified: 'GmtModified',
167
+ hyperLinkConfigs: 'HyperLinkConfigs',
168
+ imageFilePath: 'ImageFilePath',
169
+ imageInfoList: 'ImageInfoList',
170
+ imageUrl: 'ImageUrl',
171
+ messageId: 'MessageId',
172
+ messageLevel: 'MessageLevel',
173
+ messageType: 'MessageType',
174
+ metaData: 'MetaData',
175
+ position: 'Position',
176
+ startTime: 'StartTime',
177
+ status: 'Status',
178
+ targetIds: 'TargetIds',
179
+ targetType: 'TargetType',
180
+ titleConfigs: 'TitleConfigs',
181
+ };
182
+ }
183
+ static types() {
184
+ return {
185
+ clientTypes: { 'type': 'array', 'itemType': 'string' },
186
+ contentConfigs: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListContentConfigs },
187
+ endTime: 'string',
188
+ gmtCreate: 'string',
189
+ gmtModified: 'string',
190
+ hyperLinkConfigs: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs },
191
+ imageFilePath: 'string',
192
+ imageInfoList: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListImageInfoList },
193
+ imageUrl: 'string',
194
+ messageId: 'string',
195
+ messageLevel: 'string',
196
+ messageType: 'string',
197
+ metaData: DescribeConsoleMessagesResponseBodyMessageListMetaData,
198
+ position: 'string',
199
+ startTime: 'string',
200
+ status: 'string',
201
+ targetIds: 'string',
202
+ targetType: 'string',
203
+ titleConfigs: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListTitleConfigs },
204
+ };
205
+ }
206
+ validate() {
207
+ if (Array.isArray(this.clientTypes)) {
208
+ $dara.Model.validateArray(this.clientTypes);
209
+ }
210
+ if (Array.isArray(this.contentConfigs)) {
211
+ $dara.Model.validateArray(this.contentConfigs);
212
+ }
213
+ if (Array.isArray(this.hyperLinkConfigs)) {
214
+ $dara.Model.validateArray(this.hyperLinkConfigs);
215
+ }
216
+ if (Array.isArray(this.imageInfoList)) {
217
+ $dara.Model.validateArray(this.imageInfoList);
218
+ }
219
+ if (this.metaData && typeof this.metaData.validate === 'function') {
220
+ this.metaData.validate();
221
+ }
222
+ if (Array.isArray(this.titleConfigs)) {
223
+ $dara.Model.validateArray(this.titleConfigs);
224
+ }
225
+ super.validate();
226
+ }
227
+ constructor(map) {
228
+ super(map);
229
+ }
230
+ }
231
+ exports.DescribeConsoleMessagesResponseBodyMessageList = DescribeConsoleMessagesResponseBodyMessageList;
232
+ class DescribeConsoleMessagesResponseBody extends $dara.Model {
233
+ static names() {
234
+ return {
235
+ messageList: 'MessageList',
236
+ requestId: 'RequestId',
237
+ totalCount: 'TotalCount',
238
+ };
239
+ }
240
+ static types() {
241
+ return {
242
+ messageList: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageList },
243
+ requestId: 'string',
244
+ totalCount: 'string',
245
+ };
246
+ }
247
+ validate() {
248
+ if (Array.isArray(this.messageList)) {
249
+ $dara.Model.validateArray(this.messageList);
250
+ }
251
+ super.validate();
252
+ }
253
+ constructor(map) {
254
+ super(map);
255
+ }
256
+ }
257
+ exports.DescribeConsoleMessagesResponseBody = DescribeConsoleMessagesResponseBody;
258
+ //# sourceMappingURL=DescribeConsoleMessagesResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeConsoleMessagesResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeConsoleMessagesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4DAA6D,SAAQ,KAAK,CAAC,KAAK;IAyB3F,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,oIAgDC;AAED,MAAa,8DA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