java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.rest.StatusRequestBody
All Implemented Interfaces:
Serializable

public class StatusRequestBody extends Object implements Serializable
StatusRequestBody provides a structure for passing a new GovernanceActionStatus.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Equals method that returns true if containing properties are the same.
    org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionStatus
    Return the status of the governance service.
    int
    Return hash code for this object
    void
    setStatus(org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionStatus status)
    Set up the status of the governance service.
    JSON-style toString.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • StatusRequestBody

      public StatusRequestBody()
      Default constructor
    • StatusRequestBody

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

    • getStatus

      public org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionStatus getStatus()
      Return the status of the governance service.
      Returns:
      status enum
    • setStatus

      public void setStatus(org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionStatus status)
      Set up the status of the governance service.
      Parameters:
      status - status enum
    • toString

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

      public boolean equals(Object objectToCompare)
      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()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code