Skip to content

Commit 5cd3bbe

Browse files
committed
Updated sources
1 parent e2270c2 commit 5cd3bbe

5 files changed

Lines changed: 150 additions & 27 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repositories {
2525
...
2626
dependencies {
2727
...
28-
implementation 'com.groupdocs:groupdocs-conversion-cloud:22.3'
28+
implementation 'com.groupdocs:groupdocs-conversion-cloud:22.10'
2929
}
3030
```
3131

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-android</artifactId>
66
<packaging>jar</packaging>
77
<name>groupdocs-conversion-cloud-android</name>
8-
<version>22.3</version>
8+
<version>22.10</version>
99
<url>https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-android</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.groupdocs.cloud</id>
37-
<name>maven.groupdocs.cloud</name>
38-
<url>https://repository.groupdocs.cloud/repo/</url>
39-
</repository>
40-
</repositories>
41-
4234
<build>
4335
<plugins>
4436
<plugin>
@@ -116,9 +108,16 @@
116108
</goals>
117109
</execution>
118110
</executions>
119-
</plugin>
120-
</plugins>
121-
</build>
111+
</plugin>
112+
</plugins>
113+
<extensions>
114+
<extension>
115+
<groupId>com.github.seahen</groupId>
116+
<artifactId>maven-s3-wagon</artifactId>
117+
<version>1.3.3</version>
118+
</extension>
119+
</extensions>
120+
</build>
122121

123122
<profiles>
124123
<profile>
@@ -182,7 +181,7 @@
182181
</goals>
183182
<configuration>
184183
<repositoryId>Groupdocs-Cloud-QA</repositoryId>
185-
<url>https://repository-qa.groupdocs.cloud/repo</url>
184+
<url>s3://data-qa.repository.groupdocs.cloud/repo/</url>
186185
<file>target/groupdocs-conversion-cloud-android-${project.version}.jar</file>
187186
<javadoc>target/groupdocs-conversion-cloud-android-${project.version}-javadoc.jar</javadoc>
188187
<pomFile>simplified-pom.xml</pomFile>
@@ -197,7 +196,7 @@
197196
<repository>
198197
<id>Groupdocs-Cloud-QA</id>
199198
<name>artifactory-cloud-qa</name>
200-
<url>https://repository-qa.groupdocs.cloud/repo</url>
199+
<url>s3://data-qa.repository.groupdocs.cloud/repo/</url>
201200
</repository>
202201
</distributionManagement>
203202
</profile>
@@ -263,7 +262,7 @@
263262
</goals>
264263
<configuration>
265264
<repositoryId>Groupdocs-Cloud-PROD</repositoryId>
266-
<url>https://repository.groupdocs.cloud/repo</url>
265+
<url>s3://data.repository.groupdocs.cloud/repo/</url>
267266
<file>target/groupdocs-conversion-cloud-android-${project.version}.jar</file>
268267
<javadoc>target/groupdocs-conversion-cloud-android-${project.version}-javadoc.jar</javadoc>
269268
<pomFile>simplified-pom.xml</pomFile>
@@ -278,7 +277,7 @@
278277
<repository>
279278
<id>Groupdocs-Cloud-PROD</id>
280279
<name>artifactory-cloud-prod</name>
281-
<url>https://repository.groupdocs.cloud/repo</url>
280+
<url>s3://data.repository.groupdocs.cloud/repo/</url>
282281
</repository>
283282
</distributionManagement>
284283
</profile>
@@ -337,7 +336,7 @@
337336
<gson-fire-version>1.8.0</gson-fire-version>
338337
<swagger-core-version>1.5.15</swagger-core-version>
339338
<okhttp-version>2.7.5</okhttp-version>
340-
<gson-version>2.8.1</gson-version>
339+
<gson-version>2.9.0</gson-version>
341340
<threetenbp-version>1.3.5</threetenbp-version>
342341
<maven-plugin-version>1.0.0</maven-plugin-version>
343342
<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.groupdocs.cloud</id>
34-
<name>maven.groupdocs.cloud</name>
35-
<url>https://repository.groupdocs.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)