Package com.symphony.bdk.gen.api.model
Class V1DLPPolicyRequest
java.lang.Object
com.symphony.bdk.gen.api.model.V1DLPPolicyRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-09-12T12:09:03.158689390Z[Etc/UTC]")
public class V1DLPPolicyRequest
extends Object
The policy object to use for creating/updating a policy.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddContentTypesItem
(String contentTypesItem) addDictionaryIdsItem
(String dictionaryIdsItem) addScopesItem
(String scopesItem) contentTypes
(List<String> contentTypes) dictionaryIds
(List<String> dictionaryIds) boolean
Return true if this V1DLPPolicyRequest object is equal to o.The list of content types that policy should apply to.List of dictionaries Ids for the policy.getName()
Unique name of a policy, max 30 characters.List of communication scopes.getType()
Type of policy.int
hashCode()
void
setContentTypes
(List<String> contentTypes) void
setDictionaryIds
(List<String> dictionaryIds) void
void
void
toString()
-
Field Details
-
JSON_PROPERTY_CONTENT_TYPES
- See Also:
-
JSON_PROPERTY_DICTIONARY_IDS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
V1DLPPolicyRequest
public V1DLPPolicyRequest()
-
-
Method Details
-
contentTypes
-
addContentTypesItem
-
getContentTypes
The list of content types that policy should apply to. Cannot be empty. Policy content types could be either of \"Messages\", \"RoomMeta\", \"SignalMeta\". Default is set to [\"Messages\"] if not specified.- Returns:
- contentTypes
-
setContentTypes
-
dictionaryIds
-
addDictionaryIdsItem
-
getDictionaryIds
List of dictionaries Ids for the policy.- Returns:
- dictionaryIds
-
setDictionaryIds
-
name
-
getName
Unique name of a policy, max 30 characters. Cannot be empty. All the leading and trailing blank spaces are trimmed.- Returns:
- name
-
setName
-
scopes
-
addScopesItem
-
getScopes
List of communication scopes. Possible values are \"Internal\" (for Internal conversations) or \"External\" (for External conversations). You can apply both scopes if you set it to [\"Internal\", \"External\"].- Returns:
- scopes
-
setScopes
-
type
-
getType
Type of policy. Possible values \"Block\" or \"Warn\".- Returns:
- type
-
setType
-
equals
Return true if this V1DLPPolicyRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-