Skip to content

Commit 17149ac

Browse files
author
devexperience
committed
Generated version 0.43.0
This commit was automatically created by a GitHub Action to generate version 0.43.0 of this library.
1 parent 5249182 commit 17149ac

11 files changed

Lines changed: 85 additions & 8 deletions

File tree

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.42.0.jar`
27+
- `target/mx-platform-java-0.43.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.42.0</version>
38+
<version>0.43.0</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

docs/AccountResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
|**currencyCode** | **String** | | [optional] |
2525
|**dayPaymentIsDue** | **Integer** | | [optional] |
2626
|**deathBenefit** | **Integer** | | [optional] |
27+
|**federalInsuranceStatus** | **String** | | [optional] |
2728
|**guid** | **String** | | [optional] |
2829
|**holdingsValue** | **BigDecimal** | | [optional] |
2930
|**id** | **String** | | [optional] |

docs/InstitutionResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
|**supportsAccountStatement** | **Boolean** | | [optional] |
1919
|**supportsAccountVerification** | **Boolean** | | [optional] |
2020
|**supportsOauth** | **Boolean** | | [optional] |
21+
|**supportsTaxDocument** | **Boolean** | | [optional] |
2122
|**supportsTransactionHistory** | **Boolean** | | [optional] |
2223
|**troubleSigningInUrl** | **String** | | [optional] |
2324
|**url** | **String** | | [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.42.0
6+
artifactVersion: 0.43.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.42.0</version>
8+
<version>0.43.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.42.0/java");
148+
setUserAgent("OpenAPI-Generator/0.43.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.42.0";
18+
public static final String VERSION = "0.43.0";
1919

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

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

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ public class AccountResponse {
121121
@SerializedName(SERIALIZED_NAME_DEATH_BENEFIT)
122122
private Integer deathBenefit;
123123

124+
public static final String SERIALIZED_NAME_FEDERAL_INSURANCE_STATUS = "federal_insurance_status";
125+
@SerializedName(SERIALIZED_NAME_FEDERAL_INSURANCE_STATUS)
126+
private String federalInsuranceStatus;
127+
124128
public static final String SERIALIZED_NAME_GUID = "guid";
125129
@SerializedName(SERIALIZED_NAME_GUID)
126130
private String guid;
@@ -645,6 +649,27 @@ public void setDeathBenefit(Integer deathBenefit) {
645649
}
646650

647651

652+
public AccountResponse federalInsuranceStatus(String federalInsuranceStatus) {
653+
654+
this.federalInsuranceStatus = federalInsuranceStatus;
655+
return this;
656+
}
657+
658+
/**
659+
* Get federalInsuranceStatus
660+
* @return federalInsuranceStatus
661+
**/
662+
@javax.annotation.Nullable
663+
public String getFederalInsuranceStatus() {
664+
return federalInsuranceStatus;
665+
}
666+
667+
668+
public void setFederalInsuranceStatus(String federalInsuranceStatus) {
669+
this.federalInsuranceStatus = federalInsuranceStatus;
670+
}
671+
672+
648673
public AccountResponse guid(String guid) {
649674

650675
this.guid = guid;
@@ -1533,6 +1558,7 @@ public boolean equals(Object o) {
15331558
Objects.equals(this.currencyCode, accountResponse.currencyCode) &&
15341559
Objects.equals(this.dayPaymentIsDue, accountResponse.dayPaymentIsDue) &&
15351560
Objects.equals(this.deathBenefit, accountResponse.deathBenefit) &&
1561+
Objects.equals(this.federalInsuranceStatus, accountResponse.federalInsuranceStatus) &&
15361562
Objects.equals(this.guid, accountResponse.guid) &&
15371563
Objects.equals(this.holdingsValue, accountResponse.holdingsValue) &&
15381564
Objects.equals(this.id, accountResponse.id) &&
@@ -1582,7 +1608,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b)
15821608

15831609
@Override
15841610
public int hashCode() {
1585-
return Objects.hash(accountNumber, accountOwnership, annuityPolicyToDate, annuityProvider, annuityTermYear, apr, apy, availableBalance, availableCredit, balance, cashBalance, cashSurrenderValue, createdAt, creditLimit, currencyCode, dayPaymentIsDue, deathBenefit, guid, holdingsValue, id, importedAt, institutionCode, insuredName, interestRate, isClosed, isHidden, isManual, lastPayment, lastPaymentAt, loanAmount, marginBalance, maturesOn, memberGuid, memberId, memberIsManagedByUser, metadata, minimumBalance, minimumPayment, name, nickname, originalBalance, payOutAmount, paymentDueAt, payoffBalance, premiumAmount, propertyType, routingNumber, startedOn, statementBalance, subtype, todayUglAmount, todayUglPercentage, totalAccountValue, totalAccountValueUgl, type, updatedAt, userGuid, userId);
1611+
return Objects.hash(accountNumber, accountOwnership, annuityPolicyToDate, annuityProvider, annuityTermYear, apr, apy, availableBalance, availableCredit, balance, cashBalance, cashSurrenderValue, createdAt, creditLimit, currencyCode, dayPaymentIsDue, deathBenefit, federalInsuranceStatus, guid, holdingsValue, id, importedAt, institutionCode, insuredName, interestRate, isClosed, isHidden, isManual, lastPayment, lastPaymentAt, loanAmount, marginBalance, maturesOn, memberGuid, memberId, memberIsManagedByUser, metadata, minimumBalance, minimumPayment, name, nickname, originalBalance, payOutAmount, paymentDueAt, payoffBalance, premiumAmount, propertyType, routingNumber, startedOn, statementBalance, subtype, todayUglAmount, todayUglPercentage, totalAccountValue, totalAccountValueUgl, type, updatedAt, userGuid, userId);
15861612
}
15871613

15881614
private static <T> int hashCodeNullable(JsonNullable<T> a) {
@@ -1613,6 +1639,7 @@ public String toString() {
16131639
sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n");
16141640
sb.append(" dayPaymentIsDue: ").append(toIndentedString(dayPaymentIsDue)).append("\n");
16151641
sb.append(" deathBenefit: ").append(toIndentedString(deathBenefit)).append("\n");
1642+
sb.append(" federalInsuranceStatus: ").append(toIndentedString(federalInsuranceStatus)).append("\n");
16161643
sb.append(" guid: ").append(toIndentedString(guid)).append("\n");
16171644
sb.append(" holdingsValue: ").append(toIndentedString(holdingsValue)).append("\n");
16181645
sb.append(" id: ").append(toIndentedString(id)).append("\n");
@@ -1693,6 +1720,7 @@ private String toIndentedString(Object o) {
16931720
openapiFields.add("currency_code");
16941721
openapiFields.add("day_payment_is_due");
16951722
openapiFields.add("death_benefit");
1723+
openapiFields.add("federal_insurance_status");
16961724
openapiFields.add("guid");
16971725
openapiFields.add("holdings_value");
16981726
openapiFields.add("id");
@@ -1778,6 +1806,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
17781806
if ((jsonObj.get("currency_code") != null && !jsonObj.get("currency_code").isJsonNull()) && !jsonObj.get("currency_code").isJsonPrimitive()) {
17791807
throw new IllegalArgumentException(String.format("Expected the field `currency_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currency_code").toString()));
17801808
}
1809+
if ((jsonObj.get("federal_insurance_status") != null && !jsonObj.get("federal_insurance_status").isJsonNull()) && !jsonObj.get("federal_insurance_status").isJsonPrimitive()) {
1810+
throw new IllegalArgumentException(String.format("Expected the field `federal_insurance_status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("federal_insurance_status").toString()));
1811+
}
17811812
if ((jsonObj.get("guid") != null && !jsonObj.get("guid").isJsonNull()) && !jsonObj.get("guid").isJsonPrimitive()) {
17821813
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()));
17831814
}

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

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ public class InstitutionResponse {
9696
@SerializedName(SERIALIZED_NAME_SUPPORTS_OAUTH)
9797
private Boolean supportsOauth;
9898

99+
public static final String SERIALIZED_NAME_SUPPORTS_TAX_DOCUMENT = "supports_tax_document";
100+
@SerializedName(SERIALIZED_NAME_SUPPORTS_TAX_DOCUMENT)
101+
private Boolean supportsTaxDocument;
102+
99103
public static final String SERIALIZED_NAME_SUPPORTS_TRANSACTION_HISTORY = "supports_transaction_history";
100104
@SerializedName(SERIALIZED_NAME_SUPPORTS_TRANSACTION_HISTORY)
101105
private Boolean supportsTransactionHistory;
@@ -342,6 +346,27 @@ public void setSupportsOauth(Boolean supportsOauth) {
342346
}
343347

344348

349+
public InstitutionResponse supportsTaxDocument(Boolean supportsTaxDocument) {
350+
351+
this.supportsTaxDocument = supportsTaxDocument;
352+
return this;
353+
}
354+
355+
/**
356+
* Get supportsTaxDocument
357+
* @return supportsTaxDocument
358+
**/
359+
@javax.annotation.Nullable
360+
public Boolean getSupportsTaxDocument() {
361+
return supportsTaxDocument;
362+
}
363+
364+
365+
public void setSupportsTaxDocument(Boolean supportsTaxDocument) {
366+
this.supportsTaxDocument = supportsTaxDocument;
367+
}
368+
369+
345370
public InstitutionResponse supportsTransactionHistory(Boolean supportsTransactionHistory) {
346371

347372
this.supportsTransactionHistory = supportsTransactionHistory;
@@ -426,6 +451,7 @@ public boolean equals(Object o) {
426451
Objects.equals(this.supportsAccountStatement, institutionResponse.supportsAccountStatement) &&
427452
Objects.equals(this.supportsAccountVerification, institutionResponse.supportsAccountVerification) &&
428453
Objects.equals(this.supportsOauth, institutionResponse.supportsOauth) &&
454+
Objects.equals(this.supportsTaxDocument, institutionResponse.supportsTaxDocument) &&
429455
Objects.equals(this.supportsTransactionHistory, institutionResponse.supportsTransactionHistory) &&
430456
Objects.equals(this.troubleSigningInUrl, institutionResponse.troubleSigningInUrl) &&
431457
Objects.equals(this.url, institutionResponse.url);
@@ -437,7 +463,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b)
437463

438464
@Override
439465
public int hashCode() {
440-
return Objects.hash(code, forgotPasswordUrl, forgotUsernameUrl, instructionalText, mediumLogoUrl, name, smallLogoUrl, supportsAccountIdentification, supportsAccountStatement, supportsAccountVerification, supportsOauth, supportsTransactionHistory, troubleSigningInUrl, url);
466+
return Objects.hash(code, forgotPasswordUrl, forgotUsernameUrl, instructionalText, mediumLogoUrl, name, smallLogoUrl, supportsAccountIdentification, supportsAccountStatement, supportsAccountVerification, supportsOauth, supportsTaxDocument, supportsTransactionHistory, troubleSigningInUrl, url);
441467
}
442468

443469
private static <T> int hashCodeNullable(JsonNullable<T> a) {
@@ -462,6 +488,7 @@ public String toString() {
462488
sb.append(" supportsAccountStatement: ").append(toIndentedString(supportsAccountStatement)).append("\n");
463489
sb.append(" supportsAccountVerification: ").append(toIndentedString(supportsAccountVerification)).append("\n");
464490
sb.append(" supportsOauth: ").append(toIndentedString(supportsOauth)).append("\n");
491+
sb.append(" supportsTaxDocument: ").append(toIndentedString(supportsTaxDocument)).append("\n");
465492
sb.append(" supportsTransactionHistory: ").append(toIndentedString(supportsTransactionHistory)).append("\n");
466493
sb.append(" troubleSigningInUrl: ").append(toIndentedString(troubleSigningInUrl)).append("\n");
467494
sb.append(" url: ").append(toIndentedString(url)).append("\n");
@@ -498,6 +525,7 @@ private String toIndentedString(Object o) {
498525
openapiFields.add("supports_account_statement");
499526
openapiFields.add("supports_account_verification");
500527
openapiFields.add("supports_oauth");
528+
openapiFields.add("supports_tax_document");
501529
openapiFields.add("supports_transaction_history");
502530
openapiFields.add("trouble_signing_in_url");
503531
openapiFields.add("url");

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,14 @@ public void deathBenefitTest() {
175175
// TODO: test deathBenefit
176176
}
177177

178+
/**
179+
* Test the property 'federalInsuranceStatus'
180+
*/
181+
@Test
182+
public void federalInsuranceStatusTest() {
183+
// TODO: test federalInsuranceStatus
184+
}
185+
178186
/**
179187
* Test the property 'guid'
180188
*/

0 commit comments

Comments
 (0)