| | 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 | | /// <summary> |
| | 19 | | /// Gets or sets the object containing the user arguments. |
| | 20 | | /// </summary> |
| | 21 | | public partial class Userargs |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the Userargs class. |
| | 25 | | /// </summary> |
| 164 | 26 | | public Userargs() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 164 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the Userargs class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="arg">The list of args defined by the user.</param> |
| | 35 | | /// <param name="callback">The callback URL, if any.</param> |
| | 36 | | /// <param name="define">The define properties defined by the |
| | 37 | | /// user.</param> |
| | 38 | | /// <param name="enablelog">Whether or not the user enabled |
| | 39 | | /// logs.</param> |
| | 40 | | /// <param name="execute">The query defined by the user.</param> |
| | 41 | | /// <param name="file">The query file provided by the user.</param> |
| | 42 | | /// <param name="files">The files defined by the user.</param> |
| | 43 | | /// <param name="jar">The JAR file provided by the user.</param> |
| | 44 | | /// <param name="statusdir">The status directory defined by the |
| | 45 | | /// user.</param> |
| 0 | 46 | | public Userargs(IList<string> arg = default(IList<string>), object callback = default(object), IList<string> def |
| | 47 | | { |
| 0 | 48 | | Arg = arg; |
| 0 | 49 | | Callback = callback; |
| 0 | 50 | | Define = define; |
| 0 | 51 | | Enablelog = enablelog; |
| 0 | 52 | | Execute = execute; |
| 0 | 53 | | File = file; |
| 0 | 54 | | Files = files; |
| 0 | 55 | | Jar = jar; |
| 0 | 56 | | Statusdir = statusdir; |
| | 57 | | CustomInit(); |
| 0 | 58 | | } |
| | 59 | |
|
| | 60 | | /// <summary> |
| | 61 | | /// An initialization method that performs custom operations like setting defaults |
| | 62 | | /// </summary> |
| | 63 | | partial void CustomInit(); |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// Gets the list of args defined by the user. |
| | 67 | | /// </summary> |
| | 68 | | [JsonProperty(PropertyName = "arg")] |
| 112 | 69 | | public IList<string> Arg { get; private set; } |
| | 70 | |
|
| | 71 | | /// <summary> |
| | 72 | | /// Gets or sets the callback URL, if any. |
| | 73 | | /// </summary> |
| | 74 | | [JsonProperty(PropertyName = "callback")] |
| 0 | 75 | | public object Callback { get; set; } |
| | 76 | |
|
| | 77 | | /// <summary> |
| | 78 | | /// Gets the define properties defined by the user. |
| | 79 | | /// </summary> |
| | 80 | | [JsonProperty(PropertyName = "define")] |
| 192 | 81 | | public IList<string> Define { get; private set; } |
| | 82 | |
|
| | 83 | | /// <summary> |
| | 84 | | /// Gets or sets whether or not the user enabled logs. |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "enablelog")] |
| 0 | 87 | | public string Enablelog { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets the query defined by the user. |
| | 91 | | /// </summary> |
| | 92 | | [JsonProperty(PropertyName = "execute")] |
| 0 | 93 | | public string Execute { get; set; } |
| | 94 | |
|
| | 95 | | /// <summary> |
| | 96 | | /// Gets or sets the query file provided by the user. |
| | 97 | | /// </summary> |
| | 98 | | [JsonProperty(PropertyName = "file")] |
| 32 | 99 | | public object File { get; set; } |
| | 100 | |
|
| | 101 | | /// <summary> |
| | 102 | | /// Gets or sets the files defined by the user. |
| | 103 | | /// </summary> |
| | 104 | | [JsonProperty(PropertyName = "files")] |
| 0 | 105 | | public object Files { get; set; } |
| | 106 | |
|
| | 107 | | /// <summary> |
| | 108 | | /// Gets or sets the JAR file provided by the user. |
| | 109 | | /// </summary> |
| | 110 | | [JsonProperty(PropertyName = "jar")] |
| 0 | 111 | | public string Jar { get; set; } |
| | 112 | |
|
| | 113 | | /// <summary> |
| | 114 | | /// Gets or sets the status directory defined by the user. |
| | 115 | | /// </summary> |
| | 116 | | [JsonProperty(PropertyName = "statusdir")] |
| 0 | 117 | | public object Statusdir { get; set; } |
| | 118 | |
|
| | 119 | | } |
| | 120 | | } |