Skip to content

Commit ef9b9e4

Browse files
authored
Release 22.7 (#34)
1 parent 6ca1d34 commit ef9b9e4

82 files changed

Lines changed: 121 additions & 404 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: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
[![Maven metadata URL](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepository.aspose.cloud%2Frepo%2Fcom%2Faspose%2Faspose-barcode-cloud%2Fmaven-metadata.xml)](https://repository.aspose.cloud/repo/com/aspose/aspose-barcode-cloud/)
66

77
- API version: 3.0
8-
- SDK version: 22.3.0
8+
- SDK version: 22.7.0
99

1010
## Demo applications
1111

12-
[Scan QR](https://products.aspose.app/barcode/scanqr) | [Generate Barcode](https://products.aspose.app/barcode/generate) | [Recognize Barcode](https://products.aspose.app/barcode/recognize)
13-
:---: | :---: | :---:
14-
[![ScanQR](https://products.aspose.app/barcode/scanqr/img/aspose_scanqr-app-48.png)](https://products.aspose.app/barcode/scanqr) | [![Generate](https://products.aspose.app/barcode/generate/img/aspose_generate-app-48.png)](https://products.aspose.app/barcode/generate) | [![Recognize](https://products.aspose.app/barcode/recognize/img/aspose_recognize-app-48.png)](https://products.aspose.app/barcode/recognize)
12+
[Scan QR](https://products.aspose.app/barcode/scanqr) | [Generate Barcode](https://products.aspose.app/barcode/generate) | [Recognize Barcode](https://products.aspose.app/barcode/recognize)
13+
:---: | :---: | :---:
14+
[![ScanQR](https://products.aspose.app/barcode/scanqr/img/aspose_scanqr-app-48.png)](https://products.aspose.app/barcode/scanqr) | [![Generate](https://products.aspose.app/barcode/generate/img/aspose_generate-app-48.png)](https://products.aspose.app/barcode/generate) | [![Recognize](https://products.aspose.app/barcode/recognize/img/aspose_recognize-app-48.png)](https://products.aspose.app/barcode/recognize)
1515
[**Generate Wi-Fi QR**](https://products.aspose.app/barcode/wifi-qr) | [**Embed Barcode**](https://products.aspose.app/barcode/embed) | [**Scan Barcode**](https://products.aspose.app/barcode/scan)
16-
[![Wi-FiQR](https://products.aspose.app/barcode/embed/img/aspose_wifi-qr-app-48.png)](https://products.aspose.app/barcode/wifi-qr) | [![Embed](https://products.aspose.app/barcode/embed/img/aspose_embed-app-48.png)](https://products.aspose.app/barcode/embed) | [![Scan](https://products.aspose.app/barcode/embed/img/aspose_scan-app-48.png)](https://products.aspose.app/barcode/scan)
16+
[![Wi-FiQR](https://products.aspose.app/barcode/embed/img/aspose_wifi-qr-app-48.png)](https://products.aspose.app/barcode/wifi-qr) | [![Embed](https://products.aspose.app/barcode/embed/img/aspose_embed-app-48.png)](https://products.aspose.app/barcode/embed) | [![Scan](https://products.aspose.app/barcode/embed/img/aspose_scan-app-48.png)](https://products.aspose.app/barcode/scan)
1717

1818
[Aspose.BarCode for Cloud](https://products.aspose.cloud/barcode/) is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows to specify barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the barcode type and text attributes such as text location and font styles in order to suit the application requirements.
1919

@@ -68,7 +68,7 @@ Add this dependency to your project's POM:
6868
<dependency>
6969
<groupId>com.aspose</groupId>
7070
<artifactId>aspose-barcode-cloud</artifactId>
71-
<version>22.3.0</version>
71+
<version>22.7.0</version>
7272
<scope>compile</scope>
7373
</dependency>
7474
```
@@ -83,7 +83,7 @@ mvn clean package
8383

8484
Then manually install the following JARs:
8585

86-
- `target/aspose-barcode-cloud-22.3.0.jar`
86+
- `target/aspose-barcode-cloud-22.7.0.jar`
8787
- `target/lib/*.jar`
8888

8989
## Getting Started

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>aspose-barcode-cloud</artifactId>
66
<packaging>jar</packaging>
77
<name>aspose-barcode-cloud</name>
8-
<version>22.3.0</version>
8+
<version>22.7.0</version>
99
<url>https://www.aspose.cloud</url>
1010
<description>Aspose.BarCode Cloud SDK for Java</description>
1111
<scm>

src/main/java/com/aspose/barcode/cloud/ApiClient.java

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@
3030
import com.squareup.okhttp.internal.http.HttpMethod;
3131
import com.squareup.okhttp.logging.HttpLoggingInterceptor;
3232
import com.squareup.okhttp.logging.HttpLoggingInterceptor.Level;
33-
34-
import okio.BufferedSink;
35-
import okio.Okio;
36-
37-
import org.threeten.bp.LocalDate;
38-
import org.threeten.bp.OffsetDateTime;
39-
4033
import java.io.File;
4134
import java.io.IOException;
4235
import java.io.InputStream;
@@ -56,13 +49,16 @@
5649
import java.util.concurrent.TimeUnit;
5750
import java.util.regex.Matcher;
5851
import java.util.regex.Pattern;
59-
6052
import javax.net.ssl.*;
53+
import okio.BufferedSink;
54+
import okio.Okio;
55+
import org.threeten.bp.LocalDate;
56+
import org.threeten.bp.OffsetDateTime;
6157

6258
public class ApiClient {
6359

6460
public final String apiVersion = "v3.0";
65-
public final String clientVersion = "22.3.0";
61+
public final String clientVersion = "22.7.0";
6662
private String baseUrl = "https://api.aspose.cloud";
6763
private String clientId;
6864
private String clientSecret;
@@ -114,7 +110,7 @@ protected ApiClient() {
114110
json = new JSON();
115111

116112
// Set default User-Agent.
117-
setUserAgent("Swagger-Codegen/22.3.0/java");
113+
setUserAgent("Swagger-Codegen/22.7.0/java");
118114

119115
addDefaultHeader("x-aspose-client", "java sdk");
120116
addDefaultHeader("x-aspose-client-version", clientVersion);

src/main/java/com/aspose/barcode/cloud/ApiException.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
import com.aspose.barcode.cloud.model.ApiError;
2929
import com.aspose.barcode.cloud.model.ApiErrorResponse;
30-
3130
import java.util.List;
3231
import java.util.Map;
3332

src/main/java/com/aspose/barcode/cloud/GzipRequestInterceptor.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@
2626
package com.aspose.barcode.cloud;
2727

2828
import com.squareup.okhttp.*;
29-
29+
import java.io.IOException;
3030
import okio.Buffer;
3131
import okio.BufferedSink;
3232
import okio.GzipSink;
3333
import okio.Okio;
3434

35-
import java.io.IOException;
36-
3735
/**
3836
* Encodes request bodies using gzip.
3937
*

src/main/java/com/aspose/barcode/cloud/JSON.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,18 @@
3333
import com.google.gson.stream.JsonReader;
3434
import com.google.gson.stream.JsonToken;
3535
import com.google.gson.stream.JsonWriter;
36-
3736
import io.gsonfire.GsonFireBuilder;
38-
39-
import okio.ByteString;
40-
41-
import org.threeten.bp.LocalDate;
42-
import org.threeten.bp.OffsetDateTime;
43-
import org.threeten.bp.format.DateTimeFormatter;
44-
4537
import java.io.IOException;
4638
import java.io.StringReader;
4739
import java.lang.reflect.Type;
4840
import java.text.DateFormat;
4941
import java.text.ParseException;
5042
import java.text.ParsePosition;
5143
import java.util.Date;
44+
import okio.ByteString;
45+
import org.threeten.bp.LocalDate;
46+
import org.threeten.bp.OffsetDateTime;
47+
import org.threeten.bp.format.DateTimeFormatter;
5248

5349
public class JSON {
5450
private Gson gson;

src/main/java/com/aspose/barcode/cloud/ProgressRequestBody.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,13 @@
2727

2828
import com.squareup.okhttp.MediaType;
2929
import com.squareup.okhttp.RequestBody;
30-
30+
import java.io.IOException;
3131
import okio.Buffer;
3232
import okio.BufferedSink;
3333
import okio.ForwardingSink;
3434
import okio.Okio;
3535
import okio.Sink;
3636

37-
import java.io.IOException;
38-
3937
public class ProgressRequestBody extends RequestBody {
4038

4139
public interface ProgressRequestListener {

src/main/java/com/aspose/barcode/cloud/ProgressResponseBody.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,13 @@
2727

2828
import com.squareup.okhttp.MediaType;
2929
import com.squareup.okhttp.ResponseBody;
30-
30+
import java.io.IOException;
3131
import okio.Buffer;
3232
import okio.BufferedSource;
3333
import okio.ForwardingSource;
3434
import okio.Okio;
3535
import okio.Source;
3636

37-
import java.io.IOException;
38-
3937
public class ProgressResponseBody extends ResponseBody {
4038

4139
public interface ProgressListener {

src/main/java/com/aspose/barcode/cloud/api/BarcodeApi.java

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
import com.aspose.barcode.cloud.model.ResultImageInfo;
3838
import com.aspose.barcode.cloud.requests.*;
3939
import com.google.gson.reflect.TypeToken;
40-
4140
import java.io.File;
4241
import java.io.IOException;
4342
import java.lang.reflect.Type;
@@ -220,15 +219,13 @@ private com.squareup.okhttp.Call getBarcodeGenerateValidateBeforeCall(
220219
// verify the required parameter 'request.type' is set
221220
if (request.type == null) {
222221
throw new ApiException(
223-
"Missing the required parameter 'request.type' when calling"
224-
+ " getBarcodeGenerate(Async)");
222+
"Missing the required parameter 'request.type' when calling getBarcodeGenerate(Async)");
225223
}
226224

227225
// verify the required parameter 'request.text' is set
228226
if (request.text == null) {
229227
throw new ApiException(
230-
"Missing the required parameter 'request.text' when calling"
231-
+ " getBarcodeGenerate(Async)");
228+
"Missing the required parameter 'request.text' when calling getBarcodeGenerate(Async)");
232229
}
233230

234231
com.squareup.okhttp.Call call =
@@ -501,8 +498,7 @@ private com.squareup.okhttp.Call getBarcodeRecognizeValidateBeforeCall(
501498
// verify the required parameter 'request.name' is set
502499
if (request.name == null) {
503500
throw new ApiException(
504-
"Missing the required parameter 'request.name' when calling"
505-
+ " getBarcodeRecognize(Async)");
501+
"Missing the required parameter 'request.name' when calling getBarcodeRecognize(Async)");
506502
}
507503

508504
com.squareup.okhttp.Call call =
@@ -937,8 +933,7 @@ private com.squareup.okhttp.Call postGenerateMultipleValidateBeforeCall(
937933
// verify the required parameter 'request.generatorParamsList' is set
938934
if (request.generatorParamsList == null) {
939935
throw new ApiException(
940-
"Missing the required parameter 'request.generatorParamsList' when calling"
941-
+ " postGenerateMultiple(Async)");
936+
"Missing the required parameter 'request.generatorParamsList' when calling postGenerateMultiple(Async)");
942937
}
943938

944939
com.squareup.okhttp.Call call =
@@ -1178,22 +1173,19 @@ private com.squareup.okhttp.Call putBarcodeGenerateFileValidateBeforeCall(
11781173
// verify the required parameter 'request.name' is set
11791174
if (request.name == null) {
11801175
throw new ApiException(
1181-
"Missing the required parameter 'request.name' when calling"
1182-
+ " putBarcodeGenerateFile(Async)");
1176+
"Missing the required parameter 'request.name' when calling putBarcodeGenerateFile(Async)");
11831177
}
11841178

11851179
// verify the required parameter 'request.type' is set
11861180
if (request.type == null) {
11871181
throw new ApiException(
1188-
"Missing the required parameter 'request.type' when calling"
1189-
+ " putBarcodeGenerateFile(Async)");
1182+
"Missing the required parameter 'request.type' when calling putBarcodeGenerateFile(Async)");
11901183
}
11911184

11921185
// verify the required parameter 'request.text' is set
11931186
if (request.text == null) {
11941187
throw new ApiException(
1195-
"Missing the required parameter 'request.text' when calling"
1196-
+ " putBarcodeGenerateFile(Async)");
1188+
"Missing the required parameter 'request.text' when calling putBarcodeGenerateFile(Async)");
11971189
}
11981190

11991191
com.squareup.okhttp.Call call =
@@ -1357,15 +1349,13 @@ private com.squareup.okhttp.Call putBarcodeRecognizeFromBodyValidateBeforeCall(
13571349
// verify the required parameter 'request.name' is set
13581350
if (request.name == null) {
13591351
throw new ApiException(
1360-
"Missing the required parameter 'request.name' when calling"
1361-
+ " putBarcodeRecognizeFromBody(Async)");
1352+
"Missing the required parameter 'request.name' when calling putBarcodeRecognizeFromBody(Async)");
13621353
}
13631354

13641355
// verify the required parameter 'request.readerParams' is set
13651356
if (request.readerParams == null) {
13661357
throw new ApiException(
1367-
"Missing the required parameter 'request.readerParams' when calling"
1368-
+ " putBarcodeRecognizeFromBody(Async)");
1358+
"Missing the required parameter 'request.readerParams' when calling putBarcodeRecognizeFromBody(Async)");
13691359
}
13701360

13711361
com.squareup.okhttp.Call call =
@@ -1530,15 +1520,13 @@ private com.squareup.okhttp.Call putGenerateMultipleValidateBeforeCall(
15301520
// verify the required parameter 'request.name' is set
15311521
if (request.name == null) {
15321522
throw new ApiException(
1533-
"Missing the required parameter 'request.name' when calling"
1534-
+ " putGenerateMultiple(Async)");
1523+
"Missing the required parameter 'request.name' when calling putGenerateMultiple(Async)");
15351524
}
15361525

15371526
// verify the required parameter 'request.generatorParamsList' is set
15381527
if (request.generatorParamsList == null) {
15391528
throw new ApiException(
1540-
"Missing the required parameter 'request.generatorParamsList' when calling"
1541-
+ " putGenerateMultiple(Async)");
1529+
"Missing the required parameter 'request.generatorParamsList' when calling putGenerateMultiple(Async)");
15421530
}
15431531

15441532
com.squareup.okhttp.Call call =

src/main/java/com/aspose/barcode/cloud/api/FileApi.java

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
import com.aspose.barcode.cloud.model.FilesUploadResult;
3737
import com.aspose.barcode.cloud.requests.*;
3838
import com.google.gson.reflect.TypeToken;
39-
4039
import java.io.File;
4140
import java.io.IOException;
4241
import java.lang.reflect.Type;
@@ -152,15 +151,13 @@ private com.squareup.okhttp.Call copyFileValidateBeforeCall(
152151
// verify the required parameter 'request.srcPath' is set
153152
if (request.srcPath == null) {
154153
throw new ApiException(
155-
"Missing the required parameter 'request.srcPath' when calling"
156-
+ " copyFile(Async)");
154+
"Missing the required parameter 'request.srcPath' when calling copyFile(Async)");
157155
}
158156

159157
// verify the required parameter 'request.destPath' is set
160158
if (request.destPath == null) {
161159
throw new ApiException(
162-
"Missing the required parameter 'request.destPath' when calling"
163-
+ " copyFile(Async)");
160+
"Missing the required parameter 'request.destPath' when calling copyFile(Async)");
164161
}
165162

166163
com.squareup.okhttp.Call call =
@@ -464,8 +461,7 @@ private com.squareup.okhttp.Call downloadFileValidateBeforeCall(
464461
// verify the required parameter 'request.path' is set
465462
if (request.path == null) {
466463
throw new ApiException(
467-
"Missing the required parameter 'request.path' when calling"
468-
+ " downloadFile(Async)");
464+
"Missing the required parameter 'request.path' when calling downloadFile(Async)");
469465
}
470466

471467
com.squareup.okhttp.Call call =
@@ -629,15 +625,13 @@ private com.squareup.okhttp.Call moveFileValidateBeforeCall(
629625
// verify the required parameter 'request.srcPath' is set
630626
if (request.srcPath == null) {
631627
throw new ApiException(
632-
"Missing the required parameter 'request.srcPath' when calling"
633-
+ " moveFile(Async)");
628+
"Missing the required parameter 'request.srcPath' when calling moveFile(Async)");
634629
}
635630

636631
// verify the required parameter 'request.destPath' is set
637632
if (request.destPath == null) {
638633
throw new ApiException(
639-
"Missing the required parameter 'request.destPath' when calling"
640-
+ " moveFile(Async)");
634+
"Missing the required parameter 'request.destPath' when calling moveFile(Async)");
641635
}
642636

643637
com.squareup.okhttp.Call call =

0 commit comments

Comments
 (0)