Skip to content

Commit c1fb9f3

Browse files
committed
SDK version 107.
1 parent 9bd9ae9 commit c1fb9f3

File tree

6 files changed

+240
-1
lines changed

6 files changed

+240
-1
lines changed

aliyun-python-sdk-imageenhan/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2020-03-23 Version: 1.0.7
2+
- SDK version 107.
3+
14
2020-02-27 Version: 1.0.6
25
- Sixth version.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.6'
1+
__version__ = '1.0.7'
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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 aliyunsdkimageenhan.endpoint import endpoint_data
22+
23+
class ImageBlindCharacterWatermarkRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'imageenhan', '2019-09-30', 'ImageBlindCharacterWatermark','imageenhan')
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_WatermarkImageURL(self):
35+
return self.get_body_params().get('WatermarkImageURL')
36+
37+
def set_WatermarkImageURL(self,WatermarkImageURL):
38+
self.add_body_params('WatermarkImageURL', WatermarkImageURL)
39+
40+
def get_QualityFactor(self):
41+
return self.get_body_params().get('QualityFactor')
42+
43+
def set_QualityFactor(self,QualityFactor):
44+
self.add_body_params('QualityFactor', QualityFactor)
45+
46+
def get_FunctionType(self):
47+
return self.get_body_params().get('FunctionType')
48+
49+
def set_FunctionType(self,FunctionType):
50+
self.add_body_params('FunctionType', FunctionType)
51+
52+
def get_OutputFileType(self):
53+
return self.get_body_params().get('OutputFileType')
54+
55+
def set_OutputFileType(self,OutputFileType):
56+
self.add_body_params('OutputFileType', OutputFileType)
57+
58+
def get_OriginImageURL(self):
59+
return self.get_body_params().get('OriginImageURL')
60+
61+
def set_OriginImageURL(self,OriginImageURL):
62+
self.add_body_params('OriginImageURL', OriginImageURL)
63+
64+
def get_Text(self):
65+
return self.get_body_params().get('Text')
66+
67+
def set_Text(self,Text):
68+
self.add_body_params('Text', Text)
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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 aliyunsdkimageenhan.endpoint import endpoint_data
22+
23+
class ImageBlindPicWatermarkRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'imageenhan', '2019-09-30', 'ImageBlindPicWatermark','imageenhan')
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_WatermarkImageURL(self):
35+
return self.get_body_params().get('WatermarkImageURL')
36+
37+
def set_WatermarkImageURL(self,WatermarkImageURL):
38+
self.add_body_params('WatermarkImageURL', WatermarkImageURL)
39+
40+
def get_QualityFactor(self):
41+
return self.get_body_params().get('QualityFactor')
42+
43+
def set_QualityFactor(self,QualityFactor):
44+
self.add_body_params('QualityFactor', QualityFactor)
45+
46+
def get_FunctionType(self):
47+
return self.get_body_params().get('FunctionType')
48+
49+
def set_FunctionType(self,FunctionType):
50+
self.add_body_params('FunctionType', FunctionType)
51+
52+
def get_LogoURL(self):
53+
return self.get_body_params().get('LogoURL')
54+
55+
def set_LogoURL(self,LogoURL):
56+
self.add_body_params('LogoURL', LogoURL)
57+
58+
def get_OutputFileType(self):
59+
return self.get_body_params().get('OutputFileType')
60+
61+
def set_OutputFileType(self,OutputFileType):
62+
self.add_body_params('OutputFileType', OutputFileType)
63+
64+
def get_OriginImageURL(self):
65+
return self.get_body_params().get('OriginImageURL')
66+
67+
def set_OriginImageURL(self,OriginImageURL):
68+
self.add_body_params('OriginImageURL', OriginImageURL)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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 aliyunsdkimageenhan.endpoint import endpoint_data
22+
23+
class RemoveImageSubtitlesRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'imageenhan', '2019-09-30', 'RemoveImageSubtitles','imageenhan')
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_BH(self):
35+
return self.get_body_params().get('BH')
36+
37+
def set_BH(self,BH):
38+
self.add_body_params('BH', BH)
39+
40+
def get_BW(self):
41+
return self.get_body_params().get('BW')
42+
43+
def set_BW(self,BW):
44+
self.add_body_params('BW', BW)
45+
46+
def get_BX(self):
47+
return self.get_body_params().get('BX')
48+
49+
def set_BX(self,BX):
50+
self.add_body_params('BX', BX)
51+
52+
def get_ImageURL(self):
53+
return self.get_body_params().get('ImageURL')
54+
55+
def set_ImageURL(self,ImageURL):
56+
self.add_body_params('ImageURL', ImageURL)
57+
58+
def get_BY(self):
59+
return self.get_body_params().get('BY')
60+
61+
def set_BY(self,BY):
62+
self.add_body_params('BY', BY)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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 aliyunsdkimageenhan.endpoint import endpoint_data
22+
23+
class RemoveImageWatermarkRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'imageenhan', '2019-09-30', 'RemoveImageWatermark','imageenhan')
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_ImageURL(self):
35+
return self.get_body_params().get('ImageURL')
36+
37+
def set_ImageURL(self,ImageURL):
38+
self.add_body_params('ImageURL', ImageURL)

0 commit comments

Comments
 (0)