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