Class GovernanceStatusRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.GovernanceStatusRequestBody

public class GovernanceStatusRequestBody extends ExternalSourceRequestBody
GovernanceDefinitionRequestBody provides a structure used when creating governance definitions.
  • Constructor Details

    • GovernanceStatusRequestBody

      public GovernanceStatusRequestBody()
      Default constructor
    • GovernanceStatusRequestBody

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

    • getStatus

      public GovernanceDefinitionStatus getStatus()
      Return the initial status of the governance definition.
      Returns:
      instance status
    • setStatus

      public void setStatus(GovernanceDefinitionStatus status)
      Set up the initial status of the governance definition.
      Parameters:
      status - instance status
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class ExternalSourceRequestBody
      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 ExternalSourceRequestBody
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

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