Skip to content

Commit 638f7ea

Browse files
committed
Removed fields with null values from models in sdk
1 parent bca735f commit 638f7ea

File tree

1,358 files changed

+9552
-9552
lines changed

Some content is hidden

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

1,358 files changed

+9552
-9552
lines changed

src/main/java/Model/Accountupdaterv1batchesIncluded.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public String toString() {
8585
StringBuilder sb = new StringBuilder();
8686
sb.append("class Accountupdaterv1batchesIncluded {\n");
8787

88-
sb.append(" tokens: ").append(toIndentedString(tokens)).append("\n");
88+
if (tokens != null) sb.append(" tokens: ").append(toIndentedString(tokens)).append("\n");
8989
sb.append("}");
9090
return sb.toString();
9191
}
@@ -96,10 +96,10 @@ public String toString() {
9696
*/
9797
private String toIndentedString(java.lang.Object o) {
9898
if (o == null) {
99-
return "null";
99+
// return "null";
100100
}
101101
return o.toString().replace("\n", "\n ");
102102
}
103-
103+
104104
}
105105

src/main/java/Model/Accountupdaterv1batchesIncludedTokens.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ public String toString() {
118118
StringBuilder sb = new StringBuilder();
119119
sb.append("class Accountupdaterv1batchesIncludedTokens {\n");
120120

121-
sb.append(" id: ").append(toIndentedString(id)).append("\n");
122-
sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n");
123-
sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n");
121+
if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n");
122+
if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n");
123+
if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n");
124124
sb.append("}");
125125
return sb.toString();
126126
}
@@ -131,10 +131,10 @@ public String toString() {
131131
*/
132132
private String toIndentedString(java.lang.Object o) {
133133
if (o == null) {
134-
return "null";
134+
// return "null";
135135
}
136136
return o.toString().replace("\n", "\n ");
137137
}
138-
138+
139139
}
140140

src/main/java/Model/ActivateDeactivatePlanResponse.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ public String toString() {
164164
StringBuilder sb = new StringBuilder();
165165
sb.append("class ActivateDeactivatePlanResponse {\n");
166166

167-
sb.append(" links: ").append(toIndentedString(links)).append("\n");
168-
sb.append(" id: ").append(toIndentedString(id)).append("\n");
169-
sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n");
170-
sb.append(" status: ").append(toIndentedString(status)).append("\n");
171-
sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n");
167+
if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n");
168+
if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n");
169+
if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n");
170+
if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n");
171+
if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n");
172172
sb.append("}");
173173
return sb.toString();
174174
}
@@ -179,10 +179,10 @@ public String toString() {
179179
*/
180180
private String toIndentedString(java.lang.Object o) {
181181
if (o == null) {
182-
return "null";
182+
// return "null";
183183
}
184184
return o.toString().replace("\n", "\n ");
185185
}
186-
186+
187187
}
188188

src/main/java/Model/ActivateSubscriptionResponse.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ public String toString() {
164164
StringBuilder sb = new StringBuilder();
165165
sb.append("class ActivateSubscriptionResponse {\n");
166166

167-
sb.append(" links: ").append(toIndentedString(links)).append("\n");
168-
sb.append(" id: ").append(toIndentedString(id)).append("\n");
169-
sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n");
170-
sb.append(" status: ").append(toIndentedString(status)).append("\n");
171-
sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n");
167+
if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n");
168+
if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n");
169+
if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n");
170+
if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n");
171+
if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n");
172172
sb.append("}");
173173
return sb.toString();
174174
}
@@ -179,10 +179,10 @@ public String toString() {
179179
*/
180180
private String toIndentedString(java.lang.Object o) {
181181
if (o == null) {
182-
return "null";
182+
// return "null";
183183
}
184184
return o.toString().replace("\n", "\n ");
185185
}
186-
186+
187187
}
188188

src/main/java/Model/ActivateSubscriptionResponseSubscriptionInformation.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ public String toString() {
9696
StringBuilder sb = new StringBuilder();
9797
sb.append("class ActivateSubscriptionResponseSubscriptionInformation {\n");
9898

99-
sb.append(" code: ").append(toIndentedString(code)).append("\n");
100-
sb.append(" status: ").append(toIndentedString(status)).append("\n");
99+
if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n");
100+
if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n");
101101
sb.append("}");
102102
return sb.toString();
103103
}
@@ -108,10 +108,10 @@ public String toString() {
108108
*/
109109
private String toIndentedString(java.lang.Object o) {
110110
if (o == null) {
111-
return "null";
111+
// return "null";
112112
}
113113
return o.toString().replace("\n", "\n ");
114114
}
115-
115+
116116
}
117117

src/main/java/Model/AddNegativeListRequest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,12 @@ public String toString() {
190190
StringBuilder sb = new StringBuilder();
191191
sb.append("class AddNegativeListRequest {\n");
192192

193-
sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n");
194-
sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n");
195-
sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n");
196-
sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n");
197-
sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n");
198-
sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n");
193+
if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n");
194+
if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n");
195+
if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n");
196+
if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n");
197+
if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n");
198+
if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n");
199199
sb.append("}");
200200
return sb.toString();
201201
}
@@ -206,10 +206,10 @@ public String toString() {
206206
*/
207207
private String toIndentedString(java.lang.Object o) {
208208
if (o == null) {
209-
return "null";
209+
// return "null";
210210
}
211211
return o.toString().replace("\n", "\n ");
212212
}
213-
213+
214214
}
215215

src/main/java/Model/AuthReversalRequest.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,13 @@ public String toString() {
213213
StringBuilder sb = new StringBuilder();
214214
sb.append("class AuthReversalRequest {\n");
215215

216-
sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n");
217-
sb.append(" reversalInformation: ").append(toIndentedString(reversalInformation)).append("\n");
218-
sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n");
219-
sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n");
220-
sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n");
221-
sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n");
222-
sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n");
216+
if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n");
217+
if (reversalInformation != null) sb.append(" reversalInformation: ").append(toIndentedString(reversalInformation)).append("\n");
218+
if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n");
219+
if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n");
220+
if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n");
221+
if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n");
222+
if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n");
223223
sb.append("}");
224224
return sb.toString();
225225
}
@@ -230,10 +230,10 @@ public String toString() {
230230
*/
231231
private String toIndentedString(java.lang.Object o) {
232232
if (o == null) {
233-
return "null";
233+
// return "null";
234234
}
235235
return o.toString().replace("\n", "\n ");
236236
}
237-
237+
238238
}
239239

src/main/java/Model/Binv1binlookupClientReferenceInformation.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ public String toString() {
141141
StringBuilder sb = new StringBuilder();
142142
sb.append("class Binv1binlookupClientReferenceInformation {\n");
143143

144-
sb.append(" partner: ").append(toIndentedString(partner)).append("\n");
145-
sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n");
146-
sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n");
147-
sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n");
144+
if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n");
145+
if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n");
146+
if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n");
147+
if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n");
148148
sb.append("}");
149149
return sb.toString();
150150
}
@@ -155,10 +155,10 @@ public String toString() {
155155
*/
156156
private String toIndentedString(java.lang.Object o) {
157157
if (o == null) {
158-
return "null";
158+
// return "null";
159159
}
160160
return o.toString().replace("\n", "\n ");
161161
}
162-
162+
163163
}
164164

src/main/java/Model/Binv1binlookupPaymentInformation.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ public String toString() {
144144
StringBuilder sb = new StringBuilder();
145145
sb.append("class Binv1binlookupPaymentInformation {\n");
146146

147-
sb.append(" card: ").append(toIndentedString(card)).append("\n");
148-
sb.append(" customer: ").append(toIndentedString(customer)).append("\n");
149-
sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n");
150-
sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n");
147+
if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n");
148+
if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n");
149+
if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n");
150+
if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n");
151151
sb.append("}");
152152
return sb.toString();
153153
}
@@ -158,10 +158,10 @@ public String toString() {
158158
*/
159159
private String toIndentedString(java.lang.Object o) {
160160
if (o == null) {
161-
return "null";
161+
// return "null";
162162
}
163163
return o.toString().replace("\n", "\n ");
164164
}
165-
165+
166166
}
167167

src/main/java/Model/Binv1binlookupPaymentInformationCard.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public String toString() {
7474
StringBuilder sb = new StringBuilder();
7575
sb.append("class Binv1binlookupPaymentInformationCard {\n");
7676

77-
sb.append(" number: ").append(toIndentedString(number)).append("\n");
77+
if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n");
7878
sb.append("}");
7979
return sb.toString();
8080
}
@@ -85,10 +85,10 @@ public String toString() {
8585
*/
8686
private String toIndentedString(java.lang.Object o) {
8787
if (o == null) {
88-
return "null";
88+
// return "null";
8989
}
9090
return o.toString().replace("\n", "\n ");
9191
}
92-
92+
9393
}
9494

0 commit comments

Comments
 (0)