Skip to content

Commit 568bf9b

Browse files
author
devexperience
committed
Generated version 0.32.0
This commit was automatically created by a GitHub Action to generate version 0.32.0 of this library.
1 parent 43f0a37 commit 568bf9b

File tree

8 files changed

+47
-7
lines changed

8 files changed

+47
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mvn clean package
2424
```
2525

2626
Then manually install the following JARs:
27-
- `target/mx-platform-java-0.31.0.jar`
27+
- `target/mx-platform-java-0.32.0.jar`
2828
- `target/lib/*.jar`
2929

3030
### Maven users
@@ -35,7 +35,7 @@ Add this dependency to your project's POM:
3535
<dependency>
3636
<groupId>com.mx</groupId>
3737
<artifactId>mx-platform-java</artifactId>
38-
<version>0.31.0</version>
38+
<version>0.32.0</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

docs/AccountNumberResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
|**accountGuid** | **String** | | [optional] |
1111
|**accountNumber** | **String** | | [optional] |
1212
|**guid** | **String** | | [optional] |
13+
|**loanGuarantor** | **String** | | [optional] |
1314
|**institutionNumber** | **String** | | [optional] |
1415
|**memberGuid** | **String** | | [optional] |
1516
|**passedValidation** | **Boolean** | | [optional] |

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiPackage: com.mx.client.mx-platform-api
33
artifactDescription: A Java library for the MX Platform API
44
artifactId: mx-platform-java
55
artifactUrl: https://github.com/mxenabled/mx-platform-java
6-
artifactVersion: 0.31.0
6+
artifactVersion: 0.32.0
77
developerEmail: devexperience@mx.com
88
developerName: MX
99
developerOrganization: MX Technologies Inc.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>mx-platform-java</artifactId>
66
<packaging>jar</packaging>
77
<name>mx-platform-java</name>
8-
<version>0.31.0</version>
8+
<version>0.32.0</version>
99
<url>https://github.com/mxenabled/mx-platform-java</url>
1010
<description>A Java library for the MX Platform API</description>
1111
<scm>

src/main/java/com/mx/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ private void init() {
145145
json = new JSON();
146146

147147
// Set default User-Agent.
148-
setUserAgent("OpenAPI-Generator/0.31.0/java");
148+
setUserAgent("OpenAPI-Generator/0.32.0/java");
149149

150150
authentications = new HashMap<String, Authentication>();
151151
}

src/main/java/com/mx/client/Configuration.java

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

1616
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
1717
public class Configuration {
18-
public static final String VERSION = "0.31.0";
18+
public static final String VERSION = "0.32.0";
1919

2020
private static ApiClient defaultApiClient = new ApiClient();
2121

src/main/java/com/mx/client/model/AccountNumberResponse.java

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ public class AccountNumberResponse {
6464
@SerializedName(SERIALIZED_NAME_GUID)
6565
private String guid;
6666

67+
public static final String SERIALIZED_NAME_LOAN_GUARANTOR = "loan_guarantor";
68+
@SerializedName(SERIALIZED_NAME_LOAN_GUARANTOR)
69+
private String loanGuarantor;
70+
6771
public static final String SERIALIZED_NAME_INSTITUTION_NUMBER = "institution_number";
6872
@SerializedName(SERIALIZED_NAME_INSTITUTION_NUMBER)
6973
private String institutionNumber;
@@ -154,6 +158,27 @@ public void setGuid(String guid) {
154158
}
155159

156160

161+
public AccountNumberResponse loanGuarantor(String loanGuarantor) {
162+
163+
this.loanGuarantor = loanGuarantor;
164+
return this;
165+
}
166+
167+
/**
168+
* Get loanGuarantor
169+
* @return loanGuarantor
170+
**/
171+
@javax.annotation.Nullable
172+
public String getLoanGuarantor() {
173+
return loanGuarantor;
174+
}
175+
176+
177+
public void setLoanGuarantor(String loanGuarantor) {
178+
this.loanGuarantor = loanGuarantor;
179+
}
180+
181+
157182
public AccountNumberResponse institutionNumber(String institutionNumber) {
158183

159184
this.institutionNumber = institutionNumber;
@@ -293,6 +318,7 @@ public boolean equals(Object o) {
293318
return Objects.equals(this.accountGuid, accountNumberResponse.accountGuid) &&
294319
Objects.equals(this.accountNumber, accountNumberResponse.accountNumber) &&
295320
Objects.equals(this.guid, accountNumberResponse.guid) &&
321+
Objects.equals(this.loanGuarantor, accountNumberResponse.loanGuarantor) &&
296322
Objects.equals(this.institutionNumber, accountNumberResponse.institutionNumber) &&
297323
Objects.equals(this.memberGuid, accountNumberResponse.memberGuid) &&
298324
Objects.equals(this.passedValidation, accountNumberResponse.passedValidation) &&
@@ -307,7 +333,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b)
307333

308334
@Override
309335
public int hashCode() {
310-
return Objects.hash(accountGuid, accountNumber, guid, institutionNumber, memberGuid, passedValidation, routingNumber, transitNumber, userGuid);
336+
return Objects.hash(accountGuid, accountNumber, guid, loanGuarantor, institutionNumber, memberGuid, passedValidation, routingNumber, transitNumber, userGuid);
311337
}
312338

313339
private static <T> int hashCodeNullable(JsonNullable<T> a) {
@@ -324,6 +350,7 @@ public String toString() {
324350
sb.append(" accountGuid: ").append(toIndentedString(accountGuid)).append("\n");
325351
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
326352
sb.append(" guid: ").append(toIndentedString(guid)).append("\n");
353+
sb.append(" loanGuarantor: ").append(toIndentedString(loanGuarantor)).append("\n");
327354
sb.append(" institutionNumber: ").append(toIndentedString(institutionNumber)).append("\n");
328355
sb.append(" memberGuid: ").append(toIndentedString(memberGuid)).append("\n");
329356
sb.append(" passedValidation: ").append(toIndentedString(passedValidation)).append("\n");
@@ -355,6 +382,7 @@ private String toIndentedString(Object o) {
355382
openapiFields.add("account_guid");
356383
openapiFields.add("account_number");
357384
openapiFields.add("guid");
385+
openapiFields.add("loan_guarantor");
358386
openapiFields.add("institution_number");
359387
openapiFields.add("member_guid");
360388
openapiFields.add("passed_validation");
@@ -396,6 +424,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
396424
if ((jsonObj.get("guid") != null && !jsonObj.get("guid").isJsonNull()) && !jsonObj.get("guid").isJsonPrimitive()) {
397425
throw new IllegalArgumentException(String.format("Expected the field `guid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("guid").toString()));
398426
}
427+
if ((jsonObj.get("loan_guarantor") != null && !jsonObj.get("loan_guarantor").isJsonNull()) && !jsonObj.get("loan_guarantor").isJsonPrimitive()) {
428+
throw new IllegalArgumentException(String.format("Expected the field `loan_guarantor` to be a primitive type in the JSON string but got `%s`", jsonObj.get("loan_guarantor").toString()));
429+
}
399430
if ((jsonObj.get("institution_number") != null && !jsonObj.get("institution_number").isJsonNull()) && !jsonObj.get("institution_number").isJsonPrimitive()) {
400431
throw new IllegalArgumentException(String.format("Expected the field `institution_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("institution_number").toString()));
401432
}

src/test/java/com/mx/client/model/AccountNumberResponseTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ public void guidTest() {
6262
// TODO: test guid
6363
}
6464

65+
/**
66+
* Test the property 'loanGuarantor'
67+
*/
68+
@Test
69+
public void loanGuarantorTest() {
70+
// TODO: test loanGuarantor
71+
}
72+
6573
/**
6674
* Test the property 'institutionNumber'
6775
*/

0 commit comments

Comments
 (0)