Skip to content

Commit c224f85

Browse files
authored
Merge pull request #213 from XeroAPI/sid-development
Google code format applied now during code generation
2 parents 457c668 + b92266e commit c224f85

File tree

334 files changed

+47107
-41690
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

334 files changed

+47107
-41690
lines changed

src/main/java/com/xero/api/client/AccountingApi.java

Lines changed: 21221 additions & 16042 deletions
Large diffs are not rendered by default.

src/main/java/com/xero/api/client/AssetApi.java

Lines changed: 573 additions & 471 deletions
Large diffs are not rendered by default.

src/main/java/com/xero/api/client/BankFeedsApi.java

Lines changed: 660 additions & 537 deletions
Large diffs are not rendered by default.

src/main/java/com/xero/api/client/IdentityApi.java

Lines changed: 182 additions & 173 deletions
Large diffs are not rendered by default.

src/main/java/com/xero/api/client/PayrollAuApi.java

Lines changed: 2664 additions & 2100 deletions
Large diffs are not rendered by default.

src/main/java/com/xero/api/client/PayrollUkApi.java

Lines changed: 6411 additions & 4989 deletions
Large diffs are not rendered by default.

src/main/java/com/xero/api/client/ProjectApi.java

Lines changed: 1413 additions & 1092 deletions
Large diffs are not rendered by default.

src/main/java/com/xero/models/accounting/Account.java

Lines changed: 187 additions & 147 deletions
Large diffs are not rendered by default.

src/main/java/com/xero/models/accounting/AccountType.java

Lines changed: 24 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -10,69 +10,56 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
1413
package com.xero.models.accounting;
15-
import java.util.Objects;
16-
import java.util.Arrays;
17-
import io.swagger.annotations.ApiModel;
18-
import java.io.IOException;
19-
20-
import org.threeten.bp.OffsetDateTime;
21-
import org.threeten.bp.LocalDateTime;
22-
import org.threeten.bp.ZoneId;
23-
import org.threeten.bp.Instant;
24-
import org.threeten.bp.LocalDate;
25-
import com.xero.api.StringUtil;
14+
15+
2616
import com.fasterxml.jackson.annotation.JsonCreator;
2717
import com.fasterxml.jackson.annotation.JsonValue;
2818

29-
/**
30-
* See Account Types
31-
*/
19+
/** See Account Types */
3220
public enum AccountType {
33-
3421
BANK("BANK"),
35-
22+
3623
CURRENT("CURRENT"),
37-
24+
3825
CURRLIAB("CURRLIAB"),
39-
26+
4027
DEPRECIATN("DEPRECIATN"),
41-
28+
4229
DIRECTCOSTS("DIRECTCOSTS"),
43-
30+
4431
EQUITY("EQUITY"),
45-
32+
4633
EXPENSE("EXPENSE"),
47-
34+
4835
FIXED("FIXED"),
49-
36+
5037
INVENTORY("INVENTORY"),
51-
38+
5239
LIABILITY("LIABILITY"),
53-
40+
5441
NONCURRENT("NONCURRENT"),
55-
42+
5643
OTHERINCOME("OTHERINCOME"),
57-
44+
5845
OVERHEADS("OVERHEADS"),
59-
46+
6047
PREPAYMENT("PREPAYMENT"),
61-
48+
6249
REVENUE("REVENUE"),
63-
50+
6451
SALES("SALES"),
65-
52+
6653
TERMLIAB("TERMLIAB"),
67-
54+
6855
PAYGLIABILITY("PAYGLIABILITY"),
69-
56+
7057
PAYG("PAYG"),
71-
58+
7259
SUPERANNUATIONEXPENSE("SUPERANNUATIONEXPENSE"),
73-
60+
7461
SUPERANNUATIONLIABILITY("SUPERANNUATIONLIABILITY"),
75-
62+
7663
WAGESEXPENSE("WAGESEXPENSE");
7764

7865
private String value;
@@ -101,4 +88,3 @@ public static AccountType fromValue(String value) {
10188
throw new IllegalArgumentException("Unexpected value '" + value + "'");
10289
}
10390
}
104-

src/main/java/com/xero/models/accounting/Accounts.java

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,38 +10,22 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
1413
package com.xero.models.accounting;
15-
import java.util.Objects;
16-
import java.util.Arrays;
17-
import com.fasterxml.jackson.annotation.JsonInclude;
14+
1815
import com.fasterxml.jackson.annotation.JsonProperty;
19-
import com.fasterxml.jackson.annotation.JsonCreator;
20-
import com.fasterxml.jackson.annotation.JsonValue;
21-
import com.xero.models.accounting.Account;
22-
import io.swagger.annotations.ApiModel;
16+
import com.xero.api.StringUtil;
2317
import io.swagger.annotations.ApiModelProperty;
2418
import java.util.ArrayList;
2519
import java.util.List;
26-
import java.io.IOException;
27-
28-
import org.threeten.bp.OffsetDateTime;
29-
import org.threeten.bp.LocalDateTime;
30-
import org.threeten.bp.ZoneId;
31-
import org.threeten.bp.Instant;
32-
import org.threeten.bp.LocalDate;
33-
import com.xero.api.StringUtil;
34-
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
35-
36-
/**
37-
* Accounts
38-
*/
20+
import java.util.Objects;
3921

22+
/** Accounts */
4023
public class Accounts {
4124
StringUtil util = new StringUtil();
4225

4326
@JsonProperty("Accounts")
4427
private List<Account> accounts = new ArrayList<Account>();
28+
4529
public Accounts accounts(List<Account> accounts) {
4630
this.accounts = accounts;
4731
return this;
@@ -55,10 +39,11 @@ public Accounts addAccountsItem(Account accountsItem) {
5539
return this;
5640
}
5741

58-
/**
42+
/**
5943
* Get accounts
44+
*
6045
* @return accounts
61-
**/
46+
*/
6247
@ApiModelProperty(value = "")
6348
public List<Account> getAccounts() {
6449
return accounts;
@@ -68,7 +53,6 @@ public void setAccounts(List<Account> accounts) {
6853
this.accounts = accounts;
6954
}
7055

71-
7256
@Override
7357
public boolean equals(java.lang.Object o) {
7458
if (this == o) {
@@ -86,7 +70,6 @@ public int hashCode() {
8670
return Objects.hash(accounts);
8771
}
8872

89-
9073
@Override
9174
public String toString() {
9275
StringBuilder sb = new StringBuilder();
@@ -97,15 +80,12 @@ public String toString() {
9780
}
9881

9982
/**
100-
* Convert the given object to string with each line indented by 4 spaces
101-
* (except the first line).
83+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
10284
*/
10385
private String toIndentedString(java.lang.Object o) {
10486
if (o == null) {
10587
return "null";
10688
}
10789
return o.toString().replace("\n", "\n ");
10890
}
109-
11091
}
111-

0 commit comments

Comments
 (0)