Class DiscoveryRequestRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
org.odpi.openmetadata.accessservices.discoveryengine.rest.DiscoveryRequestRequestBody
All Implemented Interfaces:
Serializable

public class DiscoveryRequestRequestBody extends ODFOMASAPIRequestBody
CommentRequestBody provides a structure for passing a comment as a request body over a REST API.
See Also:
  • Field Details

    • analysisParameters

      protected Map<String,String> analysisParameters
    • annotationTypes

      protected List<String> annotationTypes
  • Constructor Details

    • DiscoveryRequestRequestBody

      public DiscoveryRequestRequestBody()
      Default constructor
    • DiscoveryRequestRequestBody

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

    • getAnalysisParameters

      public Map<String,String> getAnalysisParameters()
      Return the parameters used to drive the discovery service's analysis.
      Returns:
      map storing the analysis parameters
    • setAnalysisParameters

      public void setAnalysisParameters(Map<String,String> analysisParameters)
      Set up the parameters used to drive the discovery service's analysis.
      Parameters:
      analysisParameters - map storing the analysis parameters
    • getAnnotationTypes

      public List<String> getAnnotationTypes()
      Return the list of annotation types.
      Returns:
      list of type names
    • setAnnotationTypes

      public void setAnnotationTypes(List<String> annotationTypes)
      Set up the status of the discovery process.
      Parameters:
      annotationTypes - list of types
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class ODFOMASAPIRequestBody
      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