OperationDisplayInfo Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. OperationDisplayInfo
- com.
Implements
public final class OperationDisplayInfo
implements JsonSerializable<OperationDisplayInfo>
The operation supported by Bot Service Management.
Constructor Summary
| Constructor | Description |
|---|---|
| OperationDisplayInfo() |
Creates an instance of Operation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: The description of the operation. |
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
| String |
operation()
Get the operation property: The action that users can perform, based on their permission level. |
| String |
provider()
Get the provider property: Service provider: Microsoft Bot Service. |
| String |
resource()
Get the resource property: Resource on which the operation is performed. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Operation |
withDescription(String description)
Set the description property: The description of the operation. |
|
Operation |
withOperation(String operation)
Set the operation property: The action that users can perform, based on their permission level. |
|
Operation |
withProvider(String provider)
Set the provider property: Service provider: Microsoft Bot Service. |
|
Operation |
withResource(String resource)
Set the resource property: Resource on which the operation is performed. |
Methods inherited from java.lang.Object
Constructor Details
OperationDisplayInfo
public OperationDisplayInfo()
Creates an instance of OperationDisplayInfo class.
Method Details
description
public String description()
Get the description property: The description of the operation.
Returns:
fromJson
public static OperationDisplayInfo fromJson(JsonReader jsonReader)
Reads an instance of OperationDisplayInfo from the JsonReader.
Parameters:
Returns:
Throws:
operation
public String operation()
Get the operation property: The action that users can perform, based on their permission level.
Returns:
provider
public String provider()
Get the provider property: Service provider: Microsoft Bot Service.
Returns:
resource
public String resource()
Get the resource property: Resource on which the operation is performed.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public OperationDisplayInfo withDescription(String description)
Set the description property: The description of the operation.
Parameters:
Returns:
withOperation
public OperationDisplayInfo withOperation(String operation)
Set the operation property: The action that users can perform, based on their permission level.
Parameters:
Returns:
withProvider
public OperationDisplayInfo withProvider(String provider)
Set the provider property: Service provider: Microsoft Bot Service.
Parameters:
Returns:
withResource
public OperationDisplayInfo withResource(String resource)
Set the resource property: Resource on which the operation is performed.
Parameters:
Returns: