alibabacloud-ice20201109 6.7.0__py3-none-any.whl → 6.8.1__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.
- alibabacloud_ice20201109/__init__.py +1 -1
- alibabacloud_ice20201109/client.py +584 -0
- alibabacloud_ice20201109/models.py +953 -0
- {alibabacloud_ice20201109-6.7.0.dist-info → alibabacloud_ice20201109-6.8.1.dist-info}/METADATA +1 -1
- alibabacloud_ice20201109-6.8.1.dist-info/RECORD +8 -0
- alibabacloud_ice20201109-6.7.0.dist-info/RECORD +0 -8
- {alibabacloud_ice20201109-6.7.0.dist-info → alibabacloud_ice20201109-6.8.1.dist-info}/LICENSE +0 -0
- {alibabacloud_ice20201109-6.7.0.dist-info → alibabacloud_ice20201109-6.8.1.dist-info}/WHEEL +0 -0
- {alibabacloud_ice20201109-6.7.0.dist-info → alibabacloud_ice20201109-6.8.1.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '6.
|
|
1
|
+
__version__ = '6.8.1'
|
|
@@ -99,6 +99,110 @@ class Client(OpenApiClient):
|
|
|
99
99
|
return endpoint_map.get(region_id)
|
|
100
100
|
return EndpointUtilClient.get_endpoint_rules(product_id, region_id, endpoint_rule, network, suffix)
|
|
101
101
|
|
|
102
|
+
def active_ai_rtc_license_with_options(
|
|
103
|
+
self,
|
|
104
|
+
request: ice20201109_models.ActiveAiRtcLicenseRequest,
|
|
105
|
+
runtime: util_models.RuntimeOptions,
|
|
106
|
+
) -> ice20201109_models.ActiveAiRtcLicenseResponse:
|
|
107
|
+
"""
|
|
108
|
+
@summary 激活AI实时互动授权信息
|
|
109
|
+
|
|
110
|
+
@param request: ActiveAiRtcLicenseRequest
|
|
111
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
112
|
+
@return: ActiveAiRtcLicenseResponse
|
|
113
|
+
"""
|
|
114
|
+
UtilClient.validate_model(request)
|
|
115
|
+
query = {}
|
|
116
|
+
if not UtilClient.is_unset(request.auth_code):
|
|
117
|
+
query['AuthCode'] = request.auth_code
|
|
118
|
+
if not UtilClient.is_unset(request.device_id):
|
|
119
|
+
query['DeviceId'] = request.device_id
|
|
120
|
+
if not UtilClient.is_unset(request.license_item_id):
|
|
121
|
+
query['LicenseItemId'] = request.license_item_id
|
|
122
|
+
req = open_api_models.OpenApiRequest(
|
|
123
|
+
query=OpenApiUtilClient.query(query)
|
|
124
|
+
)
|
|
125
|
+
params = open_api_models.Params(
|
|
126
|
+
action='ActiveAiRtcLicense',
|
|
127
|
+
version='2020-11-09',
|
|
128
|
+
protocol='HTTPS',
|
|
129
|
+
pathname='/',
|
|
130
|
+
method='POST',
|
|
131
|
+
auth_type='AK',
|
|
132
|
+
style='RPC',
|
|
133
|
+
req_body_type='formData',
|
|
134
|
+
body_type='json'
|
|
135
|
+
)
|
|
136
|
+
return TeaCore.from_map(
|
|
137
|
+
ice20201109_models.ActiveAiRtcLicenseResponse(),
|
|
138
|
+
self.call_api(params, req, runtime)
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
async def active_ai_rtc_license_with_options_async(
|
|
142
|
+
self,
|
|
143
|
+
request: ice20201109_models.ActiveAiRtcLicenseRequest,
|
|
144
|
+
runtime: util_models.RuntimeOptions,
|
|
145
|
+
) -> ice20201109_models.ActiveAiRtcLicenseResponse:
|
|
146
|
+
"""
|
|
147
|
+
@summary 激活AI实时互动授权信息
|
|
148
|
+
|
|
149
|
+
@param request: ActiveAiRtcLicenseRequest
|
|
150
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
151
|
+
@return: ActiveAiRtcLicenseResponse
|
|
152
|
+
"""
|
|
153
|
+
UtilClient.validate_model(request)
|
|
154
|
+
query = {}
|
|
155
|
+
if not UtilClient.is_unset(request.auth_code):
|
|
156
|
+
query['AuthCode'] = request.auth_code
|
|
157
|
+
if not UtilClient.is_unset(request.device_id):
|
|
158
|
+
query['DeviceId'] = request.device_id
|
|
159
|
+
if not UtilClient.is_unset(request.license_item_id):
|
|
160
|
+
query['LicenseItemId'] = request.license_item_id
|
|
161
|
+
req = open_api_models.OpenApiRequest(
|
|
162
|
+
query=OpenApiUtilClient.query(query)
|
|
163
|
+
)
|
|
164
|
+
params = open_api_models.Params(
|
|
165
|
+
action='ActiveAiRtcLicense',
|
|
166
|
+
version='2020-11-09',
|
|
167
|
+
protocol='HTTPS',
|
|
168
|
+
pathname='/',
|
|
169
|
+
method='POST',
|
|
170
|
+
auth_type='AK',
|
|
171
|
+
style='RPC',
|
|
172
|
+
req_body_type='formData',
|
|
173
|
+
body_type='json'
|
|
174
|
+
)
|
|
175
|
+
return TeaCore.from_map(
|
|
176
|
+
ice20201109_models.ActiveAiRtcLicenseResponse(),
|
|
177
|
+
await self.call_api_async(params, req, runtime)
|
|
178
|
+
)
|
|
179
|
+
|
|
180
|
+
def active_ai_rtc_license(
|
|
181
|
+
self,
|
|
182
|
+
request: ice20201109_models.ActiveAiRtcLicenseRequest,
|
|
183
|
+
) -> ice20201109_models.ActiveAiRtcLicenseResponse:
|
|
184
|
+
"""
|
|
185
|
+
@summary 激活AI实时互动授权信息
|
|
186
|
+
|
|
187
|
+
@param request: ActiveAiRtcLicenseRequest
|
|
188
|
+
@return: ActiveAiRtcLicenseResponse
|
|
189
|
+
"""
|
|
190
|
+
runtime = util_models.RuntimeOptions()
|
|
191
|
+
return self.active_ai_rtc_license_with_options(request, runtime)
|
|
192
|
+
|
|
193
|
+
async def active_ai_rtc_license_async(
|
|
194
|
+
self,
|
|
195
|
+
request: ice20201109_models.ActiveAiRtcLicenseRequest,
|
|
196
|
+
) -> ice20201109_models.ActiveAiRtcLicenseResponse:
|
|
197
|
+
"""
|
|
198
|
+
@summary 激活AI实时互动授权信息
|
|
199
|
+
|
|
200
|
+
@param request: ActiveAiRtcLicenseRequest
|
|
201
|
+
@return: ActiveAiRtcLicenseResponse
|
|
202
|
+
"""
|
|
203
|
+
runtime = util_models.RuntimeOptions()
|
|
204
|
+
return await self.active_ai_rtc_license_with_options_async(request, runtime)
|
|
205
|
+
|
|
102
206
|
def add_ad_insertion_with_options(
|
|
103
207
|
self,
|
|
104
208
|
request: ice20201109_models.AddAdInsertionRequest,
|
|
@@ -12259,8 +12363,12 @@ class Client(OpenApiClient):
|
|
|
12259
12363
|
query = {}
|
|
12260
12364
|
if not UtilClient.is_unset(request.called_number):
|
|
12261
12365
|
query['CalledNumber'] = request.called_number
|
|
12366
|
+
if not UtilClient.is_unset(request.error_prompt):
|
|
12367
|
+
query['ErrorPrompt'] = request.error_prompt
|
|
12262
12368
|
if not UtilClient.is_unset(request.instance_id):
|
|
12263
12369
|
query['InstanceId'] = request.instance_id
|
|
12370
|
+
if not UtilClient.is_unset(request.transfer_prompt):
|
|
12371
|
+
query['TransferPrompt'] = request.transfer_prompt
|
|
12264
12372
|
req = open_api_models.OpenApiRequest(
|
|
12265
12373
|
query=OpenApiUtilClient.query(query)
|
|
12266
12374
|
)
|
|
@@ -12296,8 +12404,12 @@ class Client(OpenApiClient):
|
|
|
12296
12404
|
query = {}
|
|
12297
12405
|
if not UtilClient.is_unset(request.called_number):
|
|
12298
12406
|
query['CalledNumber'] = request.called_number
|
|
12407
|
+
if not UtilClient.is_unset(request.error_prompt):
|
|
12408
|
+
query['ErrorPrompt'] = request.error_prompt
|
|
12299
12409
|
if not UtilClient.is_unset(request.instance_id):
|
|
12300
12410
|
query['InstanceId'] = request.instance_id
|
|
12411
|
+
if not UtilClient.is_unset(request.transfer_prompt):
|
|
12412
|
+
query['TransferPrompt'] = request.transfer_prompt
|
|
12301
12413
|
req = open_api_models.OpenApiRequest(
|
|
12302
12414
|
query=OpenApiUtilClient.query(query)
|
|
12303
12415
|
)
|
|
@@ -12873,6 +12985,238 @@ class Client(OpenApiClient):
|
|
|
12873
12985
|
runtime = util_models.RuntimeOptions()
|
|
12874
12986
|
return await self.get_ad_insertion_with_options_async(request, runtime)
|
|
12875
12987
|
|
|
12988
|
+
def get_ai_rtc_auth_code_list_with_options(
|
|
12989
|
+
self,
|
|
12990
|
+
request: ice20201109_models.GetAiRtcAuthCodeListRequest,
|
|
12991
|
+
runtime: util_models.RuntimeOptions,
|
|
12992
|
+
) -> ice20201109_models.GetAiRtcAuthCodeListResponse:
|
|
12993
|
+
"""
|
|
12994
|
+
@summary 获取AI实时互动授权码列表
|
|
12995
|
+
|
|
12996
|
+
@param request: GetAiRtcAuthCodeListRequest
|
|
12997
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
12998
|
+
@return: GetAiRtcAuthCodeListResponse
|
|
12999
|
+
"""
|
|
13000
|
+
UtilClient.validate_model(request)
|
|
13001
|
+
query = {}
|
|
13002
|
+
if not UtilClient.is_unset(request.license_item_id):
|
|
13003
|
+
query['LicenseItemId'] = request.license_item_id
|
|
13004
|
+
if not UtilClient.is_unset(request.need_total_count):
|
|
13005
|
+
query['NeedTotalCount'] = request.need_total_count
|
|
13006
|
+
if not UtilClient.is_unset(request.page_no):
|
|
13007
|
+
query['PageNo'] = request.page_no
|
|
13008
|
+
if not UtilClient.is_unset(request.page_size):
|
|
13009
|
+
query['PageSize'] = request.page_size
|
|
13010
|
+
if not UtilClient.is_unset(request.status):
|
|
13011
|
+
query['Status'] = request.status
|
|
13012
|
+
if not UtilClient.is_unset(request.type):
|
|
13013
|
+
query['Type'] = request.type
|
|
13014
|
+
req = open_api_models.OpenApiRequest(
|
|
13015
|
+
query=OpenApiUtilClient.query(query)
|
|
13016
|
+
)
|
|
13017
|
+
params = open_api_models.Params(
|
|
13018
|
+
action='GetAiRtcAuthCodeList',
|
|
13019
|
+
version='2020-11-09',
|
|
13020
|
+
protocol='HTTPS',
|
|
13021
|
+
pathname='/',
|
|
13022
|
+
method='POST',
|
|
13023
|
+
auth_type='AK',
|
|
13024
|
+
style='RPC',
|
|
13025
|
+
req_body_type='formData',
|
|
13026
|
+
body_type='json'
|
|
13027
|
+
)
|
|
13028
|
+
return TeaCore.from_map(
|
|
13029
|
+
ice20201109_models.GetAiRtcAuthCodeListResponse(),
|
|
13030
|
+
self.call_api(params, req, runtime)
|
|
13031
|
+
)
|
|
13032
|
+
|
|
13033
|
+
async def get_ai_rtc_auth_code_list_with_options_async(
|
|
13034
|
+
self,
|
|
13035
|
+
request: ice20201109_models.GetAiRtcAuthCodeListRequest,
|
|
13036
|
+
runtime: util_models.RuntimeOptions,
|
|
13037
|
+
) -> ice20201109_models.GetAiRtcAuthCodeListResponse:
|
|
13038
|
+
"""
|
|
13039
|
+
@summary 获取AI实时互动授权码列表
|
|
13040
|
+
|
|
13041
|
+
@param request: GetAiRtcAuthCodeListRequest
|
|
13042
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
13043
|
+
@return: GetAiRtcAuthCodeListResponse
|
|
13044
|
+
"""
|
|
13045
|
+
UtilClient.validate_model(request)
|
|
13046
|
+
query = {}
|
|
13047
|
+
if not UtilClient.is_unset(request.license_item_id):
|
|
13048
|
+
query['LicenseItemId'] = request.license_item_id
|
|
13049
|
+
if not UtilClient.is_unset(request.need_total_count):
|
|
13050
|
+
query['NeedTotalCount'] = request.need_total_count
|
|
13051
|
+
if not UtilClient.is_unset(request.page_no):
|
|
13052
|
+
query['PageNo'] = request.page_no
|
|
13053
|
+
if not UtilClient.is_unset(request.page_size):
|
|
13054
|
+
query['PageSize'] = request.page_size
|
|
13055
|
+
if not UtilClient.is_unset(request.status):
|
|
13056
|
+
query['Status'] = request.status
|
|
13057
|
+
if not UtilClient.is_unset(request.type):
|
|
13058
|
+
query['Type'] = request.type
|
|
13059
|
+
req = open_api_models.OpenApiRequest(
|
|
13060
|
+
query=OpenApiUtilClient.query(query)
|
|
13061
|
+
)
|
|
13062
|
+
params = open_api_models.Params(
|
|
13063
|
+
action='GetAiRtcAuthCodeList',
|
|
13064
|
+
version='2020-11-09',
|
|
13065
|
+
protocol='HTTPS',
|
|
13066
|
+
pathname='/',
|
|
13067
|
+
method='POST',
|
|
13068
|
+
auth_type='AK',
|
|
13069
|
+
style='RPC',
|
|
13070
|
+
req_body_type='formData',
|
|
13071
|
+
body_type='json'
|
|
13072
|
+
)
|
|
13073
|
+
return TeaCore.from_map(
|
|
13074
|
+
ice20201109_models.GetAiRtcAuthCodeListResponse(),
|
|
13075
|
+
await self.call_api_async(params, req, runtime)
|
|
13076
|
+
)
|
|
13077
|
+
|
|
13078
|
+
def get_ai_rtc_auth_code_list(
|
|
13079
|
+
self,
|
|
13080
|
+
request: ice20201109_models.GetAiRtcAuthCodeListRequest,
|
|
13081
|
+
) -> ice20201109_models.GetAiRtcAuthCodeListResponse:
|
|
13082
|
+
"""
|
|
13083
|
+
@summary 获取AI实时互动授权码列表
|
|
13084
|
+
|
|
13085
|
+
@param request: GetAiRtcAuthCodeListRequest
|
|
13086
|
+
@return: GetAiRtcAuthCodeListResponse
|
|
13087
|
+
"""
|
|
13088
|
+
runtime = util_models.RuntimeOptions()
|
|
13089
|
+
return self.get_ai_rtc_auth_code_list_with_options(request, runtime)
|
|
13090
|
+
|
|
13091
|
+
async def get_ai_rtc_auth_code_list_async(
|
|
13092
|
+
self,
|
|
13093
|
+
request: ice20201109_models.GetAiRtcAuthCodeListRequest,
|
|
13094
|
+
) -> ice20201109_models.GetAiRtcAuthCodeListResponse:
|
|
13095
|
+
"""
|
|
13096
|
+
@summary 获取AI实时互动授权码列表
|
|
13097
|
+
|
|
13098
|
+
@param request: GetAiRtcAuthCodeListRequest
|
|
13099
|
+
@return: GetAiRtcAuthCodeListResponse
|
|
13100
|
+
"""
|
|
13101
|
+
runtime = util_models.RuntimeOptions()
|
|
13102
|
+
return await self.get_ai_rtc_auth_code_list_with_options_async(request, runtime)
|
|
13103
|
+
|
|
13104
|
+
def get_ai_rtc_license_info_list_with_options(
|
|
13105
|
+
self,
|
|
13106
|
+
request: ice20201109_models.GetAiRtcLicenseInfoListRequest,
|
|
13107
|
+
runtime: util_models.RuntimeOptions,
|
|
13108
|
+
) -> ice20201109_models.GetAiRtcLicenseInfoListResponse:
|
|
13109
|
+
"""
|
|
13110
|
+
@summary 获取AI实时互动授权批次列表
|
|
13111
|
+
|
|
13112
|
+
@param request: GetAiRtcLicenseInfoListRequest
|
|
13113
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
13114
|
+
@return: GetAiRtcLicenseInfoListResponse
|
|
13115
|
+
"""
|
|
13116
|
+
UtilClient.validate_model(request)
|
|
13117
|
+
query = {}
|
|
13118
|
+
if not UtilClient.is_unset(request.license_item_id):
|
|
13119
|
+
query['LicenseItemId'] = request.license_item_id
|
|
13120
|
+
if not UtilClient.is_unset(request.need_total_count):
|
|
13121
|
+
query['NeedTotalCount'] = request.need_total_count
|
|
13122
|
+
if not UtilClient.is_unset(request.page_no):
|
|
13123
|
+
query['PageNo'] = request.page_no
|
|
13124
|
+
if not UtilClient.is_unset(request.page_size):
|
|
13125
|
+
query['PageSize'] = request.page_size
|
|
13126
|
+
if not UtilClient.is_unset(request.status):
|
|
13127
|
+
query['Status'] = request.status
|
|
13128
|
+
if not UtilClient.is_unset(request.type):
|
|
13129
|
+
query['Type'] = request.type
|
|
13130
|
+
req = open_api_models.OpenApiRequest(
|
|
13131
|
+
query=OpenApiUtilClient.query(query)
|
|
13132
|
+
)
|
|
13133
|
+
params = open_api_models.Params(
|
|
13134
|
+
action='GetAiRtcLicenseInfoList',
|
|
13135
|
+
version='2020-11-09',
|
|
13136
|
+
protocol='HTTPS',
|
|
13137
|
+
pathname='/',
|
|
13138
|
+
method='POST',
|
|
13139
|
+
auth_type='AK',
|
|
13140
|
+
style='RPC',
|
|
13141
|
+
req_body_type='formData',
|
|
13142
|
+
body_type='json'
|
|
13143
|
+
)
|
|
13144
|
+
return TeaCore.from_map(
|
|
13145
|
+
ice20201109_models.GetAiRtcLicenseInfoListResponse(),
|
|
13146
|
+
self.call_api(params, req, runtime)
|
|
13147
|
+
)
|
|
13148
|
+
|
|
13149
|
+
async def get_ai_rtc_license_info_list_with_options_async(
|
|
13150
|
+
self,
|
|
13151
|
+
request: ice20201109_models.GetAiRtcLicenseInfoListRequest,
|
|
13152
|
+
runtime: util_models.RuntimeOptions,
|
|
13153
|
+
) -> ice20201109_models.GetAiRtcLicenseInfoListResponse:
|
|
13154
|
+
"""
|
|
13155
|
+
@summary 获取AI实时互动授权批次列表
|
|
13156
|
+
|
|
13157
|
+
@param request: GetAiRtcLicenseInfoListRequest
|
|
13158
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
13159
|
+
@return: GetAiRtcLicenseInfoListResponse
|
|
13160
|
+
"""
|
|
13161
|
+
UtilClient.validate_model(request)
|
|
13162
|
+
query = {}
|
|
13163
|
+
if not UtilClient.is_unset(request.license_item_id):
|
|
13164
|
+
query['LicenseItemId'] = request.license_item_id
|
|
13165
|
+
if not UtilClient.is_unset(request.need_total_count):
|
|
13166
|
+
query['NeedTotalCount'] = request.need_total_count
|
|
13167
|
+
if not UtilClient.is_unset(request.page_no):
|
|
13168
|
+
query['PageNo'] = request.page_no
|
|
13169
|
+
if not UtilClient.is_unset(request.page_size):
|
|
13170
|
+
query['PageSize'] = request.page_size
|
|
13171
|
+
if not UtilClient.is_unset(request.status):
|
|
13172
|
+
query['Status'] = request.status
|
|
13173
|
+
if not UtilClient.is_unset(request.type):
|
|
13174
|
+
query['Type'] = request.type
|
|
13175
|
+
req = open_api_models.OpenApiRequest(
|
|
13176
|
+
query=OpenApiUtilClient.query(query)
|
|
13177
|
+
)
|
|
13178
|
+
params = open_api_models.Params(
|
|
13179
|
+
action='GetAiRtcLicenseInfoList',
|
|
13180
|
+
version='2020-11-09',
|
|
13181
|
+
protocol='HTTPS',
|
|
13182
|
+
pathname='/',
|
|
13183
|
+
method='POST',
|
|
13184
|
+
auth_type='AK',
|
|
13185
|
+
style='RPC',
|
|
13186
|
+
req_body_type='formData',
|
|
13187
|
+
body_type='json'
|
|
13188
|
+
)
|
|
13189
|
+
return TeaCore.from_map(
|
|
13190
|
+
ice20201109_models.GetAiRtcLicenseInfoListResponse(),
|
|
13191
|
+
await self.call_api_async(params, req, runtime)
|
|
13192
|
+
)
|
|
13193
|
+
|
|
13194
|
+
def get_ai_rtc_license_info_list(
|
|
13195
|
+
self,
|
|
13196
|
+
request: ice20201109_models.GetAiRtcLicenseInfoListRequest,
|
|
13197
|
+
) -> ice20201109_models.GetAiRtcLicenseInfoListResponse:
|
|
13198
|
+
"""
|
|
13199
|
+
@summary 获取AI实时互动授权批次列表
|
|
13200
|
+
|
|
13201
|
+
@param request: GetAiRtcLicenseInfoListRequest
|
|
13202
|
+
@return: GetAiRtcLicenseInfoListResponse
|
|
13203
|
+
"""
|
|
13204
|
+
runtime = util_models.RuntimeOptions()
|
|
13205
|
+
return self.get_ai_rtc_license_info_list_with_options(request, runtime)
|
|
13206
|
+
|
|
13207
|
+
async def get_ai_rtc_license_info_list_async(
|
|
13208
|
+
self,
|
|
13209
|
+
request: ice20201109_models.GetAiRtcLicenseInfoListRequest,
|
|
13210
|
+
) -> ice20201109_models.GetAiRtcLicenseInfoListResponse:
|
|
13211
|
+
"""
|
|
13212
|
+
@summary 获取AI实时互动授权批次列表
|
|
13213
|
+
|
|
13214
|
+
@param request: GetAiRtcLicenseInfoListRequest
|
|
13215
|
+
@return: GetAiRtcLicenseInfoListResponse
|
|
13216
|
+
"""
|
|
13217
|
+
runtime = util_models.RuntimeOptions()
|
|
13218
|
+
return await self.get_ai_rtc_license_info_list_with_options_async(request, runtime)
|
|
13219
|
+
|
|
12876
13220
|
def get_avatar_with_options(
|
|
12877
13221
|
self,
|
|
12878
13222
|
request: ice20201109_models.GetAvatarRequest,
|
|
@@ -24636,6 +24980,8 @@ class Client(OpenApiClient):
|
|
|
24636
24980
|
query = {}
|
|
24637
24981
|
if not UtilClient.is_unset(request.algorithm):
|
|
24638
24982
|
query['Algorithm'] = request.algorithm
|
|
24983
|
+
if not UtilClient.is_unset(request.lib_id):
|
|
24984
|
+
query['LibId'] = request.lib_id
|
|
24639
24985
|
if not UtilClient.is_unset(request.owner_account):
|
|
24640
24986
|
query['OwnerAccount'] = request.owner_account
|
|
24641
24987
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -24686,6 +25032,8 @@ class Client(OpenApiClient):
|
|
|
24686
25032
|
query = {}
|
|
24687
25033
|
if not UtilClient.is_unset(request.algorithm):
|
|
24688
25034
|
query['Algorithm'] = request.algorithm
|
|
25035
|
+
if not UtilClient.is_unset(request.lib_id):
|
|
25036
|
+
query['LibId'] = request.lib_id
|
|
24689
25037
|
if not UtilClient.is_unset(request.owner_account):
|
|
24690
25038
|
query['OwnerAccount'] = request.owner_account
|
|
24691
25039
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -24767,6 +25115,8 @@ class Client(OpenApiClient):
|
|
|
24767
25115
|
query['Algorithm'] = request.algorithm
|
|
24768
25116
|
if not UtilClient.is_unset(request.entity_id):
|
|
24769
25117
|
query['EntityId'] = request.entity_id
|
|
25118
|
+
if not UtilClient.is_unset(request.entity_name):
|
|
25119
|
+
query['EntityName'] = request.entity_name
|
|
24770
25120
|
if not UtilClient.is_unset(request.lib_id):
|
|
24771
25121
|
query['LibId'] = request.lib_id
|
|
24772
25122
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -24818,6 +25168,8 @@ class Client(OpenApiClient):
|
|
|
24818
25168
|
query['Algorithm'] = request.algorithm
|
|
24819
25169
|
if not UtilClient.is_unset(request.entity_id):
|
|
24820
25170
|
query['EntityId'] = request.entity_id
|
|
25171
|
+
if not UtilClient.is_unset(request.entity_name):
|
|
25172
|
+
query['EntityName'] = request.entity_name
|
|
24821
25173
|
if not UtilClient.is_unset(request.lib_id):
|
|
24822
25174
|
query['LibId'] = request.lib_id
|
|
24823
25175
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -36009,6 +36361,110 @@ class Client(OpenApiClient):
|
|
|
36009
36361
|
runtime = util_models.RuntimeOptions()
|
|
36010
36362
|
return await self.submit_project_export_job_with_options_async(request, runtime)
|
|
36011
36363
|
|
|
36364
|
+
def submit_scene_batch_editing_job_with_options(
|
|
36365
|
+
self,
|
|
36366
|
+
request: ice20201109_models.SubmitSceneBatchEditingJobRequest,
|
|
36367
|
+
runtime: util_models.RuntimeOptions,
|
|
36368
|
+
) -> ice20201109_models.SubmitSceneBatchEditingJobResponse:
|
|
36369
|
+
"""
|
|
36370
|
+
@summary 提交场景化批量合成任务
|
|
36371
|
+
|
|
36372
|
+
@param request: SubmitSceneBatchEditingJobRequest
|
|
36373
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
36374
|
+
@return: SubmitSceneBatchEditingJobResponse
|
|
36375
|
+
"""
|
|
36376
|
+
UtilClient.validate_model(request)
|
|
36377
|
+
query = {}
|
|
36378
|
+
if not UtilClient.is_unset(request.output_config):
|
|
36379
|
+
query['OutputConfig'] = request.output_config
|
|
36380
|
+
if not UtilClient.is_unset(request.project_ids):
|
|
36381
|
+
query['ProjectIds'] = request.project_ids
|
|
36382
|
+
if not UtilClient.is_unset(request.user_data):
|
|
36383
|
+
query['UserData'] = request.user_data
|
|
36384
|
+
req = open_api_models.OpenApiRequest(
|
|
36385
|
+
query=OpenApiUtilClient.query(query)
|
|
36386
|
+
)
|
|
36387
|
+
params = open_api_models.Params(
|
|
36388
|
+
action='SubmitSceneBatchEditingJob',
|
|
36389
|
+
version='2020-11-09',
|
|
36390
|
+
protocol='HTTPS',
|
|
36391
|
+
pathname='/',
|
|
36392
|
+
method='POST',
|
|
36393
|
+
auth_type='AK',
|
|
36394
|
+
style='RPC',
|
|
36395
|
+
req_body_type='formData',
|
|
36396
|
+
body_type='json'
|
|
36397
|
+
)
|
|
36398
|
+
return TeaCore.from_map(
|
|
36399
|
+
ice20201109_models.SubmitSceneBatchEditingJobResponse(),
|
|
36400
|
+
self.call_api(params, req, runtime)
|
|
36401
|
+
)
|
|
36402
|
+
|
|
36403
|
+
async def submit_scene_batch_editing_job_with_options_async(
|
|
36404
|
+
self,
|
|
36405
|
+
request: ice20201109_models.SubmitSceneBatchEditingJobRequest,
|
|
36406
|
+
runtime: util_models.RuntimeOptions,
|
|
36407
|
+
) -> ice20201109_models.SubmitSceneBatchEditingJobResponse:
|
|
36408
|
+
"""
|
|
36409
|
+
@summary 提交场景化批量合成任务
|
|
36410
|
+
|
|
36411
|
+
@param request: SubmitSceneBatchEditingJobRequest
|
|
36412
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
36413
|
+
@return: SubmitSceneBatchEditingJobResponse
|
|
36414
|
+
"""
|
|
36415
|
+
UtilClient.validate_model(request)
|
|
36416
|
+
query = {}
|
|
36417
|
+
if not UtilClient.is_unset(request.output_config):
|
|
36418
|
+
query['OutputConfig'] = request.output_config
|
|
36419
|
+
if not UtilClient.is_unset(request.project_ids):
|
|
36420
|
+
query['ProjectIds'] = request.project_ids
|
|
36421
|
+
if not UtilClient.is_unset(request.user_data):
|
|
36422
|
+
query['UserData'] = request.user_data
|
|
36423
|
+
req = open_api_models.OpenApiRequest(
|
|
36424
|
+
query=OpenApiUtilClient.query(query)
|
|
36425
|
+
)
|
|
36426
|
+
params = open_api_models.Params(
|
|
36427
|
+
action='SubmitSceneBatchEditingJob',
|
|
36428
|
+
version='2020-11-09',
|
|
36429
|
+
protocol='HTTPS',
|
|
36430
|
+
pathname='/',
|
|
36431
|
+
method='POST',
|
|
36432
|
+
auth_type='AK',
|
|
36433
|
+
style='RPC',
|
|
36434
|
+
req_body_type='formData',
|
|
36435
|
+
body_type='json'
|
|
36436
|
+
)
|
|
36437
|
+
return TeaCore.from_map(
|
|
36438
|
+
ice20201109_models.SubmitSceneBatchEditingJobResponse(),
|
|
36439
|
+
await self.call_api_async(params, req, runtime)
|
|
36440
|
+
)
|
|
36441
|
+
|
|
36442
|
+
def submit_scene_batch_editing_job(
|
|
36443
|
+
self,
|
|
36444
|
+
request: ice20201109_models.SubmitSceneBatchEditingJobRequest,
|
|
36445
|
+
) -> ice20201109_models.SubmitSceneBatchEditingJobResponse:
|
|
36446
|
+
"""
|
|
36447
|
+
@summary 提交场景化批量合成任务
|
|
36448
|
+
|
|
36449
|
+
@param request: SubmitSceneBatchEditingJobRequest
|
|
36450
|
+
@return: SubmitSceneBatchEditingJobResponse
|
|
36451
|
+
"""
|
|
36452
|
+
runtime = util_models.RuntimeOptions()
|
|
36453
|
+
return self.submit_scene_batch_editing_job_with_options(request, runtime)
|
|
36454
|
+
|
|
36455
|
+
async def submit_scene_batch_editing_job_async(
|
|
36456
|
+
self,
|
|
36457
|
+
request: ice20201109_models.SubmitSceneBatchEditingJobRequest,
|
|
36458
|
+
) -> ice20201109_models.SubmitSceneBatchEditingJobResponse:
|
|
36459
|
+
"""
|
|
36460
|
+
@summary 提交场景化批量合成任务
|
|
36461
|
+
|
|
36462
|
+
@param request: SubmitSceneBatchEditingJobRequest
|
|
36463
|
+
@return: SubmitSceneBatchEditingJobResponse
|
|
36464
|
+
"""
|
|
36465
|
+
runtime = util_models.RuntimeOptions()
|
|
36466
|
+
return await self.submit_scene_batch_editing_job_with_options_async(request, runtime)
|
|
36467
|
+
|
|
36012
36468
|
def submit_scene_media_selection_job_with_options(
|
|
36013
36469
|
self,
|
|
36014
36470
|
request: ice20201109_models.SubmitSceneMediaSelectionJobRequest,
|
|
@@ -36137,6 +36593,126 @@ class Client(OpenApiClient):
|
|
|
36137
36593
|
runtime = util_models.RuntimeOptions()
|
|
36138
36594
|
return await self.submit_scene_media_selection_job_with_options_async(request, runtime)
|
|
36139
36595
|
|
|
36596
|
+
def submit_scene_timeline_organization_job_with_options(
|
|
36597
|
+
self,
|
|
36598
|
+
request: ice20201109_models.SubmitSceneTimelineOrganizationJobRequest,
|
|
36599
|
+
runtime: util_models.RuntimeOptions,
|
|
36600
|
+
) -> ice20201109_models.SubmitSceneTimelineOrganizationJobResponse:
|
|
36601
|
+
"""
|
|
36602
|
+
@summary 提交场景化时间线编排任务
|
|
36603
|
+
|
|
36604
|
+
@param request: SubmitSceneTimelineOrganizationJobRequest
|
|
36605
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
36606
|
+
@return: SubmitSceneTimelineOrganizationJobResponse
|
|
36607
|
+
"""
|
|
36608
|
+
UtilClient.validate_model(request)
|
|
36609
|
+
query = {}
|
|
36610
|
+
if not UtilClient.is_unset(request.job_type):
|
|
36611
|
+
query['JobType'] = request.job_type
|
|
36612
|
+
if not UtilClient.is_unset(request.media_select_result):
|
|
36613
|
+
query['MediaSelectResult'] = request.media_select_result
|
|
36614
|
+
if not UtilClient.is_unset(request.output_config):
|
|
36615
|
+
query['OutputConfig'] = request.output_config
|
|
36616
|
+
if not UtilClient.is_unset(request.user_data):
|
|
36617
|
+
query['UserData'] = request.user_data
|
|
36618
|
+
body = {}
|
|
36619
|
+
if not UtilClient.is_unset(request.editing_config):
|
|
36620
|
+
body['EditingConfig'] = request.editing_config
|
|
36621
|
+
if not UtilClient.is_unset(request.input_config):
|
|
36622
|
+
body['InputConfig'] = request.input_config
|
|
36623
|
+
req = open_api_models.OpenApiRequest(
|
|
36624
|
+
query=OpenApiUtilClient.query(query),
|
|
36625
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
36626
|
+
)
|
|
36627
|
+
params = open_api_models.Params(
|
|
36628
|
+
action='SubmitSceneTimelineOrganizationJob',
|
|
36629
|
+
version='2020-11-09',
|
|
36630
|
+
protocol='HTTPS',
|
|
36631
|
+
pathname='/',
|
|
36632
|
+
method='POST',
|
|
36633
|
+
auth_type='AK',
|
|
36634
|
+
style='RPC',
|
|
36635
|
+
req_body_type='formData',
|
|
36636
|
+
body_type='json'
|
|
36637
|
+
)
|
|
36638
|
+
return TeaCore.from_map(
|
|
36639
|
+
ice20201109_models.SubmitSceneTimelineOrganizationJobResponse(),
|
|
36640
|
+
self.call_api(params, req, runtime)
|
|
36641
|
+
)
|
|
36642
|
+
|
|
36643
|
+
async def submit_scene_timeline_organization_job_with_options_async(
|
|
36644
|
+
self,
|
|
36645
|
+
request: ice20201109_models.SubmitSceneTimelineOrganizationJobRequest,
|
|
36646
|
+
runtime: util_models.RuntimeOptions,
|
|
36647
|
+
) -> ice20201109_models.SubmitSceneTimelineOrganizationJobResponse:
|
|
36648
|
+
"""
|
|
36649
|
+
@summary 提交场景化时间线编排任务
|
|
36650
|
+
|
|
36651
|
+
@param request: SubmitSceneTimelineOrganizationJobRequest
|
|
36652
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
36653
|
+
@return: SubmitSceneTimelineOrganizationJobResponse
|
|
36654
|
+
"""
|
|
36655
|
+
UtilClient.validate_model(request)
|
|
36656
|
+
query = {}
|
|
36657
|
+
if not UtilClient.is_unset(request.job_type):
|
|
36658
|
+
query['JobType'] = request.job_type
|
|
36659
|
+
if not UtilClient.is_unset(request.media_select_result):
|
|
36660
|
+
query['MediaSelectResult'] = request.media_select_result
|
|
36661
|
+
if not UtilClient.is_unset(request.output_config):
|
|
36662
|
+
query['OutputConfig'] = request.output_config
|
|
36663
|
+
if not UtilClient.is_unset(request.user_data):
|
|
36664
|
+
query['UserData'] = request.user_data
|
|
36665
|
+
body = {}
|
|
36666
|
+
if not UtilClient.is_unset(request.editing_config):
|
|
36667
|
+
body['EditingConfig'] = request.editing_config
|
|
36668
|
+
if not UtilClient.is_unset(request.input_config):
|
|
36669
|
+
body['InputConfig'] = request.input_config
|
|
36670
|
+
req = open_api_models.OpenApiRequest(
|
|
36671
|
+
query=OpenApiUtilClient.query(query),
|
|
36672
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
36673
|
+
)
|
|
36674
|
+
params = open_api_models.Params(
|
|
36675
|
+
action='SubmitSceneTimelineOrganizationJob',
|
|
36676
|
+
version='2020-11-09',
|
|
36677
|
+
protocol='HTTPS',
|
|
36678
|
+
pathname='/',
|
|
36679
|
+
method='POST',
|
|
36680
|
+
auth_type='AK',
|
|
36681
|
+
style='RPC',
|
|
36682
|
+
req_body_type='formData',
|
|
36683
|
+
body_type='json'
|
|
36684
|
+
)
|
|
36685
|
+
return TeaCore.from_map(
|
|
36686
|
+
ice20201109_models.SubmitSceneTimelineOrganizationJobResponse(),
|
|
36687
|
+
await self.call_api_async(params, req, runtime)
|
|
36688
|
+
)
|
|
36689
|
+
|
|
36690
|
+
def submit_scene_timeline_organization_job(
|
|
36691
|
+
self,
|
|
36692
|
+
request: ice20201109_models.SubmitSceneTimelineOrganizationJobRequest,
|
|
36693
|
+
) -> ice20201109_models.SubmitSceneTimelineOrganizationJobResponse:
|
|
36694
|
+
"""
|
|
36695
|
+
@summary 提交场景化时间线编排任务
|
|
36696
|
+
|
|
36697
|
+
@param request: SubmitSceneTimelineOrganizationJobRequest
|
|
36698
|
+
@return: SubmitSceneTimelineOrganizationJobResponse
|
|
36699
|
+
"""
|
|
36700
|
+
runtime = util_models.RuntimeOptions()
|
|
36701
|
+
return self.submit_scene_timeline_organization_job_with_options(request, runtime)
|
|
36702
|
+
|
|
36703
|
+
async def submit_scene_timeline_organization_job_async(
|
|
36704
|
+
self,
|
|
36705
|
+
request: ice20201109_models.SubmitSceneTimelineOrganizationJobRequest,
|
|
36706
|
+
) -> ice20201109_models.SubmitSceneTimelineOrganizationJobResponse:
|
|
36707
|
+
"""
|
|
36708
|
+
@summary 提交场景化时间线编排任务
|
|
36709
|
+
|
|
36710
|
+
@param request: SubmitSceneTimelineOrganizationJobRequest
|
|
36711
|
+
@return: SubmitSceneTimelineOrganizationJobResponse
|
|
36712
|
+
"""
|
|
36713
|
+
runtime = util_models.RuntimeOptions()
|
|
36714
|
+
return await self.submit_scene_timeline_organization_job_with_options_async(request, runtime)
|
|
36715
|
+
|
|
36140
36716
|
def submit_screen_media_highlights_job_with_options(
|
|
36141
36717
|
self,
|
|
36142
36718
|
request: ice20201109_models.SubmitScreenMediaHighlightsJobRequest,
|
|
@@ -36401,6 +36977,8 @@ class Client(OpenApiClient):
|
|
|
36401
36977
|
query['Params'] = request.params
|
|
36402
36978
|
if not UtilClient.is_unset(request.schedule_config_shrink):
|
|
36403
36979
|
query['ScheduleConfig'] = request.schedule_config_shrink
|
|
36980
|
+
if not UtilClient.is_unset(request.template_config):
|
|
36981
|
+
query['TemplateConfig'] = request.template_config
|
|
36404
36982
|
if not UtilClient.is_unset(request.template_id):
|
|
36405
36983
|
query['TemplateId'] = request.template_id
|
|
36406
36984
|
if not UtilClient.is_unset(request.title):
|
|
@@ -36462,6 +37040,8 @@ class Client(OpenApiClient):
|
|
|
36462
37040
|
query['Params'] = request.params
|
|
36463
37041
|
if not UtilClient.is_unset(request.schedule_config_shrink):
|
|
36464
37042
|
query['ScheduleConfig'] = request.schedule_config_shrink
|
|
37043
|
+
if not UtilClient.is_unset(request.template_config):
|
|
37044
|
+
query['TemplateConfig'] = request.template_config
|
|
36465
37045
|
if not UtilClient.is_unset(request.template_id):
|
|
36466
37046
|
query['TemplateId'] = request.template_id
|
|
36467
37047
|
if not UtilClient.is_unset(request.title):
|
|
@@ -37671,6 +38251,8 @@ class Client(OpenApiClient):
|
|
|
37671
38251
|
query['Input'] = request.input_shrink
|
|
37672
38252
|
if not UtilClient.is_unset(request.params):
|
|
37673
38253
|
query['Params'] = request.params
|
|
38254
|
+
if not UtilClient.is_unset(request.template_config):
|
|
38255
|
+
query['TemplateConfig'] = request.template_config
|
|
37674
38256
|
if not UtilClient.is_unset(request.template_id):
|
|
37675
38257
|
query['TemplateId'] = request.template_id
|
|
37676
38258
|
if not UtilClient.is_unset(request.title):
|
|
@@ -37718,6 +38300,8 @@ class Client(OpenApiClient):
|
|
|
37718
38300
|
query['Input'] = request.input_shrink
|
|
37719
38301
|
if not UtilClient.is_unset(request.params):
|
|
37720
38302
|
query['Params'] = request.params
|
|
38303
|
+
if not UtilClient.is_unset(request.template_config):
|
|
38304
|
+
query['TemplateConfig'] = request.template_config
|
|
37721
38305
|
if not UtilClient.is_unset(request.template_id):
|
|
37722
38306
|
query['TemplateId'] = request.template_id
|
|
37723
38307
|
if not UtilClient.is_unset(request.title):
|