| | | 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 ApplicationListOptions |
| | | 22 | | { |
| | | 23 | | /// <summary> |
| | | 24 | | /// Initializes a new instance of the ApplicationListOptions class. |
| | | 25 | | /// </summary> |
| | 4 | 26 | | public ApplicationListOptions() |
| | | 27 | | { |
| | | 28 | | CustomInit(); |
| | 4 | 29 | | } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Initializes a new instance of the ApplicationListOptions class. |
| | | 33 | | /// </summary> |
| | | 34 | | /// <param name="maxResults">The maximum number of items to return in |
| | | 35 | | /// the response. A maximum of 1000 applications can be |
| | | 36 | | /// returned.</param> |
| | | 37 | | /// <param name="timeout">The maximum time that the server can spend |
| | | 38 | | /// processing the request, in seconds. The default is 30 |
| | | 39 | | /// seconds.</param> |
| | | 40 | | /// <param name="clientRequestId">The caller-generated request |
| | | 41 | | /// identity, in the form of a GUID with no decoration such as curly |
| | | 42 | | /// braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.</param> |
| | | 43 | | /// <param name="returnClientRequestId">Whether the server should |
| | | 44 | | /// return the client-request-id in the response.</param> |
| | | 45 | | /// <param name="ocpDate">The time the request was issued. Client |
| | | 46 | | /// libraries typically set this to the current system clock time; set |
| | | 47 | | /// it explicitly if you are calling the REST API directly.</param> |
| | 0 | 48 | | public ApplicationListOptions(int? maxResults = default(int?), int? timeout = default(int?), System.Guid? client |
| | | 49 | | { |
| | 0 | 50 | | MaxResults = maxResults; |
| | 0 | 51 | | Timeout = timeout; |
| | 0 | 52 | | ClientRequestId = clientRequestId; |
| | 0 | 53 | | ReturnClientRequestId = returnClientRequestId; |
| | 0 | 54 | | OcpDate = ocpDate; |
| | | 55 | | CustomInit(); |
| | 0 | 56 | | } |
| | | 57 | | |
| | | 58 | | /// <summary> |
| | | 59 | | /// An initialization method that performs custom operations like setting defaults |
| | | 60 | | /// </summary> |
| | | 61 | | partial void CustomInit(); |
| | | 62 | | |
| | | 63 | | /// <summary> |
| | | 64 | | /// Gets or sets the maximum number of items to return in the response. |
| | | 65 | | /// A maximum of 1000 applications can be returned. |
| | | 66 | | /// </summary> |
| | | 67 | | [Newtonsoft.Json.JsonIgnore] |
| | 0 | 68 | | public int? MaxResults { get; set; } |
| | | 69 | | |
| | | 70 | | /// <summary> |
| | | 71 | | /// Gets or sets the maximum time that the server can spend processing |
| | | 72 | | /// the request, in seconds. The default is 30 seconds. |
| | | 73 | | /// </summary> |
| | | 74 | | [Newtonsoft.Json.JsonIgnore] |
| | 0 | 75 | | public int? Timeout { get; set; } |
| | | 76 | | |
| | | 77 | | /// <summary> |
| | | 78 | | /// Gets or sets the caller-generated request identity, in the form of |
| | | 79 | | /// a GUID with no decoration such as curly braces, e.g. |
| | | 80 | | /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. |
| | | 81 | | /// </summary> |
| | | 82 | | [Newtonsoft.Json.JsonIgnore] |
| | 6 | 83 | | public System.Guid? ClientRequestId { get; set; } |
| | | 84 | | |
| | | 85 | | /// <summary> |
| | | 86 | | /// Gets or sets whether the server should return the client-request-id |
| | | 87 | | /// in the response. |
| | | 88 | | /// </summary> |
| | | 89 | | [Newtonsoft.Json.JsonIgnore] |
| | 0 | 90 | | public bool? ReturnClientRequestId { get; set; } |
| | | 91 | | |
| | | 92 | | /// <summary> |
| | | 93 | | /// Gets or sets the time the request was issued. Client libraries |
| | | 94 | | /// typically set this to the current system clock time; set it |
| | | 95 | | /// explicitly if you are calling the REST API directly. |
| | | 96 | | /// </summary> |
| | | 97 | | [JsonConverter(typeof(DateTimeRfc1123JsonConverter))] |
| | | 98 | | [Newtonsoft.Json.JsonIgnore] |
| | 0 | 99 | | public System.DateTime? OcpDate { get; set; } |
| | | 100 | | |
| | | 101 | | } |
| | | 102 | | } |