Class StatusRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.gaf.rest.StatusRequestBody
-
- All Implemented Interfaces:
Serializable
public class StatusRequestBody extends Object implements Serializable
StatusRequestBody provides a structure for passing a new GovernanceActionStatus.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StatusRequestBody()Default constructorStatusRequestBody(StatusRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.GovernanceActionStatusgetStatus()Return the status of the governance service.inthashCode()Return hash code for this objectvoidsetStatus(GovernanceActionStatus status)Set up the status of the governance service.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
StatusRequestBody
public StatusRequestBody()
Default constructor
-
StatusRequestBody
public StatusRequestBody(StatusRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getStatus
public GovernanceActionStatus getStatus()
Return the status of the governance service.- Returns:
- status enum
-
setStatus
public void setStatus(GovernanceActionStatus status)
Set up the status of the governance service.- Parameters:
status- status enum
-
toString
public String toString()
JSON-style toString.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-