Class StatusRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.StatusRequestBody
StatusRequestBody provides a structure for passing a new EngineActionStatus.
-
Constructor Summary
ConstructorDescriptionDefault constructorStatusRequestBody
(StatusRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the status of the governance service.int
hashCode()
Return hash code for this objectvoid
setStatus
(EngineActionStatus status) Set up the status of the governance service.toString()
JSON-style toString.
-
Constructor Details
-
StatusRequestBody
public StatusRequestBody()Default constructor -
StatusRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getStatus
Return the status of the governance service.- Returns:
- status enum
-
setStatus
Set up the status of the governance service.- Parameters:
status
- status enum
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-