Class UpdateDiscoveryEngineRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.discoveryengine.rest.NewDiscoveryEngineRequestBody
-
- org.odpi.openmetadata.accessservices.discoveryengine.rest.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateDiscoveryEngineRequestBody()Default constructorUpdateDiscoveryEngineRequestBody(UpdateDiscoveryEngineRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.Map<String,String>getAdditionalProperties()Return a copy of the additional properties.Map<String,Object>getExtendedProperties()Return a copy of the properties from subclasses.StringgetPatchLevel()Return the patch level of the discovery engine.StringgetSource()Return the source of the discovery engine implementation.StringgetTypeDescription()Return the description of the type of discovery engine this is.StringgetVersion()Return the version of the discovery engine.inthashCode()Return hash code for this objectvoidsetAdditionalProperties(Map<String,String> additionalProperties)Set up additional properties.voidsetExtendedProperties(Map<String,Object> extendedProperties)Set up properties from subclasses properties.voidsetPatchLevel(String patchLevel)Set up the patch level of the discovery engine.voidsetSource(String source)Set up the source of the discovery engine implementation.voidsetTypeDescription(String typeDescription)Set up the description of the type of discovery engine this is.voidsetVersion(String version)Set up the version string of the discovery engine.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.discoveryengine.rest.NewDiscoveryEngineRequestBody
getDescription, getDisplayName, getQualifiedName, setDescription, setDisplayName, setQualifiedName
-
-
-
-
Constructor Detail
-
UpdateDiscoveryEngineRequestBody
public UpdateDiscoveryEngineRequestBody()
Default constructor
-
UpdateDiscoveryEngineRequestBody
public UpdateDiscoveryEngineRequestBody(UpdateDiscoveryEngineRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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:
toStringin classNewDiscoveryEngineRequestBody- 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:
equalsin classNewDiscoveryEngineRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classNewDiscoveryEngineRequestBody- Returns:
- int hash code
-
-