| | 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.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | public partial class SparkSessionJob |
| | 19 | | { |
| | 20 | | /// <summary> |
| | 21 | | /// Initializes a new instance of the SparkSessionJob class. |
| | 22 | | /// </summary> |
| 14 | 23 | | public SparkSessionJob() |
| | 24 | | { |
| | 25 | | CustomInit(); |
| 14 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Initializes a new instance of the SparkSessionJob class. |
| | 30 | | /// </summary> |
| 0 | 31 | | public SparkSessionJob(int? id = default(int?), string appId = default(string), string owner = default(string), |
| | 32 | | { |
| 0 | 33 | | Id = id; |
| 0 | 34 | | AppId = appId; |
| 0 | 35 | | Owner = owner; |
| 0 | 36 | | ProxyUser = proxyUser; |
| 0 | 37 | | Kind = kind; |
| 0 | 38 | | LogLines = logLines; |
| 0 | 39 | | State = state; |
| 0 | 40 | | AppInfo = appInfo; |
| | 41 | | CustomInit(); |
| 0 | 42 | | } |
| | 43 | |
|
| | 44 | | /// <summary> |
| | 45 | | /// An initialization method that performs custom operations like setting defaults |
| | 46 | | /// </summary> |
| | 47 | | partial void CustomInit(); |
| | 48 | |
|
| | 49 | | /// <summary> |
| | 50 | | /// </summary> |
| | 51 | | [JsonProperty(PropertyName = "id")] |
| 32 | 52 | | public int? Id { get; set; } |
| | 53 | |
|
| | 54 | | /// <summary> |
| | 55 | | /// </summary> |
| | 56 | | [JsonProperty(PropertyName = "appId")] |
| 0 | 57 | | public string AppId { get; set; } |
| | 58 | |
|
| | 59 | | /// <summary> |
| | 60 | | /// </summary> |
| | 61 | | [JsonProperty(PropertyName = "owner")] |
| 0 | 62 | | public string Owner { get; set; } |
| | 63 | |
|
| | 64 | | /// <summary> |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "proxyUser")] |
| 0 | 67 | | public string ProxyUser { get; set; } |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "kind")] |
| 0 | 72 | | public string Kind { get; set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// </summary> |
| | 76 | | [JsonProperty(PropertyName = "log")] |
| 28 | 77 | | public IList<string> LogLines { get; set; } |
| | 78 | |
|
| | 79 | | /// <summary> |
| | 80 | | /// </summary> |
| | 81 | | [JsonProperty(PropertyName = "state")] |
| 22 | 82 | | public string State { get; set; } |
| | 83 | |
|
| | 84 | | /// <summary> |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "appInfo")] |
| 28 | 87 | | public IDictionary<string, string> AppInfo { get; set; } |
| | 88 | |
|
| | 89 | | } |
| | 90 | | } |