tencentcloud-sdk-python-intl-en 3.0.1133__py2.py3-none-any.whl → 3.0.1135__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/ccc_client.py +124 -7
- tencentcloud/ccc/v20200210/errorcodes.py +27 -9
- tencentcloud/ccc/v20200210/models.py +2324 -1173
- tencentcloud/intlpartnersmgt/v20220928/models.py +2 -2
- tencentcloud/mdp/v20200527/errorcodes.py +1 -1
- tencentcloud/mdp/v20200527/mdp_client.py +115 -0
- tencentcloud/mdp/v20200527/models.py +692 -36
- {tencentcloud_sdk_python_intl_en-3.0.1133.dist-info → tencentcloud_sdk_python_intl_en-3.0.1135.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1133.dist-info → tencentcloud_sdk_python_intl_en-3.0.1135.dist-info}/RECORD +12 -12
- {tencentcloud_sdk_python_intl_en-3.0.1133.dist-info → tencentcloud_sdk_python_intl_en-3.0.1135.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1133.dist-info → tencentcloud_sdk_python_intl_en-3.0.1135.dist-info}/top_level.txt +0 -0
|
@@ -1517,6 +1517,119 @@ class CreateStreamPackageLinearAssemblyProgramResponse(AbstractModel):
|
|
|
1517
1517
|
self._RequestId = params.get("RequestId")
|
|
1518
1518
|
|
|
1519
1519
|
|
|
1520
|
+
class CreateStreamPackageSSAIChannelRequest(AbstractModel):
|
|
1521
|
+
"""CreateStreamPackageSSAIChannel request structure.
|
|
1522
|
+
|
|
1523
|
+
"""
|
|
1524
|
+
|
|
1525
|
+
def __init__(self):
|
|
1526
|
+
r"""
|
|
1527
|
+
:param _Name: Ad insertion configuration name, globally unique, cannot be repeated with other configurations
|
|
1528
|
+
:type Name: str
|
|
1529
|
+
:param _ContentSource: Source stream url prefix
|
|
1530
|
+
:type ContentSource: str
|
|
1531
|
+
:param _SSAIInfo: Ad insertion configuration information
|
|
1532
|
+
:type SSAIInfo: :class:`tencentcloud.mdp.v20200527.models.SSAIConf`
|
|
1533
|
+
"""
|
|
1534
|
+
self._Name = None
|
|
1535
|
+
self._ContentSource = None
|
|
1536
|
+
self._SSAIInfo = None
|
|
1537
|
+
|
|
1538
|
+
@property
|
|
1539
|
+
def Name(self):
|
|
1540
|
+
"""Ad insertion configuration name, globally unique, cannot be repeated with other configurations
|
|
1541
|
+
:rtype: str
|
|
1542
|
+
"""
|
|
1543
|
+
return self._Name
|
|
1544
|
+
|
|
1545
|
+
@Name.setter
|
|
1546
|
+
def Name(self, Name):
|
|
1547
|
+
self._Name = Name
|
|
1548
|
+
|
|
1549
|
+
@property
|
|
1550
|
+
def ContentSource(self):
|
|
1551
|
+
"""Source stream url prefix
|
|
1552
|
+
:rtype: str
|
|
1553
|
+
"""
|
|
1554
|
+
return self._ContentSource
|
|
1555
|
+
|
|
1556
|
+
@ContentSource.setter
|
|
1557
|
+
def ContentSource(self, ContentSource):
|
|
1558
|
+
self._ContentSource = ContentSource
|
|
1559
|
+
|
|
1560
|
+
@property
|
|
1561
|
+
def SSAIInfo(self):
|
|
1562
|
+
"""Ad insertion configuration information
|
|
1563
|
+
:rtype: :class:`tencentcloud.mdp.v20200527.models.SSAIConf`
|
|
1564
|
+
"""
|
|
1565
|
+
return self._SSAIInfo
|
|
1566
|
+
|
|
1567
|
+
@SSAIInfo.setter
|
|
1568
|
+
def SSAIInfo(self, SSAIInfo):
|
|
1569
|
+
self._SSAIInfo = SSAIInfo
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
def _deserialize(self, params):
|
|
1573
|
+
self._Name = params.get("Name")
|
|
1574
|
+
self._ContentSource = params.get("ContentSource")
|
|
1575
|
+
if params.get("SSAIInfo") is not None:
|
|
1576
|
+
self._SSAIInfo = SSAIConf()
|
|
1577
|
+
self._SSAIInfo._deserialize(params.get("SSAIInfo"))
|
|
1578
|
+
memeber_set = set(params.keys())
|
|
1579
|
+
for name, value in vars(self).items():
|
|
1580
|
+
property_name = name[1:]
|
|
1581
|
+
if property_name in memeber_set:
|
|
1582
|
+
memeber_set.remove(property_name)
|
|
1583
|
+
if len(memeber_set) > 0:
|
|
1584
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
class CreateStreamPackageSSAIChannelResponse(AbstractModel):
|
|
1589
|
+
"""CreateStreamPackageSSAIChannel response structure.
|
|
1590
|
+
|
|
1591
|
+
"""
|
|
1592
|
+
|
|
1593
|
+
def __init__(self):
|
|
1594
|
+
r"""
|
|
1595
|
+
:param _Info: Ad insertion configuration information
|
|
1596
|
+
:type Info: :class:`tencentcloud.mdp.v20200527.models.SSAIChannelInfo`
|
|
1597
|
+
:param _RequestId: 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.
|
|
1598
|
+
:type RequestId: str
|
|
1599
|
+
"""
|
|
1600
|
+
self._Info = None
|
|
1601
|
+
self._RequestId = None
|
|
1602
|
+
|
|
1603
|
+
@property
|
|
1604
|
+
def Info(self):
|
|
1605
|
+
"""Ad insertion configuration information
|
|
1606
|
+
:rtype: :class:`tencentcloud.mdp.v20200527.models.SSAIChannelInfo`
|
|
1607
|
+
"""
|
|
1608
|
+
return self._Info
|
|
1609
|
+
|
|
1610
|
+
@Info.setter
|
|
1611
|
+
def Info(self, Info):
|
|
1612
|
+
self._Info = Info
|
|
1613
|
+
|
|
1614
|
+
@property
|
|
1615
|
+
def RequestId(self):
|
|
1616
|
+
"""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.
|
|
1617
|
+
:rtype: str
|
|
1618
|
+
"""
|
|
1619
|
+
return self._RequestId
|
|
1620
|
+
|
|
1621
|
+
@RequestId.setter
|
|
1622
|
+
def RequestId(self, RequestId):
|
|
1623
|
+
self._RequestId = RequestId
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
def _deserialize(self, params):
|
|
1627
|
+
if params.get("Info") is not None:
|
|
1628
|
+
self._Info = SSAIChannelInfo()
|
|
1629
|
+
self._Info._deserialize(params.get("Info"))
|
|
1630
|
+
self._RequestId = params.get("RequestId")
|
|
1631
|
+
|
|
1632
|
+
|
|
1520
1633
|
class CreateStreamPackageSourceLocationRequest(AbstractModel):
|
|
1521
1634
|
"""CreateStreamPackageSourceLocation request structure.
|
|
1522
1635
|
|
|
@@ -2439,6 +2552,70 @@ class DeleteStreamPackageLinearAssemblyProgramsResponse(AbstractModel):
|
|
|
2439
2552
|
self._RequestId = params.get("RequestId")
|
|
2440
2553
|
|
|
2441
2554
|
|
|
2555
|
+
class DeleteStreamPackageSSAIChannelRequest(AbstractModel):
|
|
2556
|
+
"""DeleteStreamPackageSSAIChannel request structure.
|
|
2557
|
+
|
|
2558
|
+
"""
|
|
2559
|
+
|
|
2560
|
+
def __init__(self):
|
|
2561
|
+
r"""
|
|
2562
|
+
:param _ID: Ad insertion configuration ID that needs to be deleted
|
|
2563
|
+
:type ID: str
|
|
2564
|
+
"""
|
|
2565
|
+
self._ID = None
|
|
2566
|
+
|
|
2567
|
+
@property
|
|
2568
|
+
def ID(self):
|
|
2569
|
+
"""Ad insertion configuration ID that needs to be deleted
|
|
2570
|
+
:rtype: str
|
|
2571
|
+
"""
|
|
2572
|
+
return self._ID
|
|
2573
|
+
|
|
2574
|
+
@ID.setter
|
|
2575
|
+
def ID(self, ID):
|
|
2576
|
+
self._ID = ID
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
def _deserialize(self, params):
|
|
2580
|
+
self._ID = params.get("ID")
|
|
2581
|
+
memeber_set = set(params.keys())
|
|
2582
|
+
for name, value in vars(self).items():
|
|
2583
|
+
property_name = name[1:]
|
|
2584
|
+
if property_name in memeber_set:
|
|
2585
|
+
memeber_set.remove(property_name)
|
|
2586
|
+
if len(memeber_set) > 0:
|
|
2587
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2588
|
+
|
|
2589
|
+
|
|
2590
|
+
|
|
2591
|
+
class DeleteStreamPackageSSAIChannelResponse(AbstractModel):
|
|
2592
|
+
"""DeleteStreamPackageSSAIChannel response structure.
|
|
2593
|
+
|
|
2594
|
+
"""
|
|
2595
|
+
|
|
2596
|
+
def __init__(self):
|
|
2597
|
+
r"""
|
|
2598
|
+
:param _RequestId: 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.
|
|
2599
|
+
:type RequestId: str
|
|
2600
|
+
"""
|
|
2601
|
+
self._RequestId = None
|
|
2602
|
+
|
|
2603
|
+
@property
|
|
2604
|
+
def RequestId(self):
|
|
2605
|
+
"""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.
|
|
2606
|
+
:rtype: str
|
|
2607
|
+
"""
|
|
2608
|
+
return self._RequestId
|
|
2609
|
+
|
|
2610
|
+
@RequestId.setter
|
|
2611
|
+
def RequestId(self, RequestId):
|
|
2612
|
+
self._RequestId = RequestId
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
def _deserialize(self, params):
|
|
2616
|
+
self._RequestId = params.get("RequestId")
|
|
2617
|
+
|
|
2618
|
+
|
|
2442
2619
|
class DeleteStreamPackageSourceLocationRequest(AbstractModel):
|
|
2443
2620
|
"""DeleteStreamPackageSourceLocation request structure.
|
|
2444
2621
|
|
|
@@ -3834,13 +4011,238 @@ class DescribeStreamPackageLinearAssemblyProgramsResponse(AbstractModel):
|
|
|
3834
4011
|
if params.get("Infos") is not None:
|
|
3835
4012
|
self._Infos = []
|
|
3836
4013
|
for item in params.get("Infos"):
|
|
3837
|
-
obj = LinearAssemblyProgramInfo()
|
|
4014
|
+
obj = LinearAssemblyProgramInfo()
|
|
4015
|
+
obj._deserialize(item)
|
|
4016
|
+
self._Infos.append(obj)
|
|
4017
|
+
self._PageNum = params.get("PageNum")
|
|
4018
|
+
self._PageSize = params.get("PageSize")
|
|
4019
|
+
self._TotalNum = params.get("TotalNum")
|
|
4020
|
+
self._TotalPage = params.get("TotalPage")
|
|
4021
|
+
self._RequestId = params.get("RequestId")
|
|
4022
|
+
|
|
4023
|
+
|
|
4024
|
+
class DescribeStreamPackageSSAIChannelRequest(AbstractModel):
|
|
4025
|
+
"""DescribeStreamPackageSSAIChannel request structure.
|
|
4026
|
+
|
|
4027
|
+
"""
|
|
4028
|
+
|
|
4029
|
+
def __init__(self):
|
|
4030
|
+
r"""
|
|
4031
|
+
:param _ID: Ad insertion configuration ID
|
|
4032
|
+
:type ID: str
|
|
4033
|
+
"""
|
|
4034
|
+
self._ID = None
|
|
4035
|
+
|
|
4036
|
+
@property
|
|
4037
|
+
def ID(self):
|
|
4038
|
+
"""Ad insertion configuration ID
|
|
4039
|
+
:rtype: str
|
|
4040
|
+
"""
|
|
4041
|
+
return self._ID
|
|
4042
|
+
|
|
4043
|
+
@ID.setter
|
|
4044
|
+
def ID(self, ID):
|
|
4045
|
+
self._ID = ID
|
|
4046
|
+
|
|
4047
|
+
|
|
4048
|
+
def _deserialize(self, params):
|
|
4049
|
+
self._ID = params.get("ID")
|
|
4050
|
+
memeber_set = set(params.keys())
|
|
4051
|
+
for name, value in vars(self).items():
|
|
4052
|
+
property_name = name[1:]
|
|
4053
|
+
if property_name in memeber_set:
|
|
4054
|
+
memeber_set.remove(property_name)
|
|
4055
|
+
if len(memeber_set) > 0:
|
|
4056
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4057
|
+
|
|
4058
|
+
|
|
4059
|
+
|
|
4060
|
+
class DescribeStreamPackageSSAIChannelResponse(AbstractModel):
|
|
4061
|
+
"""DescribeStreamPackageSSAIChannel response structure.
|
|
4062
|
+
|
|
4063
|
+
"""
|
|
4064
|
+
|
|
4065
|
+
def __init__(self):
|
|
4066
|
+
r"""
|
|
4067
|
+
:param _Info: Ad insertion configuration information
|
|
4068
|
+
:type Info: :class:`tencentcloud.mdp.v20200527.models.SSAIChannelInfo`
|
|
4069
|
+
:param _RequestId: 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.
|
|
4070
|
+
:type RequestId: str
|
|
4071
|
+
"""
|
|
4072
|
+
self._Info = None
|
|
4073
|
+
self._RequestId = None
|
|
4074
|
+
|
|
4075
|
+
@property
|
|
4076
|
+
def Info(self):
|
|
4077
|
+
"""Ad insertion configuration information
|
|
4078
|
+
:rtype: :class:`tencentcloud.mdp.v20200527.models.SSAIChannelInfo`
|
|
4079
|
+
"""
|
|
4080
|
+
return self._Info
|
|
4081
|
+
|
|
4082
|
+
@Info.setter
|
|
4083
|
+
def Info(self, Info):
|
|
4084
|
+
self._Info = Info
|
|
4085
|
+
|
|
4086
|
+
@property
|
|
4087
|
+
def RequestId(self):
|
|
4088
|
+
"""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.
|
|
4089
|
+
:rtype: str
|
|
4090
|
+
"""
|
|
4091
|
+
return self._RequestId
|
|
4092
|
+
|
|
4093
|
+
@RequestId.setter
|
|
4094
|
+
def RequestId(self, RequestId):
|
|
4095
|
+
self._RequestId = RequestId
|
|
4096
|
+
|
|
4097
|
+
|
|
4098
|
+
def _deserialize(self, params):
|
|
4099
|
+
if params.get("Info") is not None:
|
|
4100
|
+
self._Info = SSAIChannelInfo()
|
|
4101
|
+
self._Info._deserialize(params.get("Info"))
|
|
4102
|
+
self._RequestId = params.get("RequestId")
|
|
4103
|
+
|
|
4104
|
+
|
|
4105
|
+
class DescribeStreamPackageSSAIChannelsRequest(AbstractModel):
|
|
4106
|
+
"""DescribeStreamPackageSSAIChannels request structure.
|
|
4107
|
+
|
|
4108
|
+
"""
|
|
4109
|
+
|
|
4110
|
+
def __init__(self):
|
|
4111
|
+
r"""
|
|
4112
|
+
:param _PageNum: Page number, default is 1
|
|
4113
|
+
:type PageNum: int
|
|
4114
|
+
:param _PageSize: Page size, default is 10
|
|
4115
|
+
:type PageSize: int
|
|
4116
|
+
"""
|
|
4117
|
+
self._PageNum = None
|
|
4118
|
+
self._PageSize = None
|
|
4119
|
+
|
|
4120
|
+
@property
|
|
4121
|
+
def PageNum(self):
|
|
4122
|
+
"""Page number, default is 1
|
|
4123
|
+
:rtype: int
|
|
4124
|
+
"""
|
|
4125
|
+
return self._PageNum
|
|
4126
|
+
|
|
4127
|
+
@PageNum.setter
|
|
4128
|
+
def PageNum(self, PageNum):
|
|
4129
|
+
self._PageNum = PageNum
|
|
4130
|
+
|
|
4131
|
+
@property
|
|
4132
|
+
def PageSize(self):
|
|
4133
|
+
"""Page size, default is 10
|
|
4134
|
+
:rtype: int
|
|
4135
|
+
"""
|
|
4136
|
+
return self._PageSize
|
|
4137
|
+
|
|
4138
|
+
@PageSize.setter
|
|
4139
|
+
def PageSize(self, PageSize):
|
|
4140
|
+
self._PageSize = PageSize
|
|
4141
|
+
|
|
4142
|
+
|
|
4143
|
+
def _deserialize(self, params):
|
|
4144
|
+
self._PageNum = params.get("PageNum")
|
|
4145
|
+
self._PageSize = params.get("PageSize")
|
|
4146
|
+
memeber_set = set(params.keys())
|
|
4147
|
+
for name, value in vars(self).items():
|
|
4148
|
+
property_name = name[1:]
|
|
4149
|
+
if property_name in memeber_set:
|
|
4150
|
+
memeber_set.remove(property_name)
|
|
4151
|
+
if len(memeber_set) > 0:
|
|
4152
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4153
|
+
|
|
4154
|
+
|
|
4155
|
+
|
|
4156
|
+
class DescribeStreamPackageSSAIChannelsResponse(AbstractModel):
|
|
4157
|
+
"""DescribeStreamPackageSSAIChannels response structure.
|
|
4158
|
+
|
|
4159
|
+
"""
|
|
4160
|
+
|
|
4161
|
+
def __init__(self):
|
|
4162
|
+
r"""
|
|
4163
|
+
:param _Infos: Ad insertion configuration information.
|
|
4164
|
+
:type Infos: list of SSAIChannelInfo
|
|
4165
|
+
:param _PageNum: Page number
|
|
4166
|
+
:type PageNum: int
|
|
4167
|
+
:param _PageSize: Page size
|
|
4168
|
+
:type PageSize: int
|
|
4169
|
+
:param _TotalNum: Total number
|
|
4170
|
+
:type TotalNum: int
|
|
4171
|
+
:param _RequestId: 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.
|
|
4172
|
+
:type RequestId: str
|
|
4173
|
+
"""
|
|
4174
|
+
self._Infos = None
|
|
4175
|
+
self._PageNum = None
|
|
4176
|
+
self._PageSize = None
|
|
4177
|
+
self._TotalNum = None
|
|
4178
|
+
self._RequestId = None
|
|
4179
|
+
|
|
4180
|
+
@property
|
|
4181
|
+
def Infos(self):
|
|
4182
|
+
"""Ad insertion configuration information.
|
|
4183
|
+
:rtype: list of SSAIChannelInfo
|
|
4184
|
+
"""
|
|
4185
|
+
return self._Infos
|
|
4186
|
+
|
|
4187
|
+
@Infos.setter
|
|
4188
|
+
def Infos(self, Infos):
|
|
4189
|
+
self._Infos = Infos
|
|
4190
|
+
|
|
4191
|
+
@property
|
|
4192
|
+
def PageNum(self):
|
|
4193
|
+
"""Page number
|
|
4194
|
+
:rtype: int
|
|
4195
|
+
"""
|
|
4196
|
+
return self._PageNum
|
|
4197
|
+
|
|
4198
|
+
@PageNum.setter
|
|
4199
|
+
def PageNum(self, PageNum):
|
|
4200
|
+
self._PageNum = PageNum
|
|
4201
|
+
|
|
4202
|
+
@property
|
|
4203
|
+
def PageSize(self):
|
|
4204
|
+
"""Page size
|
|
4205
|
+
:rtype: int
|
|
4206
|
+
"""
|
|
4207
|
+
return self._PageSize
|
|
4208
|
+
|
|
4209
|
+
@PageSize.setter
|
|
4210
|
+
def PageSize(self, PageSize):
|
|
4211
|
+
self._PageSize = PageSize
|
|
4212
|
+
|
|
4213
|
+
@property
|
|
4214
|
+
def TotalNum(self):
|
|
4215
|
+
"""Total number
|
|
4216
|
+
:rtype: int
|
|
4217
|
+
"""
|
|
4218
|
+
return self._TotalNum
|
|
4219
|
+
|
|
4220
|
+
@TotalNum.setter
|
|
4221
|
+
def TotalNum(self, TotalNum):
|
|
4222
|
+
self._TotalNum = TotalNum
|
|
4223
|
+
|
|
4224
|
+
@property
|
|
4225
|
+
def RequestId(self):
|
|
4226
|
+
"""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.
|
|
4227
|
+
:rtype: str
|
|
4228
|
+
"""
|
|
4229
|
+
return self._RequestId
|
|
4230
|
+
|
|
4231
|
+
@RequestId.setter
|
|
4232
|
+
def RequestId(self, RequestId):
|
|
4233
|
+
self._RequestId = RequestId
|
|
4234
|
+
|
|
4235
|
+
|
|
4236
|
+
def _deserialize(self, params):
|
|
4237
|
+
if params.get("Infos") is not None:
|
|
4238
|
+
self._Infos = []
|
|
4239
|
+
for item in params.get("Infos"):
|
|
4240
|
+
obj = SSAIChannelInfo()
|
|
3838
4241
|
obj._deserialize(item)
|
|
3839
4242
|
self._Infos.append(obj)
|
|
3840
4243
|
self._PageNum = params.get("PageNum")
|
|
3841
4244
|
self._PageSize = params.get("PageSize")
|
|
3842
4245
|
self._TotalNum = params.get("TotalNum")
|
|
3843
|
-
self._TotalPage = params.get("TotalPage")
|
|
3844
4246
|
self._RequestId = params.get("RequestId")
|
|
3845
4247
|
|
|
3846
4248
|
|
|
@@ -6569,6 +6971,117 @@ class ModifyStreamPackageLinearAssemblyProgramResponse(AbstractModel):
|
|
|
6569
6971
|
self._RequestId = params.get("RequestId")
|
|
6570
6972
|
|
|
6571
6973
|
|
|
6974
|
+
class ModifyStreamPackageSSAIChannelRequest(AbstractModel):
|
|
6975
|
+
"""ModifyStreamPackageSSAIChannel request structure.
|
|
6976
|
+
|
|
6977
|
+
"""
|
|
6978
|
+
|
|
6979
|
+
def __init__(self):
|
|
6980
|
+
r"""
|
|
6981
|
+
:param _Name: Ad insertion configuration name, globally unique, cannot be repeated.
|
|
6982
|
+
:type Name: str
|
|
6983
|
+
:param _ContentSource: Content source prefix.
|
|
6984
|
+
:type ContentSource: str
|
|
6985
|
+
:param _SSAIInfo: Ad insertion configuration information
|
|
6986
|
+
:type SSAIInfo: :class:`tencentcloud.mdp.v20200527.models.SSAIConf`
|
|
6987
|
+
:param _ID: Ad insertion configuration ID
|
|
6988
|
+
:type ID: str
|
|
6989
|
+
"""
|
|
6990
|
+
self._Name = None
|
|
6991
|
+
self._ContentSource = None
|
|
6992
|
+
self._SSAIInfo = None
|
|
6993
|
+
self._ID = None
|
|
6994
|
+
|
|
6995
|
+
@property
|
|
6996
|
+
def Name(self):
|
|
6997
|
+
"""Ad insertion configuration name, globally unique, cannot be repeated.
|
|
6998
|
+
:rtype: str
|
|
6999
|
+
"""
|
|
7000
|
+
return self._Name
|
|
7001
|
+
|
|
7002
|
+
@Name.setter
|
|
7003
|
+
def Name(self, Name):
|
|
7004
|
+
self._Name = Name
|
|
7005
|
+
|
|
7006
|
+
@property
|
|
7007
|
+
def ContentSource(self):
|
|
7008
|
+
"""Content source prefix.
|
|
7009
|
+
:rtype: str
|
|
7010
|
+
"""
|
|
7011
|
+
return self._ContentSource
|
|
7012
|
+
|
|
7013
|
+
@ContentSource.setter
|
|
7014
|
+
def ContentSource(self, ContentSource):
|
|
7015
|
+
self._ContentSource = ContentSource
|
|
7016
|
+
|
|
7017
|
+
@property
|
|
7018
|
+
def SSAIInfo(self):
|
|
7019
|
+
"""Ad insertion configuration information
|
|
7020
|
+
:rtype: :class:`tencentcloud.mdp.v20200527.models.SSAIConf`
|
|
7021
|
+
"""
|
|
7022
|
+
return self._SSAIInfo
|
|
7023
|
+
|
|
7024
|
+
@SSAIInfo.setter
|
|
7025
|
+
def SSAIInfo(self, SSAIInfo):
|
|
7026
|
+
self._SSAIInfo = SSAIInfo
|
|
7027
|
+
|
|
7028
|
+
@property
|
|
7029
|
+
def ID(self):
|
|
7030
|
+
"""Ad insertion configuration ID
|
|
7031
|
+
:rtype: str
|
|
7032
|
+
"""
|
|
7033
|
+
return self._ID
|
|
7034
|
+
|
|
7035
|
+
@ID.setter
|
|
7036
|
+
def ID(self, ID):
|
|
7037
|
+
self._ID = ID
|
|
7038
|
+
|
|
7039
|
+
|
|
7040
|
+
def _deserialize(self, params):
|
|
7041
|
+
self._Name = params.get("Name")
|
|
7042
|
+
self._ContentSource = params.get("ContentSource")
|
|
7043
|
+
if params.get("SSAIInfo") is not None:
|
|
7044
|
+
self._SSAIInfo = SSAIConf()
|
|
7045
|
+
self._SSAIInfo._deserialize(params.get("SSAIInfo"))
|
|
7046
|
+
self._ID = params.get("ID")
|
|
7047
|
+
memeber_set = set(params.keys())
|
|
7048
|
+
for name, value in vars(self).items():
|
|
7049
|
+
property_name = name[1:]
|
|
7050
|
+
if property_name in memeber_set:
|
|
7051
|
+
memeber_set.remove(property_name)
|
|
7052
|
+
if len(memeber_set) > 0:
|
|
7053
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7054
|
+
|
|
7055
|
+
|
|
7056
|
+
|
|
7057
|
+
class ModifyStreamPackageSSAIChannelResponse(AbstractModel):
|
|
7058
|
+
"""ModifyStreamPackageSSAIChannel response structure.
|
|
7059
|
+
|
|
7060
|
+
"""
|
|
7061
|
+
|
|
7062
|
+
def __init__(self):
|
|
7063
|
+
r"""
|
|
7064
|
+
:param _RequestId: 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.
|
|
7065
|
+
:type RequestId: str
|
|
7066
|
+
"""
|
|
7067
|
+
self._RequestId = None
|
|
7068
|
+
|
|
7069
|
+
@property
|
|
7070
|
+
def RequestId(self):
|
|
7071
|
+
"""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.
|
|
7072
|
+
:rtype: str
|
|
7073
|
+
"""
|
|
7074
|
+
return self._RequestId
|
|
7075
|
+
|
|
7076
|
+
@RequestId.setter
|
|
7077
|
+
def RequestId(self, RequestId):
|
|
7078
|
+
self._RequestId = RequestId
|
|
7079
|
+
|
|
7080
|
+
|
|
7081
|
+
def _deserialize(self, params):
|
|
7082
|
+
self._RequestId = params.get("RequestId")
|
|
7083
|
+
|
|
7084
|
+
|
|
6572
7085
|
class ModifyStreamPackageSourceLocationRequest(AbstractModel):
|
|
6573
7086
|
"""ModifyStreamPackageSourceLocation request structure.
|
|
6574
7087
|
|
|
@@ -7763,6 +8276,119 @@ class ProgramScheduleInfo(AbstractModel):
|
|
|
7763
8276
|
|
|
7764
8277
|
|
|
7765
8278
|
|
|
8279
|
+
class SSAIChannelInfo(AbstractModel):
|
|
8280
|
+
"""
|
|
8281
|
+
|
|
8282
|
+
"""
|
|
8283
|
+
|
|
8284
|
+
def __init__(self):
|
|
8285
|
+
r"""
|
|
8286
|
+
:param _ID: SSAI configuration ID, globally unique identifier
|
|
8287
|
+
:type ID: str
|
|
8288
|
+
:param _Name: Configuration name
|
|
8289
|
+
:type Name: str
|
|
8290
|
+
:param _ContentSource: Content source stream prefix
|
|
8291
|
+
:type ContentSource: str
|
|
8292
|
+
:param _PlaybackPrefix: Generated playback address prefix
|
|
8293
|
+
:type PlaybackPrefix: str
|
|
8294
|
+
:param _SSAIInfo: SSAI configuration info
|
|
8295
|
+
:type SSAIInfo: :class:`tencentcloud.mdp.v20200527.models.SSAIConf`
|
|
8296
|
+
:param _Region: Region info
|
|
8297
|
+
:type Region: str
|
|
8298
|
+
"""
|
|
8299
|
+
self._ID = None
|
|
8300
|
+
self._Name = None
|
|
8301
|
+
self._ContentSource = None
|
|
8302
|
+
self._PlaybackPrefix = None
|
|
8303
|
+
self._SSAIInfo = None
|
|
8304
|
+
self._Region = None
|
|
8305
|
+
|
|
8306
|
+
@property
|
|
8307
|
+
def ID(self):
|
|
8308
|
+
"""SSAI configuration ID, globally unique identifier
|
|
8309
|
+
:rtype: str
|
|
8310
|
+
"""
|
|
8311
|
+
return self._ID
|
|
8312
|
+
|
|
8313
|
+
@ID.setter
|
|
8314
|
+
def ID(self, ID):
|
|
8315
|
+
self._ID = ID
|
|
8316
|
+
|
|
8317
|
+
@property
|
|
8318
|
+
def Name(self):
|
|
8319
|
+
"""Configuration name
|
|
8320
|
+
:rtype: str
|
|
8321
|
+
"""
|
|
8322
|
+
return self._Name
|
|
8323
|
+
|
|
8324
|
+
@Name.setter
|
|
8325
|
+
def Name(self, Name):
|
|
8326
|
+
self._Name = Name
|
|
8327
|
+
|
|
8328
|
+
@property
|
|
8329
|
+
def ContentSource(self):
|
|
8330
|
+
"""Content source stream prefix
|
|
8331
|
+
:rtype: str
|
|
8332
|
+
"""
|
|
8333
|
+
return self._ContentSource
|
|
8334
|
+
|
|
8335
|
+
@ContentSource.setter
|
|
8336
|
+
def ContentSource(self, ContentSource):
|
|
8337
|
+
self._ContentSource = ContentSource
|
|
8338
|
+
|
|
8339
|
+
@property
|
|
8340
|
+
def PlaybackPrefix(self):
|
|
8341
|
+
"""Generated playback address prefix
|
|
8342
|
+
:rtype: str
|
|
8343
|
+
"""
|
|
8344
|
+
return self._PlaybackPrefix
|
|
8345
|
+
|
|
8346
|
+
@PlaybackPrefix.setter
|
|
8347
|
+
def PlaybackPrefix(self, PlaybackPrefix):
|
|
8348
|
+
self._PlaybackPrefix = PlaybackPrefix
|
|
8349
|
+
|
|
8350
|
+
@property
|
|
8351
|
+
def SSAIInfo(self):
|
|
8352
|
+
"""SSAI configuration info
|
|
8353
|
+
:rtype: :class:`tencentcloud.mdp.v20200527.models.SSAIConf`
|
|
8354
|
+
"""
|
|
8355
|
+
return self._SSAIInfo
|
|
8356
|
+
|
|
8357
|
+
@SSAIInfo.setter
|
|
8358
|
+
def SSAIInfo(self, SSAIInfo):
|
|
8359
|
+
self._SSAIInfo = SSAIInfo
|
|
8360
|
+
|
|
8361
|
+
@property
|
|
8362
|
+
def Region(self):
|
|
8363
|
+
"""Region info
|
|
8364
|
+
:rtype: str
|
|
8365
|
+
"""
|
|
8366
|
+
return self._Region
|
|
8367
|
+
|
|
8368
|
+
@Region.setter
|
|
8369
|
+
def Region(self, Region):
|
|
8370
|
+
self._Region = Region
|
|
8371
|
+
|
|
8372
|
+
|
|
8373
|
+
def _deserialize(self, params):
|
|
8374
|
+
self._ID = params.get("ID")
|
|
8375
|
+
self._Name = params.get("Name")
|
|
8376
|
+
self._ContentSource = params.get("ContentSource")
|
|
8377
|
+
self._PlaybackPrefix = params.get("PlaybackPrefix")
|
|
8378
|
+
if params.get("SSAIInfo") is not None:
|
|
8379
|
+
self._SSAIInfo = SSAIConf()
|
|
8380
|
+
self._SSAIInfo._deserialize(params.get("SSAIInfo"))
|
|
8381
|
+
self._Region = params.get("Region")
|
|
8382
|
+
memeber_set = set(params.keys())
|
|
8383
|
+
for name, value in vars(self).items():
|
|
8384
|
+
property_name = name[1:]
|
|
8385
|
+
if property_name in memeber_set:
|
|
8386
|
+
memeber_set.remove(property_name)
|
|
8387
|
+
if len(memeber_set) > 0:
|
|
8388
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8389
|
+
|
|
8390
|
+
|
|
8391
|
+
|
|
7766
8392
|
class SSAIConf(AbstractModel):
|
|
7767
8393
|
"""SSAI ad insertion configuration.
|
|
7768
8394
|
|
|
@@ -7774,18 +8400,18 @@ class SSAIConf(AbstractModel):
|
|
|
7774
8400
|
:type AdsUrl: str
|
|
7775
8401
|
:param _ConfigAliases: Parameter configuration.
|
|
7776
8402
|
:type ConfigAliases: list of ConfigAliasesInfo
|
|
7777
|
-
:param _SlateAd: Default advertising url.
|
|
7778
|
-
:type SlateAd: str
|
|
7779
|
-
:param _Threshold: Maximum unfilled duration, unit: seconds.
|
|
7780
|
-
:type Threshold: int
|
|
7781
|
-
:param _DashMPDLocation: Whether to enable mpd location, true corresponds to enable, false corresponds to disable.
|
|
7782
|
-
:type DashMPDLocation: bool
|
|
7783
8403
|
:param _AdMarkerPassthrough: Whether to enable transparent transmission of advertising tags.
|
|
7784
8404
|
:type AdMarkerPassthrough: bool
|
|
7785
8405
|
:param _SCTE35AdType: How to process tags in advertisements, optional values: [1,2]
|
|
7786
8406
|
1: Process all SCTE-35 type tags - all (default)
|
|
7787
8407
|
2: SCTE-35enhanced, parse some types.
|
|
7788
8408
|
:type SCTE35AdType: int
|
|
8409
|
+
:param _SlateAd: Default advertising url.
|
|
8410
|
+
:type SlateAd: str
|
|
8411
|
+
:param _Threshold: Maximum unfilled duration, unit: seconds.
|
|
8412
|
+
:type Threshold: int
|
|
8413
|
+
:param _DashMPDLocation: Whether to enable mpd location, true corresponds to enable, false corresponds to disable.
|
|
8414
|
+
:type DashMPDLocation: bool
|
|
7789
8415
|
:param _AdTriggers: The type of tag that is regarded as an advertisement, optional values: [1,8]
|
|
7790
8416
|
1. Splice insert
|
|
7791
8417
|
2. Provider advertisement
|
|
@@ -7802,16 +8428,22 @@ class SSAIConf(AbstractModel):
|
|
|
7802
8428
|
3:Unrestricted
|
|
7803
8429
|
4.Both.
|
|
7804
8430
|
:type DeliveryRestrictions: int
|
|
8431
|
+
:param _SourceCDNPrefix: Source CDN prefix, needs to start with http:// or https://
|
|
8432
|
+
:type SourceCDNPrefix: str
|
|
8433
|
+
:param _AdCDNPrefix: Advertising CDN prefix needs to start with http:// or https://
|
|
8434
|
+
:type AdCDNPrefix: str
|
|
7805
8435
|
"""
|
|
7806
8436
|
self._AdsUrl = None
|
|
7807
8437
|
self._ConfigAliases = None
|
|
8438
|
+
self._AdMarkerPassthrough = None
|
|
8439
|
+
self._SCTE35AdType = None
|
|
7808
8440
|
self._SlateAd = None
|
|
7809
8441
|
self._Threshold = None
|
|
7810
8442
|
self._DashMPDLocation = None
|
|
7811
|
-
self._AdMarkerPassthrough = None
|
|
7812
|
-
self._SCTE35AdType = None
|
|
7813
8443
|
self._AdTriggers = None
|
|
7814
8444
|
self._DeliveryRestrictions = None
|
|
8445
|
+
self._SourceCDNPrefix = None
|
|
8446
|
+
self._AdCDNPrefix = None
|
|
7815
8447
|
|
|
7816
8448
|
@property
|
|
7817
8449
|
def AdsUrl(self):
|
|
@@ -7835,6 +8467,30 @@ class SSAIConf(AbstractModel):
|
|
|
7835
8467
|
def ConfigAliases(self, ConfigAliases):
|
|
7836
8468
|
self._ConfigAliases = ConfigAliases
|
|
7837
8469
|
|
|
8470
|
+
@property
|
|
8471
|
+
def AdMarkerPassthrough(self):
|
|
8472
|
+
"""Whether to enable transparent transmission of advertising tags.
|
|
8473
|
+
:rtype: bool
|
|
8474
|
+
"""
|
|
8475
|
+
return self._AdMarkerPassthrough
|
|
8476
|
+
|
|
8477
|
+
@AdMarkerPassthrough.setter
|
|
8478
|
+
def AdMarkerPassthrough(self, AdMarkerPassthrough):
|
|
8479
|
+
self._AdMarkerPassthrough = AdMarkerPassthrough
|
|
8480
|
+
|
|
8481
|
+
@property
|
|
8482
|
+
def SCTE35AdType(self):
|
|
8483
|
+
"""How to process tags in advertisements, optional values: [1,2]
|
|
8484
|
+
1: Process all SCTE-35 type tags - all (default)
|
|
8485
|
+
2: SCTE-35enhanced, parse some types.
|
|
8486
|
+
:rtype: int
|
|
8487
|
+
"""
|
|
8488
|
+
return self._SCTE35AdType
|
|
8489
|
+
|
|
8490
|
+
@SCTE35AdType.setter
|
|
8491
|
+
def SCTE35AdType(self, SCTE35AdType):
|
|
8492
|
+
self._SCTE35AdType = SCTE35AdType
|
|
8493
|
+
|
|
7838
8494
|
@property
|
|
7839
8495
|
def SlateAd(self):
|
|
7840
8496
|
"""Default advertising url.
|
|
@@ -7868,30 +8524,6 @@ class SSAIConf(AbstractModel):
|
|
|
7868
8524
|
def DashMPDLocation(self, DashMPDLocation):
|
|
7869
8525
|
self._DashMPDLocation = DashMPDLocation
|
|
7870
8526
|
|
|
7871
|
-
@property
|
|
7872
|
-
def AdMarkerPassthrough(self):
|
|
7873
|
-
"""Whether to enable transparent transmission of advertising tags.
|
|
7874
|
-
:rtype: bool
|
|
7875
|
-
"""
|
|
7876
|
-
return self._AdMarkerPassthrough
|
|
7877
|
-
|
|
7878
|
-
@AdMarkerPassthrough.setter
|
|
7879
|
-
def AdMarkerPassthrough(self, AdMarkerPassthrough):
|
|
7880
|
-
self._AdMarkerPassthrough = AdMarkerPassthrough
|
|
7881
|
-
|
|
7882
|
-
@property
|
|
7883
|
-
def SCTE35AdType(self):
|
|
7884
|
-
"""How to process tags in advertisements, optional values: [1,2]
|
|
7885
|
-
1: Process all SCTE-35 type tags - all (default)
|
|
7886
|
-
2: SCTE-35enhanced, parse some types.
|
|
7887
|
-
:rtype: int
|
|
7888
|
-
"""
|
|
7889
|
-
return self._SCTE35AdType
|
|
7890
|
-
|
|
7891
|
-
@SCTE35AdType.setter
|
|
7892
|
-
def SCTE35AdType(self, SCTE35AdType):
|
|
7893
|
-
self._SCTE35AdType = SCTE35AdType
|
|
7894
|
-
|
|
7895
8527
|
@property
|
|
7896
8528
|
def AdTriggers(self):
|
|
7897
8529
|
"""The type of tag that is regarded as an advertisement, optional values: [1,8]
|
|
@@ -7926,6 +8558,28 @@ class SSAIConf(AbstractModel):
|
|
|
7926
8558
|
def DeliveryRestrictions(self, DeliveryRestrictions):
|
|
7927
8559
|
self._DeliveryRestrictions = DeliveryRestrictions
|
|
7928
8560
|
|
|
8561
|
+
@property
|
|
8562
|
+
def SourceCDNPrefix(self):
|
|
8563
|
+
"""Source CDN prefix, needs to start with http:// or https://
|
|
8564
|
+
:rtype: str
|
|
8565
|
+
"""
|
|
8566
|
+
return self._SourceCDNPrefix
|
|
8567
|
+
|
|
8568
|
+
@SourceCDNPrefix.setter
|
|
8569
|
+
def SourceCDNPrefix(self, SourceCDNPrefix):
|
|
8570
|
+
self._SourceCDNPrefix = SourceCDNPrefix
|
|
8571
|
+
|
|
8572
|
+
@property
|
|
8573
|
+
def AdCDNPrefix(self):
|
|
8574
|
+
"""Advertising CDN prefix needs to start with http:// or https://
|
|
8575
|
+
:rtype: str
|
|
8576
|
+
"""
|
|
8577
|
+
return self._AdCDNPrefix
|
|
8578
|
+
|
|
8579
|
+
@AdCDNPrefix.setter
|
|
8580
|
+
def AdCDNPrefix(self, AdCDNPrefix):
|
|
8581
|
+
self._AdCDNPrefix = AdCDNPrefix
|
|
8582
|
+
|
|
7929
8583
|
|
|
7930
8584
|
def _deserialize(self, params):
|
|
7931
8585
|
self._AdsUrl = params.get("AdsUrl")
|
|
@@ -7935,13 +8589,15 @@ class SSAIConf(AbstractModel):
|
|
|
7935
8589
|
obj = ConfigAliasesInfo()
|
|
7936
8590
|
obj._deserialize(item)
|
|
7937
8591
|
self._ConfigAliases.append(obj)
|
|
8592
|
+
self._AdMarkerPassthrough = params.get("AdMarkerPassthrough")
|
|
8593
|
+
self._SCTE35AdType = params.get("SCTE35AdType")
|
|
7938
8594
|
self._SlateAd = params.get("SlateAd")
|
|
7939
8595
|
self._Threshold = params.get("Threshold")
|
|
7940
8596
|
self._DashMPDLocation = params.get("DashMPDLocation")
|
|
7941
|
-
self._AdMarkerPassthrough = params.get("AdMarkerPassthrough")
|
|
7942
|
-
self._SCTE35AdType = params.get("SCTE35AdType")
|
|
7943
8597
|
self._AdTriggers = params.get("AdTriggers")
|
|
7944
8598
|
self._DeliveryRestrictions = params.get("DeliveryRestrictions")
|
|
8599
|
+
self._SourceCDNPrefix = params.get("SourceCDNPrefix")
|
|
8600
|
+
self._AdCDNPrefix = params.get("AdCDNPrefix")
|
|
7945
8601
|
memeber_set = set(params.keys())
|
|
7946
8602
|
for name, value in vars(self).items():
|
|
7947
8603
|
property_name = name[1:]
|