/
SparkJob.cs
132 lines (112 loc) · 4.4 KB
/
SparkJob.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.Synapse.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public partial class SparkJob
{
/// <summary>
/// Initializes a new instance of the SparkJob class.
/// </summary>
public SparkJob()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the SparkJob class.
/// </summary>
public SparkJob(string state = default(string), string name = default(string), string submitter = default(string), string compute = default(string), string sparkApplicationId = default(string), string livyId = default(string), IList<string> timing = default(IList<string>), string sparkJobDefinition = default(string), IList<SparkJob> pipeline = default(IList<SparkJob>), string jobType = default(string), System.DateTimeOffset? submitTime = default(System.DateTimeOffset?), System.DateTimeOffset? endTime = default(System.DateTimeOffset?), string queuedDuration = default(string), string runningDuration = default(string), string totalDuration = default(string))
{
State = state;
Name = name;
Submitter = submitter;
Compute = compute;
SparkApplicationId = sparkApplicationId;
LivyId = livyId;
Timing = timing;
SparkJobDefinition = sparkJobDefinition;
Pipeline = pipeline;
JobType = jobType;
SubmitTime = submitTime;
EndTime = endTime;
QueuedDuration = queuedDuration;
RunningDuration = runningDuration;
TotalDuration = totalDuration;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "state")]
public string State { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "submitter")]
public string Submitter { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "compute")]
public string Compute { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "sparkApplicationId")]
public string SparkApplicationId { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "livyId")]
public string LivyId { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "timing")]
public IList<string> Timing { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "sparkJobDefinition")]
public string SparkJobDefinition { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "pipeline")]
public IList<SparkJob> Pipeline { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "jobType")]
public string JobType { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "submitTime")]
public System.DateTimeOffset? SubmitTime { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "endTime")]
public System.DateTimeOffset? EndTime { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "queuedDuration")]
public string QueuedDuration { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "runningDuration")]
public string RunningDuration { get; set; }
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "totalDuration")]
public string TotalDuration { get; set; }
}
}