Class UpdateGovernanceEngineRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.rest.NewGovernanceEngineRequestBody
org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateGovernanceEngineRequestBody

public class UpdateGovernanceEngineRequestBody extends NewGovernanceEngineRequestBody
UpdateGovernanceEngineRequestBody provides a structure for passing the updated properties of a governance engine as a request body over a REST API.
  • Constructor Details

    • UpdateGovernanceEngineRequestBody

      public UpdateGovernanceEngineRequestBody()
      Default constructor
    • UpdateGovernanceEngineRequestBody

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

    • getTypeDescription

      public String getTypeDescription()
      Return the description of the type of governance engine this is.
      Returns:
      string description
    • setTypeDescription

      public void setTypeDescription(String typeDescription)
      Set up the description of the type of governance engine this is.
      Parameters:
      typeDescription - string
    • getVersion

      public String getVersion()
      Return the version of the governance engine.
      Returns:
      version string
    • setVersion

      public void setVersion(String version)
      Set up the version string of the governance engine.
      Parameters:
      version - string
    • getPatchLevel

      public String getPatchLevel()
      Return the patch level of the governance engine.
      Returns:
      patch level string
    • setPatchLevel

      public void setPatchLevel(String patchLevel)
      Set up the patch level of the governance engine.
      Parameters:
      patchLevel - string
    • getSource

      public String getSource()
      Return the source of the governance engine implementation.
      Returns:
      string url
    • setSource

      public void setSource(String source)
      Set up the source of the governance engine implementation.
      Parameters:
      source - string url
    • 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 NewGovernanceEngineRequestBody
      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 NewGovernanceEngineRequestBody
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

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