Skip to content

Commit c555de9

Browse files
author
devexperience
committed
Generated version 0.17.0
This commit was automatically created by a GitHub Action to generate version 0.17.0 of this library.
1 parent 09f33df commit c555de9

File tree

16 files changed

+830
-133
lines changed

16 files changed

+830
-133
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.16.1.jar`
27+
- `target/mx-platform-java-0.17.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.16.1</version>
38+
<version>0.17.0</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

docs/AccountCreateRequest.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**accountSubtypeName** | **String** | | [optional]
11-
**accountType** | **Integer** | |
10+
**accountSubtype** | **String** | | [optional]
11+
**accountType** | **String** | |
1212
**apr** | **BigDecimal** | | [optional]
1313
**apy** | **BigDecimal** | | [optional]
1414
**availableBalance** | **BigDecimal** | | [optional]
@@ -26,8 +26,7 @@ Name | Type | Description | Notes
2626
**name** | **String** | |
2727
**nickname** | **String** | | [optional]
2828
**originalBalance** | **BigDecimal** | | [optional]
29-
**propertyType** | **Integer** | | [optional]
30-
**propertyTypeName** | **String** | | [optional]
29+
**propertyType** | **String** | | [optional]
3130
**skipWebhook** | **Boolean** | | [optional]
3231

3332

docs/AccountResponse.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ Name | Type | Description | Notes
5252
**paymentDueAt** | **String** | | [optional]
5353
**payoffBalance** | **BigDecimal** | | [optional]
5454
**premiumAmount** | **BigDecimal** | | [optional]
55-
**propertyType** | **Integer** | | [optional]
56-
**propertyTypeName** | **String** | | [optional]
55+
**propertyType** | **String** | | [optional]
5756
**routingNumber** | **String** | | [optional]
5857
**startedOn** | **String** | | [optional]
5958
**subtype** | **String** | | [optional]

docs/AccountUpdateRequest.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,27 @@
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10+
**accountSubtype** | **String** | | [optional]
11+
**accountType** | **String** | | [optional]
12+
**apr** | **BigDecimal** | | [optional]
13+
**apy** | **BigDecimal** | | [optional]
14+
**availableBalance** | **BigDecimal** | | [optional]
15+
**balance** | **BigDecimal** | | [optional]
16+
**cashSurrenderValue** | **BigDecimal** | | [optional]
17+
**creditLimit** | **BigDecimal** | | [optional]
18+
**currencyCode** | **String** | | [optional]
19+
**deathBenefit** | **Integer** | | [optional]
20+
**interestRate** | **BigDecimal** | | [optional]
21+
**isBusiness** | **Boolean** | | [optional]
22+
**isClosed** | **Boolean** | | [optional]
1023
**isHidden** | **Boolean** | | [optional]
24+
**loanAmount** | **BigDecimal** | | [optional]
25+
**metadata** | **String** | | [optional]
26+
**name** | **String** | | [optional]
27+
**nickname** | **String** | | [optional]
28+
**originalBalance** | **BigDecimal** | | [optional]
29+
**propertyType** | **String** | | [optional]
30+
**skipWebhook** | **Boolean** | | [optional]
1131

1232

1333

docs/MxPlatformApi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4427,7 +4427,7 @@ Name | Type | Description | Notes
44274427

44284428
<a name="listUserAccounts"></a>
44294429
# **listUserAccounts**
4430-
> AccountsResponseBody listUserAccounts(userGuid, memberIsManagedByUser, page, recordsPerPage)
4430+
> AccountsResponseBody listUserAccounts(userGuid, memberIsManagedByUser, page, isManual, recordsPerPage)
44314431
44324432
List accounts
44334433

@@ -4457,9 +4457,10 @@ public class Example {
44574457
String userGuid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54"; // String | The unique id for a `user`.
44584458
Boolean memberIsManagedByUser = true; // Boolean | List only accounts whose member is managed by the user.
44594459
Integer page = 1; // Integer | Specify current page.
4460+
Boolean isManual = true; // Boolean | List only accounts that were manually created.
44604461
Integer recordsPerPage = 10; // Integer | Specify records per page.
44614462
try {
4462-
AccountsResponseBody result = apiInstance.listUserAccounts(userGuid, memberIsManagedByUser, page, recordsPerPage);
4463+
AccountsResponseBody result = apiInstance.listUserAccounts(userGuid, memberIsManagedByUser, page, isManual, recordsPerPage);
44634464
System.out.println(result);
44644465
} catch (ApiException e) {
44654466
System.err.println("Exception when calling MxPlatformApi#listUserAccounts");
@@ -4479,6 +4480,7 @@ Name | Type | Description | Notes
44794480
**userGuid** | **String**| The unique id for a &#x60;user&#x60;. |
44804481
**memberIsManagedByUser** | **Boolean**| List only accounts whose member is managed by the user. | [optional]
44814482
**page** | **Integer**| Specify current page. | [optional]
4483+
**isManual** | **Boolean**| List only accounts that were manually created. | [optional]
44824484
**recordsPerPage** | **Integer**| Specify records per page. | [optional]
44834485

44844486
### Return type

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.16.1
6+
artifactVersion: 0.17.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.16.1</version>
8+
<version>0.17.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
@@ -131,7 +131,7 @@ private void init() {
131131
json = new JSON();
132132

133133
// Set default User-Agent.
134-
setUserAgent("OpenAPI-Generator/0.16.1/java");
134+
setUserAgent("OpenAPI-Generator/0.17.0/java");
135135

136136
authentications = new HashMap<String, Authentication>();
137137
}

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

Lines changed: 25 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
*/
3131
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
3232
public class AccountCreateRequest {
33-
public static final String SERIALIZED_NAME_ACCOUNT_SUBTYPE_NAME = "account_subtype_name";
34-
@SerializedName(SERIALIZED_NAME_ACCOUNT_SUBTYPE_NAME)
35-
private String accountSubtypeName;
33+
public static final String SERIALIZED_NAME_ACCOUNT_SUBTYPE = "account_subtype";
34+
@SerializedName(SERIALIZED_NAME_ACCOUNT_SUBTYPE)
35+
private String accountSubtype;
3636

3737
public static final String SERIALIZED_NAME_ACCOUNT_TYPE = "account_type";
3838
@SerializedName(SERIALIZED_NAME_ACCOUNT_TYPE)
39-
private Integer accountType;
39+
private String accountType;
4040

4141
public static final String SERIALIZED_NAME_APR = "apr";
4242
@SerializedName(SERIALIZED_NAME_APR)
@@ -108,11 +108,7 @@ public class AccountCreateRequest {
108108

109109
public static final String SERIALIZED_NAME_PROPERTY_TYPE = "property_type";
110110
@SerializedName(SERIALIZED_NAME_PROPERTY_TYPE)
111-
private Integer propertyType;
112-
113-
public static final String SERIALIZED_NAME_PROPERTY_TYPE_NAME = "property_type_name";
114-
@SerializedName(SERIALIZED_NAME_PROPERTY_TYPE_NAME)
115-
private String propertyTypeName;
111+
private String propertyType;
116112

117113
public static final String SERIALIZED_NAME_SKIP_WEBHOOK = "skip_webhook";
118114
@SerializedName(SERIALIZED_NAME_SKIP_WEBHOOK)
@@ -121,30 +117,30 @@ public class AccountCreateRequest {
121117
public AccountCreateRequest() {
122118
}
123119

124-
public AccountCreateRequest accountSubtypeName(String accountSubtypeName) {
120+
public AccountCreateRequest accountSubtype(String accountSubtype) {
125121

126-
this.accountSubtypeName = accountSubtypeName;
122+
this.accountSubtype = accountSubtype;
127123
return this;
128124
}
129125

130126
/**
131-
* Get accountSubtypeName
132-
* @return accountSubtypeName
127+
* Get accountSubtype
128+
* @return accountSubtype
133129
**/
134130
@javax.annotation.Nullable
135131
@ApiModelProperty(example = "PERSONAL", value = "")
136132

137-
public String getAccountSubtypeName() {
138-
return accountSubtypeName;
133+
public String getAccountSubtype() {
134+
return accountSubtype;
139135
}
140136

141137

142-
public void setAccountSubtypeName(String accountSubtypeName) {
143-
this.accountSubtypeName = accountSubtypeName;
138+
public void setAccountSubtype(String accountSubtype) {
139+
this.accountSubtype = accountSubtype;
144140
}
145141

146142

147-
public AccountCreateRequest accountType(Integer accountType) {
143+
public AccountCreateRequest accountType(String accountType) {
148144

149145
this.accountType = accountType;
150146
return this;
@@ -155,14 +151,14 @@ public AccountCreateRequest accountType(Integer accountType) {
155151
* @return accountType
156152
**/
157153
@javax.annotation.Nonnull
158-
@ApiModelProperty(example = "2", required = true, value = "")
154+
@ApiModelProperty(example = "SAVINGS", required = true, value = "")
159155

160-
public Integer getAccountType() {
156+
public String getAccountType() {
161157
return accountType;
162158
}
163159

164160

165-
public void setAccountType(Integer accountType) {
161+
public void setAccountType(String accountType) {
166162
this.accountType = accountType;
167163
}
168164

@@ -558,7 +554,7 @@ public void setOriginalBalance(BigDecimal originalBalance) {
558554
}
559555

560556

561-
public AccountCreateRequest propertyType(Integer propertyType) {
557+
public AccountCreateRequest propertyType(String propertyType) {
562558

563559
this.propertyType = propertyType;
564560
return this;
@@ -569,41 +565,18 @@ public AccountCreateRequest propertyType(Integer propertyType) {
569565
* @return propertyType
570566
**/
571567
@javax.annotation.Nullable
572-
@ApiModelProperty(example = "1", value = "")
568+
@ApiModelProperty(example = "VEHICLE", value = "")
573569

574-
public Integer getPropertyType() {
570+
public String getPropertyType() {
575571
return propertyType;
576572
}
577573

578574

579-
public void setPropertyType(Integer propertyType) {
575+
public void setPropertyType(String propertyType) {
580576
this.propertyType = propertyType;
581577
}
582578

583579

584-
public AccountCreateRequest propertyTypeName(String propertyTypeName) {
585-
586-
this.propertyTypeName = propertyTypeName;
587-
return this;
588-
}
589-
590-
/**
591-
* Get propertyTypeName
592-
* @return propertyTypeName
593-
**/
594-
@javax.annotation.Nullable
595-
@ApiModelProperty(example = "VEHICLE", value = "")
596-
597-
public String getPropertyTypeName() {
598-
return propertyTypeName;
599-
}
600-
601-
602-
public void setPropertyTypeName(String propertyTypeName) {
603-
this.propertyTypeName = propertyTypeName;
604-
}
605-
606-
607580
public AccountCreateRequest skipWebhook(Boolean skipWebhook) {
608581

609582
this.skipWebhook = skipWebhook;
@@ -615,7 +588,7 @@ public AccountCreateRequest skipWebhook(Boolean skipWebhook) {
615588
* @return skipWebhook
616589
**/
617590
@javax.annotation.Nullable
618-
@ApiModelProperty(example = "false", value = "")
591+
@ApiModelProperty(example = "true", value = "")
619592

620593
public Boolean getSkipWebhook() {
621594
return skipWebhook;
@@ -636,7 +609,7 @@ public boolean equals(Object o) {
636609
return false;
637610
}
638611
AccountCreateRequest accountCreateRequest = (AccountCreateRequest) o;
639-
return Objects.equals(this.accountSubtypeName, accountCreateRequest.accountSubtypeName) &&
612+
return Objects.equals(this.accountSubtype, accountCreateRequest.accountSubtype) &&
640613
Objects.equals(this.accountType, accountCreateRequest.accountType) &&
641614
Objects.equals(this.apr, accountCreateRequest.apr) &&
642615
Objects.equals(this.apy, accountCreateRequest.apy) &&
@@ -656,20 +629,19 @@ public boolean equals(Object o) {
656629
Objects.equals(this.nickname, accountCreateRequest.nickname) &&
657630
Objects.equals(this.originalBalance, accountCreateRequest.originalBalance) &&
658631
Objects.equals(this.propertyType, accountCreateRequest.propertyType) &&
659-
Objects.equals(this.propertyTypeName, accountCreateRequest.propertyTypeName) &&
660632
Objects.equals(this.skipWebhook, accountCreateRequest.skipWebhook);
661633
}
662634

663635
@Override
664636
public int hashCode() {
665-
return Objects.hash(accountSubtypeName, accountType, apr, apy, availableBalance, balance, cashSurrenderValue, creditLimit, currencyCode, deathBenefit, interestRate, isBusiness, isClosed, isHidden, loanAmount, metadata, name, nickname, originalBalance, propertyType, propertyTypeName, skipWebhook);
637+
return Objects.hash(accountSubtype, accountType, apr, apy, availableBalance, balance, cashSurrenderValue, creditLimit, currencyCode, deathBenefit, interestRate, isBusiness, isClosed, isHidden, loanAmount, metadata, name, nickname, originalBalance, propertyType, skipWebhook);
666638
}
667639

668640
@Override
669641
public String toString() {
670642
StringBuilder sb = new StringBuilder();
671643
sb.append("class AccountCreateRequest {\n");
672-
sb.append(" accountSubtypeName: ").append(toIndentedString(accountSubtypeName)).append("\n");
644+
sb.append(" accountSubtype: ").append(toIndentedString(accountSubtype)).append("\n");
673645
sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n");
674646
sb.append(" apr: ").append(toIndentedString(apr)).append("\n");
675647
sb.append(" apy: ").append(toIndentedString(apy)).append("\n");
@@ -689,7 +661,6 @@ public String toString() {
689661
sb.append(" nickname: ").append(toIndentedString(nickname)).append("\n");
690662
sb.append(" originalBalance: ").append(toIndentedString(originalBalance)).append("\n");
691663
sb.append(" propertyType: ").append(toIndentedString(propertyType)).append("\n");
692-
sb.append(" propertyTypeName: ").append(toIndentedString(propertyTypeName)).append("\n");
693664
sb.append(" skipWebhook: ").append(toIndentedString(skipWebhook)).append("\n");
694665
sb.append("}");
695666
return sb.toString();

0 commit comments

Comments
 (0)