Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b369eaa

Browse files
committed
SDK version 107.
1 parent 08d42f2 commit b369eaa

16 files changed

+898
-2
lines changed

aliyun-java-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

aliyun-java-sdk-imageenhan/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-imageenhan</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.6</version>
7+
<version>1.0.7</version>
88
<name>aliyun-java-sdk-imageenhan</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-imageenhan/src/main/java/com/aliyuncs/imageenhan/model/v20190930/ChangeImageSizeResponse.java

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,66 @@ public static class Data {
4848

4949
private String url;
5050

51+
private RetainLocation retainLocation;
52+
5153
public String getUrl() {
5254
return this.url;
5355
}
5456

5557
public void setUrl(String url) {
5658
this.url = url;
5759
}
60+
61+
public RetainLocation getRetainLocation() {
62+
return this.retainLocation;
63+
}
64+
65+
public void setRetainLocation(RetainLocation retainLocation) {
66+
this.retainLocation = retainLocation;
67+
}
68+
69+
public static class RetainLocation {
70+
71+
private Integer x;
72+
73+
private Integer y;
74+
75+
private Integer width;
76+
77+
private Integer height;
78+
79+
public Integer getX() {
80+
return this.x;
81+
}
82+
83+
public void setX(Integer x) {
84+
this.x = x;
85+
}
86+
87+
public Integer getY() {
88+
return this.y;
89+
}
90+
91+
public void setY(Integer y) {
92+
this.y = y;
93+
}
94+
95+
public Integer getWidth() {
96+
return this.width;
97+
}
98+
99+
public void setWidth(Integer width) {
100+
this.width = width;
101+
}
102+
103+
public Integer getHeight() {
104+
return this.height;
105+
}
106+
107+
public void setHeight(Integer height) {
108+
this.height = height;
109+
}
110+
}
58111
}
59112

60113
@Override
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.imageenhan.model.v20190930;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.imageenhan.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class ImageBlindCharacterWatermarkRequest extends RpcAcsRequest<ImageBlindCharacterWatermarkResponse> {
26+
27+
28+
private String watermarkImageURL;
29+
30+
private Integer qualityFactor;
31+
32+
private String functionType;
33+
34+
private String outputFileType;
35+
36+
private String originImageURL;
37+
38+
private String text;
39+
public ImageBlindCharacterWatermarkRequest() {
40+
super("imageenhan", "2019-09-30", "ImageBlindCharacterWatermark", "imageenhan");
41+
setMethod(MethodType.POST);
42+
try {
43+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
44+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
45+
} catch (Exception e) {}
46+
}
47+
48+
public String getWatermarkImageURL() {
49+
return this.watermarkImageURL;
50+
}
51+
52+
public void setWatermarkImageURL(String watermarkImageURL) {
53+
this.watermarkImageURL = watermarkImageURL;
54+
if(watermarkImageURL != null){
55+
putBodyParameter("WatermarkImageURL", watermarkImageURL);
56+
}
57+
}
58+
59+
public Integer getQualityFactor() {
60+
return this.qualityFactor;
61+
}
62+
63+
public void setQualityFactor(Integer qualityFactor) {
64+
this.qualityFactor = qualityFactor;
65+
if(qualityFactor != null){
66+
putBodyParameter("QualityFactor", qualityFactor.toString());
67+
}
68+
}
69+
70+
public String getFunctionType() {
71+
return this.functionType;
72+
}
73+
74+
public void setFunctionType(String functionType) {
75+
this.functionType = functionType;
76+
if(functionType != null){
77+
putBodyParameter("FunctionType", functionType);
78+
}
79+
}
80+
81+
public String getOutputFileType() {
82+
return this.outputFileType;
83+
}
84+
85+
public void setOutputFileType(String outputFileType) {
86+
this.outputFileType = outputFileType;
87+
if(outputFileType != null){
88+
putBodyParameter("OutputFileType", outputFileType);
89+
}
90+
}
91+
92+
public String getOriginImageURL() {
93+
return this.originImageURL;
94+
}
95+
96+
public void setOriginImageURL(String originImageURL) {
97+
this.originImageURL = originImageURL;
98+
if(originImageURL != null){
99+
putBodyParameter("OriginImageURL", originImageURL);
100+
}
101+
}
102+
103+
public String getText() {
104+
return this.text;
105+
}
106+
107+
public void setText(String text) {
108+
this.text = text;
109+
if(text != null){
110+
putBodyParameter("Text", text);
111+
}
112+
}
113+
114+
@Override
115+
public Class<ImageBlindCharacterWatermarkResponse> getResponseClass() {
116+
return ImageBlindCharacterWatermarkResponse.class;
117+
}
118+
119+
}
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.imageenhan.model.v20190930;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.imageenhan.transform.v20190930.ImageBlindCharacterWatermarkResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class ImageBlindCharacterWatermarkResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private Data data;
30+
31+
public String getRequestId() {
32+
return this.requestId;
33+
}
34+
35+
public void setRequestId(String requestId) {
36+
this.requestId = requestId;
37+
}
38+
39+
public Data getData() {
40+
return this.data;
41+
}
42+
43+
public void setData(Data data) {
44+
this.data = data;
45+
}
46+
47+
public static class Data {
48+
49+
private String watermarkImageURL;
50+
51+
private String textImageURL;
52+
53+
public String getWatermarkImageURL() {
54+
return this.watermarkImageURL;
55+
}
56+
57+
public void setWatermarkImageURL(String watermarkImageURL) {
58+
this.watermarkImageURL = watermarkImageURL;
59+
}
60+
61+
public String getTextImageURL() {
62+
return this.textImageURL;
63+
}
64+
65+
public void setTextImageURL(String textImageURL) {
66+
this.textImageURL = textImageURL;
67+
}
68+
}
69+
70+
@Override
71+
public ImageBlindCharacterWatermarkResponse getInstance(UnmarshallerContext context) {
72+
return ImageBlindCharacterWatermarkResponseUnmarshaller.unmarshall(this, context);
73+
}
74+
75+
@Override
76+
public boolean checkShowJsonItemName() {
77+
return false;
78+
}
79+
}

0 commit comments

Comments
 (0)