Skip to content

Commit

Permalink
CodeGen from PR 13166 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge b353336f78b47a9a9d83765d68a6b9b87ea76f95 into 89f00c23e9b247304c490504f182aebd0dff4f4e
  • Loading branch information
SDKAuto committed Feb 26, 2021
1 parent 82c42a2 commit 6740156
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export interface SystemData {
*/
lastModifiedByType?: CreatedByType;
/**
* The type of identity that last modified the resource.
* The timestamp of resource last modification (UTC)
*/
lastModifiedAt?: Date;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class SourceControlConfigurationClientContext extends msRestAzure.AzureSe
if (!options) {
options = {};
}
if (!options.userAgent) {
if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}
Expand All @@ -52,10 +52,10 @@ export class SourceControlConfigurationClientContext extends msRestAzure.AzureSe
this.credentials = credentials;
this.subscriptionId = subscriptionId;

if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
}
}
Expand Down

0 comments on commit 6740156

Please sign in to comment.