-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ShareFileGetRangeListDiffOptions.cs
50 lines (44 loc) · 2.16 KB
/
ShareFileGetRangeListDiffOptions.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
49
50
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Storage.Files.Shares.Models
{
/// <summary>
/// Optional parameters for Get Range List Diff.
/// </summary>
public class ShareFileGetRangeListDiffOptions
{
/// <summary>
/// Optional. Specifies the range of bytes over which to list ranges, inclusively.
/// If omitted, then all ranges for the file are returned.
/// </summary>
public HttpRange? Range { get; set; }
/// <summary>
/// Optionally specifies the share snapshot to retrieve ranges
/// information from. For more information on working with share snapshots,
/// <see href="https://docs.microsoft.com/en-us/rest/api/storageservices/create-share">
/// Create a snapshot of a share</see>.
/// </summary>
public string Snapshot { get; set; }
/// <summary>
/// Optional <see cref="ShareFileRequestConditions"/> to add conditions
/// on getting the range.
/// </summary>
public ShareFileRequestConditions Conditions { get; set; }
/// <summary>
/// Specifies that the response will contain only ranges that were
/// changed between target file and previous snapshot. Changed ranges
/// include both updated and cleared ranges. The target file may be a
/// snapshot, as long as the snapshot specified by
/// previousSnapshot is the older of the two.
/// </summary>
public string PreviousSnapshot { get; set; }
/// <summary>
/// This header is allowed only when PreviousSnapshot query parameter is set.
/// Determines whether the changed ranges for a file that has been renamed or moved between the target snapshot (or the live file) and the previous snapshot should be listed.
/// If the value is true, the valid changed ranges for the file will be returned. If the value is false, the operation will result in a failure with 409 (Conflict) response.
/// The default value is false.
/// </summary>
public bool? IncludeRenames { get; set; }
}
}