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