java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.rest.StatusRequestBody

@Deprecated public class StatusRequestBody extends Object
Deprecated.
StatusRequestBody provides a structure for passing a new GovernanceActionStatus.
  • Constructor Details

    • StatusRequestBody

      public StatusRequestBody()
      Deprecated.
      Default constructor
    • StatusRequestBody

      public StatusRequestBody(StatusRequestBody template)
      Deprecated.
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getStatus

      public GovernanceActionStatus getStatus()
      Deprecated.
      Return the status of the governance service.
      Returns:
      status enum
    • setStatus

      public void setStatus(GovernanceActionStatus status)
      Deprecated.
      Set up the status of the governance service.
      Parameters:
      status - status enum
    • toString

      public String toString()
      Deprecated.
      JSON-style toString.
      Overrides:
      toString in class Object
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Deprecated.
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Deprecated.
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code