Class UpdateGovernanceServiceRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.rest.NewGovernanceServiceRequestBody
org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateGovernanceServiceRequestBody

public class UpdateGovernanceServiceRequestBody extends NewGovernanceServiceRequestBody
UpdateGovernanceServiceRequestBody provides a structure for passing the updated properties of a governance service as a request body over a REST API.
  • Constructor Details

    • UpdateGovernanceServiceRequestBody

      public UpdateGovernanceServiceRequestBody()
      Default constructor
    • UpdateGovernanceServiceRequestBody

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

    • setAdditionalProperties

      public void setAdditionalProperties(Map<String,String> additionalProperties)
      Set up additional properties.
      Parameters:
      additionalProperties - Additional properties object
    • getAdditionalProperties

      public Map<String,String> getAdditionalProperties()
      Return a copy of the additional properties. Null means no additional properties are available.
      Returns:
      AdditionalProperties
    • setExtendedProperties

      public void setExtendedProperties(Map<String,Object> extendedProperties)
      Set up properties from subclasses properties.
      Parameters:
      extendedProperties - asset properties map
    • getExtendedProperties

      public Map<String,Object> getExtendedProperties()
      Return a copy of the properties from subclasses. Null means no extended properties are available.
      Returns:
      asset property map
    • toString

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

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