| | 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.HDInsight.Job.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | public partial class SparkJobState |
| | 17 | | { |
| | 18 | | /// <summary> |
| | 19 | | /// Initializes a new instance of the SparkJobState class. |
| | 20 | | /// </summary> |
| 0 | 21 | | public SparkJobState() |
| | 22 | | { |
| | 23 | | CustomInit(); |
| 0 | 24 | | } |
| | 25 | |
|
| | 26 | | /// <summary> |
| | 27 | | /// Initializes a new instance of the SparkJobState class. |
| | 28 | | /// </summary> |
| 0 | 29 | | public SparkJobState(int? id = default(int?), string state = default(string)) |
| | 30 | | { |
| 0 | 31 | | Id = id; |
| 0 | 32 | | State = state; |
| | 33 | | CustomInit(); |
| 0 | 34 | | } |
| | 35 | |
|
| | 36 | | /// <summary> |
| | 37 | | /// An initialization method that performs custom operations like setting defaults |
| | 38 | | /// </summary> |
| | 39 | | partial void CustomInit(); |
| | 40 | |
|
| | 41 | | /// <summary> |
| | 42 | | /// </summary> |
| | 43 | | [JsonProperty(PropertyName = "id")] |
| 0 | 44 | | public int? Id { get; set; } |
| | 45 | |
|
| | 46 | | /// <summary> |
| | 47 | | /// </summary> |
| | 48 | | [JsonProperty(PropertyName = "state")] |
| 0 | 49 | | public string State { get; set; } |
| | 50 | |
|
| | 51 | | } |
| | 52 | | } |