Skip to content

Commit 4c0b62f

Browse files
committed
Updated sources
1 parent 9afa49e commit 4c0b62f

4 files changed

Lines changed: 28 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Add following repository and dependency to your project's POM
3737
<dependency>
3838
<groupId>com.groupdocs</groupId>
3939
<artifactId>groupdocs-viewer-cloud</artifactId>
40-
<version>19.3</version>
40+
<version>19.3.2</version>
4141
<scope>compile</scope>
4242
</dependency>
4343
```
@@ -50,7 +50,7 @@ At first generate the JAR by executing:
5050

5151
Then manually install the following JARs:
5252

53-
* target/groupdocs-viewer-cloud-19.3.jar
53+
* target/groupdocs-viewer-cloud-19.3.2.jar
5454
* target/lib/*.jar
5555

5656
## Getting Started

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>groupdocs-viewer-cloud</artifactId>
66
<packaging>jar</packaging>
77
<name>groupdocs-viewer-cloud</name>
8-
<version>19.3</version>
8+
<version>19.3.2</version>
99
<url>https://github.com/groupdocs-viewer-cloud/groupdocs-viewer-cloud-java</url>
1010
<description>Java library for communicating with the GroupDocs.Viewer Cloud API</description>
1111
<scm>

src/main/java/com/groupdocs/cloud/viewer/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/19.3");
100+
setUserAgent("java-sdk/19.3.2");
101101

102102
// Set connection timeout
103103
setConnectTimeout(configuration.getTimeout());

src/main/java/com/groupdocs/cloud/viewer/model/HtmlOptions.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ public class HtmlOptions extends RenderOptions {
5353
@SerializedName("resourcePath")
5454
private String resourcePath = null;
5555

56+
@SerializedName("isResponsive")
57+
private Boolean isResponsive = null;
58+
5659
public HtmlOptions externalResources(Boolean externalResources) {
5760
this.externalResources = externalResources;
5861
return this;
@@ -89,6 +92,24 @@ public void setResourcePath(String resourcePath) {
8992
this.resourcePath = resourcePath;
9093
}
9194

95+
public HtmlOptions isResponsive(Boolean isResponsive) {
96+
this.isResponsive = isResponsive;
97+
return this;
98+
}
99+
100+
/**
101+
* Indicates whether rendering will provide responsive web pages, that look well on different device types. Default value is false.
102+
* @return isResponsive
103+
**/
104+
@ApiModelProperty(required = true, value = "Indicates whether rendering will provide responsive web pages, that look well on different device types. Default value is false.")
105+
public Boolean getIsResponsive() {
106+
return isResponsive;
107+
}
108+
109+
public void setIsResponsive(Boolean isResponsive) {
110+
this.isResponsive = isResponsive;
111+
}
112+
92113

93114
@Override
94115
public boolean equals(java.lang.Object o) {
@@ -101,12 +122,13 @@ public boolean equals(java.lang.Object o) {
101122
HtmlOptions htmlOptions = (HtmlOptions) o;
102123
return Objects.equals(this.externalResources, htmlOptions.externalResources) &&
103124
Objects.equals(this.resourcePath, htmlOptions.resourcePath) &&
125+
Objects.equals(this.isResponsive, htmlOptions.isResponsive) &&
104126
super.equals(o);
105127
}
106128

107129
@Override
108130
public int hashCode() {
109-
return Objects.hash(externalResources, resourcePath, super.hashCode());
131+
return Objects.hash(externalResources, resourcePath, isResponsive, super.hashCode());
110132
}
111133

112134

@@ -117,6 +139,7 @@ public String toString() {
117139
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
118140
sb.append(" externalResources: ").append(toIndentedString(externalResources)).append("\n");
119141
sb.append(" resourcePath: ").append(toIndentedString(resourcePath)).append("\n");
142+
sb.append(" isResponsive: ").append(toIndentedString(isResponsive)).append("\n");
120143
sb.append("}");
121144
return sb.toString();
122145
}

0 commit comments

Comments
 (0)