| | 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 SparkStatement |
| | 17 | | { |
| | 18 | | /// <summary> |
| | 19 | | /// Initializes a new instance of the SparkStatement class. |
| | 20 | | /// </summary> |
| 4 | 21 | | public SparkStatement() |
| | 22 | | { |
| | 23 | | CustomInit(); |
| 4 | 24 | | } |
| | 25 | |
|
| | 26 | | /// <summary> |
| | 27 | | /// Initializes a new instance of the SparkStatement class. |
| | 28 | | /// </summary> |
| 0 | 29 | | public SparkStatement(int? id = default(int?), string code = default(string), string state = default(string), Sp |
| | 30 | | { |
| 0 | 31 | | Id = id; |
| 0 | 32 | | Code = code; |
| 0 | 33 | | State = state; |
| 0 | 34 | | Output = output; |
| 0 | 35 | | Progress = progress; |
| | 36 | | CustomInit(); |
| 0 | 37 | | } |
| | 38 | |
|
| | 39 | | /// <summary> |
| | 40 | | /// An initialization method that performs custom operations like setting defaults |
| | 41 | | /// </summary> |
| | 42 | | partial void CustomInit(); |
| | 43 | |
|
| | 44 | | /// <summary> |
| | 45 | | /// </summary> |
| | 46 | | [JsonProperty(PropertyName = "id")] |
| 6 | 47 | | public int? Id { get; set; } |
| | 48 | |
|
| | 49 | | /// <summary> |
| | 50 | | /// </summary> |
| | 51 | | [JsonProperty(PropertyName = "code")] |
| 0 | 52 | | public string Code { get; set; } |
| | 53 | |
|
| | 54 | | /// <summary> |
| | 55 | | /// </summary> |
| | 56 | | [JsonProperty(PropertyName = "state")] |
| 6 | 57 | | public string State { get; set; } |
| | 58 | |
|
| | 59 | | /// <summary> |
| | 60 | | /// </summary> |
| | 61 | | [JsonProperty(PropertyName = "output")] |
| 4 | 62 | | public SparkStatementOutput Output { get; set; } |
| | 63 | |
|
| | 64 | | /// <summary> |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "progress")] |
| 0 | 67 | | public double? Progress { get; set; } |
| | 68 | |
|
| | 69 | | } |
| | 70 | | } |