Class OperationEntityInner
java.lang.Object
com.azure.resourcemanager.botservice.fluent.models.OperationEntityInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OperationEntityInner>
public final class OperationEntityInner
extends Object
implements com.azure.json.JsonSerializable<OperationEntityInner>
The operations supported by Bot Service Management.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplay()Get the display property: The operation supported by Bot Service Management.static OperationEntityInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OperationEntityInner from the JsonReader.name()Get the name property: Operation name: {provider}/{resource}/{operation}.origin()Get the origin property: The origin of the operation.Get the properties property: Additional properties.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDisplay(OperationDisplayInfo display) Set the display property: The operation supported by Bot Service Management.Set the name property: Operation name: {provider}/{resource}/{operation}.withOrigin(String origin) Set the origin property: The origin of the operation.withProperties(Object properties) Set the properties property: Additional properties.Methods 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
-
OperationEntityInner
public OperationEntityInner()Creates an instance of OperationEntityInner class.
-
-
Method Details
-
name
Get the name property: Operation name: {provider}/{resource}/{operation}.- Returns:
- the name value.
-
withName
Set the name property: Operation name: {provider}/{resource}/{operation}.- Parameters:
name- the name value to set.- Returns:
- the OperationEntityInner object itself.
-
display
Get the display property: The operation supported by Bot Service Management.- Returns:
- the display value.
-
withDisplay
Set the display property: The operation supported by Bot Service Management.- Parameters:
display- the display value to set.- Returns:
- the OperationEntityInner object itself.
-
origin
Get the origin property: The origin of the operation.- Returns:
- the origin value.
-
withOrigin
Set the origin property: The origin of the operation.- Parameters:
origin- the origin value to set.- Returns:
- the OperationEntityInner object itself.
-
properties
Get the properties property: Additional properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Additional properties.- Parameters:
properties- the properties value to set.- Returns:
- the OperationEntityInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<OperationEntityInner>- Throws:
IOException
-
fromJson
public static OperationEntityInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of OperationEntityInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of OperationEntityInner 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 OperationEntityInner.
-