Skip to content

Commit

Permalink
lastAccessed in BlobDownloadResponse wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
ljian3377 committed Sep 24, 2020
1 parent 7265f09 commit 6db3291
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sdk/storage/storage-blob/src/BlobDownloadResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,18 @@ export class BlobDownloadResponse implements BlobDownloadResponseParsed {
return this.originalResponse.lastModified;
}

/**
* Returns the UTC date and time generated by the service that indicates the time at which the blob was
* last read or written to.
*
* @readonly
* @type {(Date | undefined)}
* @memberof BlobDownloadResponse
*/
public get lastAccessed(): Date | undefined {
return this.originalResponse.lastAccessed;
}

/**
* A name-value pair
* to associate with a file storage object.
Expand Down

0 comments on commit 6db3291

Please sign in to comment.