Class PortRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.itinfrastructure.rest.ITInfrastructureOMASAPIRequestBody
org.odpi.openmetadata.accessservices.itinfrastructure.rest.MetadataSourceRequestBody
org.odpi.openmetadata.accessservices.itinfrastructure.rest.PortRequestBody
- All Implemented Interfaces:
Serializable
PortRequestBody describes the request body used to create/update port properties.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorPortRequestBody
(PortRequestBody template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the properties for the element.int
hashCode()
Return hash code for this objectvoid
setElementProperties
(PortProperties elementProperties) Set up the properties for the element.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.itinfrastructure.rest.MetadataSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
PortRequestBody
public PortRequestBody()Default constructor -
PortRequestBody
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getElementProperties
Return the properties for the element.- Returns:
- properties object
-
setElementProperties
Set up the properties for the element.- Parameters:
elementProperties
- properties object
-
toString
JSON-style toString- Overrides:
toString
in classMetadataSourceRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classMetadataSourceRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classMetadataSourceRequestBody
- Returns:
- int hash code
-