Class SearchAssistant
java.lang.Object
com.azure.resourcemanager.botservice.models.Channel
com.azure.resourcemanager.botservice.models.SearchAssistant
- All Implemented Interfaces:
com.azure.json.JsonSerializable<Channel>
SearchAssistant definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the channelName property: The channel name.static SearchAssistantfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchAssistant from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the etag property: Entity Tag of the resource.withLocation(String location) Set the location property: Specifies the location of the resource.Methods inherited from class com.azure.resourcemanager.botservice.models.Channel
etag, location, provisioningStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SearchAssistant
public SearchAssistant()Creates an instance of SearchAssistant class.
-
-
Method Details
-
channelName
Get the channelName property: The channel name.- Overrides:
channelNamein classChannel- Returns:
- the channelName value.
-
withEtag
Set the etag property: Entity Tag of the resource. -
withLocation
Set the location property: Specifies the location of the resource.- Overrides:
withLocationin classChannel- Parameters:
location- the location value to set.- Returns:
- the Channel object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classChannel- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<Channel>- Overrides:
toJsonin classChannel- Throws:
IOException
-
fromJson
Reads an instance of SearchAssistant from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchAssistant if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SearchAssistant.
-