From 17149ac30ead51bdf7c888a5af99d76e4494d54b Mon Sep 17 00:00:00 2001 From: devexperience Date: Fri, 25 Oct 2024 03:44:11 +0000 Subject: [PATCH] Generated version 0.43.0 This commit was automatically created by a GitHub Action to generate version 0.43.0 of this library. --- README.md | 4 +-- docs/AccountResponse.md | 1 + docs/InstitutionResponse.md | 1 + openapi/config.yml | 2 +- pom.xml | 2 +- src/main/java/com/mx/client/ApiClient.java | 2 +- .../java/com/mx/client/Configuration.java | 2 +- .../com/mx/client/model/AccountResponse.java | 33 ++++++++++++++++++- .../mx/client/model/InstitutionResponse.java | 30 ++++++++++++++++- .../mx/client/model/AccountResponseTest.java | 8 +++++ .../client/model/InstitutionResponseTest.java | 8 +++++ 11 files changed, 85 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1a882f7..530694a 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ mvn clean package ``` Then manually install the following JARs: - - `target/mx-platform-java-0.42.0.jar` + - `target/mx-platform-java-0.43.0.jar` - `target/lib/*.jar` ### Maven users @@ -35,7 +35,7 @@ Add this dependency to your project's POM: com.mx mx-platform-java - 0.42.0 + 0.43.0 compile ``` diff --git a/docs/AccountResponse.md b/docs/AccountResponse.md index 347a966..a3b9b99 100644 --- a/docs/AccountResponse.md +++ b/docs/AccountResponse.md @@ -24,6 +24,7 @@ |**currencyCode** | **String** | | [optional] | |**dayPaymentIsDue** | **Integer** | | [optional] | |**deathBenefit** | **Integer** | | [optional] | +|**federalInsuranceStatus** | **String** | | [optional] | |**guid** | **String** | | [optional] | |**holdingsValue** | **BigDecimal** | | [optional] | |**id** | **String** | | [optional] | diff --git a/docs/InstitutionResponse.md b/docs/InstitutionResponse.md index 3f8b340..51f1c0b 100644 --- a/docs/InstitutionResponse.md +++ b/docs/InstitutionResponse.md @@ -18,6 +18,7 @@ |**supportsAccountStatement** | **Boolean** | | [optional] | |**supportsAccountVerification** | **Boolean** | | [optional] | |**supportsOauth** | **Boolean** | | [optional] | +|**supportsTaxDocument** | **Boolean** | | [optional] | |**supportsTransactionHistory** | **Boolean** | | [optional] | |**troubleSigningInUrl** | **String** | | [optional] | |**url** | **String** | | [optional] | diff --git a/openapi/config.yml b/openapi/config.yml index addf545..fae23e6 100644 --- a/openapi/config.yml +++ b/openapi/config.yml @@ -3,7 +3,7 @@ apiPackage: com.mx.client.mx-platform-api artifactDescription: A Java library for the MX Platform API artifactId: mx-platform-java artifactUrl: https://github.com/mxenabled/mx-platform-java -artifactVersion: 0.42.0 +artifactVersion: 0.43.0 developerEmail: devexperience@mx.com developerName: MX developerOrganization: MX Technologies Inc. diff --git a/pom.xml b/pom.xml index 6c63116..52657e8 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ mx-platform-java jar mx-platform-java - 0.42.0 + 0.43.0 https://github.com/mxenabled/mx-platform-java A Java library for the MX Platform API diff --git a/src/main/java/com/mx/client/ApiClient.java b/src/main/java/com/mx/client/ApiClient.java index a2423a4..875d249 100644 --- a/src/main/java/com/mx/client/ApiClient.java +++ b/src/main/java/com/mx/client/ApiClient.java @@ -145,7 +145,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/0.42.0/java"); + setUserAgent("OpenAPI-Generator/0.43.0/java"); authentications = new HashMap(); } diff --git a/src/main/java/com/mx/client/Configuration.java b/src/main/java/com/mx/client/Configuration.java index d86dea9..368e913 100644 --- a/src/main/java/com/mx/client/Configuration.java +++ b/src/main/java/com/mx/client/Configuration.java @@ -15,7 +15,7 @@ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class Configuration { - public static final String VERSION = "0.42.0"; + public static final String VERSION = "0.43.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/com/mx/client/model/AccountResponse.java b/src/main/java/com/mx/client/model/AccountResponse.java index e898efe..90e818c 100644 --- a/src/main/java/com/mx/client/model/AccountResponse.java +++ b/src/main/java/com/mx/client/model/AccountResponse.java @@ -121,6 +121,10 @@ public class AccountResponse { @SerializedName(SERIALIZED_NAME_DEATH_BENEFIT) private Integer deathBenefit; + public static final String SERIALIZED_NAME_FEDERAL_INSURANCE_STATUS = "federal_insurance_status"; + @SerializedName(SERIALIZED_NAME_FEDERAL_INSURANCE_STATUS) + private String federalInsuranceStatus; + public static final String SERIALIZED_NAME_GUID = "guid"; @SerializedName(SERIALIZED_NAME_GUID) private String guid; @@ -645,6 +649,27 @@ public void setDeathBenefit(Integer deathBenefit) { } + public AccountResponse federalInsuranceStatus(String federalInsuranceStatus) { + + this.federalInsuranceStatus = federalInsuranceStatus; + return this; + } + + /** + * Get federalInsuranceStatus + * @return federalInsuranceStatus + **/ + @javax.annotation.Nullable + public String getFederalInsuranceStatus() { + return federalInsuranceStatus; + } + + + public void setFederalInsuranceStatus(String federalInsuranceStatus) { + this.federalInsuranceStatus = federalInsuranceStatus; + } + + public AccountResponse guid(String guid) { this.guid = guid; @@ -1533,6 +1558,7 @@ public boolean equals(Object o) { Objects.equals(this.currencyCode, accountResponse.currencyCode) && Objects.equals(this.dayPaymentIsDue, accountResponse.dayPaymentIsDue) && Objects.equals(this.deathBenefit, accountResponse.deathBenefit) && + Objects.equals(this.federalInsuranceStatus, accountResponse.federalInsuranceStatus) && Objects.equals(this.guid, accountResponse.guid) && Objects.equals(this.holdingsValue, accountResponse.holdingsValue) && Objects.equals(this.id, accountResponse.id) && @@ -1582,7 +1608,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - 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); + 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); } private static int hashCodeNullable(JsonNullable a) { @@ -1613,6 +1639,7 @@ public String toString() { sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); sb.append(" dayPaymentIsDue: ").append(toIndentedString(dayPaymentIsDue)).append("\n"); sb.append(" deathBenefit: ").append(toIndentedString(deathBenefit)).append("\n"); + sb.append(" federalInsuranceStatus: ").append(toIndentedString(federalInsuranceStatus)).append("\n"); sb.append(" guid: ").append(toIndentedString(guid)).append("\n"); sb.append(" holdingsValue: ").append(toIndentedString(holdingsValue)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); @@ -1693,6 +1720,7 @@ private String toIndentedString(Object o) { openapiFields.add("currency_code"); openapiFields.add("day_payment_is_due"); openapiFields.add("death_benefit"); + openapiFields.add("federal_insurance_status"); openapiFields.add("guid"); openapiFields.add("holdings_value"); openapiFields.add("id"); @@ -1778,6 +1806,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("currency_code") != null && !jsonObj.get("currency_code").isJsonNull()) && !jsonObj.get("currency_code").isJsonPrimitive()) { 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())); } + if ((jsonObj.get("federal_insurance_status") != null && !jsonObj.get("federal_insurance_status").isJsonNull()) && !jsonObj.get("federal_insurance_status").isJsonPrimitive()) { + 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())); + } if ((jsonObj.get("guid") != null && !jsonObj.get("guid").isJsonNull()) && !jsonObj.get("guid").isJsonPrimitive()) { 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())); } diff --git a/src/main/java/com/mx/client/model/InstitutionResponse.java b/src/main/java/com/mx/client/model/InstitutionResponse.java index 4869b8f..2b93069 100644 --- a/src/main/java/com/mx/client/model/InstitutionResponse.java +++ b/src/main/java/com/mx/client/model/InstitutionResponse.java @@ -96,6 +96,10 @@ public class InstitutionResponse { @SerializedName(SERIALIZED_NAME_SUPPORTS_OAUTH) private Boolean supportsOauth; + public static final String SERIALIZED_NAME_SUPPORTS_TAX_DOCUMENT = "supports_tax_document"; + @SerializedName(SERIALIZED_NAME_SUPPORTS_TAX_DOCUMENT) + private Boolean supportsTaxDocument; + public static final String SERIALIZED_NAME_SUPPORTS_TRANSACTION_HISTORY = "supports_transaction_history"; @SerializedName(SERIALIZED_NAME_SUPPORTS_TRANSACTION_HISTORY) private Boolean supportsTransactionHistory; @@ -342,6 +346,27 @@ public void setSupportsOauth(Boolean supportsOauth) { } + public InstitutionResponse supportsTaxDocument(Boolean supportsTaxDocument) { + + this.supportsTaxDocument = supportsTaxDocument; + return this; + } + + /** + * Get supportsTaxDocument + * @return supportsTaxDocument + **/ + @javax.annotation.Nullable + public Boolean getSupportsTaxDocument() { + return supportsTaxDocument; + } + + + public void setSupportsTaxDocument(Boolean supportsTaxDocument) { + this.supportsTaxDocument = supportsTaxDocument; + } + + public InstitutionResponse supportsTransactionHistory(Boolean supportsTransactionHistory) { this.supportsTransactionHistory = supportsTransactionHistory; @@ -426,6 +451,7 @@ public boolean equals(Object o) { Objects.equals(this.supportsAccountStatement, institutionResponse.supportsAccountStatement) && Objects.equals(this.supportsAccountVerification, institutionResponse.supportsAccountVerification) && Objects.equals(this.supportsOauth, institutionResponse.supportsOauth) && + Objects.equals(this.supportsTaxDocument, institutionResponse.supportsTaxDocument) && Objects.equals(this.supportsTransactionHistory, institutionResponse.supportsTransactionHistory) && Objects.equals(this.troubleSigningInUrl, institutionResponse.troubleSigningInUrl) && Objects.equals(this.url, institutionResponse.url); @@ -437,7 +463,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(code, forgotPasswordUrl, forgotUsernameUrl, instructionalText, mediumLogoUrl, name, smallLogoUrl, supportsAccountIdentification, supportsAccountStatement, supportsAccountVerification, supportsOauth, supportsTransactionHistory, troubleSigningInUrl, url); + return Objects.hash(code, forgotPasswordUrl, forgotUsernameUrl, instructionalText, mediumLogoUrl, name, smallLogoUrl, supportsAccountIdentification, supportsAccountStatement, supportsAccountVerification, supportsOauth, supportsTaxDocument, supportsTransactionHistory, troubleSigningInUrl, url); } private static int hashCodeNullable(JsonNullable a) { @@ -462,6 +488,7 @@ public String toString() { sb.append(" supportsAccountStatement: ").append(toIndentedString(supportsAccountStatement)).append("\n"); sb.append(" supportsAccountVerification: ").append(toIndentedString(supportsAccountVerification)).append("\n"); sb.append(" supportsOauth: ").append(toIndentedString(supportsOauth)).append("\n"); + sb.append(" supportsTaxDocument: ").append(toIndentedString(supportsTaxDocument)).append("\n"); sb.append(" supportsTransactionHistory: ").append(toIndentedString(supportsTransactionHistory)).append("\n"); sb.append(" troubleSigningInUrl: ").append(toIndentedString(troubleSigningInUrl)).append("\n"); sb.append(" url: ").append(toIndentedString(url)).append("\n"); @@ -498,6 +525,7 @@ private String toIndentedString(Object o) { openapiFields.add("supports_account_statement"); openapiFields.add("supports_account_verification"); openapiFields.add("supports_oauth"); + openapiFields.add("supports_tax_document"); openapiFields.add("supports_transaction_history"); openapiFields.add("trouble_signing_in_url"); openapiFields.add("url"); diff --git a/src/test/java/com/mx/client/model/AccountResponseTest.java b/src/test/java/com/mx/client/model/AccountResponseTest.java index e35f643..2273fb0 100644 --- a/src/test/java/com/mx/client/model/AccountResponseTest.java +++ b/src/test/java/com/mx/client/model/AccountResponseTest.java @@ -175,6 +175,14 @@ public void deathBenefitTest() { // TODO: test deathBenefit } + /** + * Test the property 'federalInsuranceStatus' + */ + @Test + public void federalInsuranceStatusTest() { + // TODO: test federalInsuranceStatus + } + /** * Test the property 'guid' */ diff --git a/src/test/java/com/mx/client/model/InstitutionResponseTest.java b/src/test/java/com/mx/client/model/InstitutionResponseTest.java index bdb5ce1..bfffeca 100644 --- a/src/test/java/com/mx/client/model/InstitutionResponseTest.java +++ b/src/test/java/com/mx/client/model/InstitutionResponseTest.java @@ -126,6 +126,14 @@ public void supportsOauthTest() { // TODO: test supportsOauth } + /** + * Test the property 'supportsTaxDocument' + */ + @Test + public void supportsTaxDocumentTest() { + // TODO: test supportsTaxDocument + } + /** * Test the property 'supportsTransactionHistory' */