tencentcloud-sdk-python-intl-en 3.0.1285__py2.py3-none-any.whl → 3.0.1287__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/cvm/v20170312/errorcodes.py +1 -1
- tencentcloud/cvm/v20170312/models.py +141 -120
- tencentcloud/dlc/v20210125/dlc_client.py +46 -0
- tencentcloud/dlc/v20210125/models.py +424 -14
- tencentcloud/mdl/v20200326/models.py +72 -2
- tencentcloud/mdp/v20200527/models.py +100 -2
- tencentcloud/message/__init__.py +0 -0
- tencentcloud/message/v20181225/__init__.py +0 -0
- tencentcloud/message/v20181225/errorcodes.py +27 -0
- tencentcloud/message/v20181225/message_client.py +49 -0
- tencentcloud/message/v20181225/models.py +138 -0
- tencentcloud/mps/v20190612/errorcodes.py +42 -0
- tencentcloud/mps/v20190612/models.py +810 -43
- tencentcloud/mps/v20190612/mps_client.py +92 -0
- tencentcloud/teo/v20220901/teo_client.py +3 -3
- {tencentcloud_sdk_python_intl_en-3.0.1285.dist-info → tencentcloud_sdk_python_intl_en-3.0.1287.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1285.dist-info → tencentcloud_sdk_python_intl_en-3.0.1287.dist-info}/RECORD +20 -15
- {tencentcloud_sdk_python_intl_en-3.0.1285.dist-info → tencentcloud_sdk_python_intl_en-3.0.1287.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1285.dist-info → tencentcloud_sdk_python_intl_en-3.0.1287.dist-info}/top_level.txt +0 -0
|
@@ -17946,6 +17946,172 @@ class CreateScheduleResponse(AbstractModel):
|
|
|
17946
17946
|
self._RequestId = params.get("RequestId")
|
|
17947
17947
|
|
|
17948
17948
|
|
|
17949
|
+
class CreateSmartEraseTemplateRequest(AbstractModel):
|
|
17950
|
+
r"""CreateSmartEraseTemplate request structure.
|
|
17951
|
+
|
|
17952
|
+
"""
|
|
17953
|
+
|
|
17954
|
+
def __init__(self):
|
|
17955
|
+
r"""
|
|
17956
|
+
:param _Name: Length limit for the smart erasing template name: 64 characters.
|
|
17957
|
+
:type Name: str
|
|
17958
|
+
:param _EraseType: Erasing type.
|
|
17959
|
+
-subtitle: subtitle removal.
|
|
17960
|
+
-watermark: watermark removal.
|
|
17961
|
+
-privacy: privacy protection.
|
|
17962
|
+
:type EraseType: str
|
|
17963
|
+
:param _Comment: Length limit for the description information of the smart erasing template: 256 characters.
|
|
17964
|
+
:type Comment: str
|
|
17965
|
+
:param _EraseSubtitleConfig: Subtitle erasing configuration. This parameter is required and valid only when the value of EraseType is set to subtitle.
|
|
17966
|
+
:type EraseSubtitleConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
|
17967
|
+
:param _EraseWatermarkConfig: Watermark erasing configuration. This parameter is required and valid only when the value of EraseType is set to watermark.
|
|
17968
|
+
:type EraseWatermarkConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
|
17969
|
+
:param _ErasePrivacyConfig: Privacy protection configuration. This parameter is required and valid only when the value of EraseType is set to privacy.
|
|
17970
|
+
:type ErasePrivacyConfig: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
|
17971
|
+
"""
|
|
17972
|
+
self._Name = None
|
|
17973
|
+
self._EraseType = None
|
|
17974
|
+
self._Comment = None
|
|
17975
|
+
self._EraseSubtitleConfig = None
|
|
17976
|
+
self._EraseWatermarkConfig = None
|
|
17977
|
+
self._ErasePrivacyConfig = None
|
|
17978
|
+
|
|
17979
|
+
@property
|
|
17980
|
+
def Name(self):
|
|
17981
|
+
r"""Length limit for the smart erasing template name: 64 characters.
|
|
17982
|
+
:rtype: str
|
|
17983
|
+
"""
|
|
17984
|
+
return self._Name
|
|
17985
|
+
|
|
17986
|
+
@Name.setter
|
|
17987
|
+
def Name(self, Name):
|
|
17988
|
+
self._Name = Name
|
|
17989
|
+
|
|
17990
|
+
@property
|
|
17991
|
+
def EraseType(self):
|
|
17992
|
+
r"""Erasing type.
|
|
17993
|
+
-subtitle: subtitle removal.
|
|
17994
|
+
-watermark: watermark removal.
|
|
17995
|
+
-privacy: privacy protection.
|
|
17996
|
+
:rtype: str
|
|
17997
|
+
"""
|
|
17998
|
+
return self._EraseType
|
|
17999
|
+
|
|
18000
|
+
@EraseType.setter
|
|
18001
|
+
def EraseType(self, EraseType):
|
|
18002
|
+
self._EraseType = EraseType
|
|
18003
|
+
|
|
18004
|
+
@property
|
|
18005
|
+
def Comment(self):
|
|
18006
|
+
r"""Length limit for the description information of the smart erasing template: 256 characters.
|
|
18007
|
+
:rtype: str
|
|
18008
|
+
"""
|
|
18009
|
+
return self._Comment
|
|
18010
|
+
|
|
18011
|
+
@Comment.setter
|
|
18012
|
+
def Comment(self, Comment):
|
|
18013
|
+
self._Comment = Comment
|
|
18014
|
+
|
|
18015
|
+
@property
|
|
18016
|
+
def EraseSubtitleConfig(self):
|
|
18017
|
+
r"""Subtitle erasing configuration. This parameter is required and valid only when the value of EraseType is set to subtitle.
|
|
18018
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
|
18019
|
+
"""
|
|
18020
|
+
return self._EraseSubtitleConfig
|
|
18021
|
+
|
|
18022
|
+
@EraseSubtitleConfig.setter
|
|
18023
|
+
def EraseSubtitleConfig(self, EraseSubtitleConfig):
|
|
18024
|
+
self._EraseSubtitleConfig = EraseSubtitleConfig
|
|
18025
|
+
|
|
18026
|
+
@property
|
|
18027
|
+
def EraseWatermarkConfig(self):
|
|
18028
|
+
r"""Watermark erasing configuration. This parameter is required and valid only when the value of EraseType is set to watermark.
|
|
18029
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
|
18030
|
+
"""
|
|
18031
|
+
return self._EraseWatermarkConfig
|
|
18032
|
+
|
|
18033
|
+
@EraseWatermarkConfig.setter
|
|
18034
|
+
def EraseWatermarkConfig(self, EraseWatermarkConfig):
|
|
18035
|
+
self._EraseWatermarkConfig = EraseWatermarkConfig
|
|
18036
|
+
|
|
18037
|
+
@property
|
|
18038
|
+
def ErasePrivacyConfig(self):
|
|
18039
|
+
r"""Privacy protection configuration. This parameter is required and valid only when the value of EraseType is set to privacy.
|
|
18040
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
|
18041
|
+
"""
|
|
18042
|
+
return self._ErasePrivacyConfig
|
|
18043
|
+
|
|
18044
|
+
@ErasePrivacyConfig.setter
|
|
18045
|
+
def ErasePrivacyConfig(self, ErasePrivacyConfig):
|
|
18046
|
+
self._ErasePrivacyConfig = ErasePrivacyConfig
|
|
18047
|
+
|
|
18048
|
+
|
|
18049
|
+
def _deserialize(self, params):
|
|
18050
|
+
self._Name = params.get("Name")
|
|
18051
|
+
self._EraseType = params.get("EraseType")
|
|
18052
|
+
self._Comment = params.get("Comment")
|
|
18053
|
+
if params.get("EraseSubtitleConfig") is not None:
|
|
18054
|
+
self._EraseSubtitleConfig = SmartEraseSubtitleConfig()
|
|
18055
|
+
self._EraseSubtitleConfig._deserialize(params.get("EraseSubtitleConfig"))
|
|
18056
|
+
if params.get("EraseWatermarkConfig") is not None:
|
|
18057
|
+
self._EraseWatermarkConfig = SmartEraseWatermarkConfig()
|
|
18058
|
+
self._EraseWatermarkConfig._deserialize(params.get("EraseWatermarkConfig"))
|
|
18059
|
+
if params.get("ErasePrivacyConfig") is not None:
|
|
18060
|
+
self._ErasePrivacyConfig = SmartErasePrivacyConfig()
|
|
18061
|
+
self._ErasePrivacyConfig._deserialize(params.get("ErasePrivacyConfig"))
|
|
18062
|
+
memeber_set = set(params.keys())
|
|
18063
|
+
for name, value in vars(self).items():
|
|
18064
|
+
property_name = name[1:]
|
|
18065
|
+
if property_name in memeber_set:
|
|
18066
|
+
memeber_set.remove(property_name)
|
|
18067
|
+
if len(memeber_set) > 0:
|
|
18068
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18069
|
+
|
|
18070
|
+
|
|
18071
|
+
|
|
18072
|
+
class CreateSmartEraseTemplateResponse(AbstractModel):
|
|
18073
|
+
r"""CreateSmartEraseTemplate response structure.
|
|
18074
|
+
|
|
18075
|
+
"""
|
|
18076
|
+
|
|
18077
|
+
def __init__(self):
|
|
18078
|
+
r"""
|
|
18079
|
+
:param _Definition: Unique identifier of the smart erasing template.
|
|
18080
|
+
:type Definition: int
|
|
18081
|
+
: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.
|
|
18082
|
+
:type RequestId: str
|
|
18083
|
+
"""
|
|
18084
|
+
self._Definition = None
|
|
18085
|
+
self._RequestId = None
|
|
18086
|
+
|
|
18087
|
+
@property
|
|
18088
|
+
def Definition(self):
|
|
18089
|
+
r"""Unique identifier of the smart erasing template.
|
|
18090
|
+
:rtype: int
|
|
18091
|
+
"""
|
|
18092
|
+
return self._Definition
|
|
18093
|
+
|
|
18094
|
+
@Definition.setter
|
|
18095
|
+
def Definition(self, Definition):
|
|
18096
|
+
self._Definition = Definition
|
|
18097
|
+
|
|
18098
|
+
@property
|
|
18099
|
+
def RequestId(self):
|
|
18100
|
+
r"""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.
|
|
18101
|
+
:rtype: str
|
|
18102
|
+
"""
|
|
18103
|
+
return self._RequestId
|
|
18104
|
+
|
|
18105
|
+
@RequestId.setter
|
|
18106
|
+
def RequestId(self, RequestId):
|
|
18107
|
+
self._RequestId = RequestId
|
|
18108
|
+
|
|
18109
|
+
|
|
18110
|
+
def _deserialize(self, params):
|
|
18111
|
+
self._Definition = params.get("Definition")
|
|
18112
|
+
self._RequestId = params.get("RequestId")
|
|
18113
|
+
|
|
18114
|
+
|
|
17949
18115
|
class CreateSmartSubtitleTemplateRequest(AbstractModel):
|
|
17950
18116
|
r"""CreateSmartSubtitleTemplate request structure.
|
|
17951
18117
|
|
|
@@ -20003,6 +20169,70 @@ class DeleteScheduleResponse(AbstractModel):
|
|
|
20003
20169
|
self._RequestId = params.get("RequestId")
|
|
20004
20170
|
|
|
20005
20171
|
|
|
20172
|
+
class DeleteSmartEraseTemplateRequest(AbstractModel):
|
|
20173
|
+
r"""DeleteSmartEraseTemplate request structure.
|
|
20174
|
+
|
|
20175
|
+
"""
|
|
20176
|
+
|
|
20177
|
+
def __init__(self):
|
|
20178
|
+
r"""
|
|
20179
|
+
:param _Definition: Unique identifier of the smart erasing template.
|
|
20180
|
+
:type Definition: int
|
|
20181
|
+
"""
|
|
20182
|
+
self._Definition = None
|
|
20183
|
+
|
|
20184
|
+
@property
|
|
20185
|
+
def Definition(self):
|
|
20186
|
+
r"""Unique identifier of the smart erasing template.
|
|
20187
|
+
:rtype: int
|
|
20188
|
+
"""
|
|
20189
|
+
return self._Definition
|
|
20190
|
+
|
|
20191
|
+
@Definition.setter
|
|
20192
|
+
def Definition(self, Definition):
|
|
20193
|
+
self._Definition = Definition
|
|
20194
|
+
|
|
20195
|
+
|
|
20196
|
+
def _deserialize(self, params):
|
|
20197
|
+
self._Definition = params.get("Definition")
|
|
20198
|
+
memeber_set = set(params.keys())
|
|
20199
|
+
for name, value in vars(self).items():
|
|
20200
|
+
property_name = name[1:]
|
|
20201
|
+
if property_name in memeber_set:
|
|
20202
|
+
memeber_set.remove(property_name)
|
|
20203
|
+
if len(memeber_set) > 0:
|
|
20204
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20205
|
+
|
|
20206
|
+
|
|
20207
|
+
|
|
20208
|
+
class DeleteSmartEraseTemplateResponse(AbstractModel):
|
|
20209
|
+
r"""DeleteSmartEraseTemplate response structure.
|
|
20210
|
+
|
|
20211
|
+
"""
|
|
20212
|
+
|
|
20213
|
+
def __init__(self):
|
|
20214
|
+
r"""
|
|
20215
|
+
: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.
|
|
20216
|
+
:type RequestId: str
|
|
20217
|
+
"""
|
|
20218
|
+
self._RequestId = None
|
|
20219
|
+
|
|
20220
|
+
@property
|
|
20221
|
+
def RequestId(self):
|
|
20222
|
+
r"""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.
|
|
20223
|
+
:rtype: str
|
|
20224
|
+
"""
|
|
20225
|
+
return self._RequestId
|
|
20226
|
+
|
|
20227
|
+
@RequestId.setter
|
|
20228
|
+
def RequestId(self, RequestId):
|
|
20229
|
+
self._RequestId = RequestId
|
|
20230
|
+
|
|
20231
|
+
|
|
20232
|
+
def _deserialize(self, params):
|
|
20233
|
+
self._RequestId = params.get("RequestId")
|
|
20234
|
+
|
|
20235
|
+
|
|
20006
20236
|
class DeleteSmartSubtitleTemplateRequest(AbstractModel):
|
|
20007
20237
|
r"""DeleteSmartSubtitleTemplate request structure.
|
|
20008
20238
|
|
|
@@ -23322,6 +23552,169 @@ class DescribeSchedulesResponse(AbstractModel):
|
|
|
23322
23552
|
self._RequestId = params.get("RequestId")
|
|
23323
23553
|
|
|
23324
23554
|
|
|
23555
|
+
class DescribeSmartEraseTemplatesRequest(AbstractModel):
|
|
23556
|
+
r"""DescribeSmartEraseTemplates request structure.
|
|
23557
|
+
|
|
23558
|
+
"""
|
|
23559
|
+
|
|
23560
|
+
def __init__(self):
|
|
23561
|
+
r"""
|
|
23562
|
+
:param _Definitions: Filtering condition for the unique identifier of the smart erasing template. Length limit of the array: 100.
|
|
23563
|
+
:type Definitions: list of int
|
|
23564
|
+
:param _Offset: Pagination offset. Default value: 0.
|
|
23565
|
+
:type Offset: int
|
|
23566
|
+
:param _Limit: Number of returned entries. Default value: 10. Maximum value: 100.
|
|
23567
|
+
:type Limit: int
|
|
23568
|
+
:param _Type: Filtering conditions for template type. If this parameter is not specified, all templates are returned. Valid values:
|
|
23569
|
+
* Preset: system preset template.
|
|
23570
|
+
* Custom: user-defined template.
|
|
23571
|
+
:type Type: str
|
|
23572
|
+
:param _Name: Filtering condition for the smart erasing template name. Length limit: 64 characters.
|
|
23573
|
+
:type Name: str
|
|
23574
|
+
"""
|
|
23575
|
+
self._Definitions = None
|
|
23576
|
+
self._Offset = None
|
|
23577
|
+
self._Limit = None
|
|
23578
|
+
self._Type = None
|
|
23579
|
+
self._Name = None
|
|
23580
|
+
|
|
23581
|
+
@property
|
|
23582
|
+
def Definitions(self):
|
|
23583
|
+
r"""Filtering condition for the unique identifier of the smart erasing template. Length limit of the array: 100.
|
|
23584
|
+
:rtype: list of int
|
|
23585
|
+
"""
|
|
23586
|
+
return self._Definitions
|
|
23587
|
+
|
|
23588
|
+
@Definitions.setter
|
|
23589
|
+
def Definitions(self, Definitions):
|
|
23590
|
+
self._Definitions = Definitions
|
|
23591
|
+
|
|
23592
|
+
@property
|
|
23593
|
+
def Offset(self):
|
|
23594
|
+
r"""Pagination offset. Default value: 0.
|
|
23595
|
+
:rtype: int
|
|
23596
|
+
"""
|
|
23597
|
+
return self._Offset
|
|
23598
|
+
|
|
23599
|
+
@Offset.setter
|
|
23600
|
+
def Offset(self, Offset):
|
|
23601
|
+
self._Offset = Offset
|
|
23602
|
+
|
|
23603
|
+
@property
|
|
23604
|
+
def Limit(self):
|
|
23605
|
+
r"""Number of returned entries. Default value: 10. Maximum value: 100.
|
|
23606
|
+
:rtype: int
|
|
23607
|
+
"""
|
|
23608
|
+
return self._Limit
|
|
23609
|
+
|
|
23610
|
+
@Limit.setter
|
|
23611
|
+
def Limit(self, Limit):
|
|
23612
|
+
self._Limit = Limit
|
|
23613
|
+
|
|
23614
|
+
@property
|
|
23615
|
+
def Type(self):
|
|
23616
|
+
r"""Filtering conditions for template type. If this parameter is not specified, all templates are returned. Valid values:
|
|
23617
|
+
* Preset: system preset template.
|
|
23618
|
+
* Custom: user-defined template.
|
|
23619
|
+
:rtype: str
|
|
23620
|
+
"""
|
|
23621
|
+
return self._Type
|
|
23622
|
+
|
|
23623
|
+
@Type.setter
|
|
23624
|
+
def Type(self, Type):
|
|
23625
|
+
self._Type = Type
|
|
23626
|
+
|
|
23627
|
+
@property
|
|
23628
|
+
def Name(self):
|
|
23629
|
+
r"""Filtering condition for the smart erasing template name. Length limit: 64 characters.
|
|
23630
|
+
:rtype: str
|
|
23631
|
+
"""
|
|
23632
|
+
return self._Name
|
|
23633
|
+
|
|
23634
|
+
@Name.setter
|
|
23635
|
+
def Name(self, Name):
|
|
23636
|
+
self._Name = Name
|
|
23637
|
+
|
|
23638
|
+
|
|
23639
|
+
def _deserialize(self, params):
|
|
23640
|
+
self._Definitions = params.get("Definitions")
|
|
23641
|
+
self._Offset = params.get("Offset")
|
|
23642
|
+
self._Limit = params.get("Limit")
|
|
23643
|
+
self._Type = params.get("Type")
|
|
23644
|
+
self._Name = params.get("Name")
|
|
23645
|
+
memeber_set = set(params.keys())
|
|
23646
|
+
for name, value in vars(self).items():
|
|
23647
|
+
property_name = name[1:]
|
|
23648
|
+
if property_name in memeber_set:
|
|
23649
|
+
memeber_set.remove(property_name)
|
|
23650
|
+
if len(memeber_set) > 0:
|
|
23651
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23652
|
+
|
|
23653
|
+
|
|
23654
|
+
|
|
23655
|
+
class DescribeSmartEraseTemplatesResponse(AbstractModel):
|
|
23656
|
+
r"""DescribeSmartEraseTemplates response structure.
|
|
23657
|
+
|
|
23658
|
+
"""
|
|
23659
|
+
|
|
23660
|
+
def __init__(self):
|
|
23661
|
+
r"""
|
|
23662
|
+
:param _TotalCount: Total number of records that meet the filtering conditions.
|
|
23663
|
+
:type TotalCount: int
|
|
23664
|
+
:param _SmartEraseTemplateSet: List of smart erasing template details.
|
|
23665
|
+
:type SmartEraseTemplateSet: list of SmartEraseTemplateItem
|
|
23666
|
+
: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.
|
|
23667
|
+
:type RequestId: str
|
|
23668
|
+
"""
|
|
23669
|
+
self._TotalCount = None
|
|
23670
|
+
self._SmartEraseTemplateSet = None
|
|
23671
|
+
self._RequestId = None
|
|
23672
|
+
|
|
23673
|
+
@property
|
|
23674
|
+
def TotalCount(self):
|
|
23675
|
+
r"""Total number of records that meet the filtering conditions.
|
|
23676
|
+
:rtype: int
|
|
23677
|
+
"""
|
|
23678
|
+
return self._TotalCount
|
|
23679
|
+
|
|
23680
|
+
@TotalCount.setter
|
|
23681
|
+
def TotalCount(self, TotalCount):
|
|
23682
|
+
self._TotalCount = TotalCount
|
|
23683
|
+
|
|
23684
|
+
@property
|
|
23685
|
+
def SmartEraseTemplateSet(self):
|
|
23686
|
+
r"""List of smart erasing template details.
|
|
23687
|
+
:rtype: list of SmartEraseTemplateItem
|
|
23688
|
+
"""
|
|
23689
|
+
return self._SmartEraseTemplateSet
|
|
23690
|
+
|
|
23691
|
+
@SmartEraseTemplateSet.setter
|
|
23692
|
+
def SmartEraseTemplateSet(self, SmartEraseTemplateSet):
|
|
23693
|
+
self._SmartEraseTemplateSet = SmartEraseTemplateSet
|
|
23694
|
+
|
|
23695
|
+
@property
|
|
23696
|
+
def RequestId(self):
|
|
23697
|
+
r"""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.
|
|
23698
|
+
:rtype: str
|
|
23699
|
+
"""
|
|
23700
|
+
return self._RequestId
|
|
23701
|
+
|
|
23702
|
+
@RequestId.setter
|
|
23703
|
+
def RequestId(self, RequestId):
|
|
23704
|
+
self._RequestId = RequestId
|
|
23705
|
+
|
|
23706
|
+
|
|
23707
|
+
def _deserialize(self, params):
|
|
23708
|
+
self._TotalCount = params.get("TotalCount")
|
|
23709
|
+
if params.get("SmartEraseTemplateSet") is not None:
|
|
23710
|
+
self._SmartEraseTemplateSet = []
|
|
23711
|
+
for item in params.get("SmartEraseTemplateSet"):
|
|
23712
|
+
obj = SmartEraseTemplateItem()
|
|
23713
|
+
obj._deserialize(item)
|
|
23714
|
+
self._SmartEraseTemplateSet.append(obj)
|
|
23715
|
+
self._RequestId = params.get("RequestId")
|
|
23716
|
+
|
|
23717
|
+
|
|
23325
23718
|
class DescribeSmartSubtitleTemplatesRequest(AbstractModel):
|
|
23326
23719
|
r"""DescribeSmartSubtitleTemplates request structure.
|
|
23327
23720
|
|
|
@@ -38418,60 +38811,226 @@ Note: You need to pass in the full list of subtasks even if you want to change o
|
|
|
38418
38811
|
self._OutputStorage = OutputStorage
|
|
38419
38812
|
|
|
38420
38813
|
@property
|
|
38421
|
-
def OutputDir(self):
|
|
38422
|
-
r"""The directory to save the media processing output file, which must start and end with `/`.
|
|
38423
|
-
Note: If this parameter is left empty, the current `OutputDir` value will be invalidated.
|
|
38424
|
-
:rtype: str
|
|
38814
|
+
def OutputDir(self):
|
|
38815
|
+
r"""The directory to save the media processing output file, which must start and end with `/`.
|
|
38816
|
+
Note: If this parameter is left empty, the current `OutputDir` value will be invalidated.
|
|
38817
|
+
:rtype: str
|
|
38818
|
+
"""
|
|
38819
|
+
return self._OutputDir
|
|
38820
|
+
|
|
38821
|
+
@OutputDir.setter
|
|
38822
|
+
def OutputDir(self, OutputDir):
|
|
38823
|
+
self._OutputDir = OutputDir
|
|
38824
|
+
|
|
38825
|
+
@property
|
|
38826
|
+
def TaskNotifyConfig(self):
|
|
38827
|
+
r"""The notification configuration.
|
|
38828
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.TaskNotifyConfig`
|
|
38829
|
+
"""
|
|
38830
|
+
return self._TaskNotifyConfig
|
|
38831
|
+
|
|
38832
|
+
@TaskNotifyConfig.setter
|
|
38833
|
+
def TaskNotifyConfig(self, TaskNotifyConfig):
|
|
38834
|
+
self._TaskNotifyConfig = TaskNotifyConfig
|
|
38835
|
+
|
|
38836
|
+
@property
|
|
38837
|
+
def ResourceId(self):
|
|
38838
|
+
r"""Resource ID. Ensure the corresponding resource is in the enabled state.
|
|
38839
|
+
:rtype: str
|
|
38840
|
+
"""
|
|
38841
|
+
return self._ResourceId
|
|
38842
|
+
|
|
38843
|
+
@ResourceId.setter
|
|
38844
|
+
def ResourceId(self, ResourceId):
|
|
38845
|
+
self._ResourceId = ResourceId
|
|
38846
|
+
|
|
38847
|
+
|
|
38848
|
+
def _deserialize(self, params):
|
|
38849
|
+
self._ScheduleId = params.get("ScheduleId")
|
|
38850
|
+
self._ScheduleName = params.get("ScheduleName")
|
|
38851
|
+
if params.get("Trigger") is not None:
|
|
38852
|
+
self._Trigger = WorkflowTrigger()
|
|
38853
|
+
self._Trigger._deserialize(params.get("Trigger"))
|
|
38854
|
+
if params.get("Activities") is not None:
|
|
38855
|
+
self._Activities = []
|
|
38856
|
+
for item in params.get("Activities"):
|
|
38857
|
+
obj = Activity()
|
|
38858
|
+
obj._deserialize(item)
|
|
38859
|
+
self._Activities.append(obj)
|
|
38860
|
+
if params.get("OutputStorage") is not None:
|
|
38861
|
+
self._OutputStorage = TaskOutputStorage()
|
|
38862
|
+
self._OutputStorage._deserialize(params.get("OutputStorage"))
|
|
38863
|
+
self._OutputDir = params.get("OutputDir")
|
|
38864
|
+
if params.get("TaskNotifyConfig") is not None:
|
|
38865
|
+
self._TaskNotifyConfig = TaskNotifyConfig()
|
|
38866
|
+
self._TaskNotifyConfig._deserialize(params.get("TaskNotifyConfig"))
|
|
38867
|
+
self._ResourceId = params.get("ResourceId")
|
|
38868
|
+
memeber_set = set(params.keys())
|
|
38869
|
+
for name, value in vars(self).items():
|
|
38870
|
+
property_name = name[1:]
|
|
38871
|
+
if property_name in memeber_set:
|
|
38872
|
+
memeber_set.remove(property_name)
|
|
38873
|
+
if len(memeber_set) > 0:
|
|
38874
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
38875
|
+
|
|
38876
|
+
|
|
38877
|
+
|
|
38878
|
+
class ModifyScheduleResponse(AbstractModel):
|
|
38879
|
+
r"""ModifySchedule response structure.
|
|
38880
|
+
|
|
38881
|
+
"""
|
|
38882
|
+
|
|
38883
|
+
def __init__(self):
|
|
38884
|
+
r"""
|
|
38885
|
+
: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.
|
|
38886
|
+
:type RequestId: str
|
|
38887
|
+
"""
|
|
38888
|
+
self._RequestId = None
|
|
38889
|
+
|
|
38890
|
+
@property
|
|
38891
|
+
def RequestId(self):
|
|
38892
|
+
r"""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.
|
|
38893
|
+
:rtype: str
|
|
38894
|
+
"""
|
|
38895
|
+
return self._RequestId
|
|
38896
|
+
|
|
38897
|
+
@RequestId.setter
|
|
38898
|
+
def RequestId(self, RequestId):
|
|
38899
|
+
self._RequestId = RequestId
|
|
38900
|
+
|
|
38901
|
+
|
|
38902
|
+
def _deserialize(self, params):
|
|
38903
|
+
self._RequestId = params.get("RequestId")
|
|
38904
|
+
|
|
38905
|
+
|
|
38906
|
+
class ModifySmartEraseTemplateRequest(AbstractModel):
|
|
38907
|
+
r"""ModifySmartEraseTemplate request structure.
|
|
38908
|
+
|
|
38909
|
+
"""
|
|
38910
|
+
|
|
38911
|
+
def __init__(self):
|
|
38912
|
+
r"""
|
|
38913
|
+
:param _Definition: Unique identifier of the smart erasing template.
|
|
38914
|
+
:type Definition: int
|
|
38915
|
+
:param _Name: Length limit for the smart erasing template name: 64 characters.
|
|
38916
|
+
:type Name: str
|
|
38917
|
+
:param _Comment: Length limit for the description information of the smart erasing template: 256 characters.
|
|
38918
|
+
:type Comment: str
|
|
38919
|
+
:param _EraseType: Erasing type.
|
|
38920
|
+
-subtitle: subtitle removal.
|
|
38921
|
+
-watermark: watermark removal.
|
|
38922
|
+
-privacy: privacy protection.
|
|
38923
|
+
:type EraseType: str
|
|
38924
|
+
:param _EraseSubtitleConfig: Subtitle erasing configuration. It takes effect when the value of EraseType is set to subtitle, or when the value of EraseType is left unspecified but the original EraseType value of the modified template is subtitle.
|
|
38925
|
+
:type EraseSubtitleConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
|
38926
|
+
:param _EraseWatermarkConfig: Watermark erasing configuration. The value of EraseType can be set to watermark or left unspecified. This parameter is valid only when the value of EraseType of the corresponding template is set to watermark.
|
|
38927
|
+
:type EraseWatermarkConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
|
38928
|
+
:param _ErasePrivacyConfig: Privacy protection configuration. The value of EraseType can be set to privacy or left unspecified. This parameter is valid only when the value of EraseType of the corresponding template is set to privacy.
|
|
38929
|
+
:type ErasePrivacyConfig: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
|
38930
|
+
"""
|
|
38931
|
+
self._Definition = None
|
|
38932
|
+
self._Name = None
|
|
38933
|
+
self._Comment = None
|
|
38934
|
+
self._EraseType = None
|
|
38935
|
+
self._EraseSubtitleConfig = None
|
|
38936
|
+
self._EraseWatermarkConfig = None
|
|
38937
|
+
self._ErasePrivacyConfig = None
|
|
38938
|
+
|
|
38939
|
+
@property
|
|
38940
|
+
def Definition(self):
|
|
38941
|
+
r"""Unique identifier of the smart erasing template.
|
|
38942
|
+
:rtype: int
|
|
38943
|
+
"""
|
|
38944
|
+
return self._Definition
|
|
38945
|
+
|
|
38946
|
+
@Definition.setter
|
|
38947
|
+
def Definition(self, Definition):
|
|
38948
|
+
self._Definition = Definition
|
|
38949
|
+
|
|
38950
|
+
@property
|
|
38951
|
+
def Name(self):
|
|
38952
|
+
r"""Length limit for the smart erasing template name: 64 characters.
|
|
38953
|
+
:rtype: str
|
|
38954
|
+
"""
|
|
38955
|
+
return self._Name
|
|
38956
|
+
|
|
38957
|
+
@Name.setter
|
|
38958
|
+
def Name(self, Name):
|
|
38959
|
+
self._Name = Name
|
|
38960
|
+
|
|
38961
|
+
@property
|
|
38962
|
+
def Comment(self):
|
|
38963
|
+
r"""Length limit for the description information of the smart erasing template: 256 characters.
|
|
38964
|
+
:rtype: str
|
|
38965
|
+
"""
|
|
38966
|
+
return self._Comment
|
|
38967
|
+
|
|
38968
|
+
@Comment.setter
|
|
38969
|
+
def Comment(self, Comment):
|
|
38970
|
+
self._Comment = Comment
|
|
38971
|
+
|
|
38972
|
+
@property
|
|
38973
|
+
def EraseType(self):
|
|
38974
|
+
r"""Erasing type.
|
|
38975
|
+
-subtitle: subtitle removal.
|
|
38976
|
+
-watermark: watermark removal.
|
|
38977
|
+
-privacy: privacy protection.
|
|
38978
|
+
:rtype: str
|
|
38979
|
+
"""
|
|
38980
|
+
return self._EraseType
|
|
38981
|
+
|
|
38982
|
+
@EraseType.setter
|
|
38983
|
+
def EraseType(self, EraseType):
|
|
38984
|
+
self._EraseType = EraseType
|
|
38985
|
+
|
|
38986
|
+
@property
|
|
38987
|
+
def EraseSubtitleConfig(self):
|
|
38988
|
+
r"""Subtitle erasing configuration. It takes effect when the value of EraseType is set to subtitle, or when the value of EraseType is left unspecified but the original EraseType value of the modified template is subtitle.
|
|
38989
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
|
38425
38990
|
"""
|
|
38426
|
-
return self.
|
|
38991
|
+
return self._EraseSubtitleConfig
|
|
38427
38992
|
|
|
38428
|
-
@
|
|
38429
|
-
def
|
|
38430
|
-
self.
|
|
38993
|
+
@EraseSubtitleConfig.setter
|
|
38994
|
+
def EraseSubtitleConfig(self, EraseSubtitleConfig):
|
|
38995
|
+
self._EraseSubtitleConfig = EraseSubtitleConfig
|
|
38431
38996
|
|
|
38432
38997
|
@property
|
|
38433
|
-
def
|
|
38434
|
-
r"""
|
|
38435
|
-
:rtype: :class:`tencentcloud.mps.v20190612.models.
|
|
38998
|
+
def EraseWatermarkConfig(self):
|
|
38999
|
+
r"""Watermark erasing configuration. The value of EraseType can be set to watermark or left unspecified. This parameter is valid only when the value of EraseType of the corresponding template is set to watermark.
|
|
39000
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
|
38436
39001
|
"""
|
|
38437
|
-
return self.
|
|
39002
|
+
return self._EraseWatermarkConfig
|
|
38438
39003
|
|
|
38439
|
-
@
|
|
38440
|
-
def
|
|
38441
|
-
self.
|
|
39004
|
+
@EraseWatermarkConfig.setter
|
|
39005
|
+
def EraseWatermarkConfig(self, EraseWatermarkConfig):
|
|
39006
|
+
self._EraseWatermarkConfig = EraseWatermarkConfig
|
|
38442
39007
|
|
|
38443
39008
|
@property
|
|
38444
|
-
def
|
|
38445
|
-
r"""
|
|
38446
|
-
:rtype:
|
|
39009
|
+
def ErasePrivacyConfig(self):
|
|
39010
|
+
r"""Privacy protection configuration. The value of EraseType can be set to privacy or left unspecified. This parameter is valid only when the value of EraseType of the corresponding template is set to privacy.
|
|
39011
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
|
38447
39012
|
"""
|
|
38448
|
-
return self.
|
|
39013
|
+
return self._ErasePrivacyConfig
|
|
38449
39014
|
|
|
38450
|
-
@
|
|
38451
|
-
def
|
|
38452
|
-
self.
|
|
39015
|
+
@ErasePrivacyConfig.setter
|
|
39016
|
+
def ErasePrivacyConfig(self, ErasePrivacyConfig):
|
|
39017
|
+
self._ErasePrivacyConfig = ErasePrivacyConfig
|
|
38453
39018
|
|
|
38454
39019
|
|
|
38455
39020
|
def _deserialize(self, params):
|
|
38456
|
-
self.
|
|
38457
|
-
self.
|
|
38458
|
-
|
|
38459
|
-
|
|
38460
|
-
|
|
38461
|
-
|
|
38462
|
-
self.
|
|
38463
|
-
|
|
38464
|
-
|
|
38465
|
-
|
|
38466
|
-
|
|
38467
|
-
|
|
38468
|
-
self.
|
|
38469
|
-
self._OutputStorage._deserialize(params.get("OutputStorage"))
|
|
38470
|
-
self._OutputDir = params.get("OutputDir")
|
|
38471
|
-
if params.get("TaskNotifyConfig") is not None:
|
|
38472
|
-
self._TaskNotifyConfig = TaskNotifyConfig()
|
|
38473
|
-
self._TaskNotifyConfig._deserialize(params.get("TaskNotifyConfig"))
|
|
38474
|
-
self._ResourceId = params.get("ResourceId")
|
|
39021
|
+
self._Definition = params.get("Definition")
|
|
39022
|
+
self._Name = params.get("Name")
|
|
39023
|
+
self._Comment = params.get("Comment")
|
|
39024
|
+
self._EraseType = params.get("EraseType")
|
|
39025
|
+
if params.get("EraseSubtitleConfig") is not None:
|
|
39026
|
+
self._EraseSubtitleConfig = SmartEraseSubtitleConfig()
|
|
39027
|
+
self._EraseSubtitleConfig._deserialize(params.get("EraseSubtitleConfig"))
|
|
39028
|
+
if params.get("EraseWatermarkConfig") is not None:
|
|
39029
|
+
self._EraseWatermarkConfig = SmartEraseWatermarkConfig()
|
|
39030
|
+
self._EraseWatermarkConfig._deserialize(params.get("EraseWatermarkConfig"))
|
|
39031
|
+
if params.get("ErasePrivacyConfig") is not None:
|
|
39032
|
+
self._ErasePrivacyConfig = SmartErasePrivacyConfig()
|
|
39033
|
+
self._ErasePrivacyConfig._deserialize(params.get("ErasePrivacyConfig"))
|
|
38475
39034
|
memeber_set = set(params.keys())
|
|
38476
39035
|
for name, value in vars(self).items():
|
|
38477
39036
|
property_name = name[1:]
|
|
@@ -38482,8 +39041,8 @@ Note: If this parameter is left empty, the current `OutputDir` value will be inv
|
|
|
38482
39041
|
|
|
38483
39042
|
|
|
38484
39043
|
|
|
38485
|
-
class
|
|
38486
|
-
r"""
|
|
39044
|
+
class ModifySmartEraseTemplateResponse(AbstractModel):
|
|
39045
|
+
r"""ModifySmartEraseTemplate response structure.
|
|
38487
39046
|
|
|
38488
39047
|
"""
|
|
38489
39048
|
|
|
@@ -47878,6 +48437,214 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
47878
48437
|
|
|
47879
48438
|
|
|
47880
48439
|
|
|
48440
|
+
class SmartEraseTemplateItem(AbstractModel):
|
|
48441
|
+
r"""Smart erasing template details.
|
|
48442
|
+
|
|
48443
|
+
"""
|
|
48444
|
+
|
|
48445
|
+
def __init__(self):
|
|
48446
|
+
r"""
|
|
48447
|
+
:param _Definition: Unique identifier of the smart erasing template.
|
|
48448
|
+
:type Definition: int
|
|
48449
|
+
:param _Name: Smart erasing template name.
|
|
48450
|
+
:type Name: str
|
|
48451
|
+
:param _Comment: Smart erasing template description information.
|
|
48452
|
+
:type Comment: str
|
|
48453
|
+
:param _Type: Template type. Valid values:
|
|
48454
|
+
* Preset: system preset template.
|
|
48455
|
+
* Custom: user-defined template.
|
|
48456
|
+
:type Type: str
|
|
48457
|
+
:param _EraseType: Erasing type.
|
|
48458
|
+
-subtitle: subtitle removal.
|
|
48459
|
+
-watermark: watermark removal.
|
|
48460
|
+
-privacy: privacy protection.
|
|
48461
|
+
:type EraseType: str
|
|
48462
|
+
:param _EraseSubtitleConfig: Subtitle erasing configuration.
|
|
48463
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
48464
|
+
:type EraseSubtitleConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
|
48465
|
+
:param _EraseWatermarkConfig: Watermark erasing configuration.
|
|
48466
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
48467
|
+
:type EraseWatermarkConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
|
48468
|
+
:param _ErasePrivacyConfig: Privacy protection configuration.
|
|
48469
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
48470
|
+
:type ErasePrivacyConfig: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
|
48471
|
+
:param _CreateTime: Template creation time in [ISO datetime format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
|
|
48472
|
+
:type CreateTime: str
|
|
48473
|
+
:param _UpdateTime: Last modification time of the template in [ISO datetime format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
|
|
48474
|
+
:type UpdateTime: str
|
|
48475
|
+
:param _AliasName: Alias of the preset smart erasing template.
|
|
48476
|
+
:type AliasName: str
|
|
48477
|
+
"""
|
|
48478
|
+
self._Definition = None
|
|
48479
|
+
self._Name = None
|
|
48480
|
+
self._Comment = None
|
|
48481
|
+
self._Type = None
|
|
48482
|
+
self._EraseType = None
|
|
48483
|
+
self._EraseSubtitleConfig = None
|
|
48484
|
+
self._EraseWatermarkConfig = None
|
|
48485
|
+
self._ErasePrivacyConfig = None
|
|
48486
|
+
self._CreateTime = None
|
|
48487
|
+
self._UpdateTime = None
|
|
48488
|
+
self._AliasName = None
|
|
48489
|
+
|
|
48490
|
+
@property
|
|
48491
|
+
def Definition(self):
|
|
48492
|
+
r"""Unique identifier of the smart erasing template.
|
|
48493
|
+
:rtype: int
|
|
48494
|
+
"""
|
|
48495
|
+
return self._Definition
|
|
48496
|
+
|
|
48497
|
+
@Definition.setter
|
|
48498
|
+
def Definition(self, Definition):
|
|
48499
|
+
self._Definition = Definition
|
|
48500
|
+
|
|
48501
|
+
@property
|
|
48502
|
+
def Name(self):
|
|
48503
|
+
r"""Smart erasing template name.
|
|
48504
|
+
:rtype: str
|
|
48505
|
+
"""
|
|
48506
|
+
return self._Name
|
|
48507
|
+
|
|
48508
|
+
@Name.setter
|
|
48509
|
+
def Name(self, Name):
|
|
48510
|
+
self._Name = Name
|
|
48511
|
+
|
|
48512
|
+
@property
|
|
48513
|
+
def Comment(self):
|
|
48514
|
+
r"""Smart erasing template description information.
|
|
48515
|
+
:rtype: str
|
|
48516
|
+
"""
|
|
48517
|
+
return self._Comment
|
|
48518
|
+
|
|
48519
|
+
@Comment.setter
|
|
48520
|
+
def Comment(self, Comment):
|
|
48521
|
+
self._Comment = Comment
|
|
48522
|
+
|
|
48523
|
+
@property
|
|
48524
|
+
def Type(self):
|
|
48525
|
+
r"""Template type. Valid values:
|
|
48526
|
+
* Preset: system preset template.
|
|
48527
|
+
* Custom: user-defined template.
|
|
48528
|
+
:rtype: str
|
|
48529
|
+
"""
|
|
48530
|
+
return self._Type
|
|
48531
|
+
|
|
48532
|
+
@Type.setter
|
|
48533
|
+
def Type(self, Type):
|
|
48534
|
+
self._Type = Type
|
|
48535
|
+
|
|
48536
|
+
@property
|
|
48537
|
+
def EraseType(self):
|
|
48538
|
+
r"""Erasing type.
|
|
48539
|
+
-subtitle: subtitle removal.
|
|
48540
|
+
-watermark: watermark removal.
|
|
48541
|
+
-privacy: privacy protection.
|
|
48542
|
+
:rtype: str
|
|
48543
|
+
"""
|
|
48544
|
+
return self._EraseType
|
|
48545
|
+
|
|
48546
|
+
@EraseType.setter
|
|
48547
|
+
def EraseType(self, EraseType):
|
|
48548
|
+
self._EraseType = EraseType
|
|
48549
|
+
|
|
48550
|
+
@property
|
|
48551
|
+
def EraseSubtitleConfig(self):
|
|
48552
|
+
r"""Subtitle erasing configuration.
|
|
48553
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
48554
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
|
48555
|
+
"""
|
|
48556
|
+
return self._EraseSubtitleConfig
|
|
48557
|
+
|
|
48558
|
+
@EraseSubtitleConfig.setter
|
|
48559
|
+
def EraseSubtitleConfig(self, EraseSubtitleConfig):
|
|
48560
|
+
self._EraseSubtitleConfig = EraseSubtitleConfig
|
|
48561
|
+
|
|
48562
|
+
@property
|
|
48563
|
+
def EraseWatermarkConfig(self):
|
|
48564
|
+
r"""Watermark erasing configuration.
|
|
48565
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
48566
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
|
48567
|
+
"""
|
|
48568
|
+
return self._EraseWatermarkConfig
|
|
48569
|
+
|
|
48570
|
+
@EraseWatermarkConfig.setter
|
|
48571
|
+
def EraseWatermarkConfig(self, EraseWatermarkConfig):
|
|
48572
|
+
self._EraseWatermarkConfig = EraseWatermarkConfig
|
|
48573
|
+
|
|
48574
|
+
@property
|
|
48575
|
+
def ErasePrivacyConfig(self):
|
|
48576
|
+
r"""Privacy protection configuration.
|
|
48577
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
48578
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
|
48579
|
+
"""
|
|
48580
|
+
return self._ErasePrivacyConfig
|
|
48581
|
+
|
|
48582
|
+
@ErasePrivacyConfig.setter
|
|
48583
|
+
def ErasePrivacyConfig(self, ErasePrivacyConfig):
|
|
48584
|
+
self._ErasePrivacyConfig = ErasePrivacyConfig
|
|
48585
|
+
|
|
48586
|
+
@property
|
|
48587
|
+
def CreateTime(self):
|
|
48588
|
+
r"""Template creation time in [ISO datetime format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
|
|
48589
|
+
:rtype: str
|
|
48590
|
+
"""
|
|
48591
|
+
return self._CreateTime
|
|
48592
|
+
|
|
48593
|
+
@CreateTime.setter
|
|
48594
|
+
def CreateTime(self, CreateTime):
|
|
48595
|
+
self._CreateTime = CreateTime
|
|
48596
|
+
|
|
48597
|
+
@property
|
|
48598
|
+
def UpdateTime(self):
|
|
48599
|
+
r"""Last modification time of the template in [ISO datetime format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
|
|
48600
|
+
:rtype: str
|
|
48601
|
+
"""
|
|
48602
|
+
return self._UpdateTime
|
|
48603
|
+
|
|
48604
|
+
@UpdateTime.setter
|
|
48605
|
+
def UpdateTime(self, UpdateTime):
|
|
48606
|
+
self._UpdateTime = UpdateTime
|
|
48607
|
+
|
|
48608
|
+
@property
|
|
48609
|
+
def AliasName(self):
|
|
48610
|
+
r"""Alias of the preset smart erasing template.
|
|
48611
|
+
:rtype: str
|
|
48612
|
+
"""
|
|
48613
|
+
return self._AliasName
|
|
48614
|
+
|
|
48615
|
+
@AliasName.setter
|
|
48616
|
+
def AliasName(self, AliasName):
|
|
48617
|
+
self._AliasName = AliasName
|
|
48618
|
+
|
|
48619
|
+
|
|
48620
|
+
def _deserialize(self, params):
|
|
48621
|
+
self._Definition = params.get("Definition")
|
|
48622
|
+
self._Name = params.get("Name")
|
|
48623
|
+
self._Comment = params.get("Comment")
|
|
48624
|
+
self._Type = params.get("Type")
|
|
48625
|
+
self._EraseType = params.get("EraseType")
|
|
48626
|
+
if params.get("EraseSubtitleConfig") is not None:
|
|
48627
|
+
self._EraseSubtitleConfig = SmartEraseSubtitleConfig()
|
|
48628
|
+
self._EraseSubtitleConfig._deserialize(params.get("EraseSubtitleConfig"))
|
|
48629
|
+
if params.get("EraseWatermarkConfig") is not None:
|
|
48630
|
+
self._EraseWatermarkConfig = SmartEraseWatermarkConfig()
|
|
48631
|
+
self._EraseWatermarkConfig._deserialize(params.get("EraseWatermarkConfig"))
|
|
48632
|
+
if params.get("ErasePrivacyConfig") is not None:
|
|
48633
|
+
self._ErasePrivacyConfig = SmartErasePrivacyConfig()
|
|
48634
|
+
self._ErasePrivacyConfig._deserialize(params.get("ErasePrivacyConfig"))
|
|
48635
|
+
self._CreateTime = params.get("CreateTime")
|
|
48636
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
48637
|
+
self._AliasName = params.get("AliasName")
|
|
48638
|
+
memeber_set = set(params.keys())
|
|
48639
|
+
for name, value in vars(self).items():
|
|
48640
|
+
property_name = name[1:]
|
|
48641
|
+
if property_name in memeber_set:
|
|
48642
|
+
memeber_set.remove(property_name)
|
|
48643
|
+
if len(memeber_set) > 0:
|
|
48644
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
48645
|
+
|
|
48646
|
+
|
|
48647
|
+
|
|
47881
48648
|
class SmartEraseWatermarkConfig(AbstractModel):
|
|
47882
48649
|
r"""smart erasure template watermark configuration.
|
|
47883
48650
|
|