Class UpdateDiscoveryEngineRequestBody

All Implemented Interfaces:
Serializable

public class UpdateDiscoveryEngineRequestBody extends NewDiscoveryEngineRequestBody
UpdateDiscoveryEngineRequestBody provides a structure for passing the updated properties of a discovery engine as a request body over a REST API.
See Also:
  • Constructor Details

    • UpdateDiscoveryEngineRequestBody

      public UpdateDiscoveryEngineRequestBody()
      Default constructor
    • UpdateDiscoveryEngineRequestBody

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

    • getTypeDescription

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

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

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

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

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

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

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

      public void setSource(String source)
      Set up the source of the discovery 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 NewDiscoveryEngineRequestBody
      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 NewDiscoveryEngineRequestBody
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

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