11/*
2- * Copyright (c) Microsoft Corporation. All rights reserved.
3- * Licensed under the MIT License. See License.txt in the project root for
4- * license information.
2+ * Copyright (c) Microsoft Corporation.
3+ * Licensed under the MIT License.
54 *
65 * Code generated by Microsoft (R) AutoRest Code Generator.
76 * Changes may cause incorrect behavior and will be lost if the code is
@@ -13,7 +12,7 @@ import * as msRest from "@azure/ms-rest-js";
1312import * as msRestAzure from "@azure/ms-rest-azure-js" ;
1413
1514const packageName = "@azure/arm-iotcentral" ;
16- const packageVersion = "3.1 .0" ;
15+ const packageVersion = "4.0 .0" ;
1716
1817export class IotCentralClientContext extends msRestAzure . AzureServiceClient {
1918 credentials : msRest . ServiceClientCredentials ;
@@ -37,7 +36,7 @@ export class IotCentralClientContext extends msRestAzure.AzureServiceClient {
3736 if ( ! options ) {
3837 options = { } ;
3938 }
40- if ( ! options . userAgent ) {
39+ if ( ! options . userAgent ) {
4140 const defaultUserAgent = msRestAzure . getDefaultUserAgentValue ( ) ;
4241 options . userAgent = `${ packageName } /${ packageVersion } ${ defaultUserAgent } ` ;
4342 }
@@ -52,10 +51,10 @@ export class IotCentralClientContext extends msRestAzure.AzureServiceClient {
5251 this . credentials = credentials ;
5352 this . subscriptionId = subscriptionId ;
5453
55- if ( options . acceptLanguage !== null && options . acceptLanguage !== undefined ) {
54+ if ( options . acceptLanguage !== null && options . acceptLanguage !== undefined ) {
5655 this . acceptLanguage = options . acceptLanguage ;
5756 }
58- if ( options . longRunningOperationRetryTimeout !== null && options . longRunningOperationRetryTimeout !== undefined ) {
57+ if ( options . longRunningOperationRetryTimeout !== null && options . longRunningOperationRetryTimeout !== undefined ) {
5958 this . longRunningOperationRetryTimeout = options . longRunningOperationRetryTimeout ;
6059 }
6160 }
0 commit comments