OperationInner Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. fluent. models. OperationInner
- com.
Implements
public final class OperationInner
implements JsonSerializable<OperationInner>
Represents an operation returned by the GetOperations request.
Constructor Summary
| Constructor | Description |
|---|---|
| OperationInner() |
Creates an instance of Operation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Operation |
display()
Get the display property: Display name of the operation. |
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
| Boolean |
isDataAction()
Get the is |
| String |
name()
Get the name property: Name of the operation. |
| String |
origin()
Get the origin property: Origin of the operation. |
| Object |
properties()
Get the properties property: Properties of the operation. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Operation |
withDisplay(OperationInfo display)
Set the display property: Display name of the operation. |
|
Operation |
withIsDataAction(Boolean isDataAction)
Set the is |
|
Operation |
withName(String name)
Set the name property: Name of the operation. |
|
Operation |
withOrigin(String origin)
Set the origin property: Origin of the operation. |
|
Operation |
withProperties(Object properties)
Set the properties property: Properties of the operation. |
Methods inherited from java.lang.Object
Constructor Details
OperationInner
public OperationInner()
Creates an instance of OperationInner class.
Method Details
display
public OperationInfo display()
Get the display property: Display name of the operation.
Returns:
fromJson
public static OperationInner fromJson(JsonReader jsonReader)
Reads an instance of OperationInner from the JsonReader.
Parameters:
Returns:
Throws:
isDataAction
public Boolean isDataAction()
Get the isDataAction property: This Boolean is used to determine if the operation is a data plane action or not.
Returns:
name
public String name()
Get the name property: Name of the operation.
Returns:
origin
public String origin()
Get the origin property: Origin of the operation.
Returns:
properties
public Object properties()
Get the properties property: Properties of the operation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplay
public OperationInner withDisplay(OperationInfo display)
Set the display property: Display name of the operation.
Parameters:
Returns:
withIsDataAction
public OperationInner withIsDataAction(Boolean isDataAction)
Set the isDataAction property: This Boolean is used to determine if the operation is a data plane action or not.
Parameters:
Returns:
withName
public OperationInner withName(String name)
Set the name property: Name of the operation.
Parameters:
Returns:
withOrigin
public OperationInner withOrigin(String origin)
Set the origin property: Origin of the operation.
Parameters:
Returns:
withProperties
public OperationInner withProperties(Object properties)
Set the properties property: Properties of the operation.
Parameters:
Returns: