Class SecurityTagsRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.assetowner.rest.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 Summary
Constructors Constructor Description SecurityTagsRequestBody()Default constructorSecurityTagsRequestBody(SecurityTagsRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.List<String>getSecurityLabels()Return the list of security labels that should be attached to this element.Map<String,Object>getSecurityProperties()Return the security properties that should be attached to this element.inthashCode()Return hash code for this objectvoidsetSecurityLabels(List<String> securityLabels)Set up the list of security labels that should be attached to this element.voidsetSecurityProperties(Map<String,Object> securityProperties)Set up the security properties that should be attached to this element.StringtoString()JSON-style toString.
-
-
-
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
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classAssetOwnerOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-