Skip to content

Commit 5b927ae

Browse files
author
Konstantin Yakushev
committed
Regenerated code based on the latest tag.
1 parent af66d2b commit 5b927ae

File tree

205 files changed

+2392
-1755
lines changed

Some content is hidden

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

205 files changed

+2392
-1755
lines changed

src/main/java/com/bunq/sdk/model/generated/endpoint/AttachmentConversationContent.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ public static BunqResponse<byte[]> list(Integer chatConversationId, Integer atta
5252

5353
/**
5454
*/
55-
public boolean isAllFieldNull() {
56-
return true;
55+
public static AttachmentConversationContent fromJsonReader(JsonReader reader) {
56+
return fromJsonReader(AttachmentConversationContent.class, reader);
5757
}
5858

5959
/**
6060
*/
61-
public static AttachmentConversationContent fromJsonReader(JsonReader reader) {
62-
return fromJsonReader(AttachmentConversationContent.class, reader);
61+
public boolean isAllFieldNull() {
62+
return true;
6363
}
6464

6565
}

src/main/java/com/bunq/sdk/model/generated/endpoint/AttachmentMonetaryAccount.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ public static BunqResponse<Integer> create(Integer monetaryAccountId, byte[] byt
5757
return create(monetaryAccountId, null, bytes);
5858
}
5959

60+
/**
61+
*/
62+
public static AttachmentMonetaryAccount fromJsonReader(JsonReader reader) {
63+
return fromJsonReader(AttachmentMonetaryAccount.class, reader);
64+
}
65+
6066
/**
6167
* The attachment.
6268
*/
@@ -93,10 +99,4 @@ public boolean isAllFieldNull() {
9399
return true;
94100
}
95101

96-
/**
97-
*/
98-
public static AttachmentMonetaryAccount fromJsonReader(JsonReader reader) {
99-
return fromJsonReader(AttachmentMonetaryAccount.class, reader);
100-
}
101-
102102
}

src/main/java/com/bunq/sdk/model/generated/endpoint/AttachmentPublic.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ public static BunqResponse<AttachmentPublic> get(String attachmentPublicUuid, Ma
9797
return get(attachmentPublicUuid, params, null);
9898
}
9999

100+
/**
101+
*/
102+
public static AttachmentPublic fromJsonReader(JsonReader reader) {
103+
return fromJsonReader(AttachmentPublic.class, reader);
104+
}
105+
100106
/**
101107
* The UUID of the attachment.
102108
*/
@@ -163,10 +169,4 @@ public boolean isAllFieldNull() {
163169
return true;
164170
}
165171

166-
/**
167-
*/
168-
public static AttachmentPublic fromJsonReader(JsonReader reader) {
169-
return fromJsonReader(AttachmentPublic.class, reader);
170-
}
171-
172172
}

src/main/java/com/bunq/sdk/model/generated/endpoint/AttachmentPublicContent.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ public static BunqResponse<byte[]> list(String attachmentPublicUuid, Map<String,
4848

4949
/**
5050
*/
51-
public boolean isAllFieldNull() {
52-
return true;
51+
public static AttachmentPublicContent fromJsonReader(JsonReader reader) {
52+
return fromJsonReader(AttachmentPublicContent.class, reader);
5353
}
5454

5555
/**
5656
*/
57-
public static AttachmentPublicContent fromJsonReader(JsonReader reader) {
58-
return fromJsonReader(AttachmentPublicContent.class, reader);
57+
public boolean isAllFieldNull() {
58+
return true;
5959
}
6060

6161
}

src/main/java/com/bunq/sdk/model/generated/endpoint/AttachmentTab.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ public static BunqResponse<AttachmentTab> get(Integer attachmentTabId, Integer m
106106
return get(attachmentTabId, monetaryAccountId, params, null);
107107
}
108108

109+
/**
110+
*/
111+
public static AttachmentTab fromJsonReader(JsonReader reader) {
112+
return fromJsonReader(AttachmentTab.class, reader);
113+
}
114+
109115
/**
110116
* The id of the attachment.
111117
*/
@@ -172,10 +178,4 @@ public boolean isAllFieldNull() {
172178
return true;
173179
}
174180

175-
/**
176-
*/
177-
public static AttachmentTab fromJsonReader(JsonReader reader) {
178-
return fromJsonReader(AttachmentTab.class, reader);
179-
}
180-
181181
}

src/main/java/com/bunq/sdk/model/generated/endpoint/AttachmentTabContent.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ public static BunqResponse<byte[]> list(Integer attachmentTabId, Integer monetar
5252

5353
/**
5454
*/
55-
public boolean isAllFieldNull() {
56-
return true;
55+
public static AttachmentTabContent fromJsonReader(JsonReader reader) {
56+
return fromJsonReader(AttachmentTabContent.class, reader);
5757
}
5858

5959
/**
6060
*/
61-
public static AttachmentTabContent fromJsonReader(JsonReader reader) {
62-
return fromJsonReader(AttachmentTabContent.class, reader);
61+
public boolean isAllFieldNull() {
62+
return true;
6363
}
6464

6565
}

src/main/java/com/bunq/sdk/model/generated/endpoint/AttachmentUser.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ public static BunqResponse<AttachmentUser> get(Integer attachmentUserId, Map<Str
7979
return get(attachmentUserId, params, null);
8080
}
8181

82+
/**
83+
*/
84+
public static AttachmentUser fromJsonReader(JsonReader reader) {
85+
return fromJsonReader(AttachmentUser.class, reader);
86+
}
87+
8288
/**
8389
* The id of the attachment.
8490
*/
@@ -145,10 +151,4 @@ public boolean isAllFieldNull() {
145151
return true;
146152
}
147153

148-
/**
149-
*/
150-
public static AttachmentUser fromJsonReader(JsonReader reader) {
151-
return fromJsonReader(AttachmentUser.class, reader);
152-
}
153-
154154
}

src/main/java/com/bunq/sdk/model/generated/endpoint/Avatar.java

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,15 @@
2222
*/
2323
public class Avatar extends BunqModel {
2424

25+
/**
26+
* Field constants.
27+
*/
28+
public static final String FIELD_ATTACHMENT_PUBLIC_UUID = "attachment_public_uuid";
2529
/**
2630
* Endpoint constants.
2731
*/
2832
protected static final String ENDPOINT_URL_CREATE = "avatar";
2933
protected static final String ENDPOINT_URL_READ = "avatar/%s";
30-
31-
/**
32-
* Field constants.
33-
*/
34-
public static final String FIELD_ATTACHMENT_PUBLIC_UUID = "attachment_public_uuid";
35-
3634
/**
3735
* Object type.
3836
*/
@@ -117,6 +115,12 @@ public static BunqResponse<Avatar> get(String avatarUuid, Map<String, String> pa
117115
return get(avatarUuid, params, null);
118116
}
119117

118+
/**
119+
*/
120+
public static Avatar fromJsonReader(JsonReader reader) {
121+
return fromJsonReader(Avatar.class, reader);
122+
}
123+
120124
/**
121125
* The UUID of the created avatar.
122126
*/
@@ -153,10 +157,4 @@ public boolean isAllFieldNull() {
153157
return true;
154158
}
155159

156-
/**
157-
*/
158-
public static Avatar fromJsonReader(JsonReader reader) {
159-
return fromJsonReader(Avatar.class, reader);
160-
}
161-
162160
}

src/main/java/com/bunq/sdk/model/generated/endpoint/BankSwitchServiceNetherlandsIncoming.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ public BankSwitchServiceNetherlandsIncoming(Pointer alias, Pointer counterpartyA
152152
this.timeStartActualFieldForRequest = timeStartActual;
153153
}
154154

155+
/**
156+
*/
157+
public static BankSwitchServiceNetherlandsIncoming fromJsonReader(JsonReader reader) {
158+
return fromJsonReader(BankSwitchServiceNetherlandsIncoming.class, reader);
159+
}
160+
155161
/**
156162
* The label of the user creator of this switch service.
157163
*/
@@ -293,10 +299,4 @@ public boolean isAllFieldNull() {
293299
return true;
294300
}
295301

296-
/**
297-
*/
298-
public static BankSwitchServiceNetherlandsIncoming fromJsonReader(JsonReader reader) {
299-
return fromJsonReader(BankSwitchServiceNetherlandsIncoming.class, reader);
300-
}
301-
302302
}

src/main/java/com/bunq/sdk/model/generated/endpoint/BankSwitchServiceNetherlandsIncomingPayment.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ public static BunqResponse<BankSwitchServiceNetherlandsIncomingPayment> get(Inte
6565
return get(bankSwitchServiceNetherlandsIncomingPaymentId, monetaryAccountId, params, null);
6666
}
6767

68+
/**
69+
*/
70+
public static BankSwitchServiceNetherlandsIncomingPayment fromJsonReader(JsonReader reader) {
71+
return fromJsonReader(BankSwitchServiceNetherlandsIncomingPayment.class, reader);
72+
}
73+
6874
/**
6975
* The bank switch service details.
7076
*/
@@ -101,10 +107,4 @@ public boolean isAllFieldNull() {
101107
return true;
102108
}
103109

104-
/**
105-
*/
106-
public static BankSwitchServiceNetherlandsIncomingPayment fromJsonReader(JsonReader reader) {
107-
return fromJsonReader(BankSwitchServiceNetherlandsIncomingPayment.class, reader);
108-
}
109-
110110
}

0 commit comments

Comments
 (0)