Skip to content

Commit

Permalink
Generated version 0.43.0
Browse files Browse the repository at this point in the history
This commit was automatically created by a GitHub Action to generate version 0.43.0 of this library.
  • Loading branch information
devexperience committed Oct 25, 2024
1 parent 5249182 commit 17149ac
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -35,7 +35,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.mx</groupId>
<artifactId>mx-platform-java</artifactId>
<version>0.42.0</version>
<version>0.43.0</version>
<scope>compile</scope>
</dependency>
```
Expand Down
1 change: 1 addition & 0 deletions docs/AccountResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -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] |
Expand Down
1 change: 1 addition & 0 deletions docs/InstitutionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -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] |
Expand Down
2 changes: 1 addition & 1 deletion openapi/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
developerName: MX
developerOrganization: MX Technologies Inc.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>mx-platform-java</artifactId>
<packaging>jar</packaging>
<name>mx-platform-java</name>
<version>0.42.0</version>
<version>0.43.0</version>
<url>https://github.com/mxenabled/mx-platform-java</url>
<description>A Java library for the MX Platform API</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/mx/client/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, Authentication>();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/mx/client/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
33 changes: 32 additions & 1 deletion src/main/java/com/mx/client/model/AccountResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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) &&
Expand Down Expand Up @@ -1582,7 +1608,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> 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 <T> int hashCodeNullable(JsonNullable<T> a) {
Expand Down Expand Up @@ -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");
Expand Down Expand Up @@ -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");
Expand Down Expand Up @@ -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()));
}
Expand Down
30 changes: 29 additions & 1 deletion src/main/java/com/mx/client/model/InstitutionResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand All @@ -437,7 +463,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> 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 <T> int hashCodeNullable(JsonNullable<T> a) {
Expand All @@ -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");
Expand Down Expand Up @@ -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");
Expand Down
8 changes: 8 additions & 0 deletions src/test/java/com/mx/client/model/AccountResponseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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'
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
*/
Expand Down

0 comments on commit 17149ac

Please sign in to comment.