| | 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.CognitiveServices.Knowledge.QnAMaker.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Defines headers for GetDetails operation. |
| | 18 | | /// </summary> |
| | 19 | | public partial class OperationsGetDetailsHeaders |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the OperationsGetDetailsHeaders |
| | 23 | | /// class. |
| | 24 | | /// </summary> |
| 0 | 25 | | public OperationsGetDetailsHeaders() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 0 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the OperationsGetDetailsHeaders |
| | 32 | | /// class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="retryAfter">Indicates how long the client should wait |
| | 35 | | /// before sending a follow up request. The header will be present only |
| | 36 | | /// if the operation is running or has not started yet.</param> |
| 0 | 37 | | public OperationsGetDetailsHeaders(int? retryAfter = default(int?)) |
| | 38 | | { |
| 0 | 39 | | RetryAfter = retryAfter; |
| | 40 | | CustomInit(); |
| 0 | 41 | | } |
| | 42 | |
|
| | 43 | | /// <summary> |
| | 44 | | /// An initialization method that performs custom operations like setting defaults |
| | 45 | | /// </summary> |
| | 46 | | partial void CustomInit(); |
| | 47 | |
|
| | 48 | | /// <summary> |
| | 49 | | /// Gets or sets indicates how long the client should wait before |
| | 50 | | /// sending a follow up request. The header will be present only if the |
| | 51 | | /// operation is running or has not started yet. |
| | 52 | | /// </summary> |
| | 53 | | [JsonProperty(PropertyName = "RetryAfter")] |
| 0 | 54 | | public int? RetryAfter { get; set; } |
| | 55 | |
|
| | 56 | | } |
| | 57 | | } |