Class UpdateGovernanceServiceRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.rest.NewGovernanceServiceRequestBody
org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateGovernanceServiceRequestBody
UpdateGovernanceServiceRequestBody provides a structure for passing the updated properties of a governance service
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.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.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.governanceengine.rest.NewGovernanceServiceRequestBody
getConnection, getDeployedImplementationType, getDescription, getDisplayName, getQualifiedName, getVersionIdentifier, setConnection, setDeployedImplementationType, setDescription, setDisplayName, setQualifiedName, setVersionIdentifier
-
Constructor Details
-
UpdateGovernanceServiceRequestBody
public UpdateGovernanceServiceRequestBody()Default constructor -
UpdateGovernanceServiceRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
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 classNewGovernanceServiceRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classNewGovernanceServiceRequestBody
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classNewGovernanceServiceRequestBody
- Returns:
- int hash code
-