Class UpdateGovernanceEngineRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.rest.NewGovernanceEngineRequestBody
org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateGovernanceEngineRequestBody
UpdateGovernanceEngineRequestBody provides a structure for passing the updated properties of a governance engine
as a request body over a REST API.
-
Constructor Summary
ConstructorDescriptionDefault 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 governance engine.Return the source of the governance engine implementation.Return the description of the type of governance engine this is.Return the version of the governance 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 governance engine.void
Set up the source of the governance engine implementation.void
setTypeDescription
(String typeDescription) Set up the description of the type of governance engine this is.void
setVersion
(String version) Set up the version string of the governance engine.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.governanceengine.rest.NewGovernanceEngineRequestBody
getDescription, getDisplayName, getQualifiedName, setDescription, setDisplayName, setQualifiedName
-
Constructor Details
-
UpdateGovernanceEngineRequestBody
public UpdateGovernanceEngineRequestBody()Default constructor -
UpdateGovernanceEngineRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getTypeDescription
Return the description of the type of governance engine this is.- Returns:
- string description
-
setTypeDescription
Set up the description of the type of governance engine this is.- Parameters:
typeDescription
- string
-
getVersion
Return the version of the governance engine.- Returns:
- version string
-
setVersion
Set up the version string of the governance engine.- Parameters:
version
- string
-
getPatchLevel
Return the patch level of the governance engine.- Returns:
- patch level string
-
setPatchLevel
Set up the patch level of the governance engine.- Parameters:
patchLevel
- string
-
getSource
Return the source of the governance engine implementation.- Returns:
- string url
-
setSource
Set up the source of the governance 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 classNewGovernanceEngineRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classNewGovernanceEngineRequestBody
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classNewGovernanceEngineRequestBody
- Returns:
- int hash code
-