| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.Batch.Protocol.Models |
| | 12 | | { |
| | 13 | | using Microsoft.Rest; |
| | 14 | | using Microsoft.Rest.Serialization; |
| | 15 | | using Newtonsoft.Json; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// Additional parameters for Delete operation. |
| | 20 | | /// </summary> |
| | 21 | | public partial class TaskDeleteOptions |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the TaskDeleteOptions class. |
| | 25 | | /// </summary> |
| 1 | 26 | | public TaskDeleteOptions() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 1 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the TaskDeleteOptions class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="timeout">The maximum time that the server can spend |
| | 35 | | /// processing the request, in seconds. The default is 30 |
| | 36 | | /// seconds.</param> |
| | 37 | | /// <param name="clientRequestId">The caller-generated request |
| | 38 | | /// identity, in the form of a GUID with no decoration such as curly |
| | 39 | | /// braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.</param> |
| | 40 | | /// <param name="returnClientRequestId">Whether the server should |
| | 41 | | /// return the client-request-id in the response.</param> |
| | 42 | | /// <param name="ocpDate">The time the request was issued. Client |
| | 43 | | /// libraries typically set this to the current system clock time; set |
| | 44 | | /// it explicitly if you are calling the REST API directly.</param> |
| | 45 | | /// <param name="ifMatch">An ETag value associated with the version of |
| | 46 | | /// the resource known to the client. The operation will be performed |
| | 47 | | /// only if the resource's current ETag on the service exactly matches |
| | 48 | | /// the value specified by the client.</param> |
| | 49 | | /// <param name="ifNoneMatch">An ETag value associated with the version |
| | 50 | | /// of the resource known to the client. The operation will be |
| | 51 | | /// performed only if the resource's current ETag on the service does |
| | 52 | | /// not match the value specified by the client.</param> |
| | 53 | | /// <param name="ifModifiedSince">A timestamp indicating the last |
| | 54 | | /// modified time of the resource known to the client. The operation |
| | 55 | | /// will be performed only if the resource on the service has been |
| | 56 | | /// modified since the specified time.</param> |
| | 57 | | /// <param name="ifUnmodifiedSince">A timestamp indicating the last |
| | 58 | | /// modified time of the resource known to the client. The operation |
| | 59 | | /// will be performed only if the resource on the service has not been |
| | 60 | | /// modified since the specified time.</param> |
| 0 | 61 | | public TaskDeleteOptions(int? timeout = default(int?), System.Guid? clientRequestId = default(System.Guid?), boo |
| | 62 | | { |
| 0 | 63 | | Timeout = timeout; |
| 0 | 64 | | ClientRequestId = clientRequestId; |
| 0 | 65 | | ReturnClientRequestId = returnClientRequestId; |
| 0 | 66 | | OcpDate = ocpDate; |
| 0 | 67 | | IfMatch = ifMatch; |
| 0 | 68 | | IfNoneMatch = ifNoneMatch; |
| 0 | 69 | | IfModifiedSince = ifModifiedSince; |
| 0 | 70 | | IfUnmodifiedSince = ifUnmodifiedSince; |
| | 71 | | CustomInit(); |
| 0 | 72 | | } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// An initialization method that performs custom operations like setting defaults |
| | 76 | | /// </summary> |
| | 77 | | partial void CustomInit(); |
| | 78 | |
|
| | 79 | | /// <summary> |
| | 80 | | /// Gets or sets the maximum time that the server can spend processing |
| | 81 | | /// the request, in seconds. The default is 30 seconds. |
| | 82 | | /// </summary> |
| | 83 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 84 | | public int? Timeout { get; set; } |
| | 85 | |
|
| | 86 | | /// <summary> |
| | 87 | | /// Gets or sets the caller-generated request identity, in the form of |
| | 88 | | /// a GUID with no decoration such as curly braces, e.g. |
| | 89 | | /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. |
| | 90 | | /// </summary> |
| | 91 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 92 | | public System.Guid? ClientRequestId { get; set; } |
| | 93 | |
|
| | 94 | | /// <summary> |
| | 95 | | /// Gets or sets whether the server should return the client-request-id |
| | 96 | | /// in the response. |
| | 97 | | /// </summary> |
| | 98 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 99 | | public bool? ReturnClientRequestId { get; set; } |
| | 100 | |
|
| | 101 | | /// <summary> |
| | 102 | | /// Gets or sets the time the request was issued. Client libraries |
| | 103 | | /// typically set this to the current system clock time; set it |
| | 104 | | /// explicitly if you are calling the REST API directly. |
| | 105 | | /// </summary> |
| | 106 | | [JsonConverter(typeof(DateTimeRfc1123JsonConverter))] |
| | 107 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 108 | | public System.DateTime? OcpDate { get; set; } |
| | 109 | |
|
| | 110 | | /// <summary> |
| | 111 | | /// Gets or sets an ETag value associated with the version of the |
| | 112 | | /// resource known to the client. The operation will be performed only |
| | 113 | | /// if the resource's current ETag on the service exactly matches the |
| | 114 | | /// value specified by the client. |
| | 115 | | /// </summary> |
| | 116 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 117 | | public string IfMatch { get; set; } |
| | 118 | |
|
| | 119 | | /// <summary> |
| | 120 | | /// Gets or sets an ETag value associated with the version of the |
| | 121 | | /// resource known to the client. The operation will be performed only |
| | 122 | | /// if the resource's current ETag on the service does not match the |
| | 123 | | /// value specified by the client. |
| | 124 | | /// </summary> |
| | 125 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 126 | | public string IfNoneMatch { get; set; } |
| | 127 | |
|
| | 128 | | /// <summary> |
| | 129 | | /// Gets or sets a timestamp indicating the last modified time of the |
| | 130 | | /// resource known to the client. The operation will be performed only |
| | 131 | | /// if the resource on the service has been modified since the |
| | 132 | | /// specified time. |
| | 133 | | /// </summary> |
| | 134 | | [JsonConverter(typeof(DateTimeRfc1123JsonConverter))] |
| | 135 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 136 | | public System.DateTime? IfModifiedSince { get; set; } |
| | 137 | |
|
| | 138 | | /// <summary> |
| | 139 | | /// Gets or sets a timestamp indicating the last modified time of the |
| | 140 | | /// resource known to the client. The operation will be performed only |
| | 141 | | /// if the resource on the service has not been modified since the |
| | 142 | | /// specified time. |
| | 143 | | /// </summary> |
| | 144 | | [JsonConverter(typeof(DateTimeRfc1123JsonConverter))] |
| | 145 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 146 | | public System.DateTime? IfUnmodifiedSince { get; set; } |
| | 147 | |
|
| | 148 | | } |
| | 149 | | } |