-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
PoolResizeHeaders.cs
113 lines (103 loc) · 4.92 KB
/
PoolResizeHeaders.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.Azure.Batch.Protocol.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// Defines headers for Resize operation.
/// </summary>
public partial class PoolResizeHeaders
{
/// <summary>
/// Initializes a new instance of the PoolResizeHeaders class.
/// </summary>
public PoolResizeHeaders()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the PoolResizeHeaders class.
/// </summary>
/// <param name="clientRequestId">The client-request-id provided by the
/// client during the request. This will be returned only if the
/// return-client-request-id parameter was set to true.</param>
/// <param name="requestId">A unique identifier for the request that
/// was made to the Batch service. If a request is consistently failing
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
/// that the request was made, the Batch Account against which the
/// request was made, and the region that Account resides in.</param>
/// <param name="eTag">The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
/// the If-Modified-Since, If-Unmodified-Since, If-Match or
/// If-None-Match headers.</param>
/// <param name="lastModified">The time at which the resource was last
/// modified.</param>
/// <param name="dataServiceId">The OData ID of the resource to which
/// the request applied.</param>
public PoolResizeHeaders(System.Guid? clientRequestId = default(System.Guid?), System.Guid? requestId = default(System.Guid?), string eTag = default(string), System.DateTime? lastModified = default(System.DateTime?), string dataServiceId = default(string))
{
ClientRequestId = clientRequestId;
RequestId = requestId;
ETag = eTag;
LastModified = lastModified;
DataServiceId = dataServiceId;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets the client-request-id provided by the client during
/// the request. This will be returned only if the
/// return-client-request-id parameter was set to true.
/// </summary>
[JsonProperty(PropertyName = "client-request-id")]
public System.Guid? ClientRequestId { get; set; }
/// <summary>
/// Gets or sets a unique identifier for the request that was made to
/// the Batch service. If a request is consistently failing and you
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
/// request was made, the Batch Account against which the request was
/// made, and the region that Account resides in.
/// </summary>
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
/// <summary>
/// Gets or sets the ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
/// the If-Modified-Since, If-Unmodified-Since, If-Match or
/// If-None-Match headers.
/// </summary>
[JsonProperty(PropertyName = "ETag")]
public string ETag { get; set; }
/// <summary>
/// Gets or sets the time at which the resource was last modified.
/// </summary>
[JsonConverter(typeof(DateTimeRfc1123JsonConverter))]
[JsonProperty(PropertyName = "Last-Modified")]
public System.DateTime? LastModified { get; set; }
/// <summary>
/// Gets or sets the OData ID of the resource to which the request
/// applied.
/// </summary>
[JsonProperty(PropertyName = "DataServiceId")]
public string DataServiceId { get; set; }
}
}