tencentcloud-sdk-python-live 3.1.70__tar.gz → 3.1.78__tar.gz
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.
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/setup.py +1 -1
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/tencentcloud/live/v20180801/live_client.py +4 -4
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/tencentcloud/live/v20180801/live_client_async.py +4 -4
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/tencentcloud/live/v20180801/models.py +195 -124
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_live-3.1.78/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_live-3.1.70/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/README.rst +0 -0
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/setup.cfg +0 -0
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/tencentcloud/live/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/tencentcloud/live/v20180801/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/tencentcloud/live/v20180801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.70 → tencentcloud_sdk_python_live-3.1.78}/tencentcloud_sdk_python_live.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-live
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.78
|
|
4
4
|
Summary: Tencent Cloud Live SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.78
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-live',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.78,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Live SDK for Python',
|
|
@@ -515,7 +515,7 @@ class LiveClient(AbstractClient):
|
|
|
515
515
|
|
|
516
516
|
|
|
517
517
|
def CreateLiveAvatarScript(self, request):
|
|
518
|
-
r"""
|
|
518
|
+
r"""调用该接口,用于创建数字人直播间/AIGC直播间话术。
|
|
519
519
|
|
|
520
520
|
:param request: Request instance for CreateLiveAvatarScript.
|
|
521
521
|
:type request: :class:`tencentcloud.live.v20180801.models.CreateLiveAvatarScriptRequest`
|
|
@@ -2401,7 +2401,7 @@ class LiveClient(AbstractClient):
|
|
|
2401
2401
|
|
|
2402
2402
|
|
|
2403
2403
|
def DescribeLiveAvatarScripts(self, request):
|
|
2404
|
-
r"""
|
|
2404
|
+
r"""调用该接口,查询数字人直播间话术信息列表。新增产品ID参数
|
|
2405
2405
|
|
|
2406
2406
|
:param request: Request instance for DescribeLiveAvatarScripts.
|
|
2407
2407
|
:type request: :class:`tencentcloud.live.v20180801.models.DescribeLiveAvatarScriptsRequest`
|
|
@@ -4479,7 +4479,7 @@ class LiveClient(AbstractClient):
|
|
|
4479
4479
|
|
|
4480
4480
|
|
|
4481
4481
|
def ModifyLiveAvatarRoom(self, request):
|
|
4482
|
-
r"""
|
|
4482
|
+
r"""调用该接口,用于修改数字人(包括AIGC数字人)直播间。
|
|
4483
4483
|
|
|
4484
4484
|
:param request: Request instance for ModifyLiveAvatarRoom.
|
|
4485
4485
|
:type request: :class:`tencentcloud.live.v20180801.models.ModifyLiveAvatarRoomRequest`
|
|
@@ -5016,7 +5016,7 @@ class LiveClient(AbstractClient):
|
|
|
5016
5016
|
|
|
5017
5017
|
|
|
5018
5018
|
def StartLiveAvatarRoom(self, request):
|
|
5019
|
-
r"""
|
|
5019
|
+
r"""调用该接口,用于启动数字人(包括AIGC数字人)直播间。
|
|
5020
5020
|
|
|
5021
5021
|
:param request: Request instance for StartLiveAvatarRoom.
|
|
5022
5022
|
:type request: :class:`tencentcloud.live.v20180801.models.StartLiveAvatarRoomRequest`
|
|
@@ -414,7 +414,7 @@ class LiveClient(AbstractClient):
|
|
|
414
414
|
opts: Dict = None,
|
|
415
415
|
) -> models.CreateLiveAvatarScriptResponse:
|
|
416
416
|
"""
|
|
417
|
-
|
|
417
|
+
调用该接口,用于创建数字人直播间/AIGC直播间话术。
|
|
418
418
|
"""
|
|
419
419
|
|
|
420
420
|
kwargs = {}
|
|
@@ -1905,7 +1905,7 @@ class LiveClient(AbstractClient):
|
|
|
1905
1905
|
opts: Dict = None,
|
|
1906
1906
|
) -> models.DescribeLiveAvatarScriptsResponse:
|
|
1907
1907
|
"""
|
|
1908
|
-
|
|
1908
|
+
调用该接口,查询数字人直播间话术信息列表。新增产品ID参数
|
|
1909
1909
|
"""
|
|
1910
1910
|
|
|
1911
1911
|
kwargs = {}
|
|
@@ -3543,7 +3543,7 @@ class LiveClient(AbstractClient):
|
|
|
3543
3543
|
opts: Dict = None,
|
|
3544
3544
|
) -> models.ModifyLiveAvatarRoomResponse:
|
|
3545
3545
|
"""
|
|
3546
|
-
|
|
3546
|
+
调用该接口,用于修改数字人(包括AIGC数字人)直播间。
|
|
3547
3547
|
"""
|
|
3548
3548
|
|
|
3549
3549
|
kwargs = {}
|
|
@@ -3965,7 +3965,7 @@ class LiveClient(AbstractClient):
|
|
|
3965
3965
|
opts: Dict = None,
|
|
3966
3966
|
) -> models.StartLiveAvatarRoomResponse:
|
|
3967
3967
|
"""
|
|
3968
|
-
|
|
3968
|
+
调用该接口,用于启动数字人(包括AIGC数字人)直播间。
|
|
3969
3969
|
"""
|
|
3970
3970
|
|
|
3971
3971
|
kwargs = {}
|
|
@@ -1892,29 +1892,27 @@ class AvatarScriptInfo(AbstractModel):
|
|
|
1892
1892
|
|
|
1893
1893
|
def __init__(self):
|
|
1894
1894
|
r"""
|
|
1895
|
-
:param _ScriptId:
|
|
1895
|
+
:param _ScriptId: <p>数字人直播间话术 ID。</p>
|
|
1896
1896
|
:type ScriptId: str
|
|
1897
|
-
:param
|
|
1897
|
+
:param _ProductId: <p>数字人直播间产品 ID。</p>
|
|
1898
|
+
:type ProductId: str
|
|
1899
|
+
:param _Title: <p>话术标题。</p>
|
|
1898
1900
|
:type Title: str
|
|
1899
|
-
:param _Content:
|
|
1901
|
+
:param _Content: <p>话术内容。</p>
|
|
1900
1902
|
:type Content: str
|
|
1901
|
-
:param _Status:
|
|
1902
|
-
PENDING --未生成。
|
|
1903
|
-
PROCESSING --生成中。
|
|
1904
|
-
READY --已生成。
|
|
1903
|
+
:param _Status: <p>话术状态。PENDING --未生成。PROCESSING --生成中。READY --已生成。FAILED-失败</p><p>枚举值:</p><ul><li>FAILED: 失败</li></ul>
|
|
1905
1904
|
:type Status: str
|
|
1906
|
-
:param _Duration:
|
|
1905
|
+
:param _Duration: <p>时长。单位:毫秒。</p>
|
|
1907
1906
|
:type Duration: int
|
|
1908
|
-
:param _Position:
|
|
1907
|
+
:param _Position: <p>话术位置。</p>
|
|
1909
1908
|
:type Position: int
|
|
1910
|
-
:param _CreateTime:
|
|
1911
|
-
注意:UTC时间和北京时间相差八小时。
|
|
1909
|
+
:param _CreateTime: <p>话术创建时间,UTC时间。<br>注意:UTC时间和北京时间相差八小时。</p>
|
|
1912
1910
|
:type CreateTime: str
|
|
1913
|
-
:param _UpdateTime:
|
|
1914
|
-
注意:UTC时间和北京时间相差八小时。
|
|
1911
|
+
:param _UpdateTime: <p>话术最后更新时间,UTC时间。<br>注意:UTC时间和北京时间相差八小时。</p>
|
|
1915
1912
|
:type UpdateTime: str
|
|
1916
1913
|
"""
|
|
1917
1914
|
self._ScriptId = None
|
|
1915
|
+
self._ProductId = None
|
|
1918
1916
|
self._Title = None
|
|
1919
1917
|
self._Content = None
|
|
1920
1918
|
self._Status = None
|
|
@@ -1925,7 +1923,7 @@ READY --已生成。
|
|
|
1925
1923
|
|
|
1926
1924
|
@property
|
|
1927
1925
|
def ScriptId(self):
|
|
1928
|
-
r"""
|
|
1926
|
+
r"""<p>数字人直播间话术 ID。</p>
|
|
1929
1927
|
:rtype: str
|
|
1930
1928
|
"""
|
|
1931
1929
|
return self._ScriptId
|
|
@@ -1934,9 +1932,20 @@ READY --已生成。
|
|
|
1934
1932
|
def ScriptId(self, ScriptId):
|
|
1935
1933
|
self._ScriptId = ScriptId
|
|
1936
1934
|
|
|
1935
|
+
@property
|
|
1936
|
+
def ProductId(self):
|
|
1937
|
+
r"""<p>数字人直播间产品 ID。</p>
|
|
1938
|
+
:rtype: str
|
|
1939
|
+
"""
|
|
1940
|
+
return self._ProductId
|
|
1941
|
+
|
|
1942
|
+
@ProductId.setter
|
|
1943
|
+
def ProductId(self, ProductId):
|
|
1944
|
+
self._ProductId = ProductId
|
|
1945
|
+
|
|
1937
1946
|
@property
|
|
1938
1947
|
def Title(self):
|
|
1939
|
-
r"""
|
|
1948
|
+
r"""<p>话术标题。</p>
|
|
1940
1949
|
:rtype: str
|
|
1941
1950
|
"""
|
|
1942
1951
|
return self._Title
|
|
@@ -1947,7 +1956,7 @@ READY --已生成。
|
|
|
1947
1956
|
|
|
1948
1957
|
@property
|
|
1949
1958
|
def Content(self):
|
|
1950
|
-
r"""
|
|
1959
|
+
r"""<p>话术内容。</p>
|
|
1951
1960
|
:rtype: str
|
|
1952
1961
|
"""
|
|
1953
1962
|
return self._Content
|
|
@@ -1958,10 +1967,7 @@ READY --已生成。
|
|
|
1958
1967
|
|
|
1959
1968
|
@property
|
|
1960
1969
|
def Status(self):
|
|
1961
|
-
r"""
|
|
1962
|
-
PENDING --未生成。
|
|
1963
|
-
PROCESSING --生成中。
|
|
1964
|
-
READY --已生成。
|
|
1970
|
+
r"""<p>话术状态。PENDING --未生成。PROCESSING --生成中。READY --已生成。FAILED-失败</p><p>枚举值:</p><ul><li>FAILED: 失败</li></ul>
|
|
1965
1971
|
:rtype: str
|
|
1966
1972
|
"""
|
|
1967
1973
|
return self._Status
|
|
@@ -1972,7 +1978,7 @@ READY --已生成。
|
|
|
1972
1978
|
|
|
1973
1979
|
@property
|
|
1974
1980
|
def Duration(self):
|
|
1975
|
-
r"""
|
|
1981
|
+
r"""<p>时长。单位:毫秒。</p>
|
|
1976
1982
|
:rtype: int
|
|
1977
1983
|
"""
|
|
1978
1984
|
return self._Duration
|
|
@@ -1983,7 +1989,7 @@ READY --已生成。
|
|
|
1983
1989
|
|
|
1984
1990
|
@property
|
|
1985
1991
|
def Position(self):
|
|
1986
|
-
r"""
|
|
1992
|
+
r"""<p>话术位置。</p>
|
|
1987
1993
|
:rtype: int
|
|
1988
1994
|
"""
|
|
1989
1995
|
return self._Position
|
|
@@ -1994,8 +2000,7 @@ READY --已生成。
|
|
|
1994
2000
|
|
|
1995
2001
|
@property
|
|
1996
2002
|
def CreateTime(self):
|
|
1997
|
-
r"""
|
|
1998
|
-
注意:UTC时间和北京时间相差八小时。
|
|
2003
|
+
r"""<p>话术创建时间,UTC时间。<br>注意:UTC时间和北京时间相差八小时。</p>
|
|
1999
2004
|
:rtype: str
|
|
2000
2005
|
"""
|
|
2001
2006
|
return self._CreateTime
|
|
@@ -2006,8 +2011,7 @@ READY --已生成。
|
|
|
2006
2011
|
|
|
2007
2012
|
@property
|
|
2008
2013
|
def UpdateTime(self):
|
|
2009
|
-
r"""
|
|
2010
|
-
注意:UTC时间和北京时间相差八小时。
|
|
2014
|
+
r"""<p>话术最后更新时间,UTC时间。<br>注意:UTC时间和北京时间相差八小时。</p>
|
|
2011
2015
|
:rtype: str
|
|
2012
2016
|
"""
|
|
2013
2017
|
return self._UpdateTime
|
|
@@ -2019,6 +2023,7 @@ READY --已生成。
|
|
|
2019
2023
|
|
|
2020
2024
|
def _deserialize(self, params):
|
|
2021
2025
|
self._ScriptId = params.get("ScriptId")
|
|
2026
|
+
self._ProductId = params.get("ProductId")
|
|
2022
2027
|
self._Title = params.get("Title")
|
|
2023
2028
|
self._Content = params.get("Content")
|
|
2024
2029
|
self._Status = params.get("Status")
|
|
@@ -6857,11 +6862,25 @@ class CreateAuditKeywordLibResponse(AbstractModel):
|
|
|
6857
6862
|
|
|
6858
6863
|
def __init__(self):
|
|
6859
6864
|
r"""
|
|
6865
|
+
:param _LibId: <p>新建的词库 Id。</p>
|
|
6866
|
+
:type LibId: str
|
|
6860
6867
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6861
6868
|
:type RequestId: str
|
|
6862
6869
|
"""
|
|
6870
|
+
self._LibId = None
|
|
6863
6871
|
self._RequestId = None
|
|
6864
6872
|
|
|
6873
|
+
@property
|
|
6874
|
+
def LibId(self):
|
|
6875
|
+
r"""<p>新建的词库 Id。</p>
|
|
6876
|
+
:rtype: str
|
|
6877
|
+
"""
|
|
6878
|
+
return self._LibId
|
|
6879
|
+
|
|
6880
|
+
@LibId.setter
|
|
6881
|
+
def LibId(self, LibId):
|
|
6882
|
+
self._LibId = LibId
|
|
6883
|
+
|
|
6865
6884
|
@property
|
|
6866
6885
|
def RequestId(self):
|
|
6867
6886
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6875,6 +6894,7 @@ class CreateAuditKeywordLibResponse(AbstractModel):
|
|
|
6875
6894
|
|
|
6876
6895
|
|
|
6877
6896
|
def _deserialize(self, params):
|
|
6897
|
+
self._LibId = params.get("LibId")
|
|
6878
6898
|
self._RequestId = params.get("RequestId")
|
|
6879
6899
|
|
|
6880
6900
|
|
|
@@ -8029,28 +8049,29 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
|
|
|
8029
8049
|
|
|
8030
8050
|
def __init__(self):
|
|
8031
8051
|
r"""
|
|
8032
|
-
:param _Title:
|
|
8052
|
+
:param _Title: <p>话术标题。限制500字节。</p>
|
|
8033
8053
|
:type Title: str
|
|
8034
|
-
:param _Content:
|
|
8054
|
+
:param _Content: <p>话术内容。中文最大支持150个汉字(全角标点符号算一个汉字);英文最大支持500个字母(半角标点符号算一个字母)。</p>
|
|
8035
8055
|
:type Content: str
|
|
8036
|
-
:param _RoomId:
|
|
8056
|
+
:param _RoomId: <p>话术所属的数字人直播间 ID。</p>
|
|
8037
8057
|
:type RoomId: str
|
|
8038
|
-
:param _SpecifyPosition:
|
|
8039
|
-
如已有三条话术100,200,300。
|
|
8040
|
-
新话术可选择150插入到第一条和第二条中间。
|
|
8058
|
+
:param _SpecifyPosition: <p>话术插入时,可根据已有话术位置,指定新话术插入位置。<br>如已有三条话术100,200,300。<br>新话术可选择150插入到第一条和第二条中间。</p>
|
|
8041
8059
|
:type SpecifyPosition: int
|
|
8042
|
-
:param _Operator:
|
|
8060
|
+
:param _Operator: <p>操作者。</p>
|
|
8043
8061
|
:type Operator: str
|
|
8062
|
+
:param _ProductId: <p>话术所属的数字人产品 ID。</p>
|
|
8063
|
+
:type ProductId: str
|
|
8044
8064
|
"""
|
|
8045
8065
|
self._Title = None
|
|
8046
8066
|
self._Content = None
|
|
8047
8067
|
self._RoomId = None
|
|
8048
8068
|
self._SpecifyPosition = None
|
|
8049
8069
|
self._Operator = None
|
|
8070
|
+
self._ProductId = None
|
|
8050
8071
|
|
|
8051
8072
|
@property
|
|
8052
8073
|
def Title(self):
|
|
8053
|
-
r"""
|
|
8074
|
+
r"""<p>话术标题。限制500字节。</p>
|
|
8054
8075
|
:rtype: str
|
|
8055
8076
|
"""
|
|
8056
8077
|
return self._Title
|
|
@@ -8061,7 +8082,7 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
|
|
|
8061
8082
|
|
|
8062
8083
|
@property
|
|
8063
8084
|
def Content(self):
|
|
8064
|
-
r"""
|
|
8085
|
+
r"""<p>话术内容。中文最大支持150个汉字(全角标点符号算一个汉字);英文最大支持500个字母(半角标点符号算一个字母)。</p>
|
|
8065
8086
|
:rtype: str
|
|
8066
8087
|
"""
|
|
8067
8088
|
return self._Content
|
|
@@ -8072,7 +8093,7 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
|
|
|
8072
8093
|
|
|
8073
8094
|
@property
|
|
8074
8095
|
def RoomId(self):
|
|
8075
|
-
r"""
|
|
8096
|
+
r"""<p>话术所属的数字人直播间 ID。</p>
|
|
8076
8097
|
:rtype: str
|
|
8077
8098
|
"""
|
|
8078
8099
|
return self._RoomId
|
|
@@ -8083,9 +8104,7 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
|
|
|
8083
8104
|
|
|
8084
8105
|
@property
|
|
8085
8106
|
def SpecifyPosition(self):
|
|
8086
|
-
r"""
|
|
8087
|
-
如已有三条话术100,200,300。
|
|
8088
|
-
新话术可选择150插入到第一条和第二条中间。
|
|
8107
|
+
r"""<p>话术插入时,可根据已有话术位置,指定新话术插入位置。<br>如已有三条话术100,200,300。<br>新话术可选择150插入到第一条和第二条中间。</p>
|
|
8089
8108
|
:rtype: int
|
|
8090
8109
|
"""
|
|
8091
8110
|
return self._SpecifyPosition
|
|
@@ -8096,7 +8115,7 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
|
|
|
8096
8115
|
|
|
8097
8116
|
@property
|
|
8098
8117
|
def Operator(self):
|
|
8099
|
-
r"""
|
|
8118
|
+
r"""<p>操作者。</p>
|
|
8100
8119
|
:rtype: str
|
|
8101
8120
|
"""
|
|
8102
8121
|
return self._Operator
|
|
@@ -8105,6 +8124,17 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
|
|
|
8105
8124
|
def Operator(self, Operator):
|
|
8106
8125
|
self._Operator = Operator
|
|
8107
8126
|
|
|
8127
|
+
@property
|
|
8128
|
+
def ProductId(self):
|
|
8129
|
+
r"""<p>话术所属的数字人产品 ID。</p>
|
|
8130
|
+
:rtype: str
|
|
8131
|
+
"""
|
|
8132
|
+
return self._ProductId
|
|
8133
|
+
|
|
8134
|
+
@ProductId.setter
|
|
8135
|
+
def ProductId(self, ProductId):
|
|
8136
|
+
self._ProductId = ProductId
|
|
8137
|
+
|
|
8108
8138
|
|
|
8109
8139
|
def _deserialize(self, params):
|
|
8110
8140
|
self._Title = params.get("Title")
|
|
@@ -8112,6 +8142,7 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
|
|
|
8112
8142
|
self._RoomId = params.get("RoomId")
|
|
8113
8143
|
self._SpecifyPosition = params.get("SpecifyPosition")
|
|
8114
8144
|
self._Operator = params.get("Operator")
|
|
8145
|
+
self._ProductId = params.get("ProductId")
|
|
8115
8146
|
memeber_set = set(params.keys())
|
|
8116
8147
|
for name, value in vars(self).items():
|
|
8117
8148
|
property_name = name[1:]
|
|
@@ -8129,7 +8160,7 @@ class CreateLiveAvatarScriptResponse(AbstractModel):
|
|
|
8129
8160
|
|
|
8130
8161
|
def __init__(self):
|
|
8131
8162
|
r"""
|
|
8132
|
-
:param _ScriptId:
|
|
8163
|
+
:param _ScriptId: <p>话术 ID。</p>
|
|
8133
8164
|
:type ScriptId: str
|
|
8134
8165
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8135
8166
|
:type RequestId: str
|
|
@@ -8139,7 +8170,7 @@ class CreateLiveAvatarScriptResponse(AbstractModel):
|
|
|
8139
8170
|
|
|
8140
8171
|
@property
|
|
8141
8172
|
def ScriptId(self):
|
|
8142
|
-
r"""
|
|
8173
|
+
r"""<p>话术 ID。</p>
|
|
8143
8174
|
:rtype: str
|
|
8144
8175
|
"""
|
|
8145
8176
|
return self._ScriptId
|
|
@@ -18432,23 +18463,26 @@ class DescribeLiveAvatarScriptsRequest(AbstractModel):
|
|
|
18432
18463
|
|
|
18433
18464
|
def __init__(self):
|
|
18434
18465
|
r"""
|
|
18435
|
-
:param _RoomId:
|
|
18466
|
+
:param _RoomId: <p>数字人直播间 ID。</p>
|
|
18436
18467
|
:type RoomId: str
|
|
18437
|
-
:param _ScriptId:
|
|
18468
|
+
:param _ScriptId: <p>数字人直播间话术 ID。</p>
|
|
18438
18469
|
:type ScriptId: str
|
|
18439
|
-
:param _PageIndex:
|
|
18470
|
+
:param _PageIndex: <p>分页查询的页数。</p>
|
|
18440
18471
|
:type PageIndex: int
|
|
18441
|
-
:param _PageSize:
|
|
18472
|
+
:param _PageSize: <p>分页查询的每页个数。</p>
|
|
18442
18473
|
:type PageSize: int
|
|
18474
|
+
:param _ProductId: <p>数字人该话术所属的产品 ID。</p>
|
|
18475
|
+
:type ProductId: str
|
|
18443
18476
|
"""
|
|
18444
18477
|
self._RoomId = None
|
|
18445
18478
|
self._ScriptId = None
|
|
18446
18479
|
self._PageIndex = None
|
|
18447
18480
|
self._PageSize = None
|
|
18481
|
+
self._ProductId = None
|
|
18448
18482
|
|
|
18449
18483
|
@property
|
|
18450
18484
|
def RoomId(self):
|
|
18451
|
-
r"""
|
|
18485
|
+
r"""<p>数字人直播间 ID。</p>
|
|
18452
18486
|
:rtype: str
|
|
18453
18487
|
"""
|
|
18454
18488
|
return self._RoomId
|
|
@@ -18459,7 +18493,7 @@ class DescribeLiveAvatarScriptsRequest(AbstractModel):
|
|
|
18459
18493
|
|
|
18460
18494
|
@property
|
|
18461
18495
|
def ScriptId(self):
|
|
18462
|
-
r"""
|
|
18496
|
+
r"""<p>数字人直播间话术 ID。</p>
|
|
18463
18497
|
:rtype: str
|
|
18464
18498
|
"""
|
|
18465
18499
|
return self._ScriptId
|
|
@@ -18470,7 +18504,7 @@ class DescribeLiveAvatarScriptsRequest(AbstractModel):
|
|
|
18470
18504
|
|
|
18471
18505
|
@property
|
|
18472
18506
|
def PageIndex(self):
|
|
18473
|
-
r"""
|
|
18507
|
+
r"""<p>分页查询的页数。</p>
|
|
18474
18508
|
:rtype: int
|
|
18475
18509
|
"""
|
|
18476
18510
|
return self._PageIndex
|
|
@@ -18481,7 +18515,7 @@ class DescribeLiveAvatarScriptsRequest(AbstractModel):
|
|
|
18481
18515
|
|
|
18482
18516
|
@property
|
|
18483
18517
|
def PageSize(self):
|
|
18484
|
-
r"""
|
|
18518
|
+
r"""<p>分页查询的每页个数。</p>
|
|
18485
18519
|
:rtype: int
|
|
18486
18520
|
"""
|
|
18487
18521
|
return self._PageSize
|
|
@@ -18490,12 +18524,24 @@ class DescribeLiveAvatarScriptsRequest(AbstractModel):
|
|
|
18490
18524
|
def PageSize(self, PageSize):
|
|
18491
18525
|
self._PageSize = PageSize
|
|
18492
18526
|
|
|
18527
|
+
@property
|
|
18528
|
+
def ProductId(self):
|
|
18529
|
+
r"""<p>数字人该话术所属的产品 ID。</p>
|
|
18530
|
+
:rtype: str
|
|
18531
|
+
"""
|
|
18532
|
+
return self._ProductId
|
|
18533
|
+
|
|
18534
|
+
@ProductId.setter
|
|
18535
|
+
def ProductId(self, ProductId):
|
|
18536
|
+
self._ProductId = ProductId
|
|
18537
|
+
|
|
18493
18538
|
|
|
18494
18539
|
def _deserialize(self, params):
|
|
18495
18540
|
self._RoomId = params.get("RoomId")
|
|
18496
18541
|
self._ScriptId = params.get("ScriptId")
|
|
18497
18542
|
self._PageIndex = params.get("PageIndex")
|
|
18498
18543
|
self._PageSize = params.get("PageSize")
|
|
18544
|
+
self._ProductId = params.get("ProductId")
|
|
18499
18545
|
memeber_set = set(params.keys())
|
|
18500
18546
|
for name, value in vars(self).items():
|
|
18501
18547
|
property_name = name[1:]
|
|
@@ -18513,11 +18559,11 @@ class DescribeLiveAvatarScriptsResponse(AbstractModel):
|
|
|
18513
18559
|
|
|
18514
18560
|
def __init__(self):
|
|
18515
18561
|
r"""
|
|
18516
|
-
:param _InfoList:
|
|
18562
|
+
:param _InfoList: <p>数字人直播间话术信息列表。</p>
|
|
18517
18563
|
:type InfoList: list of AvatarScriptInfo
|
|
18518
|
-
:param _LimitCreateNum:
|
|
18564
|
+
:param _LimitCreateNum: <p>限制可创建的数字人直播间话术总条数。</p>
|
|
18519
18565
|
:type LimitCreateNum: int
|
|
18520
|
-
:param _TotalNum:
|
|
18566
|
+
:param _TotalNum: <p>当前数字人直播间话术总条数。</p>
|
|
18521
18567
|
:type TotalNum: int
|
|
18522
18568
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18523
18569
|
:type RequestId: str
|
|
@@ -18529,7 +18575,7 @@ class DescribeLiveAvatarScriptsResponse(AbstractModel):
|
|
|
18529
18575
|
|
|
18530
18576
|
@property
|
|
18531
18577
|
def InfoList(self):
|
|
18532
|
-
r"""
|
|
18578
|
+
r"""<p>数字人直播间话术信息列表。</p>
|
|
18533
18579
|
:rtype: list of AvatarScriptInfo
|
|
18534
18580
|
"""
|
|
18535
18581
|
return self._InfoList
|
|
@@ -18540,7 +18586,7 @@ class DescribeLiveAvatarScriptsResponse(AbstractModel):
|
|
|
18540
18586
|
|
|
18541
18587
|
@property
|
|
18542
18588
|
def LimitCreateNum(self):
|
|
18543
|
-
r"""
|
|
18589
|
+
r"""<p>限制可创建的数字人直播间话术总条数。</p>
|
|
18544
18590
|
:rtype: int
|
|
18545
18591
|
"""
|
|
18546
18592
|
return self._LimitCreateNum
|
|
@@ -18551,7 +18597,7 @@ class DescribeLiveAvatarScriptsResponse(AbstractModel):
|
|
|
18551
18597
|
|
|
18552
18598
|
@property
|
|
18553
18599
|
def TotalNum(self):
|
|
18554
|
-
r"""
|
|
18600
|
+
r"""<p>当前数字人直播间话术总条数。</p>
|
|
18555
18601
|
:rtype: int
|
|
18556
18602
|
"""
|
|
18557
18603
|
return self._TotalNum
|
|
@@ -32772,34 +32818,30 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32772
32818
|
|
|
32773
32819
|
def __init__(self):
|
|
32774
32820
|
r"""
|
|
32775
|
-
:param _RoomId:
|
|
32821
|
+
:param _RoomId: <p>数字人直播间 ID。</p>
|
|
32776
32822
|
:type RoomId: str
|
|
32777
|
-
:param _Name:
|
|
32823
|
+
:param _Name: <p>直播间名称。</p>
|
|
32778
32824
|
:type Name: str
|
|
32779
|
-
:param _AvatarKey:
|
|
32825
|
+
:param _AvatarKey: <p>数字人形象KEY。</p>
|
|
32780
32826
|
:type AvatarKey: str
|
|
32781
|
-
:param _TimbreKey:
|
|
32827
|
+
:param _TimbreKey: <p>音色KEY。</p>
|
|
32782
32828
|
:type TimbreKey: str
|
|
32783
|
-
:param _BackgroundUrl:
|
|
32829
|
+
:param _BackgroundUrl: <p>背景图片URL。</p>
|
|
32784
32830
|
:type BackgroundUrl: str
|
|
32785
|
-
:param _AnchorScale:
|
|
32786
|
-
取值范围(0, 15.00]。
|
|
32787
|
-
精度:使用小数点后两位。
|
|
32831
|
+
:param _AnchorScale: <p>主播大小,默认1.00。<br>取值范围(0, 15.00]。<br>精度:使用小数点后两位。</p>
|
|
32788
32832
|
:type AnchorScale: float
|
|
32789
|
-
:param _AnchorVerticalPos:
|
|
32790
|
-
左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。
|
|
32791
|
-
即该纵向位置最大为:数字人分辨率的高 - 形象高。
|
|
32833
|
+
:param _AnchorVerticalPos: <p>主播纵向位置。默认-1贴底部。<br>左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。<br>即该纵向位置最大为:数字人分辨率的高 - 形象高。</p>
|
|
32792
32834
|
:type AnchorVerticalPos: int
|
|
32793
|
-
:param _AnchorHorizontalPos:
|
|
32794
|
-
左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。
|
|
32795
|
-
即最大值为:数字人分辨率的宽 - 形象宽。
|
|
32835
|
+
:param _AnchorHorizontalPos: <p>主播横向位置。默认-1居中。<br>左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。<br>即最大值为:数字人分辨率的宽 - 形象宽。</p>
|
|
32796
32836
|
:type AnchorHorizontalPos: int
|
|
32797
|
-
:param _SpeechSpeed:
|
|
32837
|
+
:param _SpeechSpeed: <p>语速(1.0为正常语速,范围[0.6-2.5],值为0.6时播报语速最慢,值为2.5时播报语速最快。</p>
|
|
32798
32838
|
:type SpeechSpeed: float
|
|
32799
|
-
:param _SpeechVolume:
|
|
32839
|
+
:param _SpeechVolume: <p>音量大小,范围[0,10],对应音量大小。默认为5,代表正常音量,值越大音量越高。</p>
|
|
32800
32840
|
:type SpeechVolume: int
|
|
32801
|
-
:param _Operator:
|
|
32841
|
+
:param _Operator: <p>操作者。</p>
|
|
32802
32842
|
:type Operator: str
|
|
32843
|
+
:param _RoomType: <p>房间类型。AIGC:AIGC形象房间;PRESET:预设形象房间</p><p>枚举值:</p><ul><li>AIGC: AIGC形象房间</li><li>PRESET: 预设形象房间</li></ul>
|
|
32844
|
+
:type RoomType: str
|
|
32803
32845
|
"""
|
|
32804
32846
|
self._RoomId = None
|
|
32805
32847
|
self._Name = None
|
|
@@ -32812,10 +32854,11 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32812
32854
|
self._SpeechSpeed = None
|
|
32813
32855
|
self._SpeechVolume = None
|
|
32814
32856
|
self._Operator = None
|
|
32857
|
+
self._RoomType = None
|
|
32815
32858
|
|
|
32816
32859
|
@property
|
|
32817
32860
|
def RoomId(self):
|
|
32818
|
-
r"""
|
|
32861
|
+
r"""<p>数字人直播间 ID。</p>
|
|
32819
32862
|
:rtype: str
|
|
32820
32863
|
"""
|
|
32821
32864
|
return self._RoomId
|
|
@@ -32826,7 +32869,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32826
32869
|
|
|
32827
32870
|
@property
|
|
32828
32871
|
def Name(self):
|
|
32829
|
-
r"""
|
|
32872
|
+
r"""<p>直播间名称。</p>
|
|
32830
32873
|
:rtype: str
|
|
32831
32874
|
"""
|
|
32832
32875
|
return self._Name
|
|
@@ -32837,7 +32880,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32837
32880
|
|
|
32838
32881
|
@property
|
|
32839
32882
|
def AvatarKey(self):
|
|
32840
|
-
r"""
|
|
32883
|
+
r"""<p>数字人形象KEY。</p>
|
|
32841
32884
|
:rtype: str
|
|
32842
32885
|
"""
|
|
32843
32886
|
return self._AvatarKey
|
|
@@ -32848,7 +32891,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32848
32891
|
|
|
32849
32892
|
@property
|
|
32850
32893
|
def TimbreKey(self):
|
|
32851
|
-
r"""
|
|
32894
|
+
r"""<p>音色KEY。</p>
|
|
32852
32895
|
:rtype: str
|
|
32853
32896
|
"""
|
|
32854
32897
|
return self._TimbreKey
|
|
@@ -32859,7 +32902,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32859
32902
|
|
|
32860
32903
|
@property
|
|
32861
32904
|
def BackgroundUrl(self):
|
|
32862
|
-
r"""
|
|
32905
|
+
r"""<p>背景图片URL。</p>
|
|
32863
32906
|
:rtype: str
|
|
32864
32907
|
"""
|
|
32865
32908
|
return self._BackgroundUrl
|
|
@@ -32870,9 +32913,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32870
32913
|
|
|
32871
32914
|
@property
|
|
32872
32915
|
def AnchorScale(self):
|
|
32873
|
-
r"""
|
|
32874
|
-
取值范围(0, 15.00]。
|
|
32875
|
-
精度:使用小数点后两位。
|
|
32916
|
+
r"""<p>主播大小,默认1.00。<br>取值范围(0, 15.00]。<br>精度:使用小数点后两位。</p>
|
|
32876
32917
|
:rtype: float
|
|
32877
32918
|
"""
|
|
32878
32919
|
return self._AnchorScale
|
|
@@ -32883,9 +32924,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32883
32924
|
|
|
32884
32925
|
@property
|
|
32885
32926
|
def AnchorVerticalPos(self):
|
|
32886
|
-
r"""
|
|
32887
|
-
左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。
|
|
32888
|
-
即该纵向位置最大为:数字人分辨率的高 - 形象高。
|
|
32927
|
+
r"""<p>主播纵向位置。默认-1贴底部。<br>左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。<br>即该纵向位置最大为:数字人分辨率的高 - 形象高。</p>
|
|
32889
32928
|
:rtype: int
|
|
32890
32929
|
"""
|
|
32891
32930
|
return self._AnchorVerticalPos
|
|
@@ -32896,9 +32935,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32896
32935
|
|
|
32897
32936
|
@property
|
|
32898
32937
|
def AnchorHorizontalPos(self):
|
|
32899
|
-
r"""
|
|
32900
|
-
左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。
|
|
32901
|
-
即最大值为:数字人分辨率的宽 - 形象宽。
|
|
32938
|
+
r"""<p>主播横向位置。默认-1居中。<br>左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。<br>即最大值为:数字人分辨率的宽 - 形象宽。</p>
|
|
32902
32939
|
:rtype: int
|
|
32903
32940
|
"""
|
|
32904
32941
|
return self._AnchorHorizontalPos
|
|
@@ -32909,7 +32946,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32909
32946
|
|
|
32910
32947
|
@property
|
|
32911
32948
|
def SpeechSpeed(self):
|
|
32912
|
-
r"""
|
|
32949
|
+
r"""<p>语速(1.0为正常语速,范围[0.6-2.5],值为0.6时播报语速最慢,值为2.5时播报语速最快。</p>
|
|
32913
32950
|
:rtype: float
|
|
32914
32951
|
"""
|
|
32915
32952
|
return self._SpeechSpeed
|
|
@@ -32920,7 +32957,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32920
32957
|
|
|
32921
32958
|
@property
|
|
32922
32959
|
def SpeechVolume(self):
|
|
32923
|
-
r"""
|
|
32960
|
+
r"""<p>音量大小,范围[0,10],对应音量大小。默认为5,代表正常音量,值越大音量越高。</p>
|
|
32924
32961
|
:rtype: int
|
|
32925
32962
|
"""
|
|
32926
32963
|
return self._SpeechVolume
|
|
@@ -32931,7 +32968,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32931
32968
|
|
|
32932
32969
|
@property
|
|
32933
32970
|
def Operator(self):
|
|
32934
|
-
r"""
|
|
32971
|
+
r"""<p>操作者。</p>
|
|
32935
32972
|
:rtype: str
|
|
32936
32973
|
"""
|
|
32937
32974
|
return self._Operator
|
|
@@ -32940,6 +32977,17 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32940
32977
|
def Operator(self, Operator):
|
|
32941
32978
|
self._Operator = Operator
|
|
32942
32979
|
|
|
32980
|
+
@property
|
|
32981
|
+
def RoomType(self):
|
|
32982
|
+
r"""<p>房间类型。AIGC:AIGC形象房间;PRESET:预设形象房间</p><p>枚举值:</p><ul><li>AIGC: AIGC形象房间</li><li>PRESET: 预设形象房间</li></ul>
|
|
32983
|
+
:rtype: str
|
|
32984
|
+
"""
|
|
32985
|
+
return self._RoomType
|
|
32986
|
+
|
|
32987
|
+
@RoomType.setter
|
|
32988
|
+
def RoomType(self, RoomType):
|
|
32989
|
+
self._RoomType = RoomType
|
|
32990
|
+
|
|
32943
32991
|
|
|
32944
32992
|
def _deserialize(self, params):
|
|
32945
32993
|
self._RoomId = params.get("RoomId")
|
|
@@ -32953,6 +33001,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
|
|
|
32953
33001
|
self._SpeechSpeed = params.get("SpeechSpeed")
|
|
32954
33002
|
self._SpeechVolume = params.get("SpeechVolume")
|
|
32955
33003
|
self._Operator = params.get("Operator")
|
|
33004
|
+
self._RoomType = params.get("RoomType")
|
|
32956
33005
|
memeber_set = set(params.keys())
|
|
32957
33006
|
for name, value in vars(self).items():
|
|
32958
33007
|
property_name = name[1:]
|
|
@@ -36521,28 +36570,26 @@ class PadTemplate(AbstractModel):
|
|
|
36521
36570
|
|
|
36522
36571
|
def __init__(self):
|
|
36523
36572
|
r"""
|
|
36524
|
-
:param _TemplateId:
|
|
36573
|
+
:param _TemplateId: <p>模板id。</p>
|
|
36525
36574
|
:type TemplateId: int
|
|
36526
|
-
:param _TemplateName:
|
|
36575
|
+
:param _TemplateName: <p>模板名称。</p>
|
|
36527
36576
|
:type TemplateName: str
|
|
36528
|
-
:param _Url:
|
|
36577
|
+
:param _Url: <p>垫片内容。</p>
|
|
36529
36578
|
:type Url: str
|
|
36530
|
-
:param _CreateTime:
|
|
36579
|
+
:param _CreateTime: <p>模板创建时间。</p>
|
|
36531
36580
|
:type CreateTime: str
|
|
36532
|
-
:param _UpdateTime:
|
|
36581
|
+
:param _UpdateTime: <p>模板修改时间。</p>
|
|
36533
36582
|
:type UpdateTime: str
|
|
36534
|
-
:param _Description:
|
|
36583
|
+
:param _Description: <p>模板描述。</p>
|
|
36535
36584
|
:type Description: str
|
|
36536
|
-
:param _WaitDuration:
|
|
36537
|
-
取值范围:0-30000。
|
|
36538
|
-
单位:ms。
|
|
36585
|
+
:param _WaitDuration: <p>断流等待时间。<br>取值范围:0-30000。<br>单位:ms。</p>
|
|
36539
36586
|
:type WaitDuration: int
|
|
36540
|
-
:param _MaxDuration:
|
|
36541
|
-
取值范围:0 - 正无穷。
|
|
36542
|
-
单位:ms。
|
|
36587
|
+
:param _MaxDuration: <p>最大垫片时长。<br>取值范围:0 - 正无穷。<br>单位:ms。</p>
|
|
36543
36588
|
:type MaxDuration: int
|
|
36544
|
-
:param _Type:
|
|
36589
|
+
:param _Type: <p>垫片内容类型: 1:图片,2:视频。 默认值:1。</p>
|
|
36545
36590
|
:type Type: int
|
|
36591
|
+
:param _TriggerCondition: <p>断流垫片触发条件</p><p>枚举值:</p><ul><li>0: 主动及异常断流</li><li>1: 异常断流</li></ul><p>默认值:0</p>
|
|
36592
|
+
:type TriggerCondition: int
|
|
36546
36593
|
"""
|
|
36547
36594
|
self._TemplateId = None
|
|
36548
36595
|
self._TemplateName = None
|
|
@@ -36553,10 +36600,11 @@ class PadTemplate(AbstractModel):
|
|
|
36553
36600
|
self._WaitDuration = None
|
|
36554
36601
|
self._MaxDuration = None
|
|
36555
36602
|
self._Type = None
|
|
36603
|
+
self._TriggerCondition = None
|
|
36556
36604
|
|
|
36557
36605
|
@property
|
|
36558
36606
|
def TemplateId(self):
|
|
36559
|
-
r"""
|
|
36607
|
+
r"""<p>模板id。</p>
|
|
36560
36608
|
:rtype: int
|
|
36561
36609
|
"""
|
|
36562
36610
|
return self._TemplateId
|
|
@@ -36567,7 +36615,7 @@ class PadTemplate(AbstractModel):
|
|
|
36567
36615
|
|
|
36568
36616
|
@property
|
|
36569
36617
|
def TemplateName(self):
|
|
36570
|
-
r"""
|
|
36618
|
+
r"""<p>模板名称。</p>
|
|
36571
36619
|
:rtype: str
|
|
36572
36620
|
"""
|
|
36573
36621
|
return self._TemplateName
|
|
@@ -36578,7 +36626,7 @@ class PadTemplate(AbstractModel):
|
|
|
36578
36626
|
|
|
36579
36627
|
@property
|
|
36580
36628
|
def Url(self):
|
|
36581
|
-
r"""
|
|
36629
|
+
r"""<p>垫片内容。</p>
|
|
36582
36630
|
:rtype: str
|
|
36583
36631
|
"""
|
|
36584
36632
|
return self._Url
|
|
@@ -36589,7 +36637,7 @@ class PadTemplate(AbstractModel):
|
|
|
36589
36637
|
|
|
36590
36638
|
@property
|
|
36591
36639
|
def CreateTime(self):
|
|
36592
|
-
r"""
|
|
36640
|
+
r"""<p>模板创建时间。</p>
|
|
36593
36641
|
:rtype: str
|
|
36594
36642
|
"""
|
|
36595
36643
|
return self._CreateTime
|
|
@@ -36600,7 +36648,7 @@ class PadTemplate(AbstractModel):
|
|
|
36600
36648
|
|
|
36601
36649
|
@property
|
|
36602
36650
|
def UpdateTime(self):
|
|
36603
|
-
r"""
|
|
36651
|
+
r"""<p>模板修改时间。</p>
|
|
36604
36652
|
:rtype: str
|
|
36605
36653
|
"""
|
|
36606
36654
|
return self._UpdateTime
|
|
@@ -36611,7 +36659,7 @@ class PadTemplate(AbstractModel):
|
|
|
36611
36659
|
|
|
36612
36660
|
@property
|
|
36613
36661
|
def Description(self):
|
|
36614
|
-
r"""
|
|
36662
|
+
r"""<p>模板描述。</p>
|
|
36615
36663
|
:rtype: str
|
|
36616
36664
|
"""
|
|
36617
36665
|
return self._Description
|
|
@@ -36622,9 +36670,7 @@ class PadTemplate(AbstractModel):
|
|
|
36622
36670
|
|
|
36623
36671
|
@property
|
|
36624
36672
|
def WaitDuration(self):
|
|
36625
|
-
r"""
|
|
36626
|
-
取值范围:0-30000。
|
|
36627
|
-
单位:ms。
|
|
36673
|
+
r"""<p>断流等待时间。<br>取值范围:0-30000。<br>单位:ms。</p>
|
|
36628
36674
|
:rtype: int
|
|
36629
36675
|
"""
|
|
36630
36676
|
return self._WaitDuration
|
|
@@ -36635,9 +36681,7 @@ class PadTemplate(AbstractModel):
|
|
|
36635
36681
|
|
|
36636
36682
|
@property
|
|
36637
36683
|
def MaxDuration(self):
|
|
36638
|
-
r"""
|
|
36639
|
-
取值范围:0 - 正无穷。
|
|
36640
|
-
单位:ms。
|
|
36684
|
+
r"""<p>最大垫片时长。<br>取值范围:0 - 正无穷。<br>单位:ms。</p>
|
|
36641
36685
|
:rtype: int
|
|
36642
36686
|
"""
|
|
36643
36687
|
return self._MaxDuration
|
|
@@ -36648,7 +36692,7 @@ class PadTemplate(AbstractModel):
|
|
|
36648
36692
|
|
|
36649
36693
|
@property
|
|
36650
36694
|
def Type(self):
|
|
36651
|
-
r"""
|
|
36695
|
+
r"""<p>垫片内容类型: 1:图片,2:视频。 默认值:1。</p>
|
|
36652
36696
|
:rtype: int
|
|
36653
36697
|
"""
|
|
36654
36698
|
return self._Type
|
|
@@ -36657,6 +36701,17 @@ class PadTemplate(AbstractModel):
|
|
|
36657
36701
|
def Type(self, Type):
|
|
36658
36702
|
self._Type = Type
|
|
36659
36703
|
|
|
36704
|
+
@property
|
|
36705
|
+
def TriggerCondition(self):
|
|
36706
|
+
r"""<p>断流垫片触发条件</p><p>枚举值:</p><ul><li>0: 主动及异常断流</li><li>1: 异常断流</li></ul><p>默认值:0</p>
|
|
36707
|
+
:rtype: int
|
|
36708
|
+
"""
|
|
36709
|
+
return self._TriggerCondition
|
|
36710
|
+
|
|
36711
|
+
@TriggerCondition.setter
|
|
36712
|
+
def TriggerCondition(self, TriggerCondition):
|
|
36713
|
+
self._TriggerCondition = TriggerCondition
|
|
36714
|
+
|
|
36660
36715
|
|
|
36661
36716
|
def _deserialize(self, params):
|
|
36662
36717
|
self._TemplateId = params.get("TemplateId")
|
|
@@ -36668,6 +36723,7 @@ class PadTemplate(AbstractModel):
|
|
|
36668
36723
|
self._WaitDuration = params.get("WaitDuration")
|
|
36669
36724
|
self._MaxDuration = params.get("MaxDuration")
|
|
36670
36725
|
self._Type = params.get("Type")
|
|
36726
|
+
self._TriggerCondition = params.get("TriggerCondition")
|
|
36671
36727
|
memeber_set = set(params.keys())
|
|
36672
36728
|
for name, value in vars(self).items():
|
|
36673
36729
|
property_name = name[1:]
|
|
@@ -40819,23 +40875,26 @@ class StartLiveAvatarRoomRequest(AbstractModel):
|
|
|
40819
40875
|
|
|
40820
40876
|
def __init__(self):
|
|
40821
40877
|
r"""
|
|
40822
|
-
:param _RoomId:
|
|
40878
|
+
:param _RoomId: <p>数字人直播间 ID。</p>
|
|
40823
40879
|
:type RoomId: str
|
|
40824
|
-
:param _Comment:
|
|
40880
|
+
:param _Comment: <p>目标地址描述。</p>
|
|
40825
40881
|
:type Comment: str
|
|
40826
|
-
:param _ToUrl:
|
|
40882
|
+
:param _ToUrl: <p>推流目标地址。</p>
|
|
40827
40883
|
:type ToUrl: str
|
|
40828
|
-
:param _Operator:
|
|
40884
|
+
:param _Operator: <p>操作者。</p>
|
|
40829
40885
|
:type Operator: str
|
|
40886
|
+
:param _RoomType: <p>房间类型。AIGC:AIGC形象房间;PRESET:预设形象房间</p><p>枚举值:</p><ul><li>AIGC: AIGC形象房间</li><li>PRESET: 预设形象房间</li></ul>
|
|
40887
|
+
:type RoomType: str
|
|
40830
40888
|
"""
|
|
40831
40889
|
self._RoomId = None
|
|
40832
40890
|
self._Comment = None
|
|
40833
40891
|
self._ToUrl = None
|
|
40834
40892
|
self._Operator = None
|
|
40893
|
+
self._RoomType = None
|
|
40835
40894
|
|
|
40836
40895
|
@property
|
|
40837
40896
|
def RoomId(self):
|
|
40838
|
-
r"""
|
|
40897
|
+
r"""<p>数字人直播间 ID。</p>
|
|
40839
40898
|
:rtype: str
|
|
40840
40899
|
"""
|
|
40841
40900
|
return self._RoomId
|
|
@@ -40846,7 +40905,7 @@ class StartLiveAvatarRoomRequest(AbstractModel):
|
|
|
40846
40905
|
|
|
40847
40906
|
@property
|
|
40848
40907
|
def Comment(self):
|
|
40849
|
-
r"""
|
|
40908
|
+
r"""<p>目标地址描述。</p>
|
|
40850
40909
|
:rtype: str
|
|
40851
40910
|
"""
|
|
40852
40911
|
return self._Comment
|
|
@@ -40857,7 +40916,7 @@ class StartLiveAvatarRoomRequest(AbstractModel):
|
|
|
40857
40916
|
|
|
40858
40917
|
@property
|
|
40859
40918
|
def ToUrl(self):
|
|
40860
|
-
r"""
|
|
40919
|
+
r"""<p>推流目标地址。</p>
|
|
40861
40920
|
:rtype: str
|
|
40862
40921
|
"""
|
|
40863
40922
|
return self._ToUrl
|
|
@@ -40868,7 +40927,7 @@ class StartLiveAvatarRoomRequest(AbstractModel):
|
|
|
40868
40927
|
|
|
40869
40928
|
@property
|
|
40870
40929
|
def Operator(self):
|
|
40871
|
-
r"""
|
|
40930
|
+
r"""<p>操作者。</p>
|
|
40872
40931
|
:rtype: str
|
|
40873
40932
|
"""
|
|
40874
40933
|
return self._Operator
|
|
@@ -40877,12 +40936,24 @@ class StartLiveAvatarRoomRequest(AbstractModel):
|
|
|
40877
40936
|
def Operator(self, Operator):
|
|
40878
40937
|
self._Operator = Operator
|
|
40879
40938
|
|
|
40939
|
+
@property
|
|
40940
|
+
def RoomType(self):
|
|
40941
|
+
r"""<p>房间类型。AIGC:AIGC形象房间;PRESET:预设形象房间</p><p>枚举值:</p><ul><li>AIGC: AIGC形象房间</li><li>PRESET: 预设形象房间</li></ul>
|
|
40942
|
+
:rtype: str
|
|
40943
|
+
"""
|
|
40944
|
+
return self._RoomType
|
|
40945
|
+
|
|
40946
|
+
@RoomType.setter
|
|
40947
|
+
def RoomType(self, RoomType):
|
|
40948
|
+
self._RoomType = RoomType
|
|
40949
|
+
|
|
40880
40950
|
|
|
40881
40951
|
def _deserialize(self, params):
|
|
40882
40952
|
self._RoomId = params.get("RoomId")
|
|
40883
40953
|
self._Comment = params.get("Comment")
|
|
40884
40954
|
self._ToUrl = params.get("ToUrl")
|
|
40885
40955
|
self._Operator = params.get("Operator")
|
|
40956
|
+
self._RoomType = params.get("RoomType")
|
|
40886
40957
|
memeber_set = set(params.keys())
|
|
40887
40958
|
for name, value in vars(self).items():
|
|
40888
40959
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-live
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.78
|
|
4
4
|
Summary: Tencent Cloud Live SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.78
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.78
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.70
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|