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