Skip to content

Commit 252129b

Browse files
committed
Updated sources
1 parent 6360b2c commit 252129b

File tree

5 files changed

+152
-29
lines changed

5 files changed

+152
-29
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>22.3</version>
27+
<version>22.10</version>
2828
<scope>compile</scope>
2929
</dependency>
3030
```
@@ -43,7 +43,7 @@ repositories {
4343
...
4444
dependencies {
4545
...
46-
implementation 'com.groupdocs:groupdocs-conversion-cloud:22.3'
46+
implementation 'com.groupdocs:groupdocs-conversion-cloud:22.10'
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-22.3.jar
103+
* target/groupdocs-conversion-cloud-22.10.jar
104104
* target/lib/*.jar
105105

106106
## Licensing

pom.xml

Lines changed: 16 additions & 17 deletions
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>22.3</version>
8+
<version>22.10</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>
@@ -31,14 +31,6 @@
3131
</developer>
3232
</developers>
3333

34-
<repositories>
35-
<repository>
36-
<id>maven.aspose.cloud</id>
37-
<name>maven.aspose.cloud</name>
38-
<url>https://repository.aspose.cloud/repo/</url>
39-
</repository>
40-
</repositories>
41-
4234
<build>
4335
<plugins>
4436
<plugin>
@@ -118,9 +110,16 @@
118110
</goals>
119111
</execution>
120112
</executions>
121-
</plugin>
122-
</plugins>
123-
</build>
113+
</plugin>
114+
</plugins>
115+
<extensions>
116+
<extension>
117+
<groupId>com.github.seahen</groupId>
118+
<artifactId>maven-s3-wagon</artifactId>
119+
<version>1.3.3</version>
120+
</extension>
121+
</extensions>
122+
</build>
124123

125124
<profiles>
126125
<profile>
@@ -184,7 +183,7 @@
184183
</goals>
185184
<configuration>
186185
<repositoryId>Groupdocs-Cloud-QA</repositoryId>
187-
<url>https://repository-qa.groupdocs.cloud/repo</url>
186+
<url>s3://data-qa.repository.groupdocs.cloud/repo/</url>
188187
<file>target/groupdocs-conversion-cloud-${project.version}.jar</file>
189188
<javadoc>target/groupdocs-conversion-cloud-${project.version}-javadoc.jar</javadoc>
190189
<pomFile>simplified-pom.xml</pomFile>
@@ -199,7 +198,7 @@
199198
<repository>
200199
<id>Groupdocs-Cloud-QA</id>
201200
<name>artifactory-cloud-qa</name>
202-
<url>https://repository-qa.groupdocs.cloud/repo</url>
201+
<url>s3://data-qa.repository.groupdocs.cloud/repo/</url>
203202
</repository>
204203
</distributionManagement>
205204
</profile>
@@ -265,7 +264,7 @@
265264
</goals>
266265
<configuration>
267266
<repositoryId>Groupdocs-Cloud-PROD</repositoryId>
268-
<url>https://repository.groupdocs.cloud/internal</url>
267+
<url>s3://data.repository.groupdocs.cloud/repo/</url>
269268
<file>target/groupdocs-conversion-cloud-${project.version}.jar</file>
270269
<javadoc>target/groupdocs-conversion-cloud-${project.version}-javadoc.jar</javadoc>
271270
<pomFile>simplified-pom.xml</pomFile>
@@ -280,7 +279,7 @@
280279
<repository>
281280
<id>Groupdocs-Cloud-PROD</id>
282281
<name>artifactory-cloud-prod</name>
283-
<url>https://repository.groupdocs.cloud/internal</url>
282+
<url>s3://data.repository.groupdocs.cloud/repo/</url>
284283
</repository>
285284
</distributionManagement>
286285
</profile>
@@ -333,7 +332,7 @@
333332
<gson-fire-version>1.8.0</gson-fire-version>
334333
<swagger-core-version>1.5.15</swagger-core-version>
335334
<okhttp-version>2.7.5</okhttp-version>
336-
<gson-version>2.8.1</gson-version>
335+
<gson-version>2.9.0</gson-version>
337336
<threetenbp-version>1.3.5</threetenbp-version>
338337
<maven-plugin-version>1.0.0</maven-plugin-version>
339338
<junit-version>4.13.1</junit-version>

simplified-pom.template

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@
2727
<organizationUrl>https://www.groupdocs.cloud</organizationUrl>
2828
</developer>
2929
</developers>
30-
31-
<repositories>
32-
<repository>
33-
<id>maven.aspose.cloud</id>
34-
<name>maven.aspose.cloud</name>
35-
<url>https://repository.aspose.cloud/repo/</url>
36-
</repository>
37-
</repositories>
3830

3931
<dependencies>
4032
<dependency>

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/22.3");
100+
setUserAgent("java-sdk/22.10");
101101

102102
// Set connection timeout
103103
setConnectTimeout(configuration.getTimeout());
Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
/**
2+
* --------------------------------------------------------------------------------------------------------------------
3+
* <copyright company="Aspose Pty Ltd" file="PersonalStorageLoadOptions.java">
4+
* Copyright (c) 2003-2022 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.LoadOptions;
37+
import io.swagger.annotations.ApiModel;
38+
import io.swagger.annotations.ApiModelProperty;
39+
import java.io.IOException;
40+
41+
/**
42+
* Options for loading personal storage documents.
43+
*/
44+
@ApiModel(description = "Options for loading personal storage documents.")
45+
public class PersonalStorageLoadOptions extends LoadOptions {
46+
@SerializedName("folder")
47+
private String folder = null;
48+
49+
@SerializedName("depth")
50+
private Integer depth = null;
51+
52+
public PersonalStorageLoadOptions folder(String folder) {
53+
this.folder = folder;
54+
return this;
55+
}
56+
57+
/**
58+
* Folder which to be processed Default is Inbox
59+
* @return folder
60+
**/
61+
@ApiModelProperty(value = "Folder which to be processed Default is Inbox")
62+
public String getFolder() {
63+
return folder;
64+
}
65+
66+
public void setFolder(String folder) {
67+
this.folder = folder;
68+
}
69+
70+
public PersonalStorageLoadOptions depth(Integer depth) {
71+
this.depth = depth;
72+
return this;
73+
}
74+
75+
/**
76+
* Controls how many levels in depth to perform conversion
77+
* @return depth
78+
**/
79+
@ApiModelProperty(required = true, value = "Controls how many levels in depth to perform conversion")
80+
public Integer getDepth() {
81+
return depth;
82+
}
83+
84+
public void setDepth(Integer depth) {
85+
this.depth = depth;
86+
}
87+
88+
89+
@Override
90+
public boolean equals(java.lang.Object o) {
91+
if (this == o) {
92+
return true;
93+
}
94+
if (o == null || getClass() != o.getClass()) {
95+
return false;
96+
}
97+
PersonalStorageLoadOptions personalStorageLoadOptions = (PersonalStorageLoadOptions) o;
98+
return Objects.equals(this.folder, personalStorageLoadOptions.folder) &&
99+
Objects.equals(this.depth, personalStorageLoadOptions.depth) &&
100+
super.equals(o);
101+
}
102+
103+
@Override
104+
public int hashCode() {
105+
return Objects.hash(folder, depth, super.hashCode());
106+
}
107+
108+
109+
@Override
110+
public String toString() {
111+
StringBuilder sb = new StringBuilder();
112+
sb.append("class PersonalStorageLoadOptions {\n");
113+
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
114+
sb.append(" folder: ").append(toIndentedString(folder)).append("\n");
115+
sb.append(" depth: ").append(toIndentedString(depth)).append("\n");
116+
sb.append("}");
117+
return sb.toString();
118+
}
119+
120+
/**
121+
* Convert the given object to string with each line indented by 4 spaces
122+
* (except the first line).
123+
*/
124+
private String toIndentedString(java.lang.Object o) {
125+
if (o == null) {
126+
return "null";
127+
}
128+
return o.toString().replace("\n", "\n ");
129+
}
130+
131+
}
132+

0 commit comments

Comments
 (0)