| | 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 Get operation. |
| | 20 | | /// </summary> |
| | 21 | | public partial class PoolGetOptions |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the PoolGetOptions class. |
| | 25 | | /// </summary> |
| 31 | 26 | | public PoolGetOptions() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 31 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the PoolGetOptions class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="select">An OData $select clause.</param> |
| | 35 | | /// <param name="expand">An OData $expand clause.</param> |
| | 36 | | /// <param name="timeout">The maximum time that the server can spend |
| | 37 | | /// processing the request, in seconds. The default is 30 |
| | 38 | | /// seconds.</param> |
| | 39 | | /// <param name="clientRequestId">The caller-generated request |
| | 40 | | /// identity, in the form of a GUID with no decoration such as curly |
| | 41 | | /// braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.</param> |
| | 42 | | /// <param name="returnClientRequestId">Whether the server should |
| | 43 | | /// return the client-request-id in the response.</param> |
| | 44 | | /// <param name="ocpDate">The time the request was issued. Client |
| | 45 | | /// libraries typically set this to the current system clock time; set |
| | 46 | | /// it explicitly if you are calling the REST API directly.</param> |
| | 47 | | /// <param name="ifMatch">An ETag value associated with the version of |
| | 48 | | /// the resource known to the client. The operation will be performed |
| | 49 | | /// only if the resource's current ETag on the service exactly matches |
| | 50 | | /// the value specified by the client.</param> |
| | 51 | | /// <param name="ifNoneMatch">An ETag value associated with the version |
| | 52 | | /// of the resource known to the client. The operation will be |
| | 53 | | /// performed only if the resource's current ETag on the service does |
| | 54 | | /// not match the value specified by the client.</param> |
| | 55 | | /// <param name="ifModifiedSince">A timestamp indicating the last |
| | 56 | | /// modified time of the resource known to the client. The operation |
| | 57 | | /// will be performed only if the resource on the service has been |
| | 58 | | /// modified since the specified time.</param> |
| | 59 | | /// <param name="ifUnmodifiedSince">A timestamp indicating the last |
| | 60 | | /// modified time of the resource known to the client. The operation |
| | 61 | | /// will be performed only if the resource on the service has not been |
| | 62 | | /// modified since the specified time.</param> |
| 0 | 63 | | public PoolGetOptions(string select = default(string), string expand = default(string), int? timeout = default(i |
| | 64 | | { |
| 0 | 65 | | Select = select; |
| 0 | 66 | | Expand = expand; |
| 0 | 67 | | Timeout = timeout; |
| 0 | 68 | | ClientRequestId = clientRequestId; |
| 0 | 69 | | ReturnClientRequestId = returnClientRequestId; |
| 0 | 70 | | OcpDate = ocpDate; |
| 0 | 71 | | IfMatch = ifMatch; |
| 0 | 72 | | IfNoneMatch = ifNoneMatch; |
| 0 | 73 | | IfModifiedSince = ifModifiedSince; |
| 0 | 74 | | IfUnmodifiedSince = ifUnmodifiedSince; |
| | 75 | | CustomInit(); |
| 0 | 76 | | } |
| | 77 | |
|
| | 78 | | /// <summary> |
| | 79 | | /// An initialization method that performs custom operations like setting defaults |
| | 80 | | /// </summary> |
| | 81 | | partial void CustomInit(); |
| | 82 | |
|
| | 83 | | /// <summary> |
| | 84 | | /// Gets or sets an OData $select clause. |
| | 85 | | /// </summary> |
| | 86 | | [Newtonsoft.Json.JsonIgnore] |
| 2 | 87 | | public string Select { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets an OData $expand clause. |
| | 91 | | /// </summary> |
| | 92 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 93 | | public string Expand { get; set; } |
| | 94 | |
|
| | 95 | | /// <summary> |
| | 96 | | /// Gets or sets the maximum time that the server can spend processing |
| | 97 | | /// the request, in seconds. The default is 30 seconds. |
| | 98 | | /// </summary> |
| | 99 | | [Newtonsoft.Json.JsonIgnore] |
| 20 | 100 | | public int? Timeout { get; set; } |
| | 101 | |
|
| | 102 | | /// <summary> |
| | 103 | | /// Gets or sets the caller-generated request identity, in the form of |
| | 104 | | /// a GUID with no decoration such as curly braces, e.g. |
| | 105 | | /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. |
| | 106 | | /// </summary> |
| | 107 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 108 | | public System.Guid? ClientRequestId { get; set; } |
| | 109 | |
|
| | 110 | | /// <summary> |
| | 111 | | /// Gets or sets whether the server should return the client-request-id |
| | 112 | | /// in the response. |
| | 113 | | /// </summary> |
| | 114 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 115 | | public bool? ReturnClientRequestId { get; set; } |
| | 116 | |
|
| | 117 | | /// <summary> |
| | 118 | | /// Gets or sets the time the request was issued. Client libraries |
| | 119 | | /// typically set this to the current system clock time; set it |
| | 120 | | /// explicitly if you are calling the REST API directly. |
| | 121 | | /// </summary> |
| | 122 | | [JsonConverter(typeof(DateTimeRfc1123JsonConverter))] |
| | 123 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 124 | | public System.DateTime? OcpDate { get; set; } |
| | 125 | |
|
| | 126 | | /// <summary> |
| | 127 | | /// Gets or sets an ETag value associated with the version of the |
| | 128 | | /// resource known to the client. The operation will be performed only |
| | 129 | | /// if the resource's current ETag on the service exactly matches the |
| | 130 | | /// value specified by the client. |
| | 131 | | /// </summary> |
| | 132 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 133 | | public string IfMatch { get; set; } |
| | 134 | |
|
| | 135 | | /// <summary> |
| | 136 | | /// Gets or sets an ETag value associated with the version of the |
| | 137 | | /// resource known to the client. The operation will be performed only |
| | 138 | | /// if the resource's current ETag on the service does not match the |
| | 139 | | /// value specified by the client. |
| | 140 | | /// </summary> |
| | 141 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 142 | | public string IfNoneMatch { get; set; } |
| | 143 | |
|
| | 144 | | /// <summary> |
| | 145 | | /// Gets or sets a timestamp indicating the last modified time of the |
| | 146 | | /// resource known to the client. The operation will be performed only |
| | 147 | | /// if the resource on the service has been modified since the |
| | 148 | | /// specified time. |
| | 149 | | /// </summary> |
| | 150 | | [JsonConverter(typeof(DateTimeRfc1123JsonConverter))] |
| | 151 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 152 | | public System.DateTime? IfModifiedSince { get; set; } |
| | 153 | |
|
| | 154 | | /// <summary> |
| | 155 | | /// Gets or sets a timestamp indicating the last modified time of the |
| | 156 | | /// resource known to the client. The operation will be performed only |
| | 157 | | /// if the resource on the service has not been modified since the |
| | 158 | | /// specified time. |
| | 159 | | /// </summary> |
| | 160 | | [JsonConverter(typeof(DateTimeRfc1123JsonConverter))] |
| | 161 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 162 | | public System.DateTime? IfUnmodifiedSince { get; set; } |
| | 163 | |
|
| | 164 | | } |
| | 165 | | } |