Class SecurityTagsRequestBody

  • All Implemented Interfaces:
    Serializable

    public class SecurityTagsRequestBody
    extends AssetOwnerOMASAPIRequestBody
    SecurityTagsRequestBody provides a structure for passing information about the security tags that should be attached to an asset or one of its fields.
    See Also:
    Serialized Form
    • Constructor Detail

      • SecurityTagsRequestBody

        public SecurityTagsRequestBody()
        Default constructor
      • SecurityTagsRequestBody

        public SecurityTagsRequestBody​(SecurityTagsRequestBody template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getSecurityLabels

        public List<String> getSecurityLabels()
        Return the list of security labels that should be attached to this element.
        Returns:
        list of strings
      • setSecurityLabels

        public void setSecurityLabels​(List<String> securityLabels)
        Set up the list of security labels that should be attached to this element.
        Parameters:
        securityLabels - list of strings
      • getSecurityProperties

        public Map<String,​Object> getSecurityProperties()
        Return the security properties that should be attached to this element.
        Returns:
        map of property values
      • setSecurityProperties

        public void setSecurityProperties​(Map<String,​Object> securityProperties)
        Set up the security properties that should be attached to this element.
        Parameters:
        securityProperties - map of property values
      • equals

        public boolean equals​(Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison
      • hashCode

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