Class GovernanceRoleRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.GovernanceRoleRequestBody
GovernanceDefinitionRequestBody provides a structure used when creating governance definitions.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the properties of the governance role.int
hashCode()
Return hash code for this objectvoid
setProperties
(GovernanceRoleProperties properties) Set up the properties of the governance role.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
GovernanceRoleRequestBody
public GovernanceRoleRequestBody()Default constructor -
GovernanceRoleRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getProperties
Return the properties of the governance role.- Returns:
- properties
-
setProperties
Set up the properties of the governance role.- Parameters:
properties
- properties
-
toString
JSON-style toString.- Overrides:
toString
in classExternalSourceRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classExternalSourceRequestBody
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classExternalSourceRequestBody
- Returns:
- int hash code
-