22 * Xero Accounting API
33 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44 *
5- * The version of the OpenAPI document: 2.9.0
5+ * The version of the OpenAPI document: 2.9.3
6677 *
88 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8181import java.io.File;
8282import java.io.IOException;
8383import java.io.InputStream;
84- import java.nio.file.Files;
8584import java.util.Collection;
8685import java.util.HashMap;
8786import java.util.List;
@@ -98,7 +97,7 @@ public class AccountingApi {
9897 private ApiClient apiClient;
9998 private static AccountingApi instance = null;
10099 private String userAgent = "Default";
101- private String version = "4.6 .0";
100+ private String version = "4.7 .0";
102101 static final Logger logger = LoggerFactory.getLogger(AccountingApi.class);
103102
104103 public AccountingApi() {
@@ -431,7 +430,7 @@ public HttpResponse createAccountAttachmentByFileNameForHttpResponse(
431430 logger.debug("PUT " + genericUrl.toString());
432431 }
433432 java.nio.file.Path bodyPath = body.toPath();
434- String mimeType = Files.probeContentType(bodyPath);
433+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
435434 HttpContent content = null;
436435 content = new FileContent(mimeType, body);
437436 Credential credential =
@@ -661,7 +660,7 @@ public HttpResponse createBankTransactionAttachmentByFileNameForHttpResponse(
661660 logger.debug("PUT " + genericUrl.toString());
662661 }
663662 java.nio.file.Path bodyPath = body.toPath();
664- String mimeType = Files.probeContentType(bodyPath);
663+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
665664 HttpContent content = null;
666665 content = new FileContent(mimeType, body);
667666 Credential credential =
@@ -1215,7 +1214,7 @@ public HttpResponse createBankTransferAttachmentByFileNameForHttpResponse(
12151214 logger.debug("PUT " + genericUrl.toString());
12161215 }
12171216 java.nio.file.Path bodyPath = body.toPath();
1218- String mimeType = Files.probeContentType(bodyPath);
1217+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
12191218 HttpContent content = null;
12201219 content = new FileContent(mimeType, body);
12211220 Credential credential =
@@ -1862,7 +1861,7 @@ public HttpResponse createContactAttachmentByFileNameForHttpResponse(
18621861 logger.debug("PUT " + genericUrl.toString());
18631862 }
18641863 java.nio.file.Path bodyPath = body.toPath();
1865- String mimeType = Files.probeContentType(bodyPath);
1864+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
18661865 HttpContent content = null;
18671866 content = new FileContent(mimeType, body);
18681867 Credential credential =
@@ -2649,7 +2648,7 @@ public HttpResponse createCreditNoteAttachmentByFileNameForHttpResponse(
26492648 logger.debug("PUT " + genericUrl.toString());
26502649 }
26512650 java.nio.file.Path bodyPath = body.toPath();
2652- String mimeType = Files.probeContentType(bodyPath);
2651+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
26532652 HttpContent content = null;
26542653 content = new FileContent(mimeType, body);
26552654 Credential credential =
@@ -3521,7 +3520,7 @@ public HttpResponse createInvoiceAttachmentByFileNameForHttpResponse(
35213520 logger.debug("PUT " + genericUrl.toString());
35223521 }
35233522 java.nio.file.Path bodyPath = body.toPath();
3524- String mimeType = Files.probeContentType(bodyPath);
3523+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
35253524 HttpContent content = null;
35263525 content = new FileContent(mimeType, body);
35273526 Credential credential =
@@ -4283,7 +4282,7 @@ public HttpResponse createManualJournalAttachmentByFileNameForHttpResponse(
42834282 logger.debug("PUT " + genericUrl.toString());
42844283 }
42854284 java.nio.file.Path bodyPath = body.toPath();
4286- String mimeType = Files.probeContentType(bodyPath);
4285+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
42874286 HttpContent content = null;
42884287 content = new FileContent(mimeType, body);
42894288 Credential credential =
@@ -5563,7 +5562,7 @@ public HttpResponse createPurchaseOrderAttachmentByFileNameForHttpResponse(
55635562 logger.debug("PUT " + genericUrl.toString());
55645563 }
55655564 java.nio.file.Path bodyPath = body.toPath();
5566- String mimeType = Files.probeContentType(bodyPath);
5565+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
55675566 HttpContent content = null;
55685567 content = new FileContent(mimeType, body);
55695568 Credential credential =
@@ -5998,7 +5997,7 @@ public HttpResponse createQuoteAttachmentByFileNameForHttpResponse(
59985997 logger.debug("PUT " + genericUrl.toString());
59995998 }
60005999 java.nio.file.Path bodyPath = body.toPath();
6001- String mimeType = Files.probeContentType(bodyPath);
6000+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
60026001 HttpContent content = null;
60036002 content = new FileContent(mimeType, body);
60046003 Credential credential =
@@ -6533,7 +6532,7 @@ public HttpResponse createReceiptAttachmentByFileNameForHttpResponse(
65336532 logger.debug("PUT " + genericUrl.toString());
65346533 }
65356534 java.nio.file.Path bodyPath = body.toPath();
6536- String mimeType = Files.probeContentType(bodyPath);
6535+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
65376536 HttpContent content = null;
65386537 content = new FileContent(mimeType, body);
65396538 Credential credential =
@@ -6867,7 +6866,7 @@ public HttpResponse createRepeatingInvoiceAttachmentByFileNameForHttpResponse(
68676866 logger.debug("PUT " + genericUrl.toString());
68686867 }
68696868 java.nio.file.Path bodyPath = body.toPath();
6870- String mimeType = Files.probeContentType(bodyPath);
6869+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
68716870 HttpContent content = null;
68726871 content = new FileContent(mimeType, body);
68736872 Credential credential =
@@ -20369,7 +20368,7 @@ public HttpResponse updateAccountAttachmentByFileNameForHttpResponse(
2036920368 logger.debug("POST " + genericUrl.toString());
2037020369 }
2037120370 java.nio.file.Path bodyPath = body.toPath();
20372- String mimeType = Files.probeContentType(bodyPath);
20371+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2037320372 HttpContent content = null;
2037420373 content = new FileContent(mimeType, body);
2037520374 Credential credential =
@@ -20722,7 +20721,7 @@ public HttpResponse updateBankTransactionAttachmentByFileNameForHttpResponse(
2072220721 logger.debug("POST " + genericUrl.toString());
2072320722 }
2072420723 java.nio.file.Path bodyPath = body.toPath();
20725- String mimeType = Files.probeContentType(bodyPath);
20724+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2072620725 HttpContent content = null;
2072720726 content = new FileContent(mimeType, body);
2072820727 Credential credential =
@@ -20948,7 +20947,7 @@ public HttpResponse updateBankTransferAttachmentByFileNameForHttpResponse(
2094820947 logger.debug("POST " + genericUrl.toString());
2094920948 }
2095020949 java.nio.file.Path bodyPath = body.toPath();
20951- String mimeType = Files.probeContentType(bodyPath);
20950+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2095220951 HttpContent content = null;
2095320952 content = new FileContent(mimeType, body);
2095420953 Credential credential =
@@ -21269,7 +21268,7 @@ public HttpResponse updateContactAttachmentByFileNameForHttpResponse(
2126921268 logger.debug("POST " + genericUrl.toString());
2127021269 }
2127121270 java.nio.file.Path bodyPath = body.toPath();
21272- String mimeType = Files.probeContentType(bodyPath);
21271+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2127321272 HttpContent content = null;
2127421273 content = new FileContent(mimeType, body);
2127521274 Credential credential =
@@ -21722,7 +21721,7 @@ public HttpResponse updateCreditNoteAttachmentByFileNameForHttpResponse(
2172221721 logger.debug("POST " + genericUrl.toString());
2172321722 }
2172421723 java.nio.file.Path bodyPath = body.toPath();
21725- String mimeType = Files.probeContentType(bodyPath);
21724+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2172621725 HttpContent content = null;
2172721726 content = new FileContent(mimeType, body);
2172821727 Credential credential =
@@ -22161,7 +22160,7 @@ public HttpResponse updateInvoiceAttachmentByFileNameForHttpResponse(
2216122160 logger.debug("POST " + genericUrl.toString());
2216222161 }
2216322162 java.nio.file.Path bodyPath = body.toPath();
22164- String mimeType = Files.probeContentType(bodyPath);
22163+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2216522164 HttpContent content = null;
2216622165 content = new FileContent(mimeType, body);
2216722166 Credential credential =
@@ -22716,7 +22715,7 @@ public HttpResponse updateManualJournalAttachmentByFileNameForHttpResponse(
2271622715 logger.debug("POST " + genericUrl.toString());
2271722716 }
2271822717 java.nio.file.Path bodyPath = body.toPath();
22719- String mimeType = Files.probeContentType(bodyPath);
22718+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2272022719 HttpContent content = null;
2272122720 content = new FileContent(mimeType, body);
2272222721 Credential credential =
@@ -24079,7 +24078,7 @@ public HttpResponse updatePurchaseOrderAttachmentByFileNameForHttpResponse(
2407924078 logger.debug("POST " + genericUrl.toString());
2408024079 }
2408124080 java.nio.file.Path bodyPath = body.toPath();
24082- String mimeType = Files.probeContentType(bodyPath);
24081+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2408324082 HttpContent content = null;
2408424083 content = new FileContent(mimeType, body);
2408524084 Credential credential =
@@ -24396,7 +24395,7 @@ public HttpResponse updateQuoteAttachmentByFileNameForHttpResponse(
2439624395 logger.debug("POST " + genericUrl.toString());
2439724396 }
2439824397 java.nio.file.Path bodyPath = body.toPath();
24399- String mimeType = Files.probeContentType(bodyPath);
24398+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2440024399 HttpContent content = null;
2440124400 content = new FileContent(mimeType, body);
2440224401 Credential credential =
@@ -24736,7 +24735,7 @@ public HttpResponse updateReceiptAttachmentByFileNameForHttpResponse(
2473624735 logger.debug("POST " + genericUrl.toString());
2473724736 }
2473824737 java.nio.file.Path bodyPath = body.toPath();
24739- String mimeType = Files.probeContentType(bodyPath);
24738+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2474024739 HttpContent content = null;
2474124740 content = new FileContent(mimeType, body);
2474224741 Credential credential =
@@ -24968,7 +24967,7 @@ public HttpResponse updateRepeatingInvoiceAttachmentByFileNameForHttpResponse(
2496824967 logger.debug("POST " + genericUrl.toString());
2496924968 }
2497024969 java.nio.file.Path bodyPath = body.toPath();
24971- String mimeType = Files.probeContentType(bodyPath);
24970+ String mimeType = java.nio.file. Files.probeContentType(bodyPath);
2497224971 HttpContent content = null;
2497324972 content = new FileContent(mimeType, body);
2497424973 Credential credential =
0 commit comments