| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.ResourceManager.EventHubs.Models |
| | 9 | | { |
| | 10 | | /// <summary> The Result of the CheckNameAvailability operation. </summary> |
| | 11 | | public partial class CheckNameAvailabilityResult |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of CheckNameAvailabilityResult. </summary> |
| 0 | 14 | | internal CheckNameAvailabilityResult() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of CheckNameAvailabilityResult. </summary> |
| | 19 | | /// <param name="message"> The detailed info regarding the reason associated with the Namespace. </param> |
| | 20 | | /// <param name="nameAvailable"> Value indicating Namespace is availability, true if the Namespace is available; |
| | 21 | | /// <param name="reason"> The reason for unavailability of a Namespace. </param> |
| 16 | 22 | | internal CheckNameAvailabilityResult(string message, bool? nameAvailable, UnavailableReason? reason) |
| | 23 | | { |
| 16 | 24 | | Message = message; |
| 16 | 25 | | NameAvailable = nameAvailable; |
| 16 | 26 | | Reason = reason; |
| 16 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> The detailed info regarding the reason associated with the Namespace. </summary> |
| 0 | 30 | | public string Message { get; } |
| | 31 | | /// <summary> Value indicating Namespace is availability, true if the Namespace is available; otherwise, false. |
| 8 | 32 | | public bool? NameAvailable { get; } |
| | 33 | | /// <summary> The reason for unavailability of a Namespace. </summary> |
| 0 | 34 | | public UnavailableReason? Reason { get; } |
| | 35 | | } |
| | 36 | | } |