Skip to content

Commit e2270c2

Browse files
committed
Updated sources
1 parent e0ae22e commit e2270c2

221 files changed

Lines changed: 334 additions & 229 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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:21.12'
28+
implementation 'com.groupdocs:groupdocs-conversion-cloud:22.3'
2929
}
3030
```
3131

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-android</artifactId>
66
<packaging>jar</packaging>
77
<name>groupdocs-conversion-cloud-android</name>
8-
<version>21.12</version>
8+
<version>22.3</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>

src/main/java/com/groupdocs/cloud/conversion/api/ConvertApi.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="ConvertApi.java">
4-
* Copyright (c) 2003-2021 Aspose Pty Ltd
4+
* Copyright (c) 2003-2022 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -350,6 +350,10 @@ public com.squareup.okhttp.Call convertDocumentDirectCall(ConvertDocumentDirectR
350350
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
351351
if (request.getFile() != null)
352352
localVarFormParams.put("File", request.getFile());
353+
if (request.getloadOptions() != null)
354+
localVarFormParams.put("loadOptions", request.getloadOptions());
355+
if (request.getconvertOptions() != null)
356+
localVarFormParams.put("convertOptions", request.getconvertOptions());
353357

354358
final String[] localVarAccepts = {
355359
"application/json"

src/main/java/com/groupdocs/cloud/conversion/api/FileApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="FileApi.java">
4-
* Copyright (c) 2003-2021 Aspose Pty Ltd
4+
* Copyright (c) 2003-2022 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

src/main/java/com/groupdocs/cloud/conversion/api/FolderApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="FolderApi.java">
4-
* Copyright (c) 2003-2021 Aspose Pty Ltd
4+
* Copyright (c) 2003-2022 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

src/main/java/com/groupdocs/cloud/conversion/api/InfoApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="InfoApi.java">
4-
* Copyright (c) 2003-2021 Aspose Pty Ltd
4+
* Copyright (c) 2003-2022 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

src/main/java/com/groupdocs/cloud/conversion/api/LicenseApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="LicenseApi.java">
4-
* Copyright (c) 2003-2021 Aspose Pty Ltd
4+
* Copyright (c) 2003-2022 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

src/main/java/com/groupdocs/cloud/conversion/api/StorageApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="StorageApi.java">
4-
* Copyright (c) 2003-2021 Aspose Pty Ltd
4+
* Copyright (c) 2003-2022 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="ApiCallback.java">
4-
* Copyright (c) 2003-2021 Aspose Pty Ltd
4+
* Copyright (c) 2003-2022 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="ApiClient.java">
4-
* Copyright (c) 2003-2021 Aspose Pty Ltd
4+
* Copyright (c) 2003-2022 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -97,7 +97,7 @@ public ApiClient(Configuration configuration) {
9797
this.json = new JSON();
9898

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

102102
// Set connection timeout
103103
setConnectTimeout(configuration.getTimeout());
@@ -449,8 +449,11 @@ public String parameterToString(Object param) {
449449
b.append(String.valueOf(o));
450450
}
451451
return b.toString();
452-
} else {
452+
}
453+
else if (param instanceof String || param instanceof Integer || param instanceof Boolean) {
453454
return String.valueOf(param);
455+
} else {
456+
return json.serialize(param); //String.valueOf(param);
454457
}
455458
}
456459

0 commit comments

Comments
 (0)