CheckNameAvailabilityResponseBodyInner Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. fluent. models. CheckNameAvailabilityResponseBodyInner
- com.
Implements
public final class CheckNameAvailabilityResponseBodyInner
implements JsonSerializable<CheckNameAvailabilityResponseBodyInner>
The response body returned for a request to Bot Service Management to check availability of a bot name.
Constructor Summary
| Constructor | Description |
|---|---|
| CheckNameAvailabilityResponseBodyInner() |
Creates an instance of Check |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
absCode()
Get the abs |
|
static
Check |
fromJson(JsonReader jsonReader)
Reads an instance of Check |
| String |
message()
Get the message property: additional message from the bot management api showing why a bot name is not available. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Boolean |
valid()
Get the valid property: indicates if the bot name is valid. |
| void |
validate()
Validates the instance. |
|
Check |
withAbsCode(String absCode)
Set the abs |
|
Check |
withMessage(String message)
Set the message property: additional message from the bot management api showing why a bot name is not available. |
|
Check |
withValid(Boolean valid)
Set the valid property: indicates if the bot name is valid. |
Methods inherited from java.lang.Object
Constructor Details
CheckNameAvailabilityResponseBodyInner
public CheckNameAvailabilityResponseBodyInner()
Creates an instance of CheckNameAvailabilityResponseBodyInner class.
Method Details
absCode
public String absCode()
Get the absCode property: response code from ABS.
Returns:
fromJson
public static CheckNameAvailabilityResponseBodyInner fromJson(JsonReader jsonReader)
Reads an instance of CheckNameAvailabilityResponseBodyInner from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: additional message from the bot management api showing why a bot name is not available.
Returns:
toJson
valid
public Boolean valid()
Get the valid property: indicates if the bot name is valid.
Returns:
validate
public void validate()
Validates the instance.
withAbsCode
public CheckNameAvailabilityResponseBodyInner withAbsCode(String absCode)
Set the absCode property: response code from ABS.
Parameters:
Returns:
withMessage
public CheckNameAvailabilityResponseBodyInner withMessage(String message)
Set the message property: additional message from the bot management api showing why a bot name is not available.
Parameters:
Returns:
withValid
public CheckNameAvailabilityResponseBodyInner withValid(Boolean valid)
Set the valid property: indicates if the bot name is valid.
Parameters:
Returns: