Class DigitalLocationRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.rest.DigitalLocationRequestBody
-
- All Implemented Interfaces:
Serializable
public class DigitalLocationRequestBody extends Object implements Serializable
DigitalLocationRequestBody carries the parameters for marking a location as a digital (cyber) location.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DigitalLocationRequestBody()Default constructorDigitalLocationRequestBody(DigitalLocationRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetNetworkAddress()Return the network address used to connect to the location.inthashCode()Return hash code for this objectvoidsetNetworkAddress(String networkAddress)Set up the network address used to connect to the location.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
DigitalLocationRequestBody
public DigitalLocationRequestBody()
Default constructor
-
DigitalLocationRequestBody
public DigitalLocationRequestBody(DigitalLocationRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getNetworkAddress
public String getNetworkAddress()
Return the network address used to connect to the location.- Returns:
- string name - often a URL
-
setNetworkAddress
public void setNetworkAddress(String networkAddress)
Set up the network address used to connect to the location.- Parameters:
networkAddress- string name - often a URL
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-