| | 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 SparkBatchJobRequest |
| | 19 | | { |
| | 20 | | /// <summary> |
| | 21 | | /// Initializes a new instance of the SparkBatchJobRequest class. |
| | 22 | | /// </summary> |
| 6 | 23 | | public SparkBatchJobRequest() |
| | 24 | | { |
| | 25 | | CustomInit(); |
| 6 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Initializes a new instance of the SparkBatchJobRequest class. |
| | 30 | | /// </summary> |
| 0 | 31 | | public SparkBatchJobRequest(string file = default(string), string proxyUser = default(string), string className |
| | 32 | | { |
| 0 | 33 | | File = file; |
| 0 | 34 | | ProxyUser = proxyUser; |
| 0 | 35 | | ClassName = className; |
| 0 | 36 | | Arguments = arguments; |
| 0 | 37 | | Jars = jars; |
| 0 | 38 | | PythonFiles = pythonFiles; |
| 0 | 39 | | Files = files; |
| 0 | 40 | | DriverMemory = driverMemory; |
| 0 | 41 | | DriverCores = driverCores; |
| 0 | 42 | | ExecutorMemory = executorMemory; |
| 0 | 43 | | ExecutorCores = executorCores; |
| 0 | 44 | | ExecutorCount = executorCount; |
| 0 | 45 | | Archives = archives; |
| 0 | 46 | | Queue = queue; |
| 0 | 47 | | Name = name; |
| 0 | 48 | | Configuration = configuration; |
| | 49 | | CustomInit(); |
| 0 | 50 | | } |
| | 51 | |
|
| | 52 | | /// <summary> |
| | 53 | | /// An initialization method that performs custom operations like setting defaults |
| | 54 | | /// </summary> |
| | 55 | | partial void CustomInit(); |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// </summary> |
| | 59 | | [JsonProperty(PropertyName = "file")] |
| 12 | 60 | | public string File { get; set; } |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// </summary> |
| | 64 | | [JsonProperty(PropertyName = "proxyUser")] |
| 0 | 65 | | public string ProxyUser { get; set; } |
| | 66 | |
|
| | 67 | | /// <summary> |
| | 68 | | /// </summary> |
| | 69 | | [JsonProperty(PropertyName = "className")] |
| 12 | 70 | | public string ClassName { get; set; } |
| | 71 | |
|
| | 72 | | /// <summary> |
| | 73 | | /// </summary> |
| | 74 | | [JsonProperty(PropertyName = "args")] |
| 12 | 75 | | public IList<string> Arguments { get; set; } |
| | 76 | |
|
| | 77 | | /// <summary> |
| | 78 | | /// </summary> |
| | 79 | | [JsonProperty(PropertyName = "jars")] |
| 0 | 80 | | public IList<string> Jars { get; set; } |
| | 81 | |
|
| | 82 | | /// <summary> |
| | 83 | | /// </summary> |
| | 84 | | [JsonProperty(PropertyName = "pyFiles")] |
| 0 | 85 | | public IList<string> PythonFiles { get; set; } |
| | 86 | |
|
| | 87 | | /// <summary> |
| | 88 | | /// </summary> |
| | 89 | | [JsonProperty(PropertyName = "files")] |
| 0 | 90 | | public IList<string> Files { get; set; } |
| | 91 | |
|
| | 92 | | /// <summary> |
| | 93 | | /// </summary> |
| | 94 | | [JsonProperty(PropertyName = "driverMemory")] |
| 0 | 95 | | public string DriverMemory { get; set; } |
| | 96 | |
|
| | 97 | | /// <summary> |
| | 98 | | /// </summary> |
| | 99 | | [JsonProperty(PropertyName = "driverCores")] |
| 0 | 100 | | public int? DriverCores { get; set; } |
| | 101 | |
|
| | 102 | | /// <summary> |
| | 103 | | /// </summary> |
| | 104 | | [JsonProperty(PropertyName = "executorMemory")] |
| 0 | 105 | | public string ExecutorMemory { get; set; } |
| | 106 | |
|
| | 107 | | /// <summary> |
| | 108 | | /// </summary> |
| | 109 | | [JsonProperty(PropertyName = "executorCores")] |
| 0 | 110 | | public int? ExecutorCores { get; set; } |
| | 111 | |
|
| | 112 | | /// <summary> |
| | 113 | | /// </summary> |
| | 114 | | [JsonProperty(PropertyName = "numExecutors")] |
| 0 | 115 | | public int? ExecutorCount { get; set; } |
| | 116 | |
|
| | 117 | | /// <summary> |
| | 118 | | /// </summary> |
| | 119 | | [JsonProperty(PropertyName = "archives")] |
| 0 | 120 | | public IList<string> Archives { get; set; } |
| | 121 | |
|
| | 122 | | /// <summary> |
| | 123 | | /// </summary> |
| | 124 | | [JsonProperty(PropertyName = "queue")] |
| 0 | 125 | | public string Queue { get; set; } |
| | 126 | |
|
| | 127 | | /// <summary> |
| | 128 | | /// </summary> |
| | 129 | | [JsonProperty(PropertyName = "name")] |
| 0 | 130 | | public string Name { get; set; } |
| | 131 | |
|
| | 132 | | /// <summary> |
| | 133 | | /// </summary> |
| | 134 | | [JsonProperty(PropertyName = "conf")] |
| 0 | 135 | | public IDictionary<string, string> Configuration { get; set; } |
| | 136 | |
|
| | 137 | | } |
| | 138 | | } |