Class SecureLocationRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.rest.SecureLocationRequestBody
-
- All Implemented Interfaces:
Serializable
public class SecureLocationRequestBody extends Object implements Serializable
SecureLocationRequestBody carries the parameters for marking a location as secure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecureLocationRequestBody()Default constructorSecureLocationRequestBody(SecureLocationRequestBody 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.StringgetDescription()Return the description of security at the site.StringgetLevel()Return the level of security.inthashCode()Return hash code for this objectvoidsetDescription(String description)Set up description of security at the site.voidsetLevel(String level)Set up the level of security.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
SecureLocationRequestBody
public SecureLocationRequestBody()
Default constructor
-
SecureLocationRequestBody
public SecureLocationRequestBody(SecureLocationRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getDescription
public String getDescription()
Return the description of security at the site.- Returns:
- text
-
setDescription
public void setDescription(String description)
Set up description of security at the site.- Parameters:
description- text
-
getLevel
public String getLevel()
Return the level of security.- Returns:
- string
-
setLevel
public void setLevel(String level)
Set up the level of security.- Parameters:
level- string
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-