| | | 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.Collections; |
| | | 15 | | using System.Collections.Generic; |
| | | 16 | | using System.Linq; |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// An error encountered by the Batch service when deleting a Certificate. |
| | | 20 | | /// </summary> |
| | | 21 | | public partial class DeleteCertificateError |
| | | 22 | | { |
| | | 23 | | /// <summary> |
| | | 24 | | /// Initializes a new instance of the DeleteCertificateError class. |
| | | 25 | | /// </summary> |
| | 503 | 26 | | public DeleteCertificateError() |
| | | 27 | | { |
| | | 28 | | CustomInit(); |
| | 503 | 29 | | } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Initializes a new instance of the DeleteCertificateError class. |
| | | 33 | | /// </summary> |
| | | 34 | | /// <param name="code">An identifier for the Certificate deletion |
| | | 35 | | /// error. Codes are invariant and are intended to be consumed |
| | | 36 | | /// programmatically.</param> |
| | | 37 | | /// <param name="message">A message describing the Certificate deletion |
| | | 38 | | /// error, intended to be suitable for display in a user |
| | | 39 | | /// interface.</param> |
| | | 40 | | /// <param name="values">A list of additional error details related to |
| | | 41 | | /// the Certificate deletion error.</param> |
| | 0 | 42 | | public DeleteCertificateError(string code = default(string), string message = default(string), IList<NameValuePa |
| | | 43 | | { |
| | 0 | 44 | | Code = code; |
| | 0 | 45 | | Message = message; |
| | 0 | 46 | | Values = values; |
| | | 47 | | CustomInit(); |
| | 0 | 48 | | } |
| | | 49 | | |
| | | 50 | | /// <summary> |
| | | 51 | | /// An initialization method that performs custom operations like setting defaults |
| | | 52 | | /// </summary> |
| | | 53 | | partial void CustomInit(); |
| | | 54 | | |
| | | 55 | | /// <summary> |
| | | 56 | | /// Gets or sets an identifier for the Certificate deletion error. |
| | | 57 | | /// Codes are invariant and are intended to be consumed |
| | | 58 | | /// programmatically. |
| | | 59 | | /// </summary> |
| | | 60 | | [JsonProperty(PropertyName = "code")] |
| | 1255 | 61 | | public string Code { get; set; } |
| | | 62 | | |
| | | 63 | | /// <summary> |
| | | 64 | | /// Gets or sets a message describing the Certificate deletion error, |
| | | 65 | | /// intended to be suitable for display in a user interface. |
| | | 66 | | /// </summary> |
| | | 67 | | [JsonProperty(PropertyName = "message")] |
| | 1259 | 68 | | public string Message { get; set; } |
| | | 69 | | |
| | | 70 | | /// <summary> |
| | | 71 | | /// Gets or sets a list of additional error details related to the |
| | | 72 | | /// Certificate deletion error. |
| | | 73 | | /// </summary> |
| | | 74 | | /// <remarks> |
| | | 75 | | /// This list includes details such as the active Pools and Compute |
| | | 76 | | /// Nodes referencing this Certificate. However, if a large number of |
| | | 77 | | /// resources reference the Certificate, the list contains only about |
| | | 78 | | /// the first hundred. |
| | | 79 | | /// </remarks> |
| | | 80 | | [JsonProperty(PropertyName = "values")] |
| | 1253 | 81 | | public IList<NameValuePair> Values { get; set; } |
| | | 82 | | |
| | | 83 | | } |
| | | 84 | | } |