| | 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 profile information. |
| | 18 | | /// </summary> |
| | 19 | | public partial class Profile |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the Profile class. |
| | 23 | | /// </summary> |
| 164 | 24 | | public Profile() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 164 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the Profile class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="jobFile">The job configuration file.</param> |
| | 33 | | /// <param name="jobId">The full ID of the job.</param> |
| | 34 | | /// <param name="jobID">The ID of the job.</param> |
| | 35 | | /// <param name="jobName">The user-specified job name.</param> |
| | 36 | | /// <param name="queueName">The name of the queue to which the job is |
| | 37 | | /// submitted.</param> |
| | 38 | | /// <param name="url">The link to the web-ui for details of the |
| | 39 | | /// job.</param> |
| | 40 | | /// <param name="user">The userid of the person who submitted the |
| | 41 | | /// job.</param> |
| 0 | 42 | | public Profile(string jobFile = default(string), string jobId = default(string), JobID jobID = default(JobID), s |
| | 43 | | { |
| 0 | 44 | | JobFile = jobFile; |
| 0 | 45 | | JobId = jobId; |
| 0 | 46 | | JobID = jobID; |
| 0 | 47 | | JobName = jobName; |
| 0 | 48 | | QueueName = queueName; |
| 0 | 49 | | Url = url; |
| 0 | 50 | | User = user; |
| | 51 | | CustomInit(); |
| 0 | 52 | | } |
| | 53 | |
|
| | 54 | | /// <summary> |
| | 55 | | /// An initialization method that performs custom operations like setting defaults |
| | 56 | | /// </summary> |
| | 57 | | partial void CustomInit(); |
| | 58 | |
|
| | 59 | | /// <summary> |
| | 60 | | /// Gets or sets the job configuration file. |
| | 61 | | /// </summary> |
| | 62 | | [JsonProperty(PropertyName = "jobFile")] |
| 0 | 63 | | public string JobFile { get; set; } |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// Gets or sets the full ID of the job. |
| | 67 | | /// </summary> |
| | 68 | | [JsonProperty(PropertyName = "jobId")] |
| 0 | 69 | | public string JobId { get; set; } |
| | 70 | |
|
| | 71 | | /// <summary> |
| | 72 | | /// Gets or sets the ID of the job. |
| | 73 | | /// </summary> |
| | 74 | | [JsonProperty(PropertyName = "jobID")] |
| 328 | 75 | | public JobID JobID { get; set; } |
| | 76 | |
|
| | 77 | | /// <summary> |
| | 78 | | /// Gets or sets the user-specified job name. |
| | 79 | | /// </summary> |
| | 80 | | [JsonProperty(PropertyName = "jobName")] |
| 0 | 81 | | public string JobName { get; set; } |
| | 82 | |
|
| | 83 | | /// <summary> |
| | 84 | | /// Gets or sets the name of the queue to which the job is submitted. |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "queueName")] |
| 0 | 87 | | public string QueueName { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets the link to the web-ui for details of the job. |
| | 91 | | /// </summary> |
| | 92 | | [JsonProperty(PropertyName = "url")] |
| 0 | 93 | | public string Url { get; set; } |
| | 94 | |
|
| | 95 | | /// <summary> |
| | 96 | | /// Gets or sets the userid of the person who submitted the job. |
| | 97 | | /// </summary> |
| | 98 | | [JsonProperty(PropertyName = "user")] |
| 0 | 99 | | public string User { get; set; } |
| | 100 | |
|
| | 101 | | } |
| | 102 | | } |