| | | 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.Batch.Protocol.Models |
| | | 12 | | { |
| | | 13 | | using Newtonsoft.Json; |
| | | 14 | | using System.Linq; |
| | | 15 | | |
| | | 16 | | /// <summary> |
| | | 17 | | /// An item of additional information included in an Azure Batch error |
| | | 18 | | /// response. |
| | | 19 | | /// </summary> |
| | | 20 | | public partial class BatchErrorDetail |
| | | 21 | | { |
| | | 22 | | /// <summary> |
| | | 23 | | /// Initializes a new instance of the BatchErrorDetail class. |
| | | 24 | | /// </summary> |
| | 1 | 25 | | public BatchErrorDetail() |
| | | 26 | | { |
| | | 27 | | CustomInit(); |
| | 1 | 28 | | } |
| | | 29 | | |
| | | 30 | | /// <summary> |
| | | 31 | | /// Initializes a new instance of the BatchErrorDetail class. |
| | | 32 | | /// </summary> |
| | | 33 | | /// <param name="key">An identifier specifying the meaning of the Value |
| | | 34 | | /// property.</param> |
| | | 35 | | /// <param name="value">The additional information included with the |
| | | 36 | | /// error response.</param> |
| | 1 | 37 | | public BatchErrorDetail(string key = default(string), string value = default(string)) |
| | | 38 | | { |
| | 1 | 39 | | Key = key; |
| | 1 | 40 | | Value = value; |
| | | 41 | | CustomInit(); |
| | 1 | 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 | | /// Gets or sets an identifier specifying the meaning of the Value |
| | | 51 | | /// property. |
| | | 52 | | /// </summary> |
| | | 53 | | [JsonProperty(PropertyName = "key")] |
| | 4 | 54 | | public string Key { get; set; } |
| | | 55 | | |
| | | 56 | | /// <summary> |
| | | 57 | | /// Gets or sets the additional information included with the error |
| | | 58 | | /// response. |
| | | 59 | | /// </summary> |
| | | 60 | | [JsonProperty(PropertyName = "value")] |
| | 4 | 61 | | public string Value { get; set; } |
| | | 62 | | |
| | | 63 | | } |
| | | 64 | | } |