| | 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 List operation. |
| | 20 | | /// </summary> |
| | 21 | | public partial class PoolListOptions |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the PoolListOptions class. |
| | 25 | | /// </summary> |
| 3 | 26 | | public PoolListOptions() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 3 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the PoolListOptions class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="filter">An OData $filter clause. For more information |
| | 35 | | /// on constructing this filter, see |
| | 36 | | /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-pools.</param> |
| | 37 | | /// <param name="select">An OData $select clause.</param> |
| | 38 | | /// <param name="expand">An OData $expand clause.</param> |
| | 39 | | /// <param name="maxResults">The maximum number of items to return in |
| | 40 | | /// the response. A maximum of 1000 Pools can be returned.</param> |
| | 41 | | /// <param name="timeout">The maximum time that the server can spend |
| | 42 | | /// processing the request, in seconds. The default is 30 |
| | 43 | | /// seconds.</param> |
| | 44 | | /// <param name="clientRequestId">The caller-generated request |
| | 45 | | /// identity, in the form of a GUID with no decoration such as curly |
| | 46 | | /// braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.</param> |
| | 47 | | /// <param name="returnClientRequestId">Whether the server should |
| | 48 | | /// return the client-request-id in the response.</param> |
| | 49 | | /// <param name="ocpDate">The time the request was issued. Client |
| | 50 | | /// libraries typically set this to the current system clock time; set |
| | 51 | | /// it explicitly if you are calling the REST API directly.</param> |
| 0 | 52 | | public PoolListOptions(string filter = default(string), string select = default(string), string expand = default |
| | 53 | | { |
| 0 | 54 | | Filter = filter; |
| 0 | 55 | | Select = select; |
| 0 | 56 | | Expand = expand; |
| 0 | 57 | | MaxResults = maxResults; |
| 0 | 58 | | Timeout = timeout; |
| 0 | 59 | | ClientRequestId = clientRequestId; |
| 0 | 60 | | ReturnClientRequestId = returnClientRequestId; |
| 0 | 61 | | OcpDate = ocpDate; |
| | 62 | | CustomInit(); |
| 0 | 63 | | } |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// An initialization method that performs custom operations like setting defaults |
| | 67 | | /// </summary> |
| | 68 | | partial void CustomInit(); |
| | 69 | |
|
| | 70 | | /// <summary> |
| | 71 | | /// Gets or sets an OData $filter clause. For more information on |
| | 72 | | /// constructing this filter, see |
| | 73 | | /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-pools. |
| | 74 | | /// </summary> |
| | 75 | | [Newtonsoft.Json.JsonIgnore] |
| 2 | 76 | | public string Filter { get; set; } |
| | 77 | |
|
| | 78 | | /// <summary> |
| | 79 | | /// Gets or sets an OData $select clause. |
| | 80 | | /// </summary> |
| | 81 | | [Newtonsoft.Json.JsonIgnore] |
| 2 | 82 | | public string Select { get; set; } |
| | 83 | |
|
| | 84 | | /// <summary> |
| | 85 | | /// Gets or sets an OData $expand clause. |
| | 86 | | /// </summary> |
| | 87 | | [Newtonsoft.Json.JsonIgnore] |
| 2 | 88 | | public string Expand { get; set; } |
| | 89 | |
|
| | 90 | | /// <summary> |
| | 91 | | /// Gets or sets the maximum number of items to return in the response. |
| | 92 | | /// A maximum of 1000 Pools can be returned. |
| | 93 | | /// </summary> |
| | 94 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 95 | | public int? MaxResults { get; set; } |
| | 96 | |
|
| | 97 | | /// <summary> |
| | 98 | | /// Gets or sets the maximum time that the server can spend processing |
| | 99 | | /// the request, in seconds. The default is 30 seconds. |
| | 100 | | /// </summary> |
| | 101 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 102 | | public int? Timeout { get; set; } |
| | 103 | |
|
| | 104 | | /// <summary> |
| | 105 | | /// Gets or sets the caller-generated request identity, in the form of |
| | 106 | | /// a GUID with no decoration such as curly braces, e.g. |
| | 107 | | /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. |
| | 108 | | /// </summary> |
| | 109 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 110 | | public System.Guid? ClientRequestId { get; set; } |
| | 111 | |
|
| | 112 | | /// <summary> |
| | 113 | | /// Gets or sets whether the server should return the client-request-id |
| | 114 | | /// in the response. |
| | 115 | | /// </summary> |
| | 116 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 117 | | public bool? ReturnClientRequestId { get; set; } |
| | 118 | |
|
| | 119 | | /// <summary> |
| | 120 | | /// Gets or sets the time the request was issued. Client libraries |
| | 121 | | /// typically set this to the current system clock time; set it |
| | 122 | | /// explicitly if you are calling the REST API directly. |
| | 123 | | /// </summary> |
| | 124 | | [JsonConverter(typeof(DateTimeRfc1123JsonConverter))] |
| | 125 | | [Newtonsoft.Json.JsonIgnore] |
| 0 | 126 | | public System.DateTime? OcpDate { get; set; } |
| | 127 | |
|
| | 128 | | } |
| | 129 | | } |