Skip to content

Commit 4ae79d3

Browse files
committed
Supported MultiMedia Post scan.
1 parent fb0b241 commit 4ae79d3

13 files changed

+262
-1
lines changed

aliyun-python-sdk-green/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-03-30 Version: 3.6.4
2+
- Supported MultiMedia Post scan.
3+
14
2020-12-04 Version: 3.6.3
25
- Support manual scan interface.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.6.3'
1+
__version__ = '3.6.4'

aliyun-python-sdk-green/aliyunsdkgreen/request/v20170823/CreateBizTypeRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ def __init__(self):
3131
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3232

3333

34+
def get_Description(self):
35+
return self.get_query_params().get('Description')
36+
37+
def set_Description(self,Description):
38+
self.add_query_param('Description',Description)
39+
3440
def get_BizTypeImport(self):
3541
return self.get_query_params().get('BizTypeImport')
3642

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkgreen.endpoint import endpoint_data
22+
23+
class DescribeBizTypeImageLibRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Green', '2017-08-23', 'DescribeBizTypeImageLib','green')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_ResourceType(self):
35+
return self.get_query_params().get('ResourceType')
36+
37+
def set_ResourceType(self,ResourceType):
38+
self.add_query_param('ResourceType',ResourceType)
39+
40+
def get_Scene(self):
41+
return self.get_query_params().get('Scene')
42+
43+
def set_Scene(self,Scene):
44+
self.add_query_param('Scene',Scene)
45+
46+
def get_BizTypeName(self):
47+
return self.get_query_params().get('BizTypeName')
48+
49+
def set_BizTypeName(self,BizTypeName):
50+
self.add_query_param('BizTypeName',BizTypeName)
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkgreen.endpoint import endpoint_data
22+
23+
class DescribeBizTypeTextLibRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Green', '2017-08-23', 'DescribeBizTypeTextLib','green')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_ResourceType(self):
35+
return self.get_query_params().get('ResourceType')
36+
37+
def set_ResourceType(self,ResourceType):
38+
self.add_query_param('ResourceType',ResourceType)
39+
40+
def get_Scene(self):
41+
return self.get_query_params().get('Scene')
42+
43+
def set_Scene(self,Scene):
44+
self.add_query_param('Scene',Scene)
45+
46+
def get_BizTypeName(self):
47+
return self.get_query_params().get('BizTypeName')
48+
49+
def set_BizTypeName(self,BizTypeName):
50+
self.add_query_param('BizTypeName',BizTypeName)

aliyun-python-sdk-green/aliyunsdkgreen/request/v20170823/MarkAuditContentItemRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ def __init__(self):
3131
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3232

3333

34+
def get_BizTypes(self):
35+
return self.get_query_params().get('BizTypes')
36+
37+
def set_BizTypes(self,BizTypes):
38+
self.add_query_param('BizTypes',BizTypes)
39+
3440
def get_AuditIllegalReasons(self):
3541
return self.get_query_params().get('AuditIllegalReasons')
3642

aliyun-python-sdk-green/aliyunsdkgreen/request/v20170823/MarkAuditContentRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ def __init__(self):
3131
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3232

3333

34+
def get_BizTypes(self):
35+
return self.get_query_params().get('BizTypes')
36+
37+
def set_BizTypes(self,BizTypes):
38+
self.add_query_param('BizTypes',BizTypes)
39+
3440
def get_AuditIllegalReasons(self):
3541
return self.get_query_params().get('AuditIllegalReasons')
3642

aliyun-python-sdk-green/aliyunsdkgreen/request/v20170823/UpdateAuditCallbackRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ def get_Seed(self):
3737
def set_Seed(self,Seed):
3838
self.add_query_param('Seed',Seed)
3939

40+
def get_CryptType(self):
41+
return self.get_query_params().get('CryptType')
42+
43+
def set_CryptType(self,CryptType):
44+
self.add_query_param('CryptType',CryptType)
45+
4046
def get_Callback(self):
4147
return self.get_query_params().get('Callback')
4248

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkgreen.endpoint import endpoint_data
22+
23+
class UpdateBizTypeRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Green', '2017-08-23', 'UpdateBizType','green')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_Description(self):
35+
return self.get_query_params().get('Description')
36+
37+
def set_Description(self,Description):
38+
self.add_query_param('Description',Description)
39+
40+
def get_BizTypeName(self):
41+
return self.get_query_params().get('BizTypeName')
42+
43+
def set_BizTypeName(self,BizTypeName):
44+
self.add_query_param('BizTypeName',BizTypeName)

aliyun-python-sdk-green/aliyunsdkgreen/request/v20170823/UpdateBizTypeSettingRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ def get_BizTypeName(self):
5555
def set_BizTypeName(self,BizTypeName):
5656
self.add_query_param('BizTypeName',BizTypeName)
5757

58+
def get_Live(self):
59+
return self.get_query_params().get('Live')
60+
61+
def set_Live(self,Live):
62+
self.add_query_param('Live',Live)
63+
5864
def get_Ad(self):
5965
return self.get_query_params().get('Ad')
6066

0 commit comments

Comments
 (0)