tencentcloud-sdk-nodejs-intl-en 3.0.1009 → 3.0.1011

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,1348 @@
16
16
  */
17
17
  const AbstractModel = require("../../common/abstract_model");
18
18
 
19
+ /**
20
+ * CreateApplicationVersion response structure.
21
+ * @class
22
+ */
23
+ class CreateApplicationVersionResponse extends AbstractModel {
24
+ constructor(){
25
+ super();
26
+
27
+ /**
28
+ * Application version data (new).
29
+ * @type {UserApplicationVersion || null}
30
+ */
31
+ this.Version = null;
32
+
33
+ /**
34
+ * 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.
35
+ * @type {string || null}
36
+ */
37
+ this.RequestId = null;
38
+
39
+ }
40
+
41
+ /**
42
+ * @private
43
+ */
44
+ deserialize(params) {
45
+ if (!params) {
46
+ return;
47
+ }
48
+
49
+ if (params.Version) {
50
+ let obj = new UserApplicationVersion();
51
+ obj.deserialize(params.Version)
52
+ this.Version = obj;
53
+ }
54
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
55
+
56
+ }
57
+ }
58
+
59
+ /**
60
+ * DeleteApplication request structure.
61
+ * @class
62
+ */
63
+ class DeleteApplicationRequest extends AbstractModel {
64
+ constructor(){
65
+ super();
66
+
67
+ /**
68
+ * Application ID.
69
+ * @type {string || null}
70
+ */
71
+ this.ApplicationId = null;
72
+
73
+ }
74
+
75
+ /**
76
+ * @private
77
+ */
78
+ deserialize(params) {
79
+ if (!params) {
80
+ return;
81
+ }
82
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
83
+
84
+ }
85
+ }
86
+
87
+ /**
88
+ * Application basic data.
89
+ * @class
90
+ */
91
+ class ApplicationBaseInfo extends AbstractModel {
92
+ constructor(){
93
+ super();
94
+
95
+ /**
96
+ * Application window usage mode (ApplicationDesktop: Captures the entire desktop; ApplicationWindow: Captures only the application window).
97
+ * @type {string || null}
98
+ */
99
+ this.WindowUseType = null;
100
+
101
+ /**
102
+ * Application window name.
103
+ * @type {string || null}
104
+ */
105
+ this.WindowName = null;
106
+
107
+ /**
108
+ * Application window class name.
109
+ * @type {string || null}
110
+ */
111
+ this.WindowClassName = null;
112
+
113
+ /**
114
+ * Application window capture mode (HOOK: default mode; DDA_CUT: compatible mode).
115
+ * @type {string || null}
116
+ */
117
+ this.WindowCaptureMode = null;
118
+
119
+ }
120
+
121
+ /**
122
+ * @private
123
+ */
124
+ deserialize(params) {
125
+ if (!params) {
126
+ return;
127
+ }
128
+ this.WindowUseType = 'WindowUseType' in params ? params.WindowUseType : null;
129
+ this.WindowName = 'WindowName' in params ? params.WindowName : null;
130
+ this.WindowClassName = 'WindowClassName' in params ? params.WindowClassName : null;
131
+ this.WindowCaptureMode = 'WindowCaptureMode' in params ? params.WindowCaptureMode : null;
132
+
133
+ }
134
+ }
135
+
136
+ /**
137
+ * CreateSession request structure.
138
+ * @class
139
+ */
140
+ class CreateSessionRequest extends AbstractModel {
141
+ constructor(){
142
+ super();
143
+
144
+ /**
145
+ * Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application.
146
+ * @type {string || null}
147
+ */
148
+ this.UserId = null;
149
+
150
+ /**
151
+ * Public IP address of the user's client, which is used for nearby scheduling.
152
+ * @type {string || null}
153
+ */
154
+ this.UserIp = null;
155
+
156
+ /**
157
+ * Client-side session information, which is obtained from the SDK. If `RunMode` is `RunWithoutClient`, this parameter can be empty.
158
+ * @type {string || null}
159
+ */
160
+ this.ClientSession = null;
161
+
162
+ /**
163
+ * On-cloud running mode.RunWithoutClient: Keeps the application running on the cloud even when there are no client connections.Empty string (default): Keeps the application running on the cloud only when there are client connections.
164
+ * @type {string || null}
165
+ */
166
+ this.RunMode = null;
167
+
168
+ /**
169
+ * Application startup parameters.This parameter is effective for multi-application projects.
170
+ This parameter is effective for single-application projects with prelaunch disabled.This parameter is ineffective for single-application projects with prelaunch enabled.
171
+ Note: When this parameter is effective, it will be appended to the startup parameters of application or project configuration in the console.
172
+ For example, for a single-application project with prelaunch disabled, if its startup parameter `bar` is `0` for project configuration in the console and the `ApplicationParameters` parameter `foo` is `1`, the actual application startup parameters will be `bar=0 and foo=1`.
173
+ * @type {string || null}
174
+ */
175
+ this.ApplicationParameters = null;
176
+
177
+ /**
178
+ * [Multi-person Interaction] Homeowner's user ID, which is required in multi-person interaction mode.
179
+ If the user is the homeowner, HostUserID must be the same as UserID.
180
+ If the user is not the homeowner, HostUserID must be the homeowner's HostUserID.
181
+ * @type {string || null}
182
+ */
183
+ this.HostUserId = null;
184
+
185
+ /**
186
+ * [Multi-person Interaction] Role.
187
+ Player: a user who can operate the application via keyboard, mouse, etc.
188
+ Viewer: a user who can only watch the video in the room but cannot operate the application.
189
+ * @type {string || null}
190
+ */
191
+ this.Role = null;
192
+
193
+ }
194
+
195
+ /**
196
+ * @private
197
+ */
198
+ deserialize(params) {
199
+ if (!params) {
200
+ return;
201
+ }
202
+ this.UserId = 'UserId' in params ? params.UserId : null;
203
+ this.UserIp = 'UserIp' in params ? params.UserIp : null;
204
+ this.ClientSession = 'ClientSession' in params ? params.ClientSession : null;
205
+ this.RunMode = 'RunMode' in params ? params.RunMode : null;
206
+ this.ApplicationParameters = 'ApplicationParameters' in params ? params.ApplicationParameters : null;
207
+ this.HostUserId = 'HostUserId' in params ? params.HostUserId : null;
208
+ this.Role = 'Role' in params ? params.Role : null;
209
+
210
+ }
211
+ }
212
+
213
+ /**
214
+ * DescribeApplicationPathList response structure.
215
+ * @class
216
+ */
217
+ class DescribeApplicationPathListResponse extends AbstractModel {
218
+ constructor(){
219
+ super();
220
+
221
+ /**
222
+ * Application .exe file path list.
223
+ Note: This field may return null, indicating that no valid values can be obtained.
224
+ * @type {Array.<string> || null}
225
+ */
226
+ this.PathList = null;
227
+
228
+ /**
229
+ * 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.
230
+ * @type {string || null}
231
+ */
232
+ this.RequestId = null;
233
+
234
+ }
235
+
236
+ /**
237
+ * @private
238
+ */
239
+ deserialize(params) {
240
+ if (!params) {
241
+ return;
242
+ }
243
+ this.PathList = 'PathList' in params ? params.PathList : null;
244
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
245
+
246
+ }
247
+ }
248
+
249
+ /**
250
+ * ModifyMobileApplicationInfo request structure.
251
+ * @class
252
+ */
253
+ class ModifyMobileApplicationInfoRequest extends AbstractModel {
254
+ constructor(){
255
+ super();
256
+
257
+ /**
258
+ * Application ID.
259
+ * @type {string || null}
260
+ */
261
+ this.ApplicationId = null;
262
+
263
+ /**
264
+ * Application name.
265
+ * @type {string || null}
266
+ */
267
+ this.ApplicationName = null;
268
+
269
+ }
270
+
271
+ /**
272
+ * @private
273
+ */
274
+ deserialize(params) {
275
+ if (!params) {
276
+ return;
277
+ }
278
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
279
+ this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null;
280
+
281
+ }
282
+ }
283
+
284
+ /**
285
+ * StartPublishStreamWithURL response structure.
286
+ * @class
287
+ */
288
+ class StartPublishStreamWithURLResponse extends AbstractModel {
289
+ constructor(){
290
+ super();
291
+
292
+ /**
293
+ * 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.
294
+ * @type {string || null}
295
+ */
296
+ this.RequestId = null;
297
+
298
+ }
299
+
300
+ /**
301
+ * @private
302
+ */
303
+ deserialize(params) {
304
+ if (!params) {
305
+ return;
306
+ }
307
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
308
+
309
+ }
310
+ }
311
+
312
+ /**
313
+ * CreateApplicationSnapshot request structure.
314
+ * @class
315
+ */
316
+ class CreateApplicationSnapshotRequest extends AbstractModel {
317
+ constructor(){
318
+ super();
319
+
320
+ /**
321
+ * Application ID.
322
+ * @type {string || null}
323
+ */
324
+ this.ApplicationId = null;
325
+
326
+ /**
327
+ * Application download address (if the version is created by file upload, this parameter is an empty string).
328
+ * @type {string || null}
329
+ */
330
+ this.ApplicationDownloadUrl = null;
331
+
332
+ }
333
+
334
+ /**
335
+ * @private
336
+ */
337
+ deserialize(params) {
338
+ if (!params) {
339
+ return;
340
+ }
341
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
342
+ this.ApplicationDownloadUrl = 'ApplicationDownloadUrl' in params ? params.ApplicationDownloadUrl : null;
343
+
344
+ }
345
+ }
346
+
347
+ /**
348
+ * DeleteApplicationVersion request structure.
349
+ * @class
350
+ */
351
+ class DeleteApplicationVersionRequest extends AbstractModel {
352
+ constructor(){
353
+ super();
354
+
355
+ /**
356
+ * Application ID.
357
+ * @type {string || null}
358
+ */
359
+ this.ApplicationId = null;
360
+
361
+ /**
362
+ * Application version ID.
363
+ * @type {string || null}
364
+ */
365
+ this.ApplicationVersionId = null;
366
+
367
+ }
368
+
369
+ /**
370
+ * @private
371
+ */
372
+ deserialize(params) {
373
+ if (!params) {
374
+ return;
375
+ }
376
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
377
+ this.ApplicationVersionId = 'ApplicationVersionId' in params ? params.ApplicationVersionId : null;
378
+
379
+ }
380
+ }
381
+
382
+ /**
383
+ * Mobile application data information.
384
+ * @class
385
+ */
386
+ class UserMobileApplicationInfo extends AbstractModel {
387
+ constructor(){
388
+ super();
389
+
390
+ /**
391
+ * Application ID.
392
+ * @type {string || null}
393
+ */
394
+ this.ApplicationId = null;
395
+
396
+ /**
397
+ * Application name.
398
+ * @type {string || null}
399
+ */
400
+ this.ApplicationName = null;
401
+
402
+ /**
403
+ * Application type (cloud APK: application APK).
404
+ * @type {string || null}
405
+ */
406
+ this.ApplicationType = null;
407
+
408
+ /**
409
+ * Application running status (ApplicationRunning: normal running; ApplicationNoPackage: no available package).
410
+ * @type {string || null}
411
+ */
412
+ this.ApplicationRunStatus = null;
413
+
414
+ /**
415
+ * Application update status (ApplicationUpdateCreating: version creation in progress; ApplicationUpdateCreateFail: version creation failed; ApplicationUpdateNoReleased: version to be released; ApplicationUpdateReleased: version release completed; ApplicationUpdateNormal: none).
416
+ * @type {string || null}
417
+ */
418
+ this.ApplicationUpdateStatus = null;
419
+
420
+ /**
421
+ * Application creation time.
422
+ * @type {string || null}
423
+ */
424
+ this.ApplicationCreateTime = null;
425
+
426
+ /**
427
+ * List of application versions.
428
+ * @type {Array.<UserApplicationVersion> || null}
429
+ */
430
+ this.ApplicationVersions = null;
431
+
432
+ /**
433
+ * Application nature (PUBLIC: public application; PRIVATE: user application).
434
+ * @type {string || null}
435
+ */
436
+ this.ApplicationNature = null;
437
+
438
+ }
439
+
440
+ /**
441
+ * @private
442
+ */
443
+ deserialize(params) {
444
+ if (!params) {
445
+ return;
446
+ }
447
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
448
+ this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null;
449
+ this.ApplicationType = 'ApplicationType' in params ? params.ApplicationType : null;
450
+ this.ApplicationRunStatus = 'ApplicationRunStatus' in params ? params.ApplicationRunStatus : null;
451
+ this.ApplicationUpdateStatus = 'ApplicationUpdateStatus' in params ? params.ApplicationUpdateStatus : null;
452
+ this.ApplicationCreateTime = 'ApplicationCreateTime' in params ? params.ApplicationCreateTime : null;
453
+
454
+ if (params.ApplicationVersions) {
455
+ this.ApplicationVersions = new Array();
456
+ for (let z in params.ApplicationVersions) {
457
+ let obj = new UserApplicationVersion();
458
+ obj.deserialize(params.ApplicationVersions[z]);
459
+ this.ApplicationVersions.push(obj);
460
+ }
461
+ }
462
+ this.ApplicationNature = 'ApplicationNature' in params ? params.ApplicationNature : null;
463
+
464
+ }
465
+ }
466
+
467
+ /**
468
+ * Query filter criteria.
469
+ * @class
470
+ */
471
+ class Filter extends AbstractModel {
472
+ constructor(){
473
+ super();
474
+
475
+ /**
476
+ * Filter field name (ApplicationId: application ID; ApplicationName: application name; ApplicationRunStatus: running status; ApplicationUpdateStatus: update status).
477
+ * @type {string || null}
478
+ */
479
+ this.Name = null;
480
+
481
+ /**
482
+ * Filter value set (When the filter name is ApplicationRunStatus, the values can be [ApplicationDeleting: application deletion in progress; ApplicationCreateFail: application creation failed; ApplicationCreating: application creation in progress; ApplicationRunning: normal running; ApplicationNoConfigured: main execution program path not configured]. When the filter name is ApplicationUpdateStatus, the values can be [ApplicationUpdateCreating: version creation in progress; ApplicationUpdateCreateFail: version creation failed; ApplicationUpdateNoReleased: version to be released; ApplicationUpdateReleased: version release completed; ApplicationUpdateNormal: none]).
483
+ * @type {Array.<string> || null}
484
+ */
485
+ this.Values = null;
486
+
487
+ }
488
+
489
+ /**
490
+ * @private
491
+ */
492
+ deserialize(params) {
493
+ if (!params) {
494
+ return;
495
+ }
496
+ this.Name = 'Name' in params ? params.Name : null;
497
+ this.Values = 'Values' in params ? params.Values : null;
498
+
499
+ }
500
+ }
501
+
502
+ /**
503
+ * SetApplicationVersionOnline request structure.
504
+ * @class
505
+ */
506
+ class SetApplicationVersionOnlineRequest extends AbstractModel {
507
+ constructor(){
508
+ super();
509
+
510
+ /**
511
+ * Application ID.
512
+ * @type {string || null}
513
+ */
514
+ this.ApplicationId = null;
515
+
516
+ /**
517
+ * Application version ID.
518
+ * @type {string || null}
519
+ */
520
+ this.ApplicationVersionId = null;
521
+
522
+ }
523
+
524
+ /**
525
+ * @private
526
+ */
527
+ deserialize(params) {
528
+ if (!params) {
529
+ return;
530
+ }
531
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
532
+ this.ApplicationVersionId = 'ApplicationVersionId' in params ? params.ApplicationVersionId : null;
533
+
534
+ }
535
+ }
536
+
537
+ /**
538
+ * CreateApplicationSnapshot response structure.
539
+ * @class
540
+ */
541
+ class CreateApplicationSnapshotResponse extends AbstractModel {
542
+ constructor(){
543
+ super();
544
+
545
+ /**
546
+ * 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.
547
+ * @type {string || null}
548
+ */
549
+ this.RequestId = null;
550
+
551
+ }
552
+
553
+ /**
554
+ * @private
555
+ */
556
+ deserialize(params) {
557
+ if (!params) {
558
+ return;
559
+ }
560
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
561
+
562
+ }
563
+ }
564
+
565
+ /**
566
+ * DescribeApplicationFileInfo response structure.
567
+ * @class
568
+ */
569
+ class DescribeApplicationFileInfoResponse extends AbstractModel {
570
+ constructor(){
571
+ super();
572
+
573
+ /**
574
+ * Application file data list.
575
+ Note: This field may return null, indicating that no valid values can be obtained.
576
+ * @type {Array.<UserApplicationFileInfo> || null}
577
+ */
578
+ this.FileInfoList = null;
579
+
580
+ /**
581
+ * 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.
582
+ * @type {string || null}
583
+ */
584
+ this.RequestId = null;
585
+
586
+ }
587
+
588
+ /**
589
+ * @private
590
+ */
591
+ deserialize(params) {
592
+ if (!params) {
593
+ return;
594
+ }
595
+
596
+ if (params.FileInfoList) {
597
+ this.FileInfoList = new Array();
598
+ for (let z in params.FileInfoList) {
599
+ let obj = new UserApplicationFileInfo();
600
+ obj.deserialize(params.FileInfoList[z]);
601
+ this.FileInfoList.push(obj);
602
+ }
603
+ }
604
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
605
+
606
+ }
607
+ }
608
+
609
+ /**
610
+ * ModifyMobileApplicationInfo response structure.
611
+ * @class
612
+ */
613
+ class ModifyMobileApplicationInfoResponse extends AbstractModel {
614
+ constructor(){
615
+ super();
616
+
617
+ /**
618
+ * 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.
619
+ * @type {string || null}
620
+ */
621
+ this.RequestId = null;
622
+
623
+ }
624
+
625
+ /**
626
+ * @private
627
+ */
628
+ deserialize(params) {
629
+ if (!params) {
630
+ return;
631
+ }
632
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
633
+
634
+ }
635
+ }
636
+
637
+ /**
638
+ * ModifyApplicationBaseInfo request structure.
639
+ * @class
640
+ */
641
+ class ModifyApplicationBaseInfoRequest extends AbstractModel {
642
+ constructor(){
643
+ super();
644
+
645
+ /**
646
+ * Application ID.
647
+ * @type {string || null}
648
+ */
649
+ this.ApplicationId = null;
650
+
651
+ /**
652
+ * Application program execution path.
653
+ * @type {string || null}
654
+ */
655
+ this.ApplicationExePath = null;
656
+
657
+ /**
658
+ * Application process list.
659
+ * @type {string || null}
660
+ */
661
+ this.ApplicationInterList = null;
662
+
663
+ /**
664
+ * Application basic data.
665
+ * @type {ApplicationBaseInfo || null}
666
+ */
667
+ this.ApplicationBaseInfo = null;
668
+
669
+ /**
670
+ * Application startup parameters.
671
+ * @type {string || null}
672
+ */
673
+ this.ApplicationParams = null;
674
+
675
+ /**
676
+ * Application name.
677
+ * @type {string || null}
678
+ */
679
+ this.ApplicationName = null;
680
+
681
+ /**
682
+ * Application repository information list.
683
+ * @type {Array.<UserApplicationStore> || null}
684
+ */
685
+ this.ApplicationStores = null;
686
+
687
+ }
688
+
689
+ /**
690
+ * @private
691
+ */
692
+ deserialize(params) {
693
+ if (!params) {
694
+ return;
695
+ }
696
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
697
+ this.ApplicationExePath = 'ApplicationExePath' in params ? params.ApplicationExePath : null;
698
+ this.ApplicationInterList = 'ApplicationInterList' in params ? params.ApplicationInterList : null;
699
+
700
+ if (params.ApplicationBaseInfo) {
701
+ let obj = new ApplicationBaseInfo();
702
+ obj.deserialize(params.ApplicationBaseInfo)
703
+ this.ApplicationBaseInfo = obj;
704
+ }
705
+ this.ApplicationParams = 'ApplicationParams' in params ? params.ApplicationParams : null;
706
+ this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null;
707
+
708
+ if (params.ApplicationStores) {
709
+ this.ApplicationStores = new Array();
710
+ for (let z in params.ApplicationStores) {
711
+ let obj = new UserApplicationStore();
712
+ obj.deserialize(params.ApplicationStores[z]);
713
+ this.ApplicationStores.push(obj);
714
+ }
715
+ }
716
+
717
+ }
718
+ }
719
+
720
+ /**
721
+ * ModifyApplicationBaseInfo response structure.
722
+ * @class
723
+ */
724
+ class ModifyApplicationBaseInfoResponse extends AbstractModel {
725
+ constructor(){
726
+ super();
727
+
728
+ /**
729
+ * 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.
730
+ * @type {string || null}
731
+ */
732
+ this.RequestId = null;
733
+
734
+ }
735
+
736
+ /**
737
+ * @private
738
+ */
739
+ deserialize(params) {
740
+ if (!params) {
741
+ return;
742
+ }
743
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
744
+
745
+ }
746
+ }
747
+
748
+ /**
749
+ * DescribeApplicationVersion request structure.
750
+ * @class
751
+ */
752
+ class DescribeApplicationVersionRequest extends AbstractModel {
753
+ constructor(){
754
+ super();
755
+
756
+ /**
757
+ * Application version ID.
758
+ * @type {string || null}
759
+ */
760
+ this.ApplicationId = null;
761
+
762
+ }
763
+
764
+ /**
765
+ * @private
766
+ */
767
+ deserialize(params) {
768
+ if (!params) {
769
+ return;
770
+ }
771
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
772
+
773
+ }
774
+ }
775
+
776
+ /**
777
+ * DescribeApplicationList response structure.
778
+ * @class
779
+ */
780
+ class DescribeApplicationListResponse extends AbstractModel {
781
+ constructor(){
782
+ super();
783
+
784
+ /**
785
+ * Application list information.
786
+ * @type {Array.<UserApplicationInfo> || null}
787
+ */
788
+ this.UserApplicationList = null;
789
+
790
+ /**
791
+ * Total number of applications.
792
+ * @type {number || null}
793
+ */
794
+ this.ApplicationTotal = null;
795
+
796
+ /**
797
+ * Mobile application list information.
798
+ * @type {Array.<UserMobileApplicationInfo> || null}
799
+ */
800
+ this.UserMobileApplicationList = null;
801
+
802
+ /**
803
+ * 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.
804
+ * @type {string || null}
805
+ */
806
+ this.RequestId = null;
807
+
808
+ }
809
+
810
+ /**
811
+ * @private
812
+ */
813
+ deserialize(params) {
814
+ if (!params) {
815
+ return;
816
+ }
817
+
818
+ if (params.UserApplicationList) {
819
+ this.UserApplicationList = new Array();
820
+ for (let z in params.UserApplicationList) {
821
+ let obj = new UserApplicationInfo();
822
+ obj.deserialize(params.UserApplicationList[z]);
823
+ this.UserApplicationList.push(obj);
824
+ }
825
+ }
826
+ this.ApplicationTotal = 'ApplicationTotal' in params ? params.ApplicationTotal : null;
827
+
828
+ if (params.UserMobileApplicationList) {
829
+ this.UserMobileApplicationList = new Array();
830
+ for (let z in params.UserMobileApplicationList) {
831
+ let obj = new UserMobileApplicationInfo();
832
+ obj.deserialize(params.UserMobileApplicationList[z]);
833
+ this.UserMobileApplicationList.push(obj);
834
+ }
835
+ }
836
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
837
+
838
+ }
839
+ }
840
+
841
+ /**
842
+ * DescribeCosCredential response structure.
843
+ * @class
844
+ */
845
+ class DescribeCosCredentialResponse extends AbstractModel {
846
+ constructor(){
847
+ super();
848
+
849
+ /**
850
+ * Cos SecretID
851
+ * @type {string || null}
852
+ */
853
+ this.SecretID = null;
854
+
855
+ /**
856
+ * Cos SecretKey
857
+ * @type {string || null}
858
+ */
859
+ this.SecretKey = null;
860
+
861
+ /**
862
+ * Cos SessionToken
863
+ * @type {string || null}
864
+ */
865
+ this.SessionToken = null;
866
+
867
+ /**
868
+ * Cos Bucket
869
+ * @type {string || null}
870
+ */
871
+ this.CosBucket = null;
872
+
873
+ /**
874
+ * Cos Region
875
+ * @type {string || null}
876
+ */
877
+ this.CosRegion = null;
878
+
879
+ /**
880
+ * COS operation path.
881
+ * @type {string || null}
882
+ */
883
+ this.Path = null;
884
+
885
+ /**
886
+ * Start time of the COS key.
887
+ * @type {number || null}
888
+ */
889
+ this.StartTime = null;
890
+
891
+ /**
892
+ * Expiration time of the COS key.
893
+ * @type {number || null}
894
+ */
895
+ this.ExpiredTime = null;
896
+
897
+ /**
898
+ * 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.
899
+ * @type {string || null}
900
+ */
901
+ this.RequestId = null;
902
+
903
+ }
904
+
905
+ /**
906
+ * @private
907
+ */
908
+ deserialize(params) {
909
+ if (!params) {
910
+ return;
911
+ }
912
+ this.SecretID = 'SecretID' in params ? params.SecretID : null;
913
+ this.SecretKey = 'SecretKey' in params ? params.SecretKey : null;
914
+ this.SessionToken = 'SessionToken' in params ? params.SessionToken : null;
915
+ this.CosBucket = 'CosBucket' in params ? params.CosBucket : null;
916
+ this.CosRegion = 'CosRegion' in params ? params.CosRegion : null;
917
+ this.Path = 'Path' in params ? params.Path : null;
918
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
919
+ this.ExpiredTime = 'ExpiredTime' in params ? params.ExpiredTime : null;
920
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
921
+
922
+ }
923
+ }
924
+
925
+ /**
926
+ * DescribeApplicationStatus request structure.
927
+ * @class
928
+ */
929
+ class DescribeApplicationStatusRequest extends AbstractModel {
930
+ constructor(){
931
+ super();
932
+
933
+ /**
934
+ * Application ID list.
935
+ * @type {Array.<string> || null}
936
+ */
937
+ this.ApplicationIdList = null;
938
+
939
+ }
940
+
941
+ /**
942
+ * @private
943
+ */
944
+ deserialize(params) {
945
+ if (!params) {
946
+ return;
947
+ }
948
+ this.ApplicationIdList = 'ApplicationIdList' in params ? params.ApplicationIdList : null;
949
+
950
+ }
951
+ }
952
+
953
+ /**
954
+ * CreateApplication request structure.
955
+ * @class
956
+ */
957
+ class CreateApplicationRequest extends AbstractModel {
958
+ constructor(){
959
+ super();
960
+
961
+ /**
962
+ * Application name.
963
+ * @type {string || null}
964
+ */
965
+ this.ApplicationName = null;
966
+
967
+ /**
968
+ * Application type (Application3D: cloud 3D; ApplicationXR: cloud XR; ApplicationAPK: cloud APK).
969
+ * @type {string || null}
970
+ */
971
+ this.ApplicationType = null;
972
+
973
+ }
974
+
975
+ /**
976
+ * @private
977
+ */
978
+ deserialize(params) {
979
+ if (!params) {
980
+ return;
981
+ }
982
+ this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null;
983
+ this.ApplicationType = 'ApplicationType' in params ? params.ApplicationType : null;
984
+
985
+ }
986
+ }
987
+
988
+ /**
989
+ * DescribeConcurrentCount request structure.
990
+ * @class
991
+ */
992
+ class DescribeConcurrentCountRequest extends AbstractModel {
993
+ constructor(){
994
+ super();
995
+
996
+ /**
997
+ * Project ID.
998
+ * @type {string || null}
999
+ */
1000
+ this.ProjectId = null;
1001
+
1002
+ }
1003
+
1004
+ /**
1005
+ * @private
1006
+ */
1007
+ deserialize(params) {
1008
+ if (!params) {
1009
+ return;
1010
+ }
1011
+ this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
1012
+
1013
+ }
1014
+ }
1015
+
1016
+ /**
1017
+ * DeleteApplicationVersion response structure.
1018
+ * @class
1019
+ */
1020
+ class DeleteApplicationVersionResponse extends AbstractModel {
1021
+ constructor(){
1022
+ super();
1023
+
1024
+ /**
1025
+ * 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.
1026
+ * @type {string || null}
1027
+ */
1028
+ this.RequestId = null;
1029
+
1030
+ }
1031
+
1032
+ /**
1033
+ * @private
1034
+ */
1035
+ deserialize(params) {
1036
+ if (!params) {
1037
+ return;
1038
+ }
1039
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1040
+
1041
+ }
1042
+ }
1043
+
1044
+ /**
1045
+ * ModifyApplicationVersion response structure.
1046
+ * @class
1047
+ */
1048
+ class ModifyApplicationVersionResponse extends AbstractModel {
1049
+ constructor(){
1050
+ super();
1051
+
1052
+ /**
1053
+ * 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.
1054
+ * @type {string || null}
1055
+ */
1056
+ this.RequestId = null;
1057
+
1058
+ }
1059
+
1060
+ /**
1061
+ * @private
1062
+ */
1063
+ deserialize(params) {
1064
+ if (!params) {
1065
+ return;
1066
+ }
1067
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1068
+
1069
+ }
1070
+ }
1071
+
1072
+ /**
1073
+ * DescribeCosCredential request structure.
1074
+ * @class
1075
+ */
1076
+ class DescribeCosCredentialRequest extends AbstractModel {
1077
+ constructor(){
1078
+ super();
1079
+
1080
+ /**
1081
+ * Application ID.
1082
+ * @type {string || null}
1083
+ */
1084
+ this.ApplicationId = null;
1085
+
1086
+ /**
1087
+ * Application file name (the file must be a compressed package with a zip/rar/7z file name extension).
1088
+ * @type {string || null}
1089
+ */
1090
+ this.ApplicationFileName = null;
1091
+
1092
+ }
1093
+
1094
+ /**
1095
+ * @private
1096
+ */
1097
+ deserialize(params) {
1098
+ if (!params) {
1099
+ return;
1100
+ }
1101
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
1102
+ this.ApplicationFileName = 'ApplicationFileName' in params ? params.ApplicationFileName : null;
1103
+
1104
+ }
1105
+ }
1106
+
1107
+ /**
1108
+ * StopPublishStream response structure.
1109
+ * @class
1110
+ */
1111
+ class StopPublishStreamResponse extends AbstractModel {
1112
+ constructor(){
1113
+ super();
1114
+
1115
+ /**
1116
+ * 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.
1117
+ * @type {string || null}
1118
+ */
1119
+ this.RequestId = null;
1120
+
1121
+ }
1122
+
1123
+ /**
1124
+ * @private
1125
+ */
1126
+ deserialize(params) {
1127
+ if (!params) {
1128
+ return;
1129
+ }
1130
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1131
+
1132
+ }
1133
+ }
1134
+
1135
+ /**
1136
+ * CreateApplicationVersion request structure.
1137
+ * @class
1138
+ */
1139
+ class CreateApplicationVersionRequest extends AbstractModel {
1140
+ constructor(){
1141
+ super();
1142
+
1143
+ /**
1144
+ * Application ID.
1145
+ * @type {string || null}
1146
+ */
1147
+ this.ApplicationId = null;
1148
+
1149
+ /**
1150
+ * Application file name (desktop applications should be files in zip/rar/7z format, and mobile applications should be files in apk format).
1151
+ * @type {string || null}
1152
+ */
1153
+ this.ApplicationFileName = null;
1154
+
1155
+ /**
1156
+ * Region for application version distribution.
1157
+ * @type {Array.<string> || null}
1158
+ */
1159
+ this.ApplicationVersionRegions = null;
1160
+
1161
+ /**
1162
+ * Application update method.
1163
+ * @type {string || null}
1164
+ */
1165
+ this.ApplicationVersionUpdateMode = null;
1166
+
1167
+ }
1168
+
1169
+ /**
1170
+ * @private
1171
+ */
1172
+ deserialize(params) {
1173
+ if (!params) {
1174
+ return;
1175
+ }
1176
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
1177
+ this.ApplicationFileName = 'ApplicationFileName' in params ? params.ApplicationFileName : null;
1178
+ this.ApplicationVersionRegions = 'ApplicationVersionRegions' in params ? params.ApplicationVersionRegions : null;
1179
+ this.ApplicationVersionUpdateMode = 'ApplicationVersionUpdateMode' in params ? params.ApplicationVersionUpdateMode : null;
1180
+
1181
+ }
1182
+ }
1183
+
1184
+ /**
1185
+ * DescribeApplicationStatus response structure.
1186
+ * @class
1187
+ */
1188
+ class DescribeApplicationStatusResponse extends AbstractModel {
1189
+ constructor(){
1190
+ super();
1191
+
1192
+ /**
1193
+ * Application status list.
1194
+ * @type {Array.<UserApplicationStatus> || null}
1195
+ */
1196
+ this.StatusList = null;
1197
+
1198
+ /**
1199
+ * 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.
1200
+ * @type {string || null}
1201
+ */
1202
+ this.RequestId = null;
1203
+
1204
+ }
1205
+
1206
+ /**
1207
+ * @private
1208
+ */
1209
+ deserialize(params) {
1210
+ if (!params) {
1211
+ return;
1212
+ }
1213
+
1214
+ if (params.StatusList) {
1215
+ this.StatusList = new Array();
1216
+ for (let z in params.StatusList) {
1217
+ let obj = new UserApplicationStatus();
1218
+ obj.deserialize(params.StatusList[z]);
1219
+ this.StatusList.push(obj);
1220
+ }
1221
+ }
1222
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1223
+
1224
+ }
1225
+ }
1226
+
1227
+ /**
1228
+ * DestroySession response structure.
1229
+ * @class
1230
+ */
1231
+ class DestroySessionResponse extends AbstractModel {
1232
+ constructor(){
1233
+ super();
1234
+
1235
+ /**
1236
+ * 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.
1237
+ * @type {string || null}
1238
+ */
1239
+ this.RequestId = null;
1240
+
1241
+ }
1242
+
1243
+ /**
1244
+ * @private
1245
+ */
1246
+ deserialize(params) {
1247
+ if (!params) {
1248
+ return;
1249
+ }
1250
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1251
+
1252
+ }
1253
+ }
1254
+
1255
+ /**
1256
+ * DescribeApplicationVersion response structure.
1257
+ * @class
1258
+ */
1259
+ class DescribeApplicationVersionResponse extends AbstractModel {
1260
+ constructor(){
1261
+ super();
1262
+
1263
+ /**
1264
+ * List of application versions.
1265
+ * @type {Array.<UserApplicationVersion> || null}
1266
+ */
1267
+ this.Versions = null;
1268
+
1269
+ /**
1270
+ * 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.
1271
+ * @type {string || null}
1272
+ */
1273
+ this.RequestId = null;
1274
+
1275
+ }
1276
+
1277
+ /**
1278
+ * @private
1279
+ */
1280
+ deserialize(params) {
1281
+ if (!params) {
1282
+ return;
1283
+ }
1284
+
1285
+ if (params.Versions) {
1286
+ this.Versions = new Array();
1287
+ for (let z in params.Versions) {
1288
+ let obj = new UserApplicationVersion();
1289
+ obj.deserialize(params.Versions[z]);
1290
+ this.Versions.push(obj);
1291
+ }
1292
+ }
1293
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1294
+
1295
+ }
1296
+ }
1297
+
1298
+ /**
1299
+ * DescribeApplicationPathList request structure.
1300
+ * @class
1301
+ */
1302
+ class DescribeApplicationPathListRequest extends AbstractModel {
1303
+ constructor(){
1304
+ super();
1305
+
1306
+ /**
1307
+ * Cloud application ID.
1308
+ * @type {string || null}
1309
+ */
1310
+ this.ApplicationId = null;
1311
+
1312
+ /**
1313
+ * Cloud application version ID.
1314
+ * @type {string || null}
1315
+ */
1316
+ this.ApplicationVersionId = null;
1317
+
1318
+ }
1319
+
1320
+ /**
1321
+ * @private
1322
+ */
1323
+ deserialize(params) {
1324
+ if (!params) {
1325
+ return;
1326
+ }
1327
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
1328
+ this.ApplicationVersionId = 'ApplicationVersionId' in params ? params.ApplicationVersionId : null;
1329
+
1330
+ }
1331
+ }
1332
+
1333
+ /**
1334
+ * StartPublishStream response structure.
1335
+ * @class
1336
+ */
1337
+ class StartPublishStreamResponse extends AbstractModel {
1338
+ constructor(){
1339
+ super();
1340
+
1341
+ /**
1342
+ * 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.
1343
+ * @type {string || null}
1344
+ */
1345
+ this.RequestId = null;
1346
+
1347
+ }
1348
+
1349
+ /**
1350
+ * @private
1351
+ */
1352
+ deserialize(params) {
1353
+ if (!params) {
1354
+ return;
1355
+ }
1356
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1357
+
1358
+ }
1359
+ }
1360
+
19
1361
  /**
20
1362
  * CreateSession response structure.
21
1363
  * @class
@@ -25,16 +1367,215 @@ class CreateSessionResponse extends AbstractModel {
25
1367
  super();
26
1368
 
27
1369
  /**
28
- * The server-side session data, which is returned to the SDK.
1370
+ * Server-side session information, which is returned to the SDK.
1371
+ * @type {string || null}
1372
+ */
1373
+ this.ServerSession = null;
1374
+
1375
+ /**
1376
+ * 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.
1377
+ * @type {string || null}
1378
+ */
1379
+ this.RequestId = null;
1380
+
1381
+ }
1382
+
1383
+ /**
1384
+ * @private
1385
+ */
1386
+ deserialize(params) {
1387
+ if (!params) {
1388
+ return;
1389
+ }
1390
+ this.ServerSession = 'ServerSession' in params ? params.ServerSession : null;
1391
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1392
+
1393
+ }
1394
+ }
1395
+
1396
+ /**
1397
+ * DescribeApplicationList request structure.
1398
+ * @class
1399
+ */
1400
+ class DescribeApplicationListRequest extends AbstractModel {
1401
+ constructor(){
1402
+ super();
1403
+
1404
+ /**
1405
+ * Application list offset.
1406
+ * @type {number || null}
1407
+ */
1408
+ this.Offset = null;
1409
+
1410
+ /**
1411
+ * Application quantity limit.
1412
+ * @type {number || null}
1413
+ */
1414
+ this.Limit = null;
1415
+
1416
+ /**
1417
+ * Filter criteria.
1418
+ * @type {Array.<Filter> || null}
1419
+ */
1420
+ this.Filters = null;
1421
+
1422
+ /**
1423
+ * Application category (DESKTOP: desktop; MOBILE: mobile).
1424
+ * @type {string || null}
1425
+ */
1426
+ this.ApplicationCategory = null;
1427
+
1428
+ }
1429
+
1430
+ /**
1431
+ * @private
1432
+ */
1433
+ deserialize(params) {
1434
+ if (!params) {
1435
+ return;
1436
+ }
1437
+ this.Offset = 'Offset' in params ? params.Offset : null;
1438
+ this.Limit = 'Limit' in params ? params.Limit : null;
1439
+
1440
+ if (params.Filters) {
1441
+ this.Filters = new Array();
1442
+ for (let z in params.Filters) {
1443
+ let obj = new Filter();
1444
+ obj.deserialize(params.Filters[z]);
1445
+ this.Filters.push(obj);
1446
+ }
1447
+ }
1448
+ this.ApplicationCategory = 'ApplicationCategory' in params ? params.ApplicationCategory : null;
1449
+
1450
+ }
1451
+ }
1452
+
1453
+ /**
1454
+ * StartPublishStream request structure.
1455
+ * @class
1456
+ */
1457
+ class StartPublishStreamRequest extends AbstractModel {
1458
+ constructor(){
1459
+ super();
1460
+
1461
+ /**
1462
+ * Unique user ID, which is customized by you and is not parsed by CAR. It will be used as the `StreamId` for streaming. For example, if the bound streaming domain is **abc.livepush.myqcloud.com**, the streaming address will be **rtmp://abc.livepush.myqcloud.com/live/UserId?txSecret=xxx&txTime=xxx**.
1463
+ * @type {string || null}
1464
+ */
1465
+ this.UserId = null;
1466
+
1467
+ /**
1468
+ * Streaming parameter, which is a custom parameter carried during streaming.
1469
+ * @type {string || null}
1470
+ */
1471
+ this.PublishStreamArgs = null;
1472
+
1473
+ }
1474
+
1475
+ /**
1476
+ * @private
1477
+ */
1478
+ deserialize(params) {
1479
+ if (!params) {
1480
+ return;
1481
+ }
1482
+ this.UserId = 'UserId' in params ? params.UserId : null;
1483
+ this.PublishStreamArgs = 'PublishStreamArgs' in params ? params.PublishStreamArgs : null;
1484
+
1485
+ }
1486
+ }
1487
+
1488
+ /**
1489
+ * Application data information.
1490
+ * @class
1491
+ */
1492
+ class UserApplicationInfo extends AbstractModel {
1493
+ constructor(){
1494
+ super();
1495
+
1496
+ /**
1497
+ * Application ID.
1498
+ * @type {string || null}
1499
+ */
1500
+ this.ApplicationId = null;
1501
+
1502
+ /**
1503
+ * Application name.
1504
+ * @type {string || null}
1505
+ */
1506
+ this.ApplicationName = null;
1507
+
1508
+ /**
1509
+ * Application type (cloud 3D: Application3D; cloud XR: ApplicationXR; cloud Web: ApplicationWeb).
1510
+ * @type {string || null}
1511
+ */
1512
+ this.ApplicationType = null;
1513
+
1514
+ /**
1515
+ * Application program execution path.
1516
+ * @type {string || null}
1517
+ */
1518
+ this.ApplicationExePath = null;
1519
+
1520
+ /**
1521
+ * Application process list.
1522
+ * @type {string || null}
1523
+ */
1524
+ this.ApplicationInterList = null;
1525
+
1526
+ /**
1527
+ * Application startup parameters.
1528
+ * @type {string || null}
1529
+ */
1530
+ this.ApplicationParams = null;
1531
+
1532
+ /**
1533
+ * Application running status (ApplicationDeleting: application deletion in progress; ApplicationCreateFail: application creation failed; ApplicationCreating: application creation in progress; ApplicationRunning: normal running; ApplicationNoConfigured: main execution program path not configured).
29
1534
  * @type {string || null}
30
1535
  */
31
- this.ServerSession = null;
1536
+ this.ApplicationRunStatus = null;
32
1537
 
33
1538
  /**
34
- * 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.
1539
+ * Application update status (ApplicationUpdateCreating: version creation in progress; ApplicationUpdateCreateFail: version creation failed; ApplicationUpdateNoReleased: version to be released; ApplicationUpdateReleased: version release completed; ApplicationUpdateNormal: none).
35
1540
  * @type {string || null}
36
1541
  */
37
- this.RequestId = null;
1542
+ this.ApplicationUpdateStatus = null;
1543
+
1544
+ /**
1545
+ * Application creation time.
1546
+ * @type {string || null}
1547
+ */
1548
+ this.ApplicationCreateTime = null;
1549
+
1550
+ /**
1551
+ * List of application versions.
1552
+ * @type {Array.<UserApplicationVersion> || null}
1553
+ */
1554
+ this.ApplicationVersions = null;
1555
+
1556
+ /**
1557
+ * Application basic data.
1558
+ * @type {ApplicationBaseInfo || null}
1559
+ */
1560
+ this.ApplicationBaseInfo = null;
1561
+
1562
+ /**
1563
+ * Application update progress.
1564
+ * @type {number || null}
1565
+ */
1566
+ this.ApplicationUpdateProgress = null;
1567
+
1568
+ /**
1569
+ * Application nature (PUBLIC: public application; PRIVATE: user application).
1570
+ * @type {string || null}
1571
+ */
1572
+ this.ApplicationNature = null;
1573
+
1574
+ /**
1575
+ * Application repository list.
1576
+ * @type {Array.<UserApplicationStore> || null}
1577
+ */
1578
+ this.ApplicationStores = null;
38
1579
 
39
1580
  }
40
1581
 
@@ -45,25 +1586,58 @@ class CreateSessionResponse extends AbstractModel {
45
1586
  if (!params) {
46
1587
  return;
47
1588
  }
48
- this.ServerSession = 'ServerSession' in params ? params.ServerSession : null;
49
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1589
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
1590
+ this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null;
1591
+ this.ApplicationType = 'ApplicationType' in params ? params.ApplicationType : null;
1592
+ this.ApplicationExePath = 'ApplicationExePath' in params ? params.ApplicationExePath : null;
1593
+ this.ApplicationInterList = 'ApplicationInterList' in params ? params.ApplicationInterList : null;
1594
+ this.ApplicationParams = 'ApplicationParams' in params ? params.ApplicationParams : null;
1595
+ this.ApplicationRunStatus = 'ApplicationRunStatus' in params ? params.ApplicationRunStatus : null;
1596
+ this.ApplicationUpdateStatus = 'ApplicationUpdateStatus' in params ? params.ApplicationUpdateStatus : null;
1597
+ this.ApplicationCreateTime = 'ApplicationCreateTime' in params ? params.ApplicationCreateTime : null;
1598
+
1599
+ if (params.ApplicationVersions) {
1600
+ this.ApplicationVersions = new Array();
1601
+ for (let z in params.ApplicationVersions) {
1602
+ let obj = new UserApplicationVersion();
1603
+ obj.deserialize(params.ApplicationVersions[z]);
1604
+ this.ApplicationVersions.push(obj);
1605
+ }
1606
+ }
1607
+
1608
+ if (params.ApplicationBaseInfo) {
1609
+ let obj = new ApplicationBaseInfo();
1610
+ obj.deserialize(params.ApplicationBaseInfo)
1611
+ this.ApplicationBaseInfo = obj;
1612
+ }
1613
+ this.ApplicationUpdateProgress = 'ApplicationUpdateProgress' in params ? params.ApplicationUpdateProgress : null;
1614
+ this.ApplicationNature = 'ApplicationNature' in params ? params.ApplicationNature : null;
1615
+
1616
+ if (params.ApplicationStores) {
1617
+ this.ApplicationStores = new Array();
1618
+ for (let z in params.ApplicationStores) {
1619
+ let obj = new UserApplicationStore();
1620
+ obj.deserialize(params.ApplicationStores[z]);
1621
+ this.ApplicationStores.push(obj);
1622
+ }
1623
+ }
50
1624
 
51
1625
  }
52
1626
  }
53
1627
 
54
1628
  /**
55
- * StopPublishStream request structure.
1629
+ * DeleteApplication response structure.
56
1630
  * @class
57
1631
  */
58
- class StopPublishStreamRequest extends AbstractModel {
1632
+ class DeleteApplicationResponse extends AbstractModel {
59
1633
  constructor(){
60
1634
  super();
61
1635
 
62
1636
  /**
63
- * Unique user ID, which is customized by you and is not understood by CAR. It can also be randomly generated using the timestamp and should be kept unchanged during user reconnection.
1637
+ * 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.
64
1638
  * @type {string || null}
65
1639
  */
66
- this.UserId = null;
1640
+ this.RequestId = null;
67
1641
 
68
1642
  }
69
1643
 
@@ -74,24 +1648,42 @@ class StopPublishStreamRequest extends AbstractModel {
74
1648
  if (!params) {
75
1649
  return;
76
1650
  }
77
- this.UserId = 'UserId' in params ? params.UserId : null;
1651
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
78
1652
 
79
1653
  }
80
1654
  }
81
1655
 
82
1656
  /**
83
- * StartPublishStreamWithURL response structure.
1657
+ * Application status information.
84
1658
  * @class
85
1659
  */
86
- class StartPublishStreamWithURLResponse extends AbstractModel {
1660
+ class UserApplicationStatus extends AbstractModel {
87
1661
  constructor(){
88
1662
  super();
89
1663
 
90
1664
  /**
91
- * 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.
1665
+ * Application ID.
92
1666
  * @type {string || null}
93
1667
  */
94
- this.RequestId = null;
1668
+ this.ApplicationId = null;
1669
+
1670
+ /**
1671
+ * Application running status (ApplicationDeleting: application deletion in progress; ApplicationCreateFail: application creation failed; ApplicationCreating: application creation in progress; ApplicationRunning: normal running; ApplicationNoConfigured: main execution program path not configured; ApplicationNoPackage: no available package).
1672
+ * @type {string || null}
1673
+ */
1674
+ this.ApplicationRunStatus = null;
1675
+
1676
+ /**
1677
+ * Application update status (ApplicationUpdateCreating: version creation in progress; ApplicationUpdateCreateFail: version creation failed; ApplicationUpdateNoReleased: version to be released; ApplicationUpdateReleased: version release completed; ApplicationUpdateNormal: none).
1678
+ * @type {string || null}
1679
+ */
1680
+ this.ApplicationUpdateStatus = null;
1681
+
1682
+ /**
1683
+ * Application update progress.
1684
+ * @type {number || null}
1685
+ */
1686
+ this.ApplicationUpdateProgress = null;
95
1687
 
96
1688
  }
97
1689
 
@@ -102,24 +1694,27 @@ class StartPublishStreamWithURLResponse extends AbstractModel {
102
1694
  if (!params) {
103
1695
  return;
104
1696
  }
105
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1697
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
1698
+ this.ApplicationRunStatus = 'ApplicationRunStatus' in params ? params.ApplicationRunStatus : null;
1699
+ this.ApplicationUpdateStatus = 'ApplicationUpdateStatus' in params ? params.ApplicationUpdateStatus : null;
1700
+ this.ApplicationUpdateProgress = 'ApplicationUpdateProgress' in params ? params.ApplicationUpdateProgress : null;
106
1701
 
107
1702
  }
108
1703
  }
109
1704
 
110
1705
  /**
111
- * StopPublishStream response structure.
1706
+ * StopPublishStream request structure.
112
1707
  * @class
113
1708
  */
114
- class StopPublishStreamResponse extends AbstractModel {
1709
+ class StopPublishStreamRequest extends AbstractModel {
115
1710
  constructor(){
116
1711
  super();
117
1712
 
118
1713
  /**
119
- * 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.
1714
+ * Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application.
120
1715
  * @type {string || null}
121
1716
  */
122
- this.RequestId = null;
1717
+ this.UserId = null;
123
1718
 
124
1719
  }
125
1720
 
@@ -130,19 +1725,25 @@ class StopPublishStreamResponse extends AbstractModel {
130
1725
  if (!params) {
131
1726
  return;
132
1727
  }
133
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1728
+ this.UserId = 'UserId' in params ? params.UserId : null;
134
1729
 
135
1730
  }
136
1731
  }
137
1732
 
138
1733
  /**
139
- * DestroySession response structure.
1734
+ * CreateApplication response structure.
140
1735
  * @class
141
1736
  */
142
- class DestroySessionResponse extends AbstractModel {
1737
+ class CreateApplicationResponse extends AbstractModel {
143
1738
  constructor(){
144
1739
  super();
145
1740
 
1741
+ /**
1742
+ * Application ID.
1743
+ * @type {string || null}
1744
+ */
1745
+ this.ApplicationId = null;
1746
+
146
1747
  /**
147
1748
  * 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.
148
1749
  * @type {string || null}
@@ -158,30 +1759,33 @@ class DestroySessionResponse extends AbstractModel {
158
1759
  if (!params) {
159
1760
  return;
160
1761
  }
1762
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
161
1763
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
162
1764
 
163
1765
  }
164
1766
  }
165
1767
 
166
1768
  /**
167
- * StartPublishStreamWithURL request structure.
1769
+ * Application file information.
168
1770
  * @class
169
1771
  */
170
- class StartPublishStreamWithURLRequest extends AbstractModel {
1772
+ class UserApplicationFileInfo extends AbstractModel {
171
1773
  constructor(){
172
1774
  super();
173
1775
 
174
1776
  /**
175
- * Unique user ID, which is customized by you and is not understood by CAR.
1777
+ * Application file path.
1778
+ Note: This field may return null, indicating that no valid values can be obtained.
176
1779
  * @type {string || null}
177
1780
  */
178
- this.UserId = null;
1781
+ this.FilePath = null;
179
1782
 
180
1783
  /**
181
- * Push address. Only RTMP is supported for push currently.
1784
+ * File status. NO_EXIST: The file does not exist; EXIST: The file exists.
1785
+ Note: This field may return null, indicating that no valid values can be obtained.
182
1786
  * @type {string || null}
183
1787
  */
184
- this.PublishStreamURL = null;
1788
+ this.FileState = null;
185
1789
 
186
1790
  }
187
1791
 
@@ -192,25 +1796,85 @@ class StartPublishStreamWithURLRequest extends AbstractModel {
192
1796
  if (!params) {
193
1797
  return;
194
1798
  }
195
- this.UserId = 'UserId' in params ? params.UserId : null;
196
- this.PublishStreamURL = 'PublishStreamURL' in params ? params.PublishStreamURL : null;
1799
+ this.FilePath = 'FilePath' in params ? params.FilePath : null;
1800
+ this.FileState = 'FileState' in params ? params.FileState : null;
197
1801
 
198
1802
  }
199
1803
  }
200
1804
 
201
1805
  /**
202
- * ApplyConcurrent response structure.
1806
+ * Application version information.
203
1807
  * @class
204
1808
  */
205
- class ApplyConcurrentResponse extends AbstractModel {
1809
+ class UserApplicationVersion extends AbstractModel {
206
1810
  constructor(){
207
1811
  super();
208
1812
 
209
1813
  /**
210
- * 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.
1814
+ * Application version ID.
211
1815
  * @type {string || null}
212
1816
  */
213
- this.RequestId = null;
1817
+ this.ApplicationVersionId = null;
1818
+
1819
+ /**
1820
+ * Application version size.
1821
+ * @type {number || null}
1822
+ */
1823
+ this.ApplicationVersionSize = null;
1824
+
1825
+ /**
1826
+ * Application version status (Uploading: uploading; Creating: in creation; CreateFailed: creation failed; Deleting: deleting; Inuse: current version; Normal: to be released; Usable: available).
1827
+ * @type {string || null}
1828
+ */
1829
+ this.ApplicationVersionStatus = null;
1830
+
1831
+ /**
1832
+ * Application version name.
1833
+ * @type {string || null}
1834
+ */
1835
+ this.ApplicationVersionName = null;
1836
+
1837
+ /**
1838
+ * Application version creation time.
1839
+ * @type {string || null}
1840
+ */
1841
+ this.CreateTime = null;
1842
+
1843
+ /**
1844
+ * Region for application version distribution (
1845
+ Standard zone:
1846
+ ap-chinese-mainland: Chinese mainland
1847
+ na-north-america: North America
1848
+ eu-frankfurt: Frankfurt
1849
+ ap-mumbai: Mumbai
1850
+ ap-tokyo: Tokyo
1851
+ ap-seoul: Seoul
1852
+ ap-singapore: Singapore
1853
+ ap-bangkok: Bangkok
1854
+ ap-hongkong: Hong Kong (China)
1855
+ Integration zone:
1856
+ me-middle-east-fusion: Middle East
1857
+ na-north-america-fusion: North America
1858
+ sa-south-america-fusion: South America
1859
+ ap-tokyo-fusion: Tokyo
1860
+ ap-seoul-fusion: Seoul
1861
+ eu-frankfurt-fusion: Frankfurt
1862
+ ap-singapore-fusion: Singapore
1863
+ ap-hongkong-fusion: Hong Kong (China)
1864
+ ).
1865
+ Note: This field may return null, indicating that no valid values can be obtained.
1866
+ * @type {Array.<string> || null}
1867
+ */
1868
+ this.ApplicationVersionRegions = null;
1869
+
1870
+ /**
1871
+ * Application version update method.
1872
+ FULL: full update.
1873
+ INCREMENT: incremental update.
1874
+ Note: This field may return null, indicating that no valid values can be obtained.
1875
+ * @type {string || null}
1876
+ */
1877
+ this.ApplicationVersionUpdateMode = null;
214
1878
 
215
1879
  }
216
1880
 
@@ -221,24 +1885,36 @@ class ApplyConcurrentResponse extends AbstractModel {
221
1885
  if (!params) {
222
1886
  return;
223
1887
  }
224
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1888
+ this.ApplicationVersionId = 'ApplicationVersionId' in params ? params.ApplicationVersionId : null;
1889
+ this.ApplicationVersionSize = 'ApplicationVersionSize' in params ? params.ApplicationVersionSize : null;
1890
+ this.ApplicationVersionStatus = 'ApplicationVersionStatus' in params ? params.ApplicationVersionStatus : null;
1891
+ this.ApplicationVersionName = 'ApplicationVersionName' in params ? params.ApplicationVersionName : null;
1892
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
1893
+ this.ApplicationVersionRegions = 'ApplicationVersionRegions' in params ? params.ApplicationVersionRegions : null;
1894
+ this.ApplicationVersionUpdateMode = 'ApplicationVersionUpdateMode' in params ? params.ApplicationVersionUpdateMode : null;
225
1895
 
226
1896
  }
227
1897
  }
228
1898
 
229
1899
  /**
230
- * StartPublishStream response structure.
1900
+ * StartPublishStreamWithURL request structure.
231
1901
  * @class
232
1902
  */
233
- class StartPublishStreamResponse extends AbstractModel {
1903
+ class StartPublishStreamWithURLRequest extends AbstractModel {
234
1904
  constructor(){
235
1905
  super();
236
1906
 
237
1907
  /**
238
- * 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.
1908
+ * Unique user ID, which is customized by you and is not parsed by CAR.
239
1909
  * @type {string || null}
240
1910
  */
241
- this.RequestId = null;
1911
+ this.UserId = null;
1912
+
1913
+ /**
1914
+ * Streaming address. Only RTMP is supported for streaming currently.
1915
+ * @type {string || null}
1916
+ */
1917
+ this.PublishStreamURL = null;
242
1918
 
243
1919
  }
244
1920
 
@@ -249,71 +1925,59 @@ class StartPublishStreamResponse extends AbstractModel {
249
1925
  if (!params) {
250
1926
  return;
251
1927
  }
252
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1928
+ this.UserId = 'UserId' in params ? params.UserId : null;
1929
+ this.PublishStreamURL = 'PublishStreamURL' in params ? params.PublishStreamURL : null;
253
1930
 
254
1931
  }
255
1932
  }
256
1933
 
257
1934
  /**
258
- * CreateSession request structure.
1935
+ * ApplyConcurrent response structure.
259
1936
  * @class
260
1937
  */
261
- class CreateSessionRequest extends AbstractModel {
1938
+ class ApplyConcurrentResponse extends AbstractModel {
262
1939
  constructor(){
263
1940
  super();
264
1941
 
265
1942
  /**
266
- * The user’s unique ID. Tencent Cloud does not parse the ID. You need to manage your own user IDs. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application.
267
- * @type {string || null}
268
- */
269
- this.UserId = null;
270
-
271
- /**
272
- * Public IP of user’s application client, which is used for nearby scheduling.
1943
+ * 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.
273
1944
  * @type {string || null}
274
1945
  */
275
- this.UserIp = null;
1946
+ this.RequestId = null;
276
1947
 
277
- /**
278
- * The client-side session data, which is obtained from the SDK. If `RunMode` is `RunWithoutClient`, this parameter can be null.
279
- * @type {string || null}
280
- */
281
- this.ClientSession = null;
1948
+ }
282
1949
 
283
- /**
284
- * The on-cloud running mode.
285
- `RunWithoutClient`: Keep the application running on the cloud even when there are no client connections.
286
- Empty string (default): Keep the application running on the cloud only when there are client connections.
287
- * @type {string || null}
288
- */
289
- this.RunMode = null;
1950
+ /**
1951
+ * @private
1952
+ */
1953
+ deserialize(params) {
1954
+ if (!params) {
1955
+ return;
1956
+ }
1957
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
290
1958
 
291
- /**
292
- * Application startup parameter.
293
- If the user requests a multi-application project or a prelaunch-disabled single-application project, this parameter takes effect.
294
-
295
- If the user requests a prelaunch-enabled single-application project, this parameter is invalid.
1959
+ }
1960
+ }
296
1961
 
297
- Note: When this parameter takes effect, the `ApplicationParameters` parameter will be appended to the end of the application startup parameter. The application startup parameter is set in the application or project configuration in the console.
298
- For example, for a prelaunch-disabled single-application project, if its application startup parameter `bar` is `0` and the `ApplicationParameters` parameter `foo` is `1`, the actual application startup parameters will be `bar=0 foo=1`.
299
- * @type {string || null}
300
- */
301
- this.ApplicationParameters = null;
1962
+ /**
1963
+ * SetApplicationVersionOnline response structure.
1964
+ * @class
1965
+ */
1966
+ class SetApplicationVersionOnlineResponse extends AbstractModel {
1967
+ constructor(){
1968
+ super();
302
1969
 
303
1970
  /**
304
- * The user ID of the host in **multi-person interaction** scenarios, which is required.
305
- If the current user is the host, `HostUserId` must be the same as their `UserId`; otherwise, `HostUserId` should be the host's `UserId`.
306
- * @type {string || null}
1971
+ * List of application versions.
1972
+ * @type {Array.<UserApplicationVersion> || null}
307
1973
  */
308
- this.HostUserId = null;
1974
+ this.Versions = null;
309
1975
 
310
1976
  /**
311
- * The role in **multi-person interaction** scenarios. Valid values:
312
- `Player`: A user who can operate an application by using a keyboard and mouse
313
- `Viewer`: A user who can only watch the video in the room but cannot operate the application
1977
+ * 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.
314
1978
  * @type {string || null}
315
1979
  */
316
- this.Role = null;
1980
+ this.RequestId = null;
317
1981
 
318
1982
  }
319
1983
 
@@ -324,13 +1988,16 @@ If the current user is the host, `HostUserId` must be the same as their `UserId`
324
1988
  if (!params) {
325
1989
  return;
326
1990
  }
327
- this.UserId = 'UserId' in params ? params.UserId : null;
328
- this.UserIp = 'UserIp' in params ? params.UserIp : null;
329
- this.ClientSession = 'ClientSession' in params ? params.ClientSession : null;
330
- this.RunMode = 'RunMode' in params ? params.RunMode : null;
331
- this.ApplicationParameters = 'ApplicationParameters' in params ? params.ApplicationParameters : null;
332
- this.HostUserId = 'HostUserId' in params ? params.HostUserId : null;
333
- this.Role = 'Role' in params ? params.Role : null;
1991
+
1992
+ if (params.Versions) {
1993
+ this.Versions = new Array();
1994
+ for (let z in params.Versions) {
1995
+ let obj = new UserApplicationVersion();
1996
+ obj.deserialize(params.Versions[z]);
1997
+ this.Versions.push(obj);
1998
+ }
1999
+ }
2000
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
334
2001
 
335
2002
  }
336
2003
  }
@@ -344,25 +2011,25 @@ class ApplyConcurrentRequest extends AbstractModel {
344
2011
  super();
345
2012
 
346
2013
  /**
347
- * The user’s unique ID. Tencent Cloud does not parse the ID. You need to manage your own user IDs. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application.
2014
+ * Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application.
348
2015
  * @type {string || null}
349
2016
  */
350
2017
  this.UserId = null;
351
2018
 
352
2019
  /**
353
- * Public IP of users application client, which is used for nearby scheduling.
2020
+ * Public IP address of the user's client, which is used for nearby scheduling.
354
2021
  * @type {string || null}
355
2022
  */
356
2023
  this.UserIp = null;
357
2024
 
358
2025
  /**
359
- * The project ID.
2026
+ * Project ID.
360
2027
  * @type {string || null}
361
2028
  */
362
2029
  this.ProjectId = null;
363
2030
 
364
2031
  /**
365
- * Application version ID. If the application of the current version is requested, you do not need to fill in this field. If the application of other versions is requested, you need to specify the version through this field.
2032
+ * Application version ID. If the application of the current version is requested, you do not need to fill in this field. If the application of the other versions is requested, you need to specify the version through this field.
366
2033
  * @type {string || null}
367
2034
  */
368
2035
  this.ApplicationVersionId = null;
@@ -400,13 +2067,13 @@ class DescribeConcurrentCountResponse extends AbstractModel {
400
2067
  super();
401
2068
 
402
2069
  /**
403
- * Total Concurrency Count
2070
+ * Total number of concurrencies.
404
2071
  * @type {number || null}
405
2072
  */
406
2073
  this.Total = null;
407
2074
 
408
2075
  /**
409
- * The number of concurrent executions, including those in pre-launch, connected, waiting for reconnection, to be cleaned up or recovered, and all non-idle concurrent executions. Therefore, refreshing projects or disconnecting user connections with concurrency packages will affect this value.
2076
+ * The number of concurrent executions, including all non-idle concurrent executions such as those in prelaunch, connected, waiting for reconnection, and to be cleaned up or recovered. Therefore, refreshing projects or disconnecting user connections with concurrency packages will affect this value.
410
2077
  * @type {number || null}
411
2078
  */
412
2079
  this.Running = null;
@@ -442,7 +2109,7 @@ class DestroySessionRequest extends AbstractModel {
442
2109
  super();
443
2110
 
444
2111
  /**
445
- * The user’s unique ID. Tencent Cloud does not parse the ID. You need to manage your own user IDs. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application.
2112
+ * Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application.
446
2113
  * @type {string || null}
447
2114
  */
448
2115
  this.UserId = null;
@@ -462,18 +2129,24 @@ class DestroySessionRequest extends AbstractModel {
462
2129
  }
463
2130
 
464
2131
  /**
465
- * DescribeConcurrentCount request structure.
2132
+ * DescribeApplicationFileInfo request structure.
466
2133
  * @class
467
2134
  */
468
- class DescribeConcurrentCountRequest extends AbstractModel {
2135
+ class DescribeApplicationFileInfoRequest extends AbstractModel {
469
2136
  constructor(){
470
2137
  super();
471
2138
 
472
2139
  /**
473
- * Project ID
2140
+ * Application ID.
474
2141
  * @type {string || null}
475
2142
  */
476
- this.ProjectId = null;
2143
+ this.ApplicationId = null;
2144
+
2145
+ /**
2146
+ * Application file path list.
2147
+ * @type {Array.<string> || null}
2148
+ */
2149
+ this.FilePathList = null;
477
2150
 
478
2151
  }
479
2152
 
@@ -484,30 +2157,37 @@ class DescribeConcurrentCountRequest extends AbstractModel {
484
2157
  if (!params) {
485
2158
  return;
486
2159
  }
487
- this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
2160
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
2161
+ this.FilePathList = 'FilePathList' in params ? params.FilePathList : null;
488
2162
 
489
2163
  }
490
2164
  }
491
2165
 
492
2166
  /**
493
- * StartPublishStream request structure.
2167
+ * ModifyApplicationVersion request structure.
494
2168
  * @class
495
2169
  */
496
- class StartPublishStreamRequest extends AbstractModel {
2170
+ class ModifyApplicationVersionRequest extends AbstractModel {
497
2171
  constructor(){
498
2172
  super();
499
2173
 
500
2174
  /**
501
- * Unique user ID, which is customized by you and is not understood by CAR. It will be used as the `StreamId` for pushing streams. For example, if the bound push domain is **abc.livepush.myqcloud.com**, the push address will be **rtmp://abc.livepush.myqcloud.com/live/UserId?txSecret=xxx&txTime=xxx**.
2175
+ * Application ID.
502
2176
  * @type {string || null}
503
2177
  */
504
- this.UserId = null;
2178
+ this.ApplicationId = null;
505
2179
 
506
2180
  /**
507
- * Push parameter, which is a custom parameter carried during stream pushing.
2181
+ * Application version ID.
508
2182
  * @type {string || null}
509
2183
  */
510
- this.PublishStreamArgs = null;
2184
+ this.ApplicationVersionId = null;
2185
+
2186
+ /**
2187
+ * Application version name.
2188
+ * @type {string || null}
2189
+ */
2190
+ this.ApplicationVersionName = null;
511
2191
 
512
2192
  }
513
2193
 
@@ -518,26 +2198,126 @@ class StartPublishStreamRequest extends AbstractModel {
518
2198
  if (!params) {
519
2199
  return;
520
2200
  }
521
- this.UserId = 'UserId' in params ? params.UserId : null;
522
- this.PublishStreamArgs = 'PublishStreamArgs' in params ? params.PublishStreamArgs : null;
2201
+ this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
2202
+ this.ApplicationVersionId = 'ApplicationVersionId' in params ? params.ApplicationVersionId : null;
2203
+ this.ApplicationVersionName = 'ApplicationVersionName' in params ? params.ApplicationVersionName : null;
2204
+
2205
+ }
2206
+ }
2207
+
2208
+ /**
2209
+ * Application repository information.
2210
+ * @class
2211
+ */
2212
+ class UserApplicationStore extends AbstractModel {
2213
+ constructor(){
2214
+ super();
2215
+
2216
+ /**
2217
+ * COS bucket name.
2218
+ Note: This field may return null, indicating that no valid values can be obtained.
2219
+ * @type {string || null}
2220
+ */
2221
+ this.CosBucket = null;
2222
+
2223
+ /**
2224
+ * COS bucket region.
2225
+ Note: This field may return null, indicating that no valid values can be obtained.
2226
+ * @type {string || null}
2227
+ */
2228
+ this.CosRegion = null;
2229
+
2230
+ /**
2231
+ * Repository type. LOG: application logs; ARCHIVE: application archive.
2232
+ Note: This field may return null, indicating that no valid values can be obtained.
2233
+ * @type {string || null}
2234
+ */
2235
+ this.StoreType = null;
2236
+
2237
+ /**
2238
+ * Repository status. ON: enabled; OFF: disabled.
2239
+ Note: This field may return null, indicating that no valid values can be obtained.
2240
+ * @type {string || null}
2241
+ */
2242
+ this.StoreState = null;
2243
+
2244
+ /**
2245
+ * Repository path.
2246
+ Note: This field may return null, indicating that no valid values can be obtained.
2247
+ * @type {string || null}
2248
+ */
2249
+ this.StorePath = null;
2250
+
2251
+ }
2252
+
2253
+ /**
2254
+ * @private
2255
+ */
2256
+ deserialize(params) {
2257
+ if (!params) {
2258
+ return;
2259
+ }
2260
+ this.CosBucket = 'CosBucket' in params ? params.CosBucket : null;
2261
+ this.CosRegion = 'CosRegion' in params ? params.CosRegion : null;
2262
+ this.StoreType = 'StoreType' in params ? params.StoreType : null;
2263
+ this.StoreState = 'StoreState' in params ? params.StoreState : null;
2264
+ this.StorePath = 'StorePath' in params ? params.StorePath : null;
523
2265
 
524
2266
  }
525
2267
  }
526
2268
 
527
2269
  module.exports = {
528
- CreateSessionResponse: CreateSessionResponse,
529
- StopPublishStreamRequest: StopPublishStreamRequest,
2270
+ CreateApplicationVersionResponse: CreateApplicationVersionResponse,
2271
+ DeleteApplicationRequest: DeleteApplicationRequest,
2272
+ ApplicationBaseInfo: ApplicationBaseInfo,
2273
+ CreateSessionRequest: CreateSessionRequest,
2274
+ DescribeApplicationPathListResponse: DescribeApplicationPathListResponse,
2275
+ ModifyMobileApplicationInfoRequest: ModifyMobileApplicationInfoRequest,
530
2276
  StartPublishStreamWithURLResponse: StartPublishStreamWithURLResponse,
2277
+ CreateApplicationSnapshotRequest: CreateApplicationSnapshotRequest,
2278
+ DeleteApplicationVersionRequest: DeleteApplicationVersionRequest,
2279
+ UserMobileApplicationInfo: UserMobileApplicationInfo,
2280
+ Filter: Filter,
2281
+ SetApplicationVersionOnlineRequest: SetApplicationVersionOnlineRequest,
2282
+ CreateApplicationSnapshotResponse: CreateApplicationSnapshotResponse,
2283
+ DescribeApplicationFileInfoResponse: DescribeApplicationFileInfoResponse,
2284
+ ModifyMobileApplicationInfoResponse: ModifyMobileApplicationInfoResponse,
2285
+ ModifyApplicationBaseInfoRequest: ModifyApplicationBaseInfoRequest,
2286
+ ModifyApplicationBaseInfoResponse: ModifyApplicationBaseInfoResponse,
2287
+ DescribeApplicationVersionRequest: DescribeApplicationVersionRequest,
2288
+ DescribeApplicationListResponse: DescribeApplicationListResponse,
2289
+ DescribeCosCredentialResponse: DescribeCosCredentialResponse,
2290
+ DescribeApplicationStatusRequest: DescribeApplicationStatusRequest,
2291
+ CreateApplicationRequest: CreateApplicationRequest,
2292
+ DescribeConcurrentCountRequest: DescribeConcurrentCountRequest,
2293
+ DeleteApplicationVersionResponse: DeleteApplicationVersionResponse,
2294
+ ModifyApplicationVersionResponse: ModifyApplicationVersionResponse,
2295
+ DescribeCosCredentialRequest: DescribeCosCredentialRequest,
531
2296
  StopPublishStreamResponse: StopPublishStreamResponse,
2297
+ CreateApplicationVersionRequest: CreateApplicationVersionRequest,
2298
+ DescribeApplicationStatusResponse: DescribeApplicationStatusResponse,
532
2299
  DestroySessionResponse: DestroySessionResponse,
2300
+ DescribeApplicationVersionResponse: DescribeApplicationVersionResponse,
2301
+ DescribeApplicationPathListRequest: DescribeApplicationPathListRequest,
2302
+ StartPublishStreamResponse: StartPublishStreamResponse,
2303
+ CreateSessionResponse: CreateSessionResponse,
2304
+ DescribeApplicationListRequest: DescribeApplicationListRequest,
2305
+ StartPublishStreamRequest: StartPublishStreamRequest,
2306
+ UserApplicationInfo: UserApplicationInfo,
2307
+ DeleteApplicationResponse: DeleteApplicationResponse,
2308
+ UserApplicationStatus: UserApplicationStatus,
2309
+ StopPublishStreamRequest: StopPublishStreamRequest,
2310
+ CreateApplicationResponse: CreateApplicationResponse,
2311
+ UserApplicationFileInfo: UserApplicationFileInfo,
2312
+ UserApplicationVersion: UserApplicationVersion,
533
2313
  StartPublishStreamWithURLRequest: StartPublishStreamWithURLRequest,
534
2314
  ApplyConcurrentResponse: ApplyConcurrentResponse,
535
- StartPublishStreamResponse: StartPublishStreamResponse,
536
- CreateSessionRequest: CreateSessionRequest,
2315
+ SetApplicationVersionOnlineResponse: SetApplicationVersionOnlineResponse,
537
2316
  ApplyConcurrentRequest: ApplyConcurrentRequest,
538
2317
  DescribeConcurrentCountResponse: DescribeConcurrentCountResponse,
539
2318
  DestroySessionRequest: DestroySessionRequest,
540
- DescribeConcurrentCountRequest: DescribeConcurrentCountRequest,
541
- StartPublishStreamRequest: StartPublishStreamRequest,
2319
+ DescribeApplicationFileInfoRequest: DescribeApplicationFileInfoRequest,
2320
+ ModifyApplicationVersionRequest: ModifyApplicationVersionRequest,
2321
+ UserApplicationStore: UserApplicationStore,
542
2322
 
543
2323
  }