| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | using System; |
| | 5 | |
|
| | 6 | | namespace Azure |
| | 7 | | { |
| | 8 | | /// <summary> |
| | 9 | | /// Specifies HTTP options for conditional requests based on modification time. |
| | 10 | | /// </summary> |
| | 11 | | public class RequestConditions : MatchConditions |
| | 12 | | { |
| | 13 | | /// <summary> |
| | 14 | | /// Optionally limit requests to resources that have only been |
| | 15 | | /// modified since this point in time. |
| | 16 | | /// </summary> |
| 0 | 17 | | public DateTimeOffset? IfModifiedSince { get; set; } |
| | 18 | |
|
| | 19 | | /// <summary> |
| | 20 | | /// Optionally limit requests to resources that have remained |
| | 21 | | /// unmodified. |
| | 22 | | /// </summary> |
| 0 | 23 | | public DateTimeOffset? IfUnmodifiedSince { get; set; } |
| | 24 | | } |
| | 25 | | } |