@@ -35,7 +35,7 @@ public class AssetApi {
3535 private ApiClient apiClient ;
3636 private static AssetApi instance = null ;
3737 private String userAgent = "Default" ;
38- private String version = "4.3.0 " ;
38+ private String version = "4.3.1 " ;
3939 static final Logger logger = LoggerFactory .getLogger (AssetApi .class );
4040
4141 public AssetApi () {
@@ -128,7 +128,7 @@ public HttpResponse createAssetForHttpResponse(
128128 "Missing the required parameter 'accessToken' when calling createAsset" );
129129 }
130130 HttpHeaders headers = new HttpHeaders ();
131- headers .set ("Xero-Tenant-Id " , xeroTenantId );
131+ headers .set ("xero-tenant-id " , xeroTenantId );
132132 headers .setAccept ("application/json" );
133133 headers .setUserAgent (this .getUserAgent ());
134134 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/Assets" );
@@ -210,7 +210,7 @@ public HttpResponse createAssetTypeForHttpResponse(
210210 "Missing the required parameter 'accessToken' when calling createAssetType" );
211211 }
212212 HttpHeaders headers = new HttpHeaders ();
213- headers .set ("Xero-Tenant-Id " , xeroTenantId );
213+ headers .set ("xero-tenant-id " , xeroTenantId );
214214 headers .setAccept ("application/json" );
215215 headers .setUserAgent (this .getUserAgent ());
216216 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/AssetTypes" );
@@ -286,7 +286,7 @@ public HttpResponse getAssetByIdForHttpResponse(String accessToken, String xeroT
286286 "Missing the required parameter 'accessToken' when calling getAssetById" );
287287 }
288288 HttpHeaders headers = new HttpHeaders ();
289- headers .set ("Xero-Tenant-Id " , xeroTenantId );
289+ headers .set ("xero-tenant-id " , xeroTenantId );
290290 headers .setAccept ("application/json" );
291291 headers .setUserAgent (this .getUserAgent ());
292292 // create a map of path variables
@@ -359,7 +359,7 @@ public HttpResponse getAssetSettingsForHttpResponse(String accessToken, String x
359359 "Missing the required parameter 'accessToken' when calling getAssetSettings" );
360360 }
361361 HttpHeaders headers = new HttpHeaders ();
362- headers .set ("Xero-Tenant-Id " , xeroTenantId );
362+ headers .set ("xero-tenant-id " , xeroTenantId );
363363 headers .setAccept ("application/json" );
364364 headers .setUserAgent (this .getUserAgent ());
365365 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/Settings" );
@@ -428,7 +428,7 @@ public HttpResponse getAssetTypesForHttpResponse(String accessToken, String xero
428428 "Missing the required parameter 'accessToken' when calling getAssetTypes" );
429429 }
430430 HttpHeaders headers = new HttpHeaders ();
431- headers .set ("Xero-Tenant-Id " , xeroTenantId );
431+ headers .set ("xero-tenant-id " , xeroTenantId );
432432 headers .setAccept ("application/json" );
433433 headers .setUserAgent (this .getUserAgent ());
434434 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/AssetTypes" );
@@ -532,7 +532,7 @@ public HttpResponse getAssetsForHttpResponse(
532532 "Missing the required parameter 'accessToken' when calling getAssets" );
533533 }
534534 HttpHeaders headers = new HttpHeaders ();
535- headers .set ("Xero-Tenant-Id " , xeroTenantId );
535+ headers .set ("xero-tenant-id " , xeroTenantId );
536536 headers .setAccept ("application/json" );
537537 headers .setUserAgent (this .getUserAgent ());
538538 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/Assets" );
0 commit comments