Class UpdateGovernanceEngineRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceengine.rest.NewGovernanceEngineRequestBody
-
- org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateGovernanceEngineRequestBody
-
- All Implemented Interfaces:
Serializable
public class UpdateGovernanceEngineRequestBody extends NewGovernanceEngineRequestBody
UpdateGovernanceEngineRequestBody provides a structure for passing the updated properties of a governance engine as a request body over a REST API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateGovernanceEngineRequestBody()Default constructorUpdateGovernanceEngineRequestBody(UpdateGovernanceEngineRequestBody 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 governance engine.StringgetSource()Return the source of the governance engine implementation.StringgetTypeDescription()Return the description of the type of governance engine this is.StringgetVersion()Return the version of the governance 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 governance engine.voidsetSource(String source)Set up the source of the governance engine implementation.voidsetTypeDescription(String typeDescription)Set up the description of the type of governance engine this is.voidsetVersion(String version)Set up the version string of the governance engine.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceengine.rest.NewGovernanceEngineRequestBody
getDescription, getDisplayName, getQualifiedName, setDescription, setDisplayName, setQualifiedName
-
-
-
-
Constructor Detail
-
UpdateGovernanceEngineRequestBody
public UpdateGovernanceEngineRequestBody()
Default constructor
-
UpdateGovernanceEngineRequestBody
public UpdateGovernanceEngineRequestBody(UpdateGovernanceEngineRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getTypeDescription
public String getTypeDescription()
Return the description of the type of governance engine this is.- Returns:
- string description
-
setTypeDescription
public void setTypeDescription(String typeDescription)
Set up the description of the type of governance engine this is.- Parameters:
typeDescription- string
-
getVersion
public String getVersion()
Return the version of the governance engine.- Returns:
- version string
-
setVersion
public void setVersion(String version)
Set up the version string of the governance engine.- Parameters:
version- string
-
getPatchLevel
public String getPatchLevel()
Return the patch level of the governance engine.- Returns:
- patch level string
-
setPatchLevel
public void setPatchLevel(String patchLevel)
Set up the patch level of the governance engine.- Parameters:
patchLevel- string
-
getSource
public String getSource()
Return the source of the governance engine implementation.- Returns:
- string url
-
setSource
public void setSource(String source)
Set up the source of the governance 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 classNewGovernanceEngineRequestBody- 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 classNewGovernanceEngineRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classNewGovernanceEngineRequestBody- Returns:
- int hash code
-
-