Skip to content

Commit a3373c3

Browse files
author
BitsAdmin
committed
Merge 'i18n_openapi-Python-2021-05-21-online-1960-2025_12_19_15_24_30' into 'integration_2025-12-22_1095718133250'
feat: [development task] i18n_openapi-1960-Python (1958705) See merge request: !976
2 parents c7db75e + e668bef commit a3373c3

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

volcenginesdki18nopenapi/models/task_info_for_video_project_serial_task_create_input.py

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ class TaskInfoForVideoProjectSerialTaskCreateInput(object):
3535
swagger_types = {
3636
'ai_remove_type': 'str',
3737
'asr_model': 'int',
38+
'bgm_policy': 'int',
3839
'comment': 'str',
3940
'deadline': 'int',
4041
'drama_cover_url': 'str',
4142
'drama_description': 'str',
4243
'drama_title': 'str',
43-
'is_dub': 'int',
44+
'is_dub': 'bool',
4445
'need_translate_cover': 'bool',
4546
'need_translate_desc': 'bool',
4647
'need_translate_title': 'bool',
@@ -56,6 +57,7 @@ class TaskInfoForVideoProjectSerialTaskCreateInput(object):
5657
attribute_map = {
5758
'ai_remove_type': 'aiRemoveType',
5859
'asr_model': 'asrModel',
60+
'bgm_policy': 'bgmPolicy',
5961
'comment': 'comment',
6062
'deadline': 'deadline',
6163
'drama_cover_url': 'dramaCoverUrl',
@@ -74,14 +76,15 @@ class TaskInfoForVideoProjectSerialTaskCreateInput(object):
7476
'use_mt': 'useMT'
7577
}
7678

77-
def __init__(self, ai_remove_type=None, asr_model=None, comment=None, deadline=None, drama_cover_url=None, drama_description=None, drama_title=None, is_dub=None, need_translate_cover=None, need_translate_desc=None, need_translate_title=None, need_translate_title_and_desc=None, serial_number=None, source_lang=None, target_langs=None, target_style_map=None, task_name=None, use_mt=None, _configuration=None): # noqa: E501
79+
def __init__(self, ai_remove_type=None, asr_model=None, bgm_policy=None, comment=None, deadline=None, drama_cover_url=None, drama_description=None, drama_title=None, is_dub=None, need_translate_cover=None, need_translate_desc=None, need_translate_title=None, need_translate_title_and_desc=None, serial_number=None, source_lang=None, target_langs=None, target_style_map=None, task_name=None, use_mt=None, _configuration=None): # noqa: E501
7880
"""TaskInfoForVideoProjectSerialTaskCreateInput - a model defined in Swagger""" # noqa: E501
7981
if _configuration is None:
8082
_configuration = Configuration()
8183
self._configuration = _configuration
8284

8385
self._ai_remove_type = None
8486
self._asr_model = None
87+
self._bgm_policy = None
8588
self._comment = None
8689
self._deadline = None
8790
self._drama_cover_url = None
@@ -104,6 +107,8 @@ def __init__(self, ai_remove_type=None, asr_model=None, comment=None, deadline=N
104107
self.ai_remove_type = ai_remove_type
105108
if asr_model is not None:
106109
self.asr_model = asr_model
110+
if bgm_policy is not None:
111+
self.bgm_policy = bgm_policy
107112
if comment is not None:
108113
self.comment = comment
109114
if deadline is not None:
@@ -179,6 +184,27 @@ def asr_model(self, asr_model):
179184

180185
self._asr_model = asr_model
181186

187+
@property
188+
def bgm_policy(self):
189+
"""Gets the bgm_policy of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
190+
191+
192+
:return: The bgm_policy of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
193+
:rtype: int
194+
"""
195+
return self._bgm_policy
196+
197+
@bgm_policy.setter
198+
def bgm_policy(self, bgm_policy):
199+
"""Sets the bgm_policy of this TaskInfoForVideoProjectSerialTaskCreateInput.
200+
201+
202+
:param bgm_policy: The bgm_policy of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
203+
:type: int
204+
"""
205+
206+
self._bgm_policy = bgm_policy
207+
182208
@property
183209
def comment(self):
184210
"""Gets the comment of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
@@ -290,7 +316,7 @@ def is_dub(self):
290316
291317
292318
:return: The is_dub of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
293-
:rtype: int
319+
:rtype: bool
294320
"""
295321
return self._is_dub
296322

@@ -300,7 +326,7 @@ def is_dub(self, is_dub):
300326
301327
302328
:param is_dub: The is_dub of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
303-
:type: int
329+
:type: bool
304330
"""
305331

306332
self._is_dub = is_dub

0 commit comments

Comments
 (0)