Skip to content

Commit a966197

Browse files
committed
Updated sources
1 parent 71ea331 commit a966197

File tree

5 files changed

+31
-8
lines changed

5 files changed

+31
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Add following repository and dependency to your project's POM
2424
<dependency>
2525
<groupId>com.groupdocs</groupId>
2626
<artifactId>groupdocs-conversion-cloud</artifactId>
27-
<version>25.3</version>
27+
<version>25.4</version>
2828
<scope>compile</scope>
2929
</dependency>
3030
```
@@ -43,7 +43,7 @@ repositories {
4343
...
4444
dependencies {
4545
...
46-
implementation 'com.groupdocs:groupdocs-conversion-cloud:25.3'
46+
implementation 'com.groupdocs:groupdocs-conversion-cloud:25.4'
4747
}
4848
```
4949

@@ -100,7 +100,7 @@ mvn package -D maven.test.skip=true
100100

101101
Then manually install the following JARs:
102102

103-
* target/groupdocs-conversion-cloud-25.3.jar
103+
* target/groupdocs-conversion-cloud-25.4.jar
104104
* target/lib/*.jar
105105

106106
## Licensing

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</artifactId>
66
<packaging>jar</packaging>
77
<name>groupdocs-conversion-cloud</name>
8-
<version>25.3</version>
8+
<version>25.4</version>
99
<url>https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-java</url>
1010
<description>Java library for communicating with the GroupDocs.Conversion Cloud API</description>
1111
<scm>

simplified-pom.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.groupdocs</groupId>
77
<artifactId>groupdocs-conversion-cloud</artifactId>
8-
<version>25.3</version>
8+
<version>25.4</version>
99
<packaging>jar</packaging>
1010

1111
<name>groupdocs-conversion-cloud</name>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public ApiClient(Configuration configuration) {
9595
this.json = new JSON();
9696

9797
// Set default User-Agent.
98-
setUserAgent("java-sdk/25.3");
98+
setUserAgent("java-sdk/25.4");
9999

100100
// Set connection timeout
101101
setConnectTimeout(configuration.getTimeout());

src/main/java/com/groupdocs/cloud/conversion/model/ConsumptionResult.java

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ public class ConsumptionResult {
4949
@SerializedName("quantity")
5050
private BigDecimal quantity = null;
5151

52+
@SerializedName("billedApiCalls")
53+
private BigDecimal billedApiCalls = null;
54+
5255
public ConsumptionResult credit(BigDecimal credit) {
5356
this.credit = credit;
5457
return this;
@@ -85,6 +88,24 @@ public void setQuantity(BigDecimal quantity) {
8588
this.quantity = quantity;
8689
}
8790

91+
public ConsumptionResult billedApiCalls(BigDecimal billedApiCalls) {
92+
this.billedApiCalls = billedApiCalls;
93+
return this;
94+
}
95+
96+
/**
97+
* Billed API calls number
98+
* @return billedApiCalls
99+
**/
100+
@ApiModelProperty(required = true, value = "Billed API calls number")
101+
public BigDecimal getBilledApiCalls() {
102+
return billedApiCalls;
103+
}
104+
105+
public void setBilledApiCalls(BigDecimal billedApiCalls) {
106+
this.billedApiCalls = billedApiCalls;
107+
}
108+
88109

89110
@Override
90111
public boolean equals(java.lang.Object o) {
@@ -96,12 +117,13 @@ public boolean equals(java.lang.Object o) {
96117
}
97118
ConsumptionResult consumptionResult = (ConsumptionResult) o;
98119
return Objects.equals(this.credit, consumptionResult.credit) &&
99-
Objects.equals(this.quantity, consumptionResult.quantity);
120+
Objects.equals(this.quantity, consumptionResult.quantity) &&
121+
Objects.equals(this.billedApiCalls, consumptionResult.billedApiCalls);
100122
}
101123

102124
@Override
103125
public int hashCode() {
104-
return Objects.hash(credit, quantity);
126+
return Objects.hash(credit, quantity, billedApiCalls);
105127
}
106128

107129

@@ -112,6 +134,7 @@ public String toString() {
112134

113135
sb.append(" credit: ").append(toIndentedString(credit)).append("\n");
114136
sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n");
137+
sb.append(" billedApiCalls: ").append(toIndentedString(billedApiCalls)).append("\n");
115138
sb.append("}");
116139
return sb.toString();
117140
}

0 commit comments

Comments
 (0)