Skip to content

Commit 4f184b4

Browse files
committed
Updated sources
1 parent 8e7a931 commit 4f184b4

15 files changed

+1038
-278
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Add following repository and dependency to your project's POM
2424
<dependency>
2525
<groupId>com.groupdocs</groupId>
2626
<artifactId>groupdocs-conversion-cloud</artifactId>
27-
<version>25.6</version>
27+
<version>25.8</version>
2828
<scope>compile</scope>
2929
</dependency>
3030
```
@@ -43,7 +43,7 @@ repositories {
4343
...
4444
dependencies {
4545
...
46-
implementation 'com.groupdocs:groupdocs-conversion-cloud:25.6'
46+
implementation 'com.groupdocs:groupdocs-conversion-cloud:25.8'
4747
}
4848
```
4949

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>groupdocs-conversion-cloud</artifactId>
66
<packaging>jar</packaging>
77
<name>groupdocs-conversion-cloud</name>
8-
<version>25.6</version>
8+
<version>25.8</version>
99
<url>https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-java</url>
1010
<description>Java library for communicating with the GroupDocs.Conversion Cloud API</description>
1111
<scm>

simplified-pom.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.groupdocs</groupId>
77
<artifactId>groupdocs-conversion-cloud</artifactId>
8-
<version>25.6</version>
8+
<version>25.8</version>
99
<packaging>jar</packaging>
1010

1111
<name>groupdocs-conversion-cloud</name>

src/main/java/com/groupdocs/cloud/conversion/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public ApiClient(Configuration configuration) {
9595
this.json = new JSON();
9696

9797
// Set default User-Agent.
98-
setUserAgent("java-sdk/25.6");
98+
setUserAgent("java-sdk/25.8");
9999

100100
// Set connection timeout
101101
setConnectTimeout(configuration.getTimeout());

src/main/java/com/groupdocs/cloud/conversion/model/CadLoadOptions.java

Lines changed: 48 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,8 @@ public class CadLoadOptions extends LoadOptions {
4848
@SerializedName("layoutNames")
4949
private List<String> layoutNames = null;
5050

51-
@SerializedName("backgroundColor")
52-
private String backgroundColor = null;
53-
5451
/**
55-
* Gets or sets type of drawing.
52+
* A type of drawing.
5653
*/
5754
@JsonAdapter(DrawTypeEnum.Adapter.class)
5855
public enum DrawTypeEnum {
@@ -101,6 +98,12 @@ public DrawTypeEnum read(final JsonReader jsonReader) throws IOException {
10198
@SerializedName("drawType")
10299
private DrawTypeEnum drawType = null;
103100

101+
@SerializedName("drawColor")
102+
private String drawColor = null;
103+
104+
@SerializedName("backgroundColor")
105+
private String backgroundColor = null;
106+
104107
public CadLoadOptions layoutNames(List<String> layoutNames) {
105108
this.layoutNames = layoutNames;
106109
return this;
@@ -127,40 +130,58 @@ public void setLayoutNames(List<String> layoutNames) {
127130
this.layoutNames = layoutNames;
128131
}
129132

130-
public CadLoadOptions backgroundColor(String backgroundColor) {
131-
this.backgroundColor = backgroundColor;
133+
public CadLoadOptions drawType(DrawTypeEnum drawType) {
134+
this.drawType = drawType;
132135
return this;
133136
}
134137

135138
/**
136-
* Gets or sets a background color.
137-
* @return backgroundColor
139+
* A type of drawing.
140+
* @return drawType
138141
**/
139-
@ApiModelProperty(value = "Gets or sets a background color.")
140-
public String getBackgroundColor() {
141-
return backgroundColor;
142+
@ApiModelProperty(required = true, value = "A type of drawing.")
143+
public DrawTypeEnum getDrawType() {
144+
return drawType;
142145
}
143146

144-
public void setBackgroundColor(String backgroundColor) {
145-
this.backgroundColor = backgroundColor;
147+
public void setDrawType(DrawTypeEnum drawType) {
148+
this.drawType = drawType;
146149
}
147150

148-
public CadLoadOptions drawType(DrawTypeEnum drawType) {
149-
this.drawType = drawType;
151+
public CadLoadOptions drawColor(String drawColor) {
152+
this.drawColor = drawColor;
150153
return this;
151154
}
152155

153156
/**
154-
* Gets or sets type of drawing.
155-
* @return drawType
157+
* A foreground color.
158+
* @return drawColor
156159
**/
157-
@ApiModelProperty(required = true, value = "Gets or sets type of drawing.")
158-
public DrawTypeEnum getDrawType() {
159-
return drawType;
160+
@ApiModelProperty(value = "A foreground color. ")
161+
public String getDrawColor() {
162+
return drawColor;
160163
}
161164

162-
public void setDrawType(DrawTypeEnum drawType) {
163-
this.drawType = drawType;
165+
public void setDrawColor(String drawColor) {
166+
this.drawColor = drawColor;
167+
}
168+
169+
public CadLoadOptions backgroundColor(String backgroundColor) {
170+
this.backgroundColor = backgroundColor;
171+
return this;
172+
}
173+
174+
/**
175+
* A background color.
176+
* @return backgroundColor
177+
**/
178+
@ApiModelProperty(value = "A background color.")
179+
public String getBackgroundColor() {
180+
return backgroundColor;
181+
}
182+
183+
public void setBackgroundColor(String backgroundColor) {
184+
this.backgroundColor = backgroundColor;
164185
}
165186

166187

@@ -174,14 +195,15 @@ public boolean equals(java.lang.Object o) {
174195
}
175196
CadLoadOptions cadLoadOptions = (CadLoadOptions) o;
176197
return Objects.equals(this.layoutNames, cadLoadOptions.layoutNames) &&
177-
Objects.equals(this.backgroundColor, cadLoadOptions.backgroundColor) &&
178198
Objects.equals(this.drawType, cadLoadOptions.drawType) &&
199+
Objects.equals(this.drawColor, cadLoadOptions.drawColor) &&
200+
Objects.equals(this.backgroundColor, cadLoadOptions.backgroundColor) &&
179201
super.equals(o);
180202
}
181203

182204
@Override
183205
public int hashCode() {
184-
return Objects.hash(layoutNames, backgroundColor, drawType, super.hashCode());
206+
return Objects.hash(layoutNames, drawType, drawColor, backgroundColor, super.hashCode());
185207
}
186208

187209

@@ -191,8 +213,9 @@ public String toString() {
191213
sb.append("class CadLoadOptions {\n");
192214
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
193215
sb.append(" layoutNames: ").append(toIndentedString(layoutNames)).append("\n");
194-
sb.append(" backgroundColor: ").append(toIndentedString(backgroundColor)).append("\n");
195216
sb.append(" drawType: ").append(toIndentedString(drawType)).append("\n");
217+
sb.append(" drawColor: ").append(toIndentedString(drawColor)).append("\n");
218+
sb.append(" backgroundColor: ").append(toIndentedString(backgroundColor)).append("\n");
196219
sb.append("}");
197220
return sb.toString();
198221
}

0 commit comments

Comments
 (0)