alibabacloud-aimiaobi20230801 1.31.0__tar.gz → 1.31.1__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.
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/ChangeLog.md +11 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/PKG-INFO +1 -1
- alibabacloud_aimiaobi20230801-1.31.1/alibabacloud_aimiaobi20230801/__init__.py +1 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/alibabacloud_aimiaobi20230801/client.py +24 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/alibabacloud_aimiaobi20230801/models.py +90 -1
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/alibabacloud_aimiaobi20230801.egg-info/PKG-INFO +1 -1
- alibabacloud_aimiaobi20230801-1.31.0/alibabacloud_aimiaobi20230801/__init__.py +0 -1
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/LICENSE +0 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/MANIFEST.in +0 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/README-CN.md +0 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/README.md +0 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/alibabacloud_aimiaobi20230801.egg-info/SOURCES.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/alibabacloud_aimiaobi20230801.egg-info/dependency_links.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/alibabacloud_aimiaobi20230801.egg-info/requires.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/alibabacloud_aimiaobi20230801.egg-info/top_level.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/setup.cfg +0 -0
- {alibabacloud_aimiaobi20230801-1.31.0 → alibabacloud_aimiaobi20230801-1.31.1}/setup.py +0 -0
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
2025-07-15 Version: 1.31.0
|
|
2
|
+
- Support API AddAuditTerms.
|
|
3
|
+
- Support API DeleteAuditTerms.
|
|
4
|
+
- Support API EditAuditTerms.
|
|
5
|
+
- Support API FetchExportTermsTask.
|
|
6
|
+
- Support API FetchImportTermsTask.
|
|
7
|
+
- Support API ListAuditTerms.
|
|
8
|
+
- Support API SubmitExportTermsTask.
|
|
9
|
+
- Support API SubmitImportTermsTask.
|
|
10
|
+
|
|
11
|
+
|
|
1
12
|
2025-06-26 Version: 1.30.3
|
|
2
13
|
- Update API GetCustomSourceTopicAnalysisTask: add response parameters Body.Data.rt.
|
|
3
14
|
- Update API GetCustomSourceTopicAnalysisTask: add response parameters Body.Data.usages.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.31.1'
|
|
@@ -11973,6 +11973,8 @@ class Client(OpenApiClient):
|
|
|
11973
11973
|
body = {}
|
|
11974
11974
|
if not UtilClient.is_unset(request.content):
|
|
11975
11975
|
body['Content'] = request.content
|
|
11976
|
+
if not UtilClient.is_unset(request.prompt):
|
|
11977
|
+
body['Prompt'] = request.prompt
|
|
11976
11978
|
if not UtilClient.is_unset(request.workspace_id):
|
|
11977
11979
|
body['WorkspaceId'] = request.workspace_id
|
|
11978
11980
|
req = open_api_models.OpenApiRequest(
|
|
@@ -12010,6 +12012,8 @@ class Client(OpenApiClient):
|
|
|
12010
12012
|
body = {}
|
|
12011
12013
|
if not UtilClient.is_unset(request.content):
|
|
12012
12014
|
body['Content'] = request.content
|
|
12015
|
+
if not UtilClient.is_unset(request.prompt):
|
|
12016
|
+
body['Prompt'] = request.prompt
|
|
12013
12017
|
if not UtilClient.is_unset(request.workspace_id):
|
|
12014
12018
|
body['WorkspaceId'] = request.workspace_id
|
|
12015
12019
|
req = open_api_models.OpenApiRequest(
|
|
@@ -13797,6 +13801,8 @@ class Client(OpenApiClient):
|
|
|
13797
13801
|
body = {}
|
|
13798
13802
|
if not UtilClient.is_unset(request.content):
|
|
13799
13803
|
body['Content'] = request.content
|
|
13804
|
+
if not UtilClient.is_unset(request.prompt):
|
|
13805
|
+
body['Prompt'] = request.prompt
|
|
13800
13806
|
if not UtilClient.is_unset(request.workspace_id):
|
|
13801
13807
|
body['WorkspaceId'] = request.workspace_id
|
|
13802
13808
|
req = open_api_models.OpenApiRequest(
|
|
@@ -13834,6 +13840,8 @@ class Client(OpenApiClient):
|
|
|
13834
13840
|
body = {}
|
|
13835
13841
|
if not UtilClient.is_unset(request.content):
|
|
13836
13842
|
body['Content'] = request.content
|
|
13843
|
+
if not UtilClient.is_unset(request.prompt):
|
|
13844
|
+
body['Prompt'] = request.prompt
|
|
13837
13845
|
if not UtilClient.is_unset(request.workspace_id):
|
|
13838
13846
|
body['WorkspaceId'] = request.workspace_id
|
|
13839
13847
|
req = open_api_models.OpenApiRequest(
|
|
@@ -14127,6 +14135,8 @@ class Client(OpenApiClient):
|
|
|
14127
14135
|
if not UtilClient.is_unset(tmp_req.reference_data):
|
|
14128
14136
|
request.reference_data_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.reference_data, 'ReferenceData', 'json')
|
|
14129
14137
|
body = {}
|
|
14138
|
+
if not UtilClient.is_unset(request.prompt):
|
|
14139
|
+
body['Prompt'] = request.prompt
|
|
14130
14140
|
if not UtilClient.is_unset(request.reference_data_shrink):
|
|
14131
14141
|
body['ReferenceData'] = request.reference_data_shrink
|
|
14132
14142
|
if not UtilClient.is_unset(request.task_id):
|
|
@@ -14170,6 +14180,8 @@ class Client(OpenApiClient):
|
|
|
14170
14180
|
if not UtilClient.is_unset(tmp_req.reference_data):
|
|
14171
14181
|
request.reference_data_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.reference_data, 'ReferenceData', 'json')
|
|
14172
14182
|
body = {}
|
|
14183
|
+
if not UtilClient.is_unset(request.prompt):
|
|
14184
|
+
body['Prompt'] = request.prompt
|
|
14173
14185
|
if not UtilClient.is_unset(request.reference_data_shrink):
|
|
14174
14186
|
body['ReferenceData'] = request.reference_data_shrink
|
|
14175
14187
|
if not UtilClient.is_unset(request.task_id):
|
|
@@ -14965,6 +14977,8 @@ class Client(OpenApiClient):
|
|
|
14965
14977
|
body = {}
|
|
14966
14978
|
if not UtilClient.is_unset(request.content):
|
|
14967
14979
|
body['Content'] = request.content
|
|
14980
|
+
if not UtilClient.is_unset(request.prompt):
|
|
14981
|
+
body['Prompt'] = request.prompt
|
|
14968
14982
|
if not UtilClient.is_unset(request.workspace_id):
|
|
14969
14983
|
body['WorkspaceId'] = request.workspace_id
|
|
14970
14984
|
req = open_api_models.OpenApiRequest(
|
|
@@ -15002,6 +15016,8 @@ class Client(OpenApiClient):
|
|
|
15002
15016
|
body = {}
|
|
15003
15017
|
if not UtilClient.is_unset(request.content):
|
|
15004
15018
|
body['Content'] = request.content
|
|
15019
|
+
if not UtilClient.is_unset(request.prompt):
|
|
15020
|
+
body['Prompt'] = request.prompt
|
|
15005
15021
|
if not UtilClient.is_unset(request.workspace_id):
|
|
15006
15022
|
body['WorkspaceId'] = request.workspace_id
|
|
15007
15023
|
req = open_api_models.OpenApiRequest(
|
|
@@ -17602,6 +17618,8 @@ class Client(OpenApiClient):
|
|
|
17602
17618
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
17603
17619
|
if not UtilClient.is_unset(tmp_req.sub_codes):
|
|
17604
17620
|
request.sub_codes_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.sub_codes, 'SubCodes', 'json')
|
|
17621
|
+
if not UtilClient.is_unset(tmp_req.image_urls):
|
|
17622
|
+
request.image_urls_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.image_urls, 'imageUrls', 'json')
|
|
17605
17623
|
body = {}
|
|
17606
17624
|
if not UtilClient.is_unset(request.sub_codes_shrink):
|
|
17607
17625
|
body['SubCodes'] = request.sub_codes_shrink
|
|
@@ -17609,6 +17627,8 @@ class Client(OpenApiClient):
|
|
|
17609
17627
|
body['Text'] = request.text
|
|
17610
17628
|
if not UtilClient.is_unset(request.workspace_id):
|
|
17611
17629
|
body['WorkspaceId'] = request.workspace_id
|
|
17630
|
+
if not UtilClient.is_unset(request.image_urls_shrink):
|
|
17631
|
+
body['imageUrls'] = request.image_urls_shrink
|
|
17612
17632
|
req = open_api_models.OpenApiRequest(
|
|
17613
17633
|
body=OpenApiUtilClient.parse_to_map(body)
|
|
17614
17634
|
)
|
|
@@ -17645,6 +17665,8 @@ class Client(OpenApiClient):
|
|
|
17645
17665
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
17646
17666
|
if not UtilClient.is_unset(tmp_req.sub_codes):
|
|
17647
17667
|
request.sub_codes_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.sub_codes, 'SubCodes', 'json')
|
|
17668
|
+
if not UtilClient.is_unset(tmp_req.image_urls):
|
|
17669
|
+
request.image_urls_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.image_urls, 'imageUrls', 'json')
|
|
17648
17670
|
body = {}
|
|
17649
17671
|
if not UtilClient.is_unset(request.sub_codes_shrink):
|
|
17650
17672
|
body['SubCodes'] = request.sub_codes_shrink
|
|
@@ -17652,6 +17674,8 @@ class Client(OpenApiClient):
|
|
|
17652
17674
|
body['Text'] = request.text
|
|
17653
17675
|
if not UtilClient.is_unset(request.workspace_id):
|
|
17654
17676
|
body['WorkspaceId'] = request.workspace_id
|
|
17677
|
+
if not UtilClient.is_unset(request.image_urls_shrink):
|
|
17678
|
+
body['imageUrls'] = request.image_urls_shrink
|
|
17655
17679
|
req = open_api_models.OpenApiRequest(
|
|
17656
17680
|
body=OpenApiUtilClient.parse_to_map(body)
|
|
17657
17681
|
)
|
|
@@ -15667,6 +15667,7 @@ class GetSmartAuditResultResponseBodyDataErrorItemDetails(TeaModel):
|
|
|
15667
15667
|
right_word: str = None,
|
|
15668
15668
|
sub_class_code: str = None,
|
|
15669
15669
|
sub_class_desc: str = None,
|
|
15670
|
+
url: str = None,
|
|
15670
15671
|
):
|
|
15671
15672
|
self.check_id = check_id
|
|
15672
15673
|
self.context = context
|
|
@@ -15680,6 +15681,7 @@ class GetSmartAuditResultResponseBodyDataErrorItemDetails(TeaModel):
|
|
|
15680
15681
|
self.right_word = right_word
|
|
15681
15682
|
self.sub_class_code = sub_class_code
|
|
15682
15683
|
self.sub_class_desc = sub_class_desc
|
|
15684
|
+
self.url = url
|
|
15683
15685
|
|
|
15684
15686
|
def validate(self):
|
|
15685
15687
|
pass
|
|
@@ -15714,6 +15716,8 @@ class GetSmartAuditResultResponseBodyDataErrorItemDetails(TeaModel):
|
|
|
15714
15716
|
result['SubClassCode'] = self.sub_class_code
|
|
15715
15717
|
if self.sub_class_desc is not None:
|
|
15716
15718
|
result['SubClassDesc'] = self.sub_class_desc
|
|
15719
|
+
if self.url is not None:
|
|
15720
|
+
result['Url'] = self.url
|
|
15717
15721
|
return result
|
|
15718
15722
|
|
|
15719
15723
|
def from_map(self, m: dict = None):
|
|
@@ -15742,6 +15746,8 @@ class GetSmartAuditResultResponseBodyDataErrorItemDetails(TeaModel):
|
|
|
15742
15746
|
self.sub_class_code = m.get('SubClassCode')
|
|
15743
15747
|
if m.get('SubClassDesc') is not None:
|
|
15744
15748
|
self.sub_class_desc = m.get('SubClassDesc')
|
|
15749
|
+
if m.get('Url') is not None:
|
|
15750
|
+
self.url = m.get('Url')
|
|
15745
15751
|
return self
|
|
15746
15752
|
|
|
15747
15753
|
|
|
@@ -30330,10 +30336,12 @@ class RunAbbreviationContentRequest(TeaModel):
|
|
|
30330
30336
|
def __init__(
|
|
30331
30337
|
self,
|
|
30332
30338
|
content: str = None,
|
|
30339
|
+
prompt: str = None,
|
|
30333
30340
|
workspace_id: str = None,
|
|
30334
30341
|
):
|
|
30335
30342
|
# This parameter is required.
|
|
30336
30343
|
self.content = content
|
|
30344
|
+
self.prompt = prompt
|
|
30337
30345
|
# This parameter is required.
|
|
30338
30346
|
self.workspace_id = workspace_id
|
|
30339
30347
|
|
|
@@ -30348,6 +30356,8 @@ class RunAbbreviationContentRequest(TeaModel):
|
|
|
30348
30356
|
result = dict()
|
|
30349
30357
|
if self.content is not None:
|
|
30350
30358
|
result['Content'] = self.content
|
|
30359
|
+
if self.prompt is not None:
|
|
30360
|
+
result['Prompt'] = self.prompt
|
|
30351
30361
|
if self.workspace_id is not None:
|
|
30352
30362
|
result['WorkspaceId'] = self.workspace_id
|
|
30353
30363
|
return result
|
|
@@ -30356,6 +30366,8 @@ class RunAbbreviationContentRequest(TeaModel):
|
|
|
30356
30366
|
m = m or dict()
|
|
30357
30367
|
if m.get('Content') is not None:
|
|
30358
30368
|
self.content = m.get('Content')
|
|
30369
|
+
if m.get('Prompt') is not None:
|
|
30370
|
+
self.prompt = m.get('Prompt')
|
|
30359
30371
|
if m.get('WorkspaceId') is not None:
|
|
30360
30372
|
self.workspace_id = m.get('WorkspaceId')
|
|
30361
30373
|
return self
|
|
@@ -35928,10 +35940,12 @@ class RunExpandContentRequest(TeaModel):
|
|
|
35928
35940
|
def __init__(
|
|
35929
35941
|
self,
|
|
35930
35942
|
content: str = None,
|
|
35943
|
+
prompt: str = None,
|
|
35931
35944
|
workspace_id: str = None,
|
|
35932
35945
|
):
|
|
35933
35946
|
# This parameter is required.
|
|
35934
35947
|
self.content = content
|
|
35948
|
+
self.prompt = prompt
|
|
35935
35949
|
# This parameter is required.
|
|
35936
35950
|
self.workspace_id = workspace_id
|
|
35937
35951
|
|
|
@@ -35946,6 +35960,8 @@ class RunExpandContentRequest(TeaModel):
|
|
|
35946
35960
|
result = dict()
|
|
35947
35961
|
if self.content is not None:
|
|
35948
35962
|
result['Content'] = self.content
|
|
35963
|
+
if self.prompt is not None:
|
|
35964
|
+
result['Prompt'] = self.prompt
|
|
35949
35965
|
if self.workspace_id is not None:
|
|
35950
35966
|
result['WorkspaceId'] = self.workspace_id
|
|
35951
35967
|
return result
|
|
@@ -35954,6 +35970,8 @@ class RunExpandContentRequest(TeaModel):
|
|
|
35954
35970
|
m = m or dict()
|
|
35955
35971
|
if m.get('Content') is not None:
|
|
35956
35972
|
self.content = m.get('Content')
|
|
35973
|
+
if m.get('Prompt') is not None:
|
|
35974
|
+
self.prompt = m.get('Prompt')
|
|
35957
35975
|
if m.get('WorkspaceId') is not None:
|
|
35958
35976
|
self.workspace_id = m.get('WorkspaceId')
|
|
35959
35977
|
return self
|
|
@@ -36864,10 +36882,12 @@ class RunKeywordsExtractionGenerationRequestReferenceData(TeaModel):
|
|
|
36864
36882
|
class RunKeywordsExtractionGenerationRequest(TeaModel):
|
|
36865
36883
|
def __init__(
|
|
36866
36884
|
self,
|
|
36885
|
+
prompt: str = None,
|
|
36867
36886
|
reference_data: RunKeywordsExtractionGenerationRequestReferenceData = None,
|
|
36868
36887
|
task_id: str = None,
|
|
36869
36888
|
workspace_id: str = None,
|
|
36870
36889
|
):
|
|
36890
|
+
self.prompt = prompt
|
|
36871
36891
|
# This parameter is required.
|
|
36872
36892
|
self.reference_data = reference_data
|
|
36873
36893
|
self.task_id = task_id
|
|
@@ -36884,6 +36904,8 @@ class RunKeywordsExtractionGenerationRequest(TeaModel):
|
|
|
36884
36904
|
return _map
|
|
36885
36905
|
|
|
36886
36906
|
result = dict()
|
|
36907
|
+
if self.prompt is not None:
|
|
36908
|
+
result['Prompt'] = self.prompt
|
|
36887
36909
|
if self.reference_data is not None:
|
|
36888
36910
|
result['ReferenceData'] = self.reference_data.to_map()
|
|
36889
36911
|
if self.task_id is not None:
|
|
@@ -36894,6 +36916,8 @@ class RunKeywordsExtractionGenerationRequest(TeaModel):
|
|
|
36894
36916
|
|
|
36895
36917
|
def from_map(self, m: dict = None):
|
|
36896
36918
|
m = m or dict()
|
|
36919
|
+
if m.get('Prompt') is not None:
|
|
36920
|
+
self.prompt = m.get('Prompt')
|
|
36897
36921
|
if m.get('ReferenceData') is not None:
|
|
36898
36922
|
temp_model = RunKeywordsExtractionGenerationRequestReferenceData()
|
|
36899
36923
|
self.reference_data = temp_model.from_map(m['ReferenceData'])
|
|
@@ -36907,10 +36931,12 @@ class RunKeywordsExtractionGenerationRequest(TeaModel):
|
|
|
36907
36931
|
class RunKeywordsExtractionGenerationShrinkRequest(TeaModel):
|
|
36908
36932
|
def __init__(
|
|
36909
36933
|
self,
|
|
36934
|
+
prompt: str = None,
|
|
36910
36935
|
reference_data_shrink: str = None,
|
|
36911
36936
|
task_id: str = None,
|
|
36912
36937
|
workspace_id: str = None,
|
|
36913
36938
|
):
|
|
36939
|
+
self.prompt = prompt
|
|
36914
36940
|
# This parameter is required.
|
|
36915
36941
|
self.reference_data_shrink = reference_data_shrink
|
|
36916
36942
|
self.task_id = task_id
|
|
@@ -36926,6 +36952,8 @@ class RunKeywordsExtractionGenerationShrinkRequest(TeaModel):
|
|
|
36926
36952
|
return _map
|
|
36927
36953
|
|
|
36928
36954
|
result = dict()
|
|
36955
|
+
if self.prompt is not None:
|
|
36956
|
+
result['Prompt'] = self.prompt
|
|
36929
36957
|
if self.reference_data_shrink is not None:
|
|
36930
36958
|
result['ReferenceData'] = self.reference_data_shrink
|
|
36931
36959
|
if self.task_id is not None:
|
|
@@ -36936,6 +36964,8 @@ class RunKeywordsExtractionGenerationShrinkRequest(TeaModel):
|
|
|
36936
36964
|
|
|
36937
36965
|
def from_map(self, m: dict = None):
|
|
36938
36966
|
m = m or dict()
|
|
36967
|
+
if m.get('Prompt') is not None:
|
|
36968
|
+
self.prompt = m.get('Prompt')
|
|
36939
36969
|
if m.get('ReferenceData') is not None:
|
|
36940
36970
|
self.reference_data_shrink = m.get('ReferenceData')
|
|
36941
36971
|
if m.get('TaskId') is not None:
|
|
@@ -44088,10 +44118,12 @@ class RunTextPolishingRequest(TeaModel):
|
|
|
44088
44118
|
def __init__(
|
|
44089
44119
|
self,
|
|
44090
44120
|
content: str = None,
|
|
44121
|
+
prompt: str = None,
|
|
44091
44122
|
workspace_id: str = None,
|
|
44092
44123
|
):
|
|
44093
44124
|
# This parameter is required.
|
|
44094
44125
|
self.content = content
|
|
44126
|
+
self.prompt = prompt
|
|
44095
44127
|
# This parameter is required.
|
|
44096
44128
|
self.workspace_id = workspace_id
|
|
44097
44129
|
|
|
@@ -44106,6 +44138,8 @@ class RunTextPolishingRequest(TeaModel):
|
|
|
44106
44138
|
result = dict()
|
|
44107
44139
|
if self.content is not None:
|
|
44108
44140
|
result['Content'] = self.content
|
|
44141
|
+
if self.prompt is not None:
|
|
44142
|
+
result['Prompt'] = self.prompt
|
|
44109
44143
|
if self.workspace_id is not None:
|
|
44110
44144
|
result['WorkspaceId'] = self.workspace_id
|
|
44111
44145
|
return result
|
|
@@ -44114,6 +44148,8 @@ class RunTextPolishingRequest(TeaModel):
|
|
|
44114
44148
|
m = m or dict()
|
|
44115
44149
|
if m.get('Content') is not None:
|
|
44116
44150
|
self.content = m.get('Content')
|
|
44151
|
+
if m.get('Prompt') is not None:
|
|
44152
|
+
self.prompt = m.get('Prompt')
|
|
44117
44153
|
if m.get('WorkspaceId') is not None:
|
|
44118
44154
|
self.workspace_id = m.get('WorkspaceId')
|
|
44119
44155
|
return self
|
|
@@ -51255,19 +51291,57 @@ class SubmitImportTermsTaskResponse(TeaModel):
|
|
|
51255
51291
|
return self
|
|
51256
51292
|
|
|
51257
51293
|
|
|
51294
|
+
class SubmitSmartAuditRequestImageUrls(TeaModel):
|
|
51295
|
+
def __init__(
|
|
51296
|
+
self,
|
|
51297
|
+
id: str = None,
|
|
51298
|
+
url: str = None,
|
|
51299
|
+
):
|
|
51300
|
+
self.id = id
|
|
51301
|
+
self.url = url
|
|
51302
|
+
|
|
51303
|
+
def validate(self):
|
|
51304
|
+
pass
|
|
51305
|
+
|
|
51306
|
+
def to_map(self):
|
|
51307
|
+
_map = super().to_map()
|
|
51308
|
+
if _map is not None:
|
|
51309
|
+
return _map
|
|
51310
|
+
|
|
51311
|
+
result = dict()
|
|
51312
|
+
if self.id is not None:
|
|
51313
|
+
result['id'] = self.id
|
|
51314
|
+
if self.url is not None:
|
|
51315
|
+
result['url'] = self.url
|
|
51316
|
+
return result
|
|
51317
|
+
|
|
51318
|
+
def from_map(self, m: dict = None):
|
|
51319
|
+
m = m or dict()
|
|
51320
|
+
if m.get('id') is not None:
|
|
51321
|
+
self.id = m.get('id')
|
|
51322
|
+
if m.get('url') is not None:
|
|
51323
|
+
self.url = m.get('url')
|
|
51324
|
+
return self
|
|
51325
|
+
|
|
51326
|
+
|
|
51258
51327
|
class SubmitSmartAuditRequest(TeaModel):
|
|
51259
51328
|
def __init__(
|
|
51260
51329
|
self,
|
|
51261
51330
|
sub_codes: List[str] = None,
|
|
51262
51331
|
text: str = None,
|
|
51263
51332
|
workspace_id: str = None,
|
|
51333
|
+
image_urls: List[SubmitSmartAuditRequestImageUrls] = None,
|
|
51264
51334
|
):
|
|
51265
51335
|
self.sub_codes = sub_codes
|
|
51266
51336
|
self.text = text
|
|
51267
51337
|
self.workspace_id = workspace_id
|
|
51338
|
+
self.image_urls = image_urls
|
|
51268
51339
|
|
|
51269
51340
|
def validate(self):
|
|
51270
|
-
|
|
51341
|
+
if self.image_urls:
|
|
51342
|
+
for k in self.image_urls:
|
|
51343
|
+
if k:
|
|
51344
|
+
k.validate()
|
|
51271
51345
|
|
|
51272
51346
|
def to_map(self):
|
|
51273
51347
|
_map = super().to_map()
|
|
@@ -51281,6 +51355,10 @@ class SubmitSmartAuditRequest(TeaModel):
|
|
|
51281
51355
|
result['Text'] = self.text
|
|
51282
51356
|
if self.workspace_id is not None:
|
|
51283
51357
|
result['WorkspaceId'] = self.workspace_id
|
|
51358
|
+
result['imageUrls'] = []
|
|
51359
|
+
if self.image_urls is not None:
|
|
51360
|
+
for k in self.image_urls:
|
|
51361
|
+
result['imageUrls'].append(k.to_map() if k else None)
|
|
51284
51362
|
return result
|
|
51285
51363
|
|
|
51286
51364
|
def from_map(self, m: dict = None):
|
|
@@ -51291,6 +51369,11 @@ class SubmitSmartAuditRequest(TeaModel):
|
|
|
51291
51369
|
self.text = m.get('Text')
|
|
51292
51370
|
if m.get('WorkspaceId') is not None:
|
|
51293
51371
|
self.workspace_id = m.get('WorkspaceId')
|
|
51372
|
+
self.image_urls = []
|
|
51373
|
+
if m.get('imageUrls') is not None:
|
|
51374
|
+
for k in m.get('imageUrls'):
|
|
51375
|
+
temp_model = SubmitSmartAuditRequestImageUrls()
|
|
51376
|
+
self.image_urls.append(temp_model.from_map(k))
|
|
51294
51377
|
return self
|
|
51295
51378
|
|
|
51296
51379
|
|
|
@@ -51300,10 +51383,12 @@ class SubmitSmartAuditShrinkRequest(TeaModel):
|
|
|
51300
51383
|
sub_codes_shrink: str = None,
|
|
51301
51384
|
text: str = None,
|
|
51302
51385
|
workspace_id: str = None,
|
|
51386
|
+
image_urls_shrink: str = None,
|
|
51303
51387
|
):
|
|
51304
51388
|
self.sub_codes_shrink = sub_codes_shrink
|
|
51305
51389
|
self.text = text
|
|
51306
51390
|
self.workspace_id = workspace_id
|
|
51391
|
+
self.image_urls_shrink = image_urls_shrink
|
|
51307
51392
|
|
|
51308
51393
|
def validate(self):
|
|
51309
51394
|
pass
|
|
@@ -51320,6 +51405,8 @@ class SubmitSmartAuditShrinkRequest(TeaModel):
|
|
|
51320
51405
|
result['Text'] = self.text
|
|
51321
51406
|
if self.workspace_id is not None:
|
|
51322
51407
|
result['WorkspaceId'] = self.workspace_id
|
|
51408
|
+
if self.image_urls_shrink is not None:
|
|
51409
|
+
result['imageUrls'] = self.image_urls_shrink
|
|
51323
51410
|
return result
|
|
51324
51411
|
|
|
51325
51412
|
def from_map(self, m: dict = None):
|
|
@@ -51330,6 +51417,8 @@ class SubmitSmartAuditShrinkRequest(TeaModel):
|
|
|
51330
51417
|
self.text = m.get('Text')
|
|
51331
51418
|
if m.get('WorkspaceId') is not None:
|
|
51332
51419
|
self.workspace_id = m.get('WorkspaceId')
|
|
51420
|
+
if m.get('imageUrls') is not None:
|
|
51421
|
+
self.image_urls_shrink = m.get('imageUrls')
|
|
51333
51422
|
return self
|
|
51334
51423
|
|
|
51335
51424
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '1.31.0'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|