2
2
* Xero Accounting API
3
3
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
*
5
- * The version of the OpenAPI document: 2.9.0
5
+ * The version of the OpenAPI document: 2.9.3
6
6
7
7
*
8
8
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
81
81
import java.io.File;
82
82
import java.io.IOException;
83
83
import java.io.InputStream;
84
- import java.nio.file.Files;
85
84
import java.util.Collection;
86
85
import java.util.HashMap;
87
86
import java.util.List;
@@ -98,7 +97,7 @@ public class AccountingApi {
98
97
private ApiClient apiClient;
99
98
private static AccountingApi instance = null;
100
99
private String userAgent = "Default";
101
- private String version = "4.6 .0";
100
+ private String version = "4.7 .0";
102
101
static final Logger logger = LoggerFactory.getLogger(AccountingApi.class);
103
102
104
103
public AccountingApi() {
@@ -431,7 +430,7 @@ public HttpResponse createAccountAttachmentByFileNameForHttpResponse(
431
430
logger.debug("PUT " + genericUrl.toString());
432
431
}
433
432
java.nio.file.Path bodyPath = body.toPath();
434
- String mimeType = Files.probeContentType(bodyPath);
433
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
435
434
HttpContent content = null;
436
435
content = new FileContent(mimeType, body);
437
436
Credential credential =
@@ -661,7 +660,7 @@ public HttpResponse createBankTransactionAttachmentByFileNameForHttpResponse(
661
660
logger.debug("PUT " + genericUrl.toString());
662
661
}
663
662
java.nio.file.Path bodyPath = body.toPath();
664
- String mimeType = Files.probeContentType(bodyPath);
663
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
665
664
HttpContent content = null;
666
665
content = new FileContent(mimeType, body);
667
666
Credential credential =
@@ -1215,7 +1214,7 @@ public HttpResponse createBankTransferAttachmentByFileNameForHttpResponse(
1215
1214
logger.debug("PUT " + genericUrl.toString());
1216
1215
}
1217
1216
java.nio.file.Path bodyPath = body.toPath();
1218
- String mimeType = Files.probeContentType(bodyPath);
1217
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
1219
1218
HttpContent content = null;
1220
1219
content = new FileContent(mimeType, body);
1221
1220
Credential credential =
@@ -1862,7 +1861,7 @@ public HttpResponse createContactAttachmentByFileNameForHttpResponse(
1862
1861
logger.debug("PUT " + genericUrl.toString());
1863
1862
}
1864
1863
java.nio.file.Path bodyPath = body.toPath();
1865
- String mimeType = Files.probeContentType(bodyPath);
1864
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
1866
1865
HttpContent content = null;
1867
1866
content = new FileContent(mimeType, body);
1868
1867
Credential credential =
@@ -2649,7 +2648,7 @@ public HttpResponse createCreditNoteAttachmentByFileNameForHttpResponse(
2649
2648
logger.debug("PUT " + genericUrl.toString());
2650
2649
}
2651
2650
java.nio.file.Path bodyPath = body.toPath();
2652
- String mimeType = Files.probeContentType(bodyPath);
2651
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2653
2652
HttpContent content = null;
2654
2653
content = new FileContent(mimeType, body);
2655
2654
Credential credential =
@@ -3521,7 +3520,7 @@ public HttpResponse createInvoiceAttachmentByFileNameForHttpResponse(
3521
3520
logger.debug("PUT " + genericUrl.toString());
3522
3521
}
3523
3522
java.nio.file.Path bodyPath = body.toPath();
3524
- String mimeType = Files.probeContentType(bodyPath);
3523
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
3525
3524
HttpContent content = null;
3526
3525
content = new FileContent(mimeType, body);
3527
3526
Credential credential =
@@ -4283,7 +4282,7 @@ public HttpResponse createManualJournalAttachmentByFileNameForHttpResponse(
4283
4282
logger.debug("PUT " + genericUrl.toString());
4284
4283
}
4285
4284
java.nio.file.Path bodyPath = body.toPath();
4286
- String mimeType = Files.probeContentType(bodyPath);
4285
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
4287
4286
HttpContent content = null;
4288
4287
content = new FileContent(mimeType, body);
4289
4288
Credential credential =
@@ -5563,7 +5562,7 @@ public HttpResponse createPurchaseOrderAttachmentByFileNameForHttpResponse(
5563
5562
logger.debug("PUT " + genericUrl.toString());
5564
5563
}
5565
5564
java.nio.file.Path bodyPath = body.toPath();
5566
- String mimeType = Files.probeContentType(bodyPath);
5565
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
5567
5566
HttpContent content = null;
5568
5567
content = new FileContent(mimeType, body);
5569
5568
Credential credential =
@@ -5998,7 +5997,7 @@ public HttpResponse createQuoteAttachmentByFileNameForHttpResponse(
5998
5997
logger.debug("PUT " + genericUrl.toString());
5999
5998
}
6000
5999
java.nio.file.Path bodyPath = body.toPath();
6001
- String mimeType = Files.probeContentType(bodyPath);
6000
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
6002
6001
HttpContent content = null;
6003
6002
content = new FileContent(mimeType, body);
6004
6003
Credential credential =
@@ -6533,7 +6532,7 @@ public HttpResponse createReceiptAttachmentByFileNameForHttpResponse(
6533
6532
logger.debug("PUT " + genericUrl.toString());
6534
6533
}
6535
6534
java.nio.file.Path bodyPath = body.toPath();
6536
- String mimeType = Files.probeContentType(bodyPath);
6535
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
6537
6536
HttpContent content = null;
6538
6537
content = new FileContent(mimeType, body);
6539
6538
Credential credential =
@@ -6867,7 +6866,7 @@ public HttpResponse createRepeatingInvoiceAttachmentByFileNameForHttpResponse(
6867
6866
logger.debug("PUT " + genericUrl.toString());
6868
6867
}
6869
6868
java.nio.file.Path bodyPath = body.toPath();
6870
- String mimeType = Files.probeContentType(bodyPath);
6869
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
6871
6870
HttpContent content = null;
6872
6871
content = new FileContent(mimeType, body);
6873
6872
Credential credential =
@@ -20369,7 +20368,7 @@ public HttpResponse updateAccountAttachmentByFileNameForHttpResponse(
20369
20368
logger.debug("POST " + genericUrl.toString());
20370
20369
}
20371
20370
java.nio.file.Path bodyPath = body.toPath();
20372
- String mimeType = Files.probeContentType(bodyPath);
20371
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
20373
20372
HttpContent content = null;
20374
20373
content = new FileContent(mimeType, body);
20375
20374
Credential credential =
@@ -20722,7 +20721,7 @@ public HttpResponse updateBankTransactionAttachmentByFileNameForHttpResponse(
20722
20721
logger.debug("POST " + genericUrl.toString());
20723
20722
}
20724
20723
java.nio.file.Path bodyPath = body.toPath();
20725
- String mimeType = Files.probeContentType(bodyPath);
20724
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
20726
20725
HttpContent content = null;
20727
20726
content = new FileContent(mimeType, body);
20728
20727
Credential credential =
@@ -20948,7 +20947,7 @@ public HttpResponse updateBankTransferAttachmentByFileNameForHttpResponse(
20948
20947
logger.debug("POST " + genericUrl.toString());
20949
20948
}
20950
20949
java.nio.file.Path bodyPath = body.toPath();
20951
- String mimeType = Files.probeContentType(bodyPath);
20950
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
20952
20951
HttpContent content = null;
20953
20952
content = new FileContent(mimeType, body);
20954
20953
Credential credential =
@@ -21269,7 +21268,7 @@ public HttpResponse updateContactAttachmentByFileNameForHttpResponse(
21269
21268
logger.debug("POST " + genericUrl.toString());
21270
21269
}
21271
21270
java.nio.file.Path bodyPath = body.toPath();
21272
- String mimeType = Files.probeContentType(bodyPath);
21271
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
21273
21272
HttpContent content = null;
21274
21273
content = new FileContent(mimeType, body);
21275
21274
Credential credential =
@@ -21722,7 +21721,7 @@ public HttpResponse updateCreditNoteAttachmentByFileNameForHttpResponse(
21722
21721
logger.debug("POST " + genericUrl.toString());
21723
21722
}
21724
21723
java.nio.file.Path bodyPath = body.toPath();
21725
- String mimeType = Files.probeContentType(bodyPath);
21724
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
21726
21725
HttpContent content = null;
21727
21726
content = new FileContent(mimeType, body);
21728
21727
Credential credential =
@@ -22161,7 +22160,7 @@ public HttpResponse updateInvoiceAttachmentByFileNameForHttpResponse(
22161
22160
logger.debug("POST " + genericUrl.toString());
22162
22161
}
22163
22162
java.nio.file.Path bodyPath = body.toPath();
22164
- String mimeType = Files.probeContentType(bodyPath);
22163
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
22165
22164
HttpContent content = null;
22166
22165
content = new FileContent(mimeType, body);
22167
22166
Credential credential =
@@ -22716,7 +22715,7 @@ public HttpResponse updateManualJournalAttachmentByFileNameForHttpResponse(
22716
22715
logger.debug("POST " + genericUrl.toString());
22717
22716
}
22718
22717
java.nio.file.Path bodyPath = body.toPath();
22719
- String mimeType = Files.probeContentType(bodyPath);
22718
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
22720
22719
HttpContent content = null;
22721
22720
content = new FileContent(mimeType, body);
22722
22721
Credential credential =
@@ -24079,7 +24078,7 @@ public HttpResponse updatePurchaseOrderAttachmentByFileNameForHttpResponse(
24079
24078
logger.debug("POST " + genericUrl.toString());
24080
24079
}
24081
24080
java.nio.file.Path bodyPath = body.toPath();
24082
- String mimeType = Files.probeContentType(bodyPath);
24081
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
24083
24082
HttpContent content = null;
24084
24083
content = new FileContent(mimeType, body);
24085
24084
Credential credential =
@@ -24396,7 +24395,7 @@ public HttpResponse updateQuoteAttachmentByFileNameForHttpResponse(
24396
24395
logger.debug("POST " + genericUrl.toString());
24397
24396
}
24398
24397
java.nio.file.Path bodyPath = body.toPath();
24399
- String mimeType = Files.probeContentType(bodyPath);
24398
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
24400
24399
HttpContent content = null;
24401
24400
content = new FileContent(mimeType, body);
24402
24401
Credential credential =
@@ -24736,7 +24735,7 @@ public HttpResponse updateReceiptAttachmentByFileNameForHttpResponse(
24736
24735
logger.debug("POST " + genericUrl.toString());
24737
24736
}
24738
24737
java.nio.file.Path bodyPath = body.toPath();
24739
- String mimeType = Files.probeContentType(bodyPath);
24738
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
24740
24739
HttpContent content = null;
24741
24740
content = new FileContent(mimeType, body);
24742
24741
Credential credential =
@@ -24968,7 +24967,7 @@ public HttpResponse updateRepeatingInvoiceAttachmentByFileNameForHttpResponse(
24968
24967
logger.debug("POST " + genericUrl.toString());
24969
24968
}
24970
24969
java.nio.file.Path bodyPath = body.toPath();
24971
- String mimeType = Files.probeContentType(bodyPath);
24970
+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
24972
24971
HttpContent content = null;
24973
24972
content = new FileContent(mimeType, body);
24974
24973
Credential credential =
0 commit comments