CheckNameAvailabilityRequestBody Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. CheckNameAvailabilityRequestBody
- com.
Implements
public final class CheckNameAvailabilityRequestBody
implements JsonSerializable<CheckNameAvailabilityRequestBody>
The request body for a request to Bot Service Management to check availability of a bot name.
Constructor Summary
| Constructor | Description |
|---|---|
| CheckNameAvailabilityRequestBody() |
Creates an instance of Check |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Check |
fromJson(JsonReader jsonReader)
Reads an instance of Check |
| String |
name()
Get the name property: the name of the bot for which availability needs to be checked. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: the type of the bot for which availability needs to be checked. |
| void |
validate()
Validates the instance. |
|
Check |
withName(String name)
Set the name property: the name of the bot for which availability needs to be checked. |
|
Check |
withType(String type)
Set the type property: the type of the bot for which availability needs to be checked. |
Methods inherited from java.lang.Object
Constructor Details
CheckNameAvailabilityRequestBody
public CheckNameAvailabilityRequestBody()
Creates an instance of CheckNameAvailabilityRequestBody class.
Method Details
fromJson
public static CheckNameAvailabilityRequestBody fromJson(JsonReader jsonReader)
Reads an instance of CheckNameAvailabilityRequestBody from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: the name of the bot for which availability needs to be checked.
Returns:
toJson
type
public String type()
Get the type property: the type of the bot for which availability needs to be checked.
Returns:
validate
public void validate()
Validates the instance.
withName
public CheckNameAvailabilityRequestBody withName(String name)
Set the name property: the name of the bot for which availability needs to be checked.
Parameters:
Returns:
withType
public CheckNameAvailabilityRequestBody withType(String type)
Set the type property: the type of the bot for which availability needs to be checked.
Parameters:
Returns: