-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
WebPubSubNameAvailability.cs
36 lines (31 loc) · 1.49 KB
/
WebPubSubNameAvailability.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.WebPubSub.Models
{
/// <summary> Result of the request to check name availability. It contains a flag and possible reason of failure. </summary>
public partial class WebPubSubNameAvailability
{
/// <summary> Initializes a new instance of <see cref="WebPubSubNameAvailability"/>. </summary>
internal WebPubSubNameAvailability()
{
}
/// <summary> Initializes a new instance of <see cref="WebPubSubNameAvailability"/>. </summary>
/// <param name="nameAvailable"> Indicates whether the name is available or not. </param>
/// <param name="reason"> The reason of the availability. Required if name is not available. </param>
/// <param name="message"> The message of the operation. </param>
internal WebPubSubNameAvailability(bool? nameAvailable, string reason, string message)
{
NameAvailable = nameAvailable;
Reason = reason;
Message = message;
}
/// <summary> Indicates whether the name is available or not. </summary>
public bool? NameAvailable { get; }
/// <summary> The reason of the availability. Required if name is not available. </summary>
public string Reason { get; }
/// <summary> The message of the operation. </summary>
public string Message { get; }
}
}