Skip to content

Commit

Permalink
Updated sources
Browse files Browse the repository at this point in the history
  • Loading branch information
product-team committed Dec 24, 2024
1 parent 01a7c49 commit f25f2b9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 32 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add following repository and dependency to your project's POM
<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-viewer-cloud</artifactId>
<version>24.8</version>
<version>24.12</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -43,7 +43,7 @@ repositories {
...
dependencies {
...
implementation 'com.groupdocs:groupdocs-viewer-cloud:24.8'
implementation 'com.groupdocs:groupdocs-viewer-cloud:24.12'
}
```

Expand Down Expand Up @@ -100,7 +100,7 @@ mvn package -D maven.test.skip=true

Then manually install the following JARs:

* target/groupdocs-viewer-cloud-24.8.jar
* target/groupdocs-viewer-cloud-24.12.jar
* target/lib/*.jar

## Licensing
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>groupdocs-viewer-cloud</artifactId>
<packaging>jar</packaging>
<name>groupdocs-viewer-cloud</name>
<version>24.8</version>
<version>24.12</version>
<url>https://github.com/groupdocs-viewer-cloud/groupdocs-viewer-cloud-java</url>
<description>Java library for communicating with the GroupDocs.Viewer Cloud API</description>
<scm>
Expand Down Expand Up @@ -326,7 +326,7 @@
</dependency>
</dependencies>
<properties>
<java.version>1.7</java.version>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<gson-fire-version>1.8.0</gson-fire-version>
Expand Down
2 changes: 1 addition & 1 deletion simplified-pom.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-viewer-cloud</artifactId>
<version>24.8</version>
<version>24.12</version>
<packaging>jar</packaging>

<name>groupdocs-viewer-cloud</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public ApiClient(Configuration configuration) {
this.json = new JSON();

// Set default User-Agent.
setUserAgent("java-sdk/24.8");
setUserAgent("java-sdk/24.12");

// Set connection timeout
setConnectTimeout(configuration.getTimeout());
Expand Down
27 changes: 2 additions & 25 deletions src/main/java/com/groupdocs/cloud/viewer/model/ArchiveOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ public class ArchiveOptions {
@SerializedName("fileName")
private String fileName = null;

@SerializedName("itemsPerPage")
private Integer itemsPerPage = null;

public ArchiveOptions folder(String folder) {
this.folder = folder;
return this;
Expand Down Expand Up @@ -87,24 +84,6 @@ public void setFileName(String fileName) {
this.fileName = fileName;
}

public ArchiveOptions itemsPerPage(Integer itemsPerPage) {
this.itemsPerPage = itemsPerPage;
return this;
}

/**
* Number of records per page (for rendering to HTML only)
* @return itemsPerPage
**/
@ApiModelProperty(required = true, value = "Number of records per page (for rendering to HTML only) ")
public Integer getItemsPerPage() {
return itemsPerPage;
}

public void setItemsPerPage(Integer itemsPerPage) {
this.itemsPerPage = itemsPerPage;
}


@Override
public boolean equals(java.lang.Object o) {
Expand All @@ -116,13 +95,12 @@ public boolean equals(java.lang.Object o) {
}
ArchiveOptions archiveOptions = (ArchiveOptions) o;
return Objects.equals(this.folder, archiveOptions.folder) &&
Objects.equals(this.fileName, archiveOptions.fileName) &&
Objects.equals(this.itemsPerPage, archiveOptions.itemsPerPage);
Objects.equals(this.fileName, archiveOptions.fileName);
}

@Override
public int hashCode() {
return Objects.hash(folder, fileName, itemsPerPage);
return Objects.hash(folder, fileName);
}


Expand All @@ -133,7 +111,6 @@ public String toString() {

sb.append(" folder: ").append(toIndentedString(folder)).append("\n");
sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n");
sb.append(" itemsPerPage: ").append(toIndentedString(itemsPerPage)).append("\n");
sb.append("}");
return sb.toString();
}
Expand Down

0 comments on commit f25f2b9

Please sign in to comment.