-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
PageRangesInfo.cs
48 lines (40 loc) · 1.62 KB
/
PageRangesInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma warning disable SA1402 // File may only contain a single type
using System;
using System.Collections.Generic;
namespace Azure.Storage.Blobs.Models
{
/// <summary>
/// Contains blob page range information returned from the PageBlobClient.GetPageRanges operations.
/// </summary>
public class PageRangesInfo
{
/// <summary>
/// Returns the date and time the container was last modified. Any operation that modifies the blob,
/// including an update of the blob's metadata or properties, changes the last-modified time of the blob.
/// </summary>
public DateTimeOffset LastModified { get; internal set; }
/// <summary>
/// The ETag contains a value that you can use to perform operations conditionally.
/// If the request version is 2011-08-18 or newer, the ETag value will be in quotes.
/// </summary>
public ETag ETag { get; internal set; }
/// <summary>
/// The size of the blob in bytes.
/// </summary>
public long BlobContentLength { get; internal set; }
/// <summary>
/// Page ranges for the blob.
/// </summary>
public IEnumerable<HttpRange> PageRanges { get; internal set; }
/// <summary>
/// Clear ranges for the blob.
/// </summary>
public IEnumerable<HttpRange> ClearRanges { get; internal set; }
/// <summary>
/// Creates a new PageRangesInfo instance.
/// </summary>
internal PageRangesInfo() {}
}
}