Skip to content

Commit c971fad

Browse files
committed
Update src/main/java/com/xero/models/bankfeeds/FeedConnection.java
added missing accountId to feedconnection
1 parent 4ead85e commit c971fad

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

src/main/java/com/xero/models/bankfeeds/FeedConnection.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ public class FeedConnection {
3939
@JsonProperty("accountName")
4040
private String accountName = null;
4141

42+
@JsonProperty("accountId")
43+
private String accountId = null;
44+
4245
/**
4346
* Gets or Sets accountType
4447
*/
@@ -196,6 +199,24 @@ public void setAccountName(String accountName) {
196199
this.accountName = accountName;
197200
}
198201

202+
public FeedConnection accountId(String accountId) {
203+
this.accountId = accountId;
204+
return this;
205+
}
206+
207+
/**
208+
* Get accountId
209+
* @return accountId
210+
**/
211+
@ApiModelProperty(example = "079a88ea-276d-41fb-a1f1-366ef3e22921", value = "")
212+
public String getAccountId() {
213+
return accountId;
214+
}
215+
216+
public void setAccountId(String accountId) {
217+
this.accountId = accountId;
218+
}
219+
199220
public FeedConnection accountType(AccountTypeEnum accountType) {
200221
this.accountType = accountType;
201222
return this;
@@ -300,6 +321,7 @@ public boolean equals(java.lang.Object o) {
300321
Objects.equals(this.accountToken, feedConnection.accountToken) &&
301322
Objects.equals(this.accountNumber, feedConnection.accountNumber) &&
302323
Objects.equals(this.accountName, feedConnection.accountName) &&
324+
Objects.equals(this.accountId, feedConnection.accountId) &&
303325
Objects.equals(this.accountType, feedConnection.accountType) &&
304326
Objects.equals(this.currency, feedConnection.currency) &&
305327
Objects.equals(this.country, feedConnection.country) &&
@@ -309,7 +331,7 @@ public boolean equals(java.lang.Object o) {
309331

310332
@Override
311333
public int hashCode() {
312-
return Objects.hash(id, accountToken, accountNumber, accountName, accountType, currency, country, status, error);
334+
return Objects.hash(id, accountToken, accountNumber, accountName, accountId, accountType, currency, country, status, error);
313335
}
314336

315337

@@ -322,6 +344,7 @@ public String toString() {
322344
sb.append(" accountToken: ").append(toIndentedString(accountToken)).append("\n");
323345
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
324346
sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n");
347+
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
325348
sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n");
326349
sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
327350
sb.append(" country: ").append(toIndentedString(country)).append("\n");

0 commit comments

Comments
 (0)