Skip to content

Commit 09f33df

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

File tree

11 files changed

+85
-60
lines changed

11 files changed

+85
-60
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.0.jar`
27+
- `target/mx-platform-java-0.16.1.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.0</version>
38+
<version>0.16.1</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

docs/AccountCreateRequestBody.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**skipWebhook** | **Boolean** | | [optional]
1110
**account** | [**AccountCreateRequest**](AccountCreateRequest.md) | | [optional]
1211

1312

docs/AccountResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ Name | Type | Description | Notes
5252
**paymentDueAt** | **String** | | [optional]
5353
**payoffBalance** | **BigDecimal** | | [optional]
5454
**premiumAmount** | **BigDecimal** | | [optional]
55+
**propertyType** | **Integer** | | [optional]
56+
**propertyTypeName** | **String** | | [optional]
5557
**routingNumber** | **String** | | [optional]
5658
**startedOn** | **String** | | [optional]
5759
**subtype** | **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.16.0
6+
artifactVersion: 0.16.1
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.0</version>
8+
<version>0.16.1</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.0/java");
134+
setUserAgent("OpenAPI-Generator/0.16.1/java");
135135

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public AccountCreateRequest accountSubtypeName(String accountSubtypeName) {
132132
* @return accountSubtypeName
133133
**/
134134
@javax.annotation.Nullable
135-
@ApiModelProperty(example = "SAVINGS", value = "")
135+
@ApiModelProperty(example = "PERSONAL", value = "")
136136

137137
public String getAccountSubtypeName() {
138138
return accountSubtypeName;

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

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -24,47 +24,19 @@
2424
import io.swagger.annotations.ApiModel;
2525
import io.swagger.annotations.ApiModelProperty;
2626
import java.io.IOException;
27-
import org.openapitools.jackson.nullable.JsonNullable;
2827

2928
/**
3029
* AccountCreateRequestBody
3130
*/
3231
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
3332
public class AccountCreateRequestBody {
34-
public static final String SERIALIZED_NAME_SKIP_WEBHOOK = "skip_webhook";
35-
@SerializedName(SERIALIZED_NAME_SKIP_WEBHOOK)
36-
private Boolean skipWebhook;
37-
3833
public static final String SERIALIZED_NAME_ACCOUNT = "account";
3934
@SerializedName(SERIALIZED_NAME_ACCOUNT)
4035
private AccountCreateRequest account;
4136

4237
public AccountCreateRequestBody() {
4338
}
4439

45-
public AccountCreateRequestBody skipWebhook(Boolean skipWebhook) {
46-
47-
this.skipWebhook = skipWebhook;
48-
return this;
49-
}
50-
51-
/**
52-
* Get skipWebhook
53-
* @return skipWebhook
54-
**/
55-
@javax.annotation.Nullable
56-
@ApiModelProperty(example = "true", value = "")
57-
58-
public Boolean getSkipWebhook() {
59-
return skipWebhook;
60-
}
61-
62-
63-
public void setSkipWebhook(Boolean skipWebhook) {
64-
this.skipWebhook = skipWebhook;
65-
}
66-
67-
6840
public AccountCreateRequestBody account(AccountCreateRequest account) {
6941

7042
this.account = account;
@@ -97,31 +69,18 @@ public boolean equals(Object o) {
9769
return false;
9870
}
9971
AccountCreateRequestBody accountCreateRequestBody = (AccountCreateRequestBody) o;
100-
return Objects.equals(this.skipWebhook, accountCreateRequestBody.skipWebhook) &&
101-
Objects.equals(this.account, accountCreateRequestBody.account);
102-
}
103-
104-
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
105-
return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
72+
return Objects.equals(this.account, accountCreateRequestBody.account);
10673
}
10774

10875
@Override
10976
public int hashCode() {
110-
return Objects.hash(skipWebhook, account);
111-
}
112-
113-
private static <T> int hashCodeNullable(JsonNullable<T> a) {
114-
if (a == null) {
115-
return 1;
116-
}
117-
return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
77+
return Objects.hash(account);
11878
}
11979

12080
@Override
12181
public String toString() {
12282
StringBuilder sb = new StringBuilder();
12383
sb.append("class AccountCreateRequestBody {\n");
124-
sb.append(" skipWebhook: ").append(toIndentedString(skipWebhook)).append("\n");
12584
sb.append(" account: ").append(toIndentedString(account)).append("\n");
12685
sb.append("}");
12786
return sb.toString();

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

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,14 @@ public class AccountResponse {
211211
@SerializedName(SERIALIZED_NAME_PREMIUM_AMOUNT)
212212
private BigDecimal premiumAmount;
213213

214+
public static final String SERIALIZED_NAME_PROPERTY_TYPE = "property_type";
215+
@SerializedName(SERIALIZED_NAME_PROPERTY_TYPE)
216+
private Integer propertyType;
217+
218+
public static final String SERIALIZED_NAME_PROPERTY_TYPE_NAME = "property_type_name";
219+
@SerializedName(SERIALIZED_NAME_PROPERTY_TYPE_NAME)
220+
private String propertyTypeName;
221+
214222
public static final String SERIALIZED_NAME_ROUTING_NUMBER = "routing_number";
215223
@SerializedName(SERIALIZED_NAME_ROUTING_NUMBER)
216224
private String routingNumber;
@@ -1289,6 +1297,52 @@ public void setPremiumAmount(BigDecimal premiumAmount) {
12891297
}
12901298

12911299

1300+
public AccountResponse propertyType(Integer propertyType) {
1301+
1302+
this.propertyType = propertyType;
1303+
return this;
1304+
}
1305+
1306+
/**
1307+
* Get propertyType
1308+
* @return propertyType
1309+
**/
1310+
@javax.annotation.Nullable
1311+
@ApiModelProperty(example = "1", value = "")
1312+
1313+
public Integer getPropertyType() {
1314+
return propertyType;
1315+
}
1316+
1317+
1318+
public void setPropertyType(Integer propertyType) {
1319+
this.propertyType = propertyType;
1320+
}
1321+
1322+
1323+
public AccountResponse propertyTypeName(String propertyTypeName) {
1324+
1325+
this.propertyTypeName = propertyTypeName;
1326+
return this;
1327+
}
1328+
1329+
/**
1330+
* Get propertyTypeName
1331+
* @return propertyTypeName
1332+
**/
1333+
@javax.annotation.Nullable
1334+
@ApiModelProperty(example = "VEHICLE", value = "")
1335+
1336+
public String getPropertyTypeName() {
1337+
return propertyTypeName;
1338+
}
1339+
1340+
1341+
public void setPropertyTypeName(String propertyTypeName) {
1342+
this.propertyTypeName = propertyTypeName;
1343+
}
1344+
1345+
12921346
public AccountResponse routingNumber(String routingNumber) {
12931347

12941348
this.routingNumber = routingNumber;
@@ -1573,6 +1627,8 @@ public boolean equals(Object o) {
15731627
Objects.equals(this.paymentDueAt, accountResponse.paymentDueAt) &&
15741628
Objects.equals(this.payoffBalance, accountResponse.payoffBalance) &&
15751629
Objects.equals(this.premiumAmount, accountResponse.premiumAmount) &&
1630+
Objects.equals(this.propertyType, accountResponse.propertyType) &&
1631+
Objects.equals(this.propertyTypeName, accountResponse.propertyTypeName) &&
15761632
Objects.equals(this.routingNumber, accountResponse.routingNumber) &&
15771633
Objects.equals(this.startedOn, accountResponse.startedOn) &&
15781634
Objects.equals(this.subtype, accountResponse.subtype) &&
@@ -1591,7 +1647,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b)
15911647

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

15971653
private static <T> int hashCodeNullable(JsonNullable<T> a) {
@@ -1650,6 +1706,8 @@ public String toString() {
16501706
sb.append(" paymentDueAt: ").append(toIndentedString(paymentDueAt)).append("\n");
16511707
sb.append(" payoffBalance: ").append(toIndentedString(payoffBalance)).append("\n");
16521708
sb.append(" premiumAmount: ").append(toIndentedString(premiumAmount)).append("\n");
1709+
sb.append(" propertyType: ").append(toIndentedString(propertyType)).append("\n");
1710+
sb.append(" propertyTypeName: ").append(toIndentedString(propertyTypeName)).append("\n");
16531711
sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n");
16541712
sb.append(" startedOn: ").append(toIndentedString(startedOn)).append("\n");
16551713
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import io.swagger.annotations.ApiModel;
2323
import io.swagger.annotations.ApiModelProperty;
2424
import java.io.IOException;
25-
import org.openapitools.jackson.nullable.JsonNullable;
2625
import org.junit.Assert;
2726
import org.junit.Ignore;
2827
import org.junit.Test;
@@ -42,14 +41,6 @@ public void testAccountCreateRequestBody() {
4241
// TODO: test AccountCreateRequestBody
4342
}
4443

45-
/**
46-
* Test the property 'skipWebhook'
47-
*/
48-
@Test
49-
public void skipWebhookTest() {
50-
// TODO: test skipWebhook
51-
}
52-
5344
/**
5445
* Test the property 'account'
5546
*/

0 commit comments

Comments
 (0)