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
UpdateDiscoveryEngineRequestBody provides a structure for passing the updated properties of a discovery engine
as a request body over a REST API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return a copy of the additional properties.Return a copy of the properties from subclasses.Return the patch level of the discovery engine.Return the source of the discovery engine implementation.Return the description of the type of discovery engine this is.Return the version of the discovery engine.int
hashCode()
Return hash code for this objectvoid
setAdditionalProperties
(Map<String, String> additionalProperties) Set up additional properties.void
setExtendedProperties
(Map<String, Object> extendedProperties) Set up properties from subclasses properties.void
setPatchLevel
(String patchLevel) Set up the patch level of the discovery engine.void
Set up the source of the discovery engine implementation.void
setTypeDescription
(String typeDescription) Set up the description of the type of discovery engine this is.void
setVersion
(String version) Set up the version string of the discovery engine.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.discoveryengine.rest.NewDiscoveryEngineRequestBody
getDescription, getDisplayName, getQualifiedName, setDescription, setDisplayName, setQualifiedName
-
Constructor Details
-
UpdateDiscoveryEngineRequestBody
public UpdateDiscoveryEngineRequestBody()Default constructor -
UpdateDiscoveryEngineRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getTypeDescription
Return the description of the type of discovery engine this is.- Returns:
- string description
-
setTypeDescription
Set up the description of the type of discovery engine this is.- Parameters:
typeDescription
- string
-
getVersion
Return the version of the discovery engine.- Returns:
- version string
-
setVersion
Set up the version string of the discovery engine.- Parameters:
version
- string
-
getPatchLevel
Return the patch level of the discovery engine.- Returns:
- patch level string
-
setPatchLevel
Set up the patch level of the discovery engine.- Parameters:
patchLevel
- string
-
getSource
Return the source of the discovery engine implementation.- Returns:
- string url
-
setSource
Set up the source of the discovery engine implementation.- Parameters:
source
- string url
-
setAdditionalProperties
Set up additional properties.- Parameters:
additionalProperties
- Additional properties object
-
getAdditionalProperties
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
setExtendedProperties
Set up properties from subclasses properties.- Parameters:
extendedProperties
- asset properties map
-
getExtendedProperties
Return a copy of the properties from subclasses. Null means no extended properties are available.- Returns:
- asset property map
-
toString
JSON-style toString.- Overrides:
toString
in classNewDiscoveryEngineRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classNewDiscoveryEngineRequestBody
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classNewDiscoveryEngineRequestBody
- Returns:
- int hash code
-