Skip to content

Commit 913b3af

Browse files
committed
Updated sources
1 parent 67a6066 commit 913b3af

File tree

5 files changed

+136
-6
lines changed

5 files changed

+136
-6
lines changed

README.md

Lines changed: 3 additions & 3 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>23.7</version>
27+
<version>23.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:23.7'
46+
implementation 'com.groupdocs:groupdocs-conversion-cloud:23.8'
4747
}
4848
```
4949

@@ -100,7 +100,7 @@ mvn package -D maven.test.skip=true
100100

101101
Then manually install the following JARs:
102102

103-
* target/groupdocs-conversion-cloud-23.7.jar
103+
* target/groupdocs-conversion-cloud-23.8.jar
104104
* target/lib/*.jar
105105

106106
## Licensing

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>23.7</version>
8+
<version>23.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>23.7</version>
8+
<version>23.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
@@ -97,7 +97,7 @@ public ApiClient(Configuration configuration) {
9797
this.json = new JSON();
9898

9999
// Set default User-Agent.
100-
setUserAgent("java-sdk/23.7");
100+
setUserAgent("java-sdk/23.8");
101101

102102
// Set connection timeout
103103
setConnectTimeout(configuration.getTimeout());
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
/**
2+
* --------------------------------------------------------------------------------------------------------------------
3+
* <copyright company="Aspose Pty Ltd" file="ApiErrorResponse.java">
4+
* Copyright (c) 2003-2023 Aspose Pty Ltd
5+
* </copyright>
6+
* <summary>
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
* </summary>
25+
* --------------------------------------------------------------------------------------------------------------------
26+
*/
27+
28+
package com.groupdocs.cloud.conversion.model;
29+
30+
import java.util.Objects;
31+
import com.google.gson.TypeAdapter;
32+
import com.google.gson.annotations.JsonAdapter;
33+
import com.google.gson.annotations.SerializedName;
34+
import com.google.gson.stream.JsonReader;
35+
import com.google.gson.stream.JsonWriter;
36+
import com.groupdocs.cloud.conversion.model.ApiError;
37+
import io.swagger.annotations.ApiModel;
38+
import io.swagger.annotations.ApiModelProperty;
39+
import java.io.IOException;
40+
41+
/**
42+
* ApiErrorResponse
43+
*/
44+
public class ApiErrorResponse {
45+
@SerializedName("requestId")
46+
private String requestId = null;
47+
48+
@SerializedName("error")
49+
private ApiError error = null;
50+
51+
public ApiErrorResponse requestId(String requestId) {
52+
this.requestId = requestId;
53+
return this;
54+
}
55+
56+
/**
57+
* Get requestId
58+
* @return requestId
59+
**/
60+
@ApiModelProperty(value = "")
61+
public String getRequestId() {
62+
return requestId;
63+
}
64+
65+
public void setRequestId(String requestId) {
66+
this.requestId = requestId;
67+
}
68+
69+
public ApiErrorResponse error(ApiError error) {
70+
this.error = error;
71+
return this;
72+
}
73+
74+
/**
75+
* Get error
76+
* @return error
77+
**/
78+
@ApiModelProperty(value = "")
79+
public ApiError getError() {
80+
return error;
81+
}
82+
83+
public void setError(ApiError error) {
84+
this.error = error;
85+
}
86+
87+
88+
@Override
89+
public boolean equals(java.lang.Object o) {
90+
if (this == o) {
91+
return true;
92+
}
93+
if (o == null || getClass() != o.getClass()) {
94+
return false;
95+
}
96+
ApiErrorResponse apiErrorResponse = (ApiErrorResponse) o;
97+
return Objects.equals(this.requestId, apiErrorResponse.requestId) &&
98+
Objects.equals(this.error, apiErrorResponse.error);
99+
}
100+
101+
@Override
102+
public int hashCode() {
103+
return Objects.hash(requestId, error);
104+
}
105+
106+
107+
@Override
108+
public String toString() {
109+
StringBuilder sb = new StringBuilder();
110+
sb.append("class ApiErrorResponse {\n");
111+
112+
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
113+
sb.append(" error: ").append(toIndentedString(error)).append("\n");
114+
sb.append("}");
115+
return sb.toString();
116+
}
117+
118+
/**
119+
* Convert the given object to string with each line indented by 4 spaces
120+
* (except the first line).
121+
*/
122+
private String toIndentedString(java.lang.Object o) {
123+
if (o == null) {
124+
return "null";
125+
}
126+
return o.toString().replace("\n", "\n ");
127+
}
128+
129+
}
130+

0 commit comments

Comments
 (0)