| | 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 | | /// <summary> |
| | 17 | | /// The object containing the job details. |
| | 18 | | /// </summary> |
| | 19 | | public partial class JobDetailRootJsonObject |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the JobDetailRootJsonObject class. |
| | 23 | | /// </summary> |
| 164 | 24 | | public JobDetailRootJsonObject() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 164 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the JobDetailRootJsonObject class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="callback">The callback URL, if any.</param> |
| | 33 | | /// <param name="completed">The string representing completed status, |
| | 34 | | /// for example 'done'.</param> |
| | 35 | | /// <param name="exitValue">The job's exit value.</param> |
| | 36 | | /// <param name="id">The job ID.</param> |
| | 37 | | /// <param name="msg">The message returned.</param> |
| | 38 | | /// <param name="parentId">The parent job ID.</param> |
| | 39 | | /// <param name="percentComplete">The job completion percentage, for |
| | 40 | | /// example '75% complete'.</param> |
| | 41 | | /// <param name="profile">The object containing the job profile |
| | 42 | | /// information.</param> |
| | 43 | | /// <param name="status">The object containing the job status |
| | 44 | | /// information.</param> |
| | 45 | | /// <param name="user">The user name of the job creator.</param> |
| | 46 | | /// <param name="userargs">The arguments passed in by the user.</param> |
| 0 | 47 | | public JobDetailRootJsonObject(object callback = default(object), string completed = default(string), int? exitV |
| | 48 | | { |
| 0 | 49 | | Callback = callback; |
| 0 | 50 | | Completed = completed; |
| 0 | 51 | | ExitValue = exitValue; |
| 0 | 52 | | Id = id; |
| 0 | 53 | | Msg = msg; |
| 0 | 54 | | ParentId = parentId; |
| 0 | 55 | | PercentComplete = percentComplete; |
| 0 | 56 | | Profile = profile; |
| 0 | 57 | | Status = status; |
| 0 | 58 | | User = user; |
| 0 | 59 | | Userargs = userargs; |
| | 60 | | CustomInit(); |
| 0 | 61 | | } |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// An initialization method that performs custom operations like setting defaults |
| | 65 | | /// </summary> |
| | 66 | | partial void CustomInit(); |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets or sets the callback URL, if any. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "callback")] |
| 0 | 72 | | public object Callback { get; set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets or sets the string representing completed status, for example |
| | 76 | | /// 'done'. |
| | 77 | | /// </summary> |
| | 78 | | [JsonProperty(PropertyName = "completed")] |
| 0 | 79 | | public string Completed { get; set; } |
| | 80 | |
|
| | 81 | | /// <summary> |
| | 82 | | /// Gets or sets the job's exit value. |
| | 83 | | /// </summary> |
| | 84 | | [JsonProperty(PropertyName = "exitValue")] |
| 124 | 85 | | public int? ExitValue { get; set; } |
| | 86 | |
|
| | 87 | | /// <summary> |
| | 88 | | /// Gets or sets the job ID. |
| | 89 | | /// </summary> |
| | 90 | | [JsonProperty(PropertyName = "id")] |
| 0 | 91 | | public string Id { get; set; } |
| | 92 | |
|
| | 93 | | /// <summary> |
| | 94 | | /// Gets or sets the message returned. |
| | 95 | | /// </summary> |
| | 96 | | [JsonProperty(PropertyName = "msg")] |
| 0 | 97 | | public object Msg { get; set; } |
| | 98 | |
|
| | 99 | | /// <summary> |
| | 100 | | /// Gets or sets the parent job ID. |
| | 101 | | /// </summary> |
| | 102 | | [JsonProperty(PropertyName = "parentId")] |
| 0 | 103 | | public string ParentId { get; set; } |
| | 104 | |
|
| | 105 | | /// <summary> |
| | 106 | | /// Gets or sets the job completion percentage, for example '75% |
| | 107 | | /// complete'. |
| | 108 | | /// </summary> |
| | 109 | | [JsonProperty(PropertyName = "percentComplete")] |
| 0 | 110 | | public string PercentComplete { get; set; } |
| | 111 | |
|
| | 112 | | /// <summary> |
| | 113 | | /// Gets or sets the object containing the job profile information. |
| | 114 | | /// </summary> |
| | 115 | | [JsonProperty(PropertyName = "profile")] |
| 328 | 116 | | public Profile Profile { get; set; } |
| | 117 | |
|
| | 118 | | /// <summary> |
| | 119 | | /// Gets or sets the object containing the job status information. |
| | 120 | | /// </summary> |
| | 121 | | [JsonProperty(PropertyName = "status")] |
| 356 | 122 | | public Status Status { get; set; } |
| | 123 | |
|
| | 124 | | /// <summary> |
| | 125 | | /// Gets or sets the user name of the job creator. |
| | 126 | | /// </summary> |
| | 127 | | [JsonProperty(PropertyName = "user")] |
| 0 | 128 | | public string User { get; set; } |
| | 129 | |
|
| | 130 | | /// <summary> |
| | 131 | | /// Gets or sets the arguments passed in by the user. |
| | 132 | | /// </summary> |
| | 133 | | [JsonProperty(PropertyName = "userargs")] |
| 328 | 134 | | public Userargs Userargs { get; set; } |
| | 135 | |
|
| | 136 | | } |
| | 137 | | } |