tencentcloud-sdk-nodejs-intl-en 3.0.1125 → 3.0.1126

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,98 @@
16
16
  */
17
17
  const AbstractModel = require("../../common/abstract_model");
18
18
 
19
+ /**
20
+ * DRM configure info.
21
+ * @class
22
+ */
23
+ class DRMInfo extends AbstractModel {
24
+ constructor(){
25
+ super();
26
+
27
+ /**
28
+ * Encryption method, optional values: `CBCS`, `CENC`.
29
+ * @type {string || null}
30
+ */
31
+ this.EncryptionMethod = null;
32
+
33
+ /**
34
+ * DRM system providers, when the encryption method is CBCS, the optional values are `PlayReady`, `Widevine`, `FairPlay`; when the encryption method is CENC, the oprional values are `PlayReady`, `Widevine`.
35
+ * @type {Array.<string> || null}
36
+ */
37
+ this.DRMSystems = null;
38
+
39
+ /**
40
+ * The resource ID sent to the key server. It can contain 1 to 128 characters, including numbers, letters, underscores (_), and hyphens (-).
41
+ * @type {string || null}
42
+ */
43
+ this.ResourceID = null;
44
+
45
+ /**
46
+ * Key server address; must start with https://.
47
+ * @type {string || null}
48
+ */
49
+ this.KeyServerUrl = null;
50
+
51
+ /**
52
+ * Video encryption presets, options:
53
+ `Preset Video 1` - Encrypts all video tracks with one key
54
+ `Preset Video 2` - Encrypts SD and HD video tracks with 2 different keys
55
+ `Preset Video 3` - Encrypts SD, HD and UHD video tracks with 3 different keys
56
+ `Preset Video 4` - Encrypts SD, HD, UHD1 and UHD2 video tracks with 4 different keys
57
+ `Preset Video 5` - Encrypts SD, HD1, HD2, UHD1 and UHD2 video tracks with 5 different keys
58
+ `Preset Video 6` - Encrypts SD, HD1, HD2, UHD video tracks with 4 different keys
59
+ `Preset Video 7` - Encrypts SD + HD1, HD2, UHD video tracks with 3 different keys
60
+ `Preset Video 8` - Encrypts SD + HD1, HD2, UHD1, UHD2 video tracks with 4 different keys
61
+ `Shared` - Encrypts all video and audio tracks with one key
62
+ `Unencrypted` - Does not encrypt any track
63
+ * @type {string || null}
64
+ */
65
+ this.VideoEncryptionPreset = null;
66
+
67
+ /**
68
+ * Audio encryption presets, options:
69
+ `Preset Audio 1` - Encrypts all audio tracks with one key
70
+ `Preset Audio 2` - Encrypts STEREO and MULTICHANNEL audio tracks with 2 different keys
71
+ `Preset Audio 3` - Encrypts STEREO, MULTICHANNEL 3-6 and MULTICHANNEL 7 audio tracks with 3 different keys
72
+ `Shared` - Encrypts all video and audio tracks with one key
73
+ `Unencrypted` - Does not encrypt any track
74
+ * @type {string || null}
75
+ */
76
+ this.AudioEncryptionPreset = null;
77
+
78
+ /**
79
+ * Optional, used together with the key to encrypt the content; a 128-bit, 32-character, hexadecimal-encoded string.
80
+ * @type {string || null}
81
+ */
82
+ this.ConstantInitializationVector = null;
83
+
84
+ /**
85
+ * Optional, specifies the rotation interval in seconds; empty, or an integer between 300-2592000.
86
+ * @type {number || null}
87
+ */
88
+ this.KeyRotationInterval = null;
89
+
90
+ }
91
+
92
+ /**
93
+ * @private
94
+ */
95
+ deserialize(params) {
96
+ if (!params) {
97
+ return;
98
+ }
99
+ this.EncryptionMethod = 'EncryptionMethod' in params ? params.EncryptionMethod : null;
100
+ this.DRMSystems = 'DRMSystems' in params ? params.DRMSystems : null;
101
+ this.ResourceID = 'ResourceID' in params ? params.ResourceID : null;
102
+ this.KeyServerUrl = 'KeyServerUrl' in params ? params.KeyServerUrl : null;
103
+ this.VideoEncryptionPreset = 'VideoEncryptionPreset' in params ? params.VideoEncryptionPreset : null;
104
+ this.AudioEncryptionPreset = 'AudioEncryptionPreset' in params ? params.AudioEncryptionPreset : null;
105
+ this.ConstantInitializationVector = 'ConstantInitializationVector' in params ? params.ConstantInitializationVector : null;
106
+ this.KeyRotationInterval = 'KeyRotationInterval' in params ? params.KeyRotationInterval : null;
107
+
108
+ }
109
+ }
110
+
19
111
  /**
20
112
  * Source file information.
21
113
  * @class
@@ -291,6 +383,49 @@ class DeleteStreamPackageLinearAssemblyChannelsRequest extends AbstractModel {
291
383
  }
292
384
  }
293
385
 
386
+ /**
387
+ *
388
+ * @class
389
+ */
390
+ class CdnDomainInfo extends AbstractModel {
391
+ constructor(){
392
+ super();
393
+
394
+ /**
395
+ *
396
+ * @type {number || null}
397
+ */
398
+ this.TotalSize = null;
399
+
400
+ /**
401
+ *
402
+ * @type {Array.<DomainRecordInfo> || null}
403
+ */
404
+ this.Records = null;
405
+
406
+ }
407
+
408
+ /**
409
+ * @private
410
+ */
411
+ deserialize(params) {
412
+ if (!params) {
413
+ return;
414
+ }
415
+ this.TotalSize = 'TotalSize' in params ? params.TotalSize : null;
416
+
417
+ if (params.Records) {
418
+ this.Records = new Array();
419
+ for (let z in params.Records) {
420
+ let obj = new DomainRecordInfo();
421
+ obj.deserialize(params.Records[z]);
422
+ this.Records.push(obj);
423
+ }
424
+ }
425
+
426
+ }
427
+ }
428
+
294
429
  /**
295
430
  * StartStreamPackageLinearAssemblyChannel request structure.
296
431
  * @class
@@ -515,6 +650,46 @@ class DescribeStreamPackageSSAIChannelRequest extends AbstractModel {
515
650
  }
516
651
  }
517
652
 
653
+ /**
654
+ * DescribeLinearAssemblyCDNDomainWithChannel response structure.
655
+ * @class
656
+ */
657
+ class DescribeLinearAssemblyCDNDomainWithChannelResponse extends AbstractModel {
658
+ constructor(){
659
+ super();
660
+
661
+ /**
662
+ * The CDN domain name information associated with the channel.
663
+ * @type {CdnDomainInfo || null}
664
+ */
665
+ this.Info = null;
666
+
667
+ /**
668
+ * 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.
669
+ * @type {string || null}
670
+ */
671
+ this.RequestId = null;
672
+
673
+ }
674
+
675
+ /**
676
+ * @private
677
+ */
678
+ deserialize(params) {
679
+ if (!params) {
680
+ return;
681
+ }
682
+
683
+ if (params.Info) {
684
+ let obj = new CdnDomainInfo();
685
+ obj.deserialize(params.Info)
686
+ this.Info = obj;
687
+ }
688
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
689
+
690
+ }
691
+ }
692
+
518
693
  /**
519
694
  * ModifyStreamPackageSSAIChannel response structure.
520
695
  * @class
@@ -1398,6 +1573,34 @@ class ModifyStreamPackageSourceLocationResponse extends AbstractModel {
1398
1573
  }
1399
1574
  }
1400
1575
 
1576
+ /**
1577
+ * BindLinearAssemblyCDNDomainWithChannel response structure.
1578
+ * @class
1579
+ */
1580
+ class BindLinearAssemblyCDNDomainWithChannelResponse extends AbstractModel {
1581
+ constructor(){
1582
+ super();
1583
+
1584
+ /**
1585
+ * 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.
1586
+ * @type {string || null}
1587
+ */
1588
+ this.RequestId = null;
1589
+
1590
+ }
1591
+
1592
+ /**
1593
+ * @private
1594
+ */
1595
+ deserialize(params) {
1596
+ if (!params) {
1597
+ return;
1598
+ }
1599
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1600
+
1601
+ }
1602
+ }
1603
+
1401
1604
  /**
1402
1605
  * DescribeStreamPackageChannel response structure.
1403
1606
  * @class
@@ -1480,6 +1683,55 @@ class DescribeStreamPackageLinearAssemblyProgramsRequest extends AbstractModel
1480
1683
  }
1481
1684
  }
1482
1685
 
1686
+ /**
1687
+ *
1688
+ * @class
1689
+ */
1690
+ class DomainRecordInfo extends AbstractModel {
1691
+ constructor(){
1692
+ super();
1693
+
1694
+ /**
1695
+ *
1696
+ * @type {string || null}
1697
+ */
1698
+ this.CdnDomain = null;
1699
+
1700
+ /**
1701
+ *
1702
+ * @type {string || null}
1703
+ */
1704
+ this.Region = null;
1705
+
1706
+ /**
1707
+ *
1708
+ * @type {string || null}
1709
+ */
1710
+ this.ChannelId = null;
1711
+
1712
+ /**
1713
+ *
1714
+ * @type {string || null}
1715
+ */
1716
+ this.Id = null;
1717
+
1718
+ }
1719
+
1720
+ /**
1721
+ * @private
1722
+ */
1723
+ deserialize(params) {
1724
+ if (!params) {
1725
+ return;
1726
+ }
1727
+ this.CdnDomain = 'CdnDomain' in params ? params.CdnDomain : null;
1728
+ this.Region = 'Region' in params ? params.Region : null;
1729
+ this.ChannelId = 'ChannelId' in params ? params.ChannelId : null;
1730
+ this.Id = 'Id' in params ? params.Id : null;
1731
+
1732
+ }
1733
+ }
1734
+
1483
1735
  /**
1484
1736
  * Linearly assembled channel time-shift configuration information.
1485
1737
  * @class
@@ -1706,13 +1958,43 @@ class SourceAlert extends AbstractModel {
1706
1958
  }
1707
1959
 
1708
1960
  /**
1709
- * DeleteStreamPackageLinearAssemblyChannels response structure.
1961
+ * DescribeStreamPackageSources response structure.
1710
1962
  * @class
1711
1963
  */
1712
- class DeleteStreamPackageLinearAssemblyChannelsResponse extends AbstractModel {
1964
+ class DescribeStreamPackageSourcesResponse extends AbstractModel {
1713
1965
  constructor(){
1714
1966
  super();
1715
1967
 
1968
+ /**
1969
+ * Source list.
1970
+ * @type {Array.<SourceInfo> || null}
1971
+ */
1972
+ this.Infos = null;
1973
+
1974
+ /**
1975
+ * Number of pages.
1976
+ * @type {number || null}
1977
+ */
1978
+ this.PageNum = null;
1979
+
1980
+ /**
1981
+ * Size per page.
1982
+ * @type {number || null}
1983
+ */
1984
+ this.PageSize = null;
1985
+
1986
+ /**
1987
+ * The total amount.
1988
+ * @type {number || null}
1989
+ */
1990
+ this.TotalNum = null;
1991
+
1992
+ /**
1993
+ * total pages.
1994
+ * @type {number || null}
1995
+ */
1996
+ this.TotalPage = null;
1997
+
1716
1998
  /**
1717
1999
  * 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.
1718
2000
  * @type {string || null}
@@ -1728,6 +2010,19 @@ class DeleteStreamPackageLinearAssemblyChannelsResponse extends AbstractModel {
1728
2010
  if (!params) {
1729
2011
  return;
1730
2012
  }
2013
+
2014
+ if (params.Infos) {
2015
+ this.Infos = new Array();
2016
+ for (let z in params.Infos) {
2017
+ let obj = new SourceInfo();
2018
+ obj.deserialize(params.Infos[z]);
2019
+ this.Infos.push(obj);
2020
+ }
2021
+ }
2022
+ this.PageNum = 'PageNum' in params ? params.PageNum : null;
2023
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
2024
+ this.TotalNum = 'TotalNum' in params ? params.TotalNum : null;
2025
+ this.TotalPage = 'TotalPage' in params ? params.TotalPage : null;
1731
2026
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1732
2027
 
1733
2028
  }
@@ -2336,25 +2631,13 @@ class CreateStreamPackageChannelEndpointResponse extends AbstractModel {
2336
2631
  }
2337
2632
 
2338
2633
  /**
2339
- * Custom server information.
2634
+ * DescribeLinearAssemblyCDNDomainWithChannels request structure.
2340
2635
  * @class
2341
2636
  */
2342
- class NameServer extends AbstractModel {
2637
+ class DescribeLinearAssemblyCDNDomainWithChannelsRequest extends AbstractModel {
2343
2638
  constructor(){
2344
2639
  super();
2345
2640
 
2346
- /**
2347
- * name.
2348
- * @type {string || null}
2349
- */
2350
- this.Name = null;
2351
-
2352
- /**
2353
- * address.
2354
- * @type {string || null}
2355
- */
2356
- this.Url = null;
2357
-
2358
2641
  }
2359
2642
 
2360
2643
  /**
@@ -2364,8 +2647,6 @@ class NameServer extends AbstractModel {
2364
2647
  if (!params) {
2365
2648
  return;
2366
2649
  }
2367
- this.Name = 'Name' in params ? params.Name : null;
2368
- this.Url = 'Url' in params ? params.Url : null;
2369
2650
 
2370
2651
  }
2371
2652
  }
@@ -2909,7 +3190,7 @@ class EndpointInfo extends AbstractModel {
2909
3190
  this.AuthInfo = null;
2910
3191
 
2911
3192
  /**
2912
- * Endpoint protocol.
3193
+ * Endpoint protocol, supports `HLS`, `CMAF`, `CMAF-HLS`.
2913
3194
  * @type {string || null}
2914
3195
  */
2915
3196
  this.Protocol = null;
@@ -2957,6 +3238,18 @@ The parameters can only contain digits, letters, underscores (_), and hyphens (-
2957
3238
  */
2958
3239
  this.CustomUrlParam = null;
2959
3240
 
3241
+ /**
3242
+ * DRM switch. If it is turned on, only CMAF will take effect.
3243
+ * @type {boolean || null}
3244
+ */
3245
+ this.DRMEnabled = null;
3246
+
3247
+ /**
3248
+ * DRM configuration information.
3249
+ * @type {DRMInfo || null}
3250
+ */
3251
+ this.DRMInfo = null;
3252
+
2960
3253
  }
2961
3254
 
2962
3255
  /**
@@ -2987,6 +3280,13 @@ The parameters can only contain digits, letters, underscores (_), and hyphens (-
2987
3280
  }
2988
3281
  this.CustomUrlParamIndex = 'CustomUrlParamIndex' in params ? params.CustomUrlParamIndex : null;
2989
3282
  this.CustomUrlParam = 'CustomUrlParam' in params ? params.CustomUrlParam : null;
3283
+ this.DRMEnabled = 'DRMEnabled' in params ? params.DRMEnabled : null;
3284
+
3285
+ if (params.DRMInfo) {
3286
+ let obj = new DRMInfo();
3287
+ obj.deserialize(params.DRMInfo)
3288
+ this.DRMInfo = obj;
3289
+ }
2990
3290
 
2991
3291
  }
2992
3292
  }
@@ -3439,33 +3739,18 @@ class DescribeStreamPackageSSAIChannelResponse extends AbstractModel {
3439
3739
  }
3440
3740
 
3441
3741
  /**
3442
- * The authentication information of channel endpoints.
3742
+ * DeleteStreamPackageHarvestJobs response structure.
3443
3743
  * @class
3444
3744
  */
3445
- class EndpointAuthInfo extends AbstractModel {
3745
+ class DeleteStreamPackageHarvestJobsResponse extends AbstractModel {
3446
3746
  constructor(){
3447
3747
  super();
3448
3748
 
3449
3749
  /**
3450
- * The security group allowlist in CIDR format.
3451
- Note: this field may return null, indicating that no valid values can be obtained.
3452
- * @type {Array.<string> || null}
3453
- */
3454
- this.WhiteIpList = null;
3455
-
3456
- /**
3457
- * The security group blocklist in CIDR format.
3458
- Note: this field may return null, indicating that no valid values can be obtained.
3459
- * @type {Array.<string> || null}
3460
- */
3461
- this.BlackIpList = null;
3462
-
3463
- /**
3464
- * The authentication key. Its value is same as `X-TENCENT-PACKAGE` set in the HTTP request header.
3465
- Note: this field may return null, indicating that no valid values can be obtained.
3750
+ * 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.
3466
3751
  * @type {string || null}
3467
3752
  */
3468
- this.AuthKey = null;
3753
+ this.RequestId = null;
3469
3754
 
3470
3755
  }
3471
3756
 
@@ -3476,9 +3761,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
3476
3761
  if (!params) {
3477
3762
  return;
3478
3763
  }
3479
- this.WhiteIpList = 'WhiteIpList' in params ? params.WhiteIpList : null;
3480
- this.BlackIpList = 'BlackIpList' in params ? params.BlackIpList : null;
3481
- this.AuthKey = 'AuthKey' in params ? params.AuthKey : null;
3764
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3482
3765
 
3483
3766
  }
3484
3767
  }
@@ -3770,30 +4053,66 @@ class DescribeStreamPackageLinearAssemblyProgramRequest extends AbstractModel {
3770
4053
  }
3771
4054
 
3772
4055
  /**
3773
- * DescribeStreamPackageLinearAssemblyChannelAlerts request structure.
4056
+ * DescribeStreamPackageLinearAssemblyChannelAlerts request structure.
4057
+ * @class
4058
+ */
4059
+ class DescribeStreamPackageLinearAssemblyChannelAlertsRequest extends AbstractModel {
4060
+ constructor(){
4061
+ super();
4062
+
4063
+ /**
4064
+ * Channel ID.
4065
+ * @type {string || null}
4066
+ */
4067
+ this.ChannelId = null;
4068
+
4069
+ /**
4070
+ * Query start time, Unix timestamp, supports queries in the last seven days.
4071
+ * @type {number || null}
4072
+ */
4073
+ this.StartTime = null;
4074
+
4075
+ /**
4076
+ * Query end time, Unix timestamp, supports queries in the last seven days.
4077
+ * @type {number || null}
4078
+ */
4079
+ this.EndTime = null;
4080
+
4081
+ }
4082
+
4083
+ /**
4084
+ * @private
4085
+ */
4086
+ deserialize(params) {
4087
+ if (!params) {
4088
+ return;
4089
+ }
4090
+ this.ChannelId = 'ChannelId' in params ? params.ChannelId : null;
4091
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
4092
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
4093
+
4094
+ }
4095
+ }
4096
+
4097
+ /**
4098
+ * UnbindLinearAssemblyCDNDomainWithChannel request structure.
3774
4099
  * @class
3775
4100
  */
3776
- class DescribeStreamPackageLinearAssemblyChannelAlertsRequest extends AbstractModel {
4101
+ class UnbindLinearAssemblyCDNDomainWithChannelRequest extends AbstractModel {
3777
4102
  constructor(){
3778
4103
  super();
3779
4104
 
3780
4105
  /**
3781
- * Channel ID.
4106
+ * Channel Id.
3782
4107
  * @type {string || null}
3783
4108
  */
3784
4109
  this.ChannelId = null;
3785
4110
 
3786
4111
  /**
3787
- * Query start time, Unix timestamp, supports queries in the last seven days.
3788
- * @type {number || null}
3789
- */
3790
- this.StartTime = null;
3791
-
3792
- /**
3793
- * Query end time, Unix timestamp, supports queries in the last seven days.
3794
- * @type {number || null}
4112
+ * Cdn playback domain.
4113
+ * @type {string || null}
3795
4114
  */
3796
- this.EndTime = null;
4115
+ this.CdnDomain = null;
3797
4116
 
3798
4117
  }
3799
4118
 
@@ -3805,8 +4124,7 @@ class DescribeStreamPackageLinearAssemblyChannelAlertsRequest extends AbstractM
3805
4124
  return;
3806
4125
  }
3807
4126
  this.ChannelId = 'ChannelId' in params ? params.ChannelId : null;
3808
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
3809
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
4127
+ this.CdnDomain = 'CdnDomain' in params ? params.CdnDomain : null;
3810
4128
 
3811
4129
  }
3812
4130
  }
@@ -4020,6 +4338,34 @@ class SlateInfo extends AbstractModel {
4020
4338
  }
4021
4339
  }
4022
4340
 
4341
+ /**
4342
+ * UnbindLinearAssemblyCDNDomainWithChannel response structure.
4343
+ * @class
4344
+ */
4345
+ class UnbindLinearAssemblyCDNDomainWithChannelResponse extends AbstractModel {
4346
+ constructor(){
4347
+ super();
4348
+
4349
+ /**
4350
+ * 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.
4351
+ * @type {string || null}
4352
+ */
4353
+ this.RequestId = null;
4354
+
4355
+ }
4356
+
4357
+ /**
4358
+ * @private
4359
+ */
4360
+ deserialize(params) {
4361
+ if (!params) {
4362
+ return;
4363
+ }
4364
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4365
+
4366
+ }
4367
+ }
4368
+
4023
4369
  /**
4024
4370
  * The manifest info used when Type is DASH.
4025
4371
  * @class
@@ -4189,6 +4535,41 @@ class DescribeStreamPackageLinearAssemblyChannelAlertsResponse extends Abstract
4189
4535
  }
4190
4536
  }
4191
4537
 
4538
+ /**
4539
+ * BindLinearAssemblyCDNDomainWithChannel request structure.
4540
+ * @class
4541
+ */
4542
+ class BindLinearAssemblyCDNDomainWithChannelRequest extends AbstractModel {
4543
+ constructor(){
4544
+ super();
4545
+
4546
+ /**
4547
+ * Channel Id.
4548
+ * @type {string || null}
4549
+ */
4550
+ this.ChannelId = null;
4551
+
4552
+ /**
4553
+ * Cdn playback domain.
4554
+ * @type {string || null}
4555
+ */
4556
+ this.CdnDomain = null;
4557
+
4558
+ }
4559
+
4560
+ /**
4561
+ * @private
4562
+ */
4563
+ deserialize(params) {
4564
+ if (!params) {
4565
+ return;
4566
+ }
4567
+ this.ChannelId = 'ChannelId' in params ? params.ChannelId : null;
4568
+ this.CdnDomain = 'CdnDomain' in params ? params.CdnDomain : null;
4569
+
4570
+ }
4571
+ }
4572
+
4192
4573
  /**
4193
4574
  * DeleteStreamPackageChannelEndpoints request structure.
4194
4575
  * @class
@@ -4700,43 +5081,13 @@ class DescribeStreamPackageLinearAssemblyProgramResponse extends AbstractModel
4700
5081
  }
4701
5082
 
4702
5083
  /**
4703
- * DescribeStreamPackageSources response structure.
5084
+ * DeleteStreamPackageLinearAssemblyChannels response structure.
4704
5085
  * @class
4705
5086
  */
4706
- class DescribeStreamPackageSourcesResponse extends AbstractModel {
5087
+ class DeleteStreamPackageLinearAssemblyChannelsResponse extends AbstractModel {
4707
5088
  constructor(){
4708
5089
  super();
4709
5090
 
4710
- /**
4711
- * Source list.
4712
- * @type {Array.<SourceInfo> || null}
4713
- */
4714
- this.Infos = null;
4715
-
4716
- /**
4717
- * Number of pages.
4718
- * @type {number || null}
4719
- */
4720
- this.PageNum = null;
4721
-
4722
- /**
4723
- * Size per page.
4724
- * @type {number || null}
4725
- */
4726
- this.PageSize = null;
4727
-
4728
- /**
4729
- * The total amount.
4730
- * @type {number || null}
4731
- */
4732
- this.TotalNum = null;
4733
-
4734
- /**
4735
- * total pages.
4736
- * @type {number || null}
4737
- */
4738
- this.TotalPage = null;
4739
-
4740
5091
  /**
4741
5092
  * 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.
4742
5093
  * @type {string || null}
@@ -4752,19 +5103,6 @@ class DescribeStreamPackageSourcesResponse extends AbstractModel {
4752
5103
  if (!params) {
4753
5104
  return;
4754
5105
  }
4755
-
4756
- if (params.Infos) {
4757
- this.Infos = new Array();
4758
- for (let z in params.Infos) {
4759
- let obj = new SourceInfo();
4760
- obj.deserialize(params.Infos[z]);
4761
- this.Infos.push(obj);
4762
- }
4763
- }
4764
- this.PageNum = 'PageNum' in params ? params.PageNum : null;
4765
- this.PageSize = 'PageSize' in params ? params.PageSize : null;
4766
- this.TotalNum = 'TotalNum' in params ? params.TotalNum : null;
4767
- this.TotalPage = 'TotalPage' in params ? params.TotalPage : null;
4768
5106
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
4769
5107
 
4770
5108
  }
@@ -4805,6 +5143,34 @@ class BindNewLVBDomainWithChannelRequest extends AbstractModel {
4805
5143
  }
4806
5144
  }
4807
5145
 
5146
+ /**
5147
+ * DescribeLinearAssemblyCDNDomainWithChannel request structure.
5148
+ * @class
5149
+ */
5150
+ class DescribeLinearAssemblyCDNDomainWithChannelRequest extends AbstractModel {
5151
+ constructor(){
5152
+ super();
5153
+
5154
+ /**
5155
+ * Channel Id.
5156
+ * @type {string || null}
5157
+ */
5158
+ this.ChannelId = null;
5159
+
5160
+ }
5161
+
5162
+ /**
5163
+ * @private
5164
+ */
5165
+ deserialize(params) {
5166
+ if (!params) {
5167
+ return;
5168
+ }
5169
+ this.ChannelId = 'ChannelId' in params ? params.ChannelId : null;
5170
+
5171
+ }
5172
+ }
5173
+
4808
5174
  /**
4809
5175
  * ModifyStreamPackageChannel response structure.
4810
5176
  * @class
@@ -5688,18 +6054,33 @@ class CreateStreamPackageHarvestJobResponse extends AbstractModel {
5688
6054
  }
5689
6055
 
5690
6056
  /**
5691
- * DeleteStreamPackageHarvestJobs response structure.
6057
+ * The authentication information of channel endpoints.
5692
6058
  * @class
5693
6059
  */
5694
- class DeleteStreamPackageHarvestJobsResponse extends AbstractModel {
6060
+ class EndpointAuthInfo extends AbstractModel {
5695
6061
  constructor(){
5696
6062
  super();
5697
6063
 
5698
6064
  /**
5699
- * 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.
6065
+ * The security group allowlist in CIDR format.
6066
+ Note: this field may return null, indicating that no valid values can be obtained.
6067
+ * @type {Array.<string> || null}
6068
+ */
6069
+ this.WhiteIpList = null;
6070
+
6071
+ /**
6072
+ * The security group blocklist in CIDR format.
6073
+ Note: this field may return null, indicating that no valid values can be obtained.
6074
+ * @type {Array.<string> || null}
6075
+ */
6076
+ this.BlackIpList = null;
6077
+
6078
+ /**
6079
+ * The authentication key. Its value is same as `X-TENCENT-PACKAGE` set in the HTTP request header.
6080
+ Note: this field may return null, indicating that no valid values can be obtained.
5700
6081
  * @type {string || null}
5701
6082
  */
5702
- this.RequestId = null;
6083
+ this.AuthKey = null;
5703
6084
 
5704
6085
  }
5705
6086
 
@@ -5710,7 +6091,9 @@ class DeleteStreamPackageHarvestJobsResponse extends AbstractModel {
5710
6091
  if (!params) {
5711
6092
  return;
5712
6093
  }
5713
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
6094
+ this.WhiteIpList = 'WhiteIpList' in params ? params.WhiteIpList : null;
6095
+ this.BlackIpList = 'BlackIpList' in params ? params.BlackIpList : null;
6096
+ this.AuthKey = 'AuthKey' in params ? params.AuthKey : null;
5714
6097
 
5715
6098
  }
5716
6099
  }
@@ -6544,6 +6927,41 @@ class DeleteStreamPackageHarvestJobRequest extends AbstractModel {
6544
6927
  }
6545
6928
  }
6546
6929
 
6930
+ /**
6931
+ * Custom server information.
6932
+ * @class
6933
+ */
6934
+ class NameServer extends AbstractModel {
6935
+ constructor(){
6936
+ super();
6937
+
6938
+ /**
6939
+ * name.
6940
+ * @type {string || null}
6941
+ */
6942
+ this.Name = null;
6943
+
6944
+ /**
6945
+ * address.
6946
+ * @type {string || null}
6947
+ */
6948
+ this.Url = null;
6949
+
6950
+ }
6951
+
6952
+ /**
6953
+ * @private
6954
+ */
6955
+ deserialize(params) {
6956
+ if (!params) {
6957
+ return;
6958
+ }
6959
+ this.Name = 'Name' in params ? params.Name : null;
6960
+ this.Url = 'Url' in params ? params.Url : null;
6961
+
6962
+ }
6963
+ }
6964
+
6547
6965
  /**
6548
6966
  * Parameter configuration.
6549
6967
  * @class
@@ -6622,19 +7040,62 @@ class ManifestInfo extends AbstractModel {
6622
7040
  }
6623
7041
  }
6624
7042
 
7043
+ /**
7044
+ * DescribeLinearAssemblyCDNDomainWithChannels response structure.
7045
+ * @class
7046
+ */
7047
+ class DescribeLinearAssemblyCDNDomainWithChannelsResponse extends AbstractModel {
7048
+ constructor(){
7049
+ super();
7050
+
7051
+ /**
7052
+ * The CDN domain name information associated with the channel.
7053
+ * @type {CdnDomainInfo || null}
7054
+ */
7055
+ this.Info = null;
7056
+
7057
+ /**
7058
+ * 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.
7059
+ * @type {string || null}
7060
+ */
7061
+ this.RequestId = null;
7062
+
7063
+ }
7064
+
7065
+ /**
7066
+ * @private
7067
+ */
7068
+ deserialize(params) {
7069
+ if (!params) {
7070
+ return;
7071
+ }
7072
+
7073
+ if (params.Info) {
7074
+ let obj = new CdnDomainInfo();
7075
+ obj.deserialize(params.Info)
7076
+ this.Info = obj;
7077
+ }
7078
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
7079
+
7080
+ }
7081
+ }
7082
+
6625
7083
  module.exports = {
7084
+ DRMInfo: DRMInfo,
6626
7085
  SourcePackageConf: SourcePackageConf,
6627
7086
  CreateStreamPackageSSAIChannelRequest: CreateStreamPackageSSAIChannelRequest,
6628
7087
  AdBreakInfo: AdBreakInfo,
6629
7088
  ModifyStreamPackageLinearAssemblyProgramResponse: ModifyStreamPackageLinearAssemblyProgramResponse,
6630
7089
  BindNewLVBDomainWithChannelResponse: BindNewLVBDomainWithChannelResponse,
6631
7090
  DeleteStreamPackageLinearAssemblyChannelsRequest: DeleteStreamPackageLinearAssemblyChannelsRequest,
7091
+ CdnDomainInfo: CdnDomainInfo,
6632
7092
  StartStreamPackageLinearAssemblyChannelRequest: StartStreamPackageLinearAssemblyChannelRequest,
6633
7093
  LocationAlert: LocationAlert,
6634
7094
  Metadata: Metadata,
6635
7095
  ClipRangeInfo: ClipRangeInfo,
6636
7096
  AliasValueConf: AliasValueConf,
6637
7097
  DescribeStreamPackageSSAIChannelRequest: DescribeStreamPackageSSAIChannelRequest,
7098
+ DescribeLinearAssemblyCDNDomainWithChannelResponse: DescribeLinearAssemblyCDNDomainWithChannelResponse,
6638
7099
  ModifyStreamPackageSSAIChannelResponse: ModifyStreamPackageSSAIChannelResponse,
6639
7100
  ModifyStreamPackageChannelInputAuthInfoRequest: ModifyStreamPackageChannelInputAuthInfoRequest,
6640
7101
  ChannelAlertResp: ChannelAlertResp,
@@ -6653,14 +7114,16 @@ module.exports = {
6653
7114
  ModifyStreamPackageChannelEndpointRequest: ModifyStreamPackageChannelEndpointRequest,
6654
7115
  SSAIChannelInfo: SSAIChannelInfo,
6655
7116
  ModifyStreamPackageSourceLocationResponse: ModifyStreamPackageSourceLocationResponse,
7117
+ BindLinearAssemblyCDNDomainWithChannelResponse: BindLinearAssemblyCDNDomainWithChannelResponse,
6656
7118
  DescribeStreamPackageChannelResponse: DescribeStreamPackageChannelResponse,
6657
7119
  DescribeStreamPackageLinearAssemblyProgramsRequest: DescribeStreamPackageLinearAssemblyProgramsRequest,
7120
+ DomainRecordInfo: DomainRecordInfo,
6658
7121
  TimeShiftInfo: TimeShiftInfo,
6659
7122
  DescribeStreamPackageLinearAssemblyProgramSchedulesResponse: DescribeStreamPackageLinearAssemblyProgramSchedulesResponse,
6660
7123
  DescribeStreamPackageHarvestJobRequest: DescribeStreamPackageHarvestJobRequest,
6661
7124
  DescribeStreamPackageLinearAssemblyChannelsRequest: DescribeStreamPackageLinearAssemblyChannelsRequest,
6662
7125
  SourceAlert: SourceAlert,
6663
- DeleteStreamPackageLinearAssemblyChannelsResponse: DeleteStreamPackageLinearAssemblyChannelsResponse,
7126
+ DescribeStreamPackageSourcesResponse: DescribeStreamPackageSourcesResponse,
6664
7127
  SourceInfo: SourceInfo,
6665
7128
  DescribeStreamPackageSourceLocationAlertsResponse: DescribeStreamPackageSourceLocationAlertsResponse,
6666
7129
  CreateStreamPackageLinearAssemblyChannelRequest: CreateStreamPackageLinearAssemblyChannelRequest,
@@ -6674,7 +7137,7 @@ module.exports = {
6674
7137
  DeleteStreamPackageHarvestJobResponse: DeleteStreamPackageHarvestJobResponse,
6675
7138
  DeleteStreamPackageHarvestJobsRequest: DeleteStreamPackageHarvestJobsRequest,
6676
7139
  CreateStreamPackageChannelEndpointResponse: CreateStreamPackageChannelEndpointResponse,
6677
- NameServer: NameServer,
7140
+ DescribeLinearAssemblyCDNDomainWithChannelsRequest: DescribeLinearAssemblyCDNDomainWithChannelsRequest,
6678
7141
  PlaybackInfo: PlaybackInfo,
6679
7142
  ChannelInfo: ChannelInfo,
6680
7143
  CacheInfo: CacheInfo,
@@ -6695,22 +7158,25 @@ module.exports = {
6695
7158
  ModifyStreamPackageSourceRequest: ModifyStreamPackageSourceRequest,
6696
7159
  InputAuthInfo: InputAuthInfo,
6697
7160
  DescribeStreamPackageSSAIChannelResponse: DescribeStreamPackageSSAIChannelResponse,
6698
- EndpointAuthInfo: EndpointAuthInfo,
7161
+ DeleteStreamPackageHarvestJobsResponse: DeleteStreamPackageHarvestJobsResponse,
6699
7162
  TimeSignalInfo: TimeSignalInfo,
6700
7163
  ModifyStreamPackageLinearAssemblyChannelRequest: ModifyStreamPackageLinearAssemblyChannelRequest,
6701
7164
  DeleteStreamPackageSourceLocationResponse: DeleteStreamPackageSourceLocationResponse,
6702
7165
  CreateStreamPackageSourceRequest: CreateStreamPackageSourceRequest,
6703
7166
  DescribeStreamPackageLinearAssemblyProgramRequest: DescribeStreamPackageLinearAssemblyProgramRequest,
6704
7167
  DescribeStreamPackageLinearAssemblyChannelAlertsRequest: DescribeStreamPackageLinearAssemblyChannelAlertsRequest,
7168
+ UnbindLinearAssemblyCDNDomainWithChannelRequest: UnbindLinearAssemblyCDNDomainWithChannelRequest,
6705
7169
  DescribeStreamPackageSourceLocationsResponse: DescribeStreamPackageSourceLocationsResponse,
6706
7170
  StopStreamPackageLinearAssemblyChannelResponse: StopStreamPackageLinearAssemblyChannelResponse,
6707
7171
  DescribeStreamPackageChannelsRequest: DescribeStreamPackageChannelsRequest,
6708
7172
  ModifyStreamPackageChannelInputAuthInfoResponse: ModifyStreamPackageChannelInputAuthInfoResponse,
6709
7173
  SlateInfo: SlateInfo,
7174
+ UnbindLinearAssemblyCDNDomainWithChannelResponse: UnbindLinearAssemblyCDNDomainWithChannelResponse,
6710
7175
  DashManifestInfo: DashManifestInfo,
6711
7176
  CreateStreamPackageChannelResponse: CreateStreamPackageChannelResponse,
6712
7177
  DescribeStreamPackageLinearAssemblyChannelResponse: DescribeStreamPackageLinearAssemblyChannelResponse,
6713
7178
  DescribeStreamPackageLinearAssemblyChannelAlertsResponse: DescribeStreamPackageLinearAssemblyChannelAlertsResponse,
7179
+ BindLinearAssemblyCDNDomainWithChannelRequest: BindLinearAssemblyCDNDomainWithChannelRequest,
6714
7180
  DeleteStreamPackageChannelEndpointsRequest: DeleteStreamPackageChannelEndpointsRequest,
6715
7181
  DeleteStreamPackageSSAIChannelResponse: DeleteStreamPackageSSAIChannelResponse,
6716
7182
  StartStreamPackageLinearAssemblyChannelResponse: StartStreamPackageLinearAssemblyChannelResponse,
@@ -6724,8 +7190,9 @@ module.exports = {
6724
7190
  ProgramAlertCounts: ProgramAlertCounts,
6725
7191
  DeleteStreamPackageSourceLocationRequest: DeleteStreamPackageSourceLocationRequest,
6726
7192
  DescribeStreamPackageLinearAssemblyProgramResponse: DescribeStreamPackageLinearAssemblyProgramResponse,
6727
- DescribeStreamPackageSourcesResponse: DescribeStreamPackageSourcesResponse,
7193
+ DeleteStreamPackageLinearAssemblyChannelsResponse: DeleteStreamPackageLinearAssemblyChannelsResponse,
6728
7194
  BindNewLVBDomainWithChannelRequest: BindNewLVBDomainWithChannelRequest,
7195
+ DescribeLinearAssemblyCDNDomainWithChannelRequest: DescribeLinearAssemblyCDNDomainWithChannelRequest,
6729
7196
  ModifyStreamPackageChannelResponse: ModifyStreamPackageChannelResponse,
6730
7197
  CreateStreamPackageSourceLocationResponse: CreateStreamPackageSourceLocationResponse,
6731
7198
  StopStreamPackageLinearAssemblyChannelRequest: StopStreamPackageLinearAssemblyChannelRequest,
@@ -6746,7 +7213,7 @@ module.exports = {
6746
7213
  CreateStreamPackageSSAIChannelResponse: CreateStreamPackageSSAIChannelResponse,
6747
7214
  ModifyStreamPackageSourceLocationRequest: ModifyStreamPackageSourceLocationRequest,
6748
7215
  CreateStreamPackageHarvestJobResponse: CreateStreamPackageHarvestJobResponse,
6749
- DeleteStreamPackageHarvestJobsResponse: DeleteStreamPackageHarvestJobsResponse,
7216
+ EndpointAuthInfo: EndpointAuthInfo,
6750
7217
  SourceLocationInfo: SourceLocationInfo,
6751
7218
  SSAIConf: SSAIConf,
6752
7219
  LinearAssemblyProgramInfo: LinearAssemblyProgramInfo,
@@ -6758,7 +7225,9 @@ module.exports = {
6758
7225
  CacheInfoInfo: CacheInfoInfo,
6759
7226
  DescribeStreamPackageLinearAssemblyChannelsResponse: DescribeStreamPackageLinearAssemblyChannelsResponse,
6760
7227
  DeleteStreamPackageHarvestJobRequest: DeleteStreamPackageHarvestJobRequest,
7228
+ NameServer: NameServer,
6761
7229
  ConfigAliasesInfo: ConfigAliasesInfo,
6762
7230
  ManifestInfo: ManifestInfo,
7231
+ DescribeLinearAssemblyCDNDomainWithChannelsResponse: DescribeLinearAssemblyCDNDomainWithChannelsResponse,
6763
7232
 
6764
7233
  }