-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
JobScheduleListOptions.cs
132 lines (119 loc) · 5.43 KB
/
JobScheduleListOptions.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
// <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>
/// Additional parameters for List operation.
/// </summary>
public partial class JobScheduleListOptions
{
/// <summary>
/// Initializes a new instance of the JobScheduleListOptions class.
/// </summary>
public JobScheduleListOptions()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the JobScheduleListOptions class.
/// </summary>
/// <param name="filter">An OData $filter clause. For more information
/// on constructing this filter, see
/// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.</param>
/// <param name="select">An OData $select clause.</param>
/// <param name="expand">An OData $expand clause.</param>
/// <param name="maxResults">The maximum number of items to return in
/// the response. A maximum of 1000 Job Schedules can be
/// returned.</param>
/// <param name="timeout">The maximum time that the server can spend
/// processing the request, in seconds. The default is 30 seconds. If
/// the value is larger than 30, the default will be used
/// instead.</param>
/// <param name="clientRequestId">The caller-generated request
/// identity, in the form of a GUID with no decoration such as curly
/// braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.</param>
/// <param name="returnClientRequestId">Whether the server should
/// return the client-request-id in the response.</param>
/// <param name="ocpDate">The time the request was issued. Client
/// libraries typically set this to the current system clock time; set
/// it explicitly if you are calling the REST API directly.</param>
public JobScheduleListOptions(string filter = default(string), string select = default(string), string expand = default(string), int? maxResults = default(int?), int? timeout = default(int?), System.Guid? clientRequestId = default(System.Guid?), bool? returnClientRequestId = default(bool?), System.DateTime? ocpDate = default(System.DateTime?))
{
Filter = filter;
Select = select;
Expand = expand;
MaxResults = maxResults;
Timeout = timeout;
ClientRequestId = clientRequestId;
ReturnClientRequestId = returnClientRequestId;
OcpDate = ocpDate;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets an OData $filter clause. For more information on
/// constructing this filter, see
/// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.
/// </summary>
[Newtonsoft.Json.JsonIgnore]
public string Filter { get; set; }
/// <summary>
/// Gets or sets an OData $select clause.
/// </summary>
[Newtonsoft.Json.JsonIgnore]
public string Select { get; set; }
/// <summary>
/// Gets or sets an OData $expand clause.
/// </summary>
[Newtonsoft.Json.JsonIgnore]
public string Expand { get; set; }
/// <summary>
/// Gets or sets the maximum number of items to return in the response.
/// A maximum of 1000 Job Schedules can be returned.
/// </summary>
[Newtonsoft.Json.JsonIgnore]
public int? MaxResults { get; set; }
/// <summary>
/// Gets or sets the maximum time that the server can spend processing
/// the request, in seconds. The default is 30 seconds. If the value is
/// larger than 30, the default will be used instead.
/// </summary>
[Newtonsoft.Json.JsonIgnore]
public int? Timeout { get; set; }
/// <summary>
/// Gets or sets the caller-generated request identity, in the form of
/// a GUID with no decoration such as curly braces, e.g.
/// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
/// </summary>
[Newtonsoft.Json.JsonIgnore]
public System.Guid? ClientRequestId { get; set; }
/// <summary>
/// Gets or sets whether the server should return the client-request-id
/// in the response.
/// </summary>
[Newtonsoft.Json.JsonIgnore]
public bool? ReturnClientRequestId { get; set; }
/// <summary>
/// Gets or sets the time the request was issued. Client libraries
/// typically set this to the current system clock time; set it
/// explicitly if you are calling the REST API directly.
/// </summary>
[JsonConverter(typeof(DateTimeRfc1123JsonConverter))]
[Newtonsoft.Json.JsonIgnore]
public System.DateTime? OcpDate { get; set; }
}
}