Class 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 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
        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