Class SecureLocationRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.SecureLocationRequestBody

public class SecureLocationRequestBody extends Object
SecureLocationRequestBody carries the parameters for marking a location as secure.
  • Constructor Details

    • SecureLocationRequestBody

      public SecureLocationRequestBody()
      Default constructor
    • SecureLocationRequestBody

      public SecureLocationRequestBody(SecureLocationRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • 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
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code