Package com.symphony.bdk.gen.api.model
Class V1DLPPolicy
java.lang.Object
com.symphony.bdk.gen.api.model.V1DLPPolicy
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-09-12T12:09:03.158689390Z[Etc/UTC]")
public class V1DLPPolicy
extends Object
The policy object for expression filter, one policy can have multiple dictionaries
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddContentTypesItem
(String contentTypesItem) addDictionaryRefsItem
(V1DLPDictionaryRef dictionaryRefsItem) addScopesItem
(String scopesItem) contentTypes
(List<String> contentTypes) creationDate
(Long creationDate) dictionaryRefs
(List<V1DLPDictionaryRef> dictionaryRefs) boolean
Return true if this V1DLPPolicy object is equal to o.Indicate whether the policy is active or notThe list of content types that policy should apply to.Creation time of the policy in milliseconds elapsed as of epoch time.Numeric userId of the creatorList of dictionaries.Recent disable time of the policy in milliseconds elapsed as of epoch time.Recent update time of the policy in milliseconds elapsed as of epoch time.getName()
Unique name of a policy, max 30 characters.Policy IdList of communication scopes.getType()
Type of policy.The version of a dictionary, in format \"major.minor\".int
hashCode()
lastDisabledDate
(Long lastDisabledDate) lastUpdatedDate
(Long lastUpdatedDate) void
void
setContentTypes
(List<String> contentTypes) void
setCreationDate
(Long creationDate) void
setCreatorId
(String creatorId) void
setDictionaryRefs
(List<V1DLPDictionaryRef> dictionaryRefs) void
setLastDisabledDate
(Long lastDisabledDate) void
setLastUpdatedDate
(Long lastUpdatedDate) void
void
setPolicyId
(String policyId) void
void
void
setVersion
(String version) toString()
-
Field Details
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_CONTENT_TYPES
- See Also:
-
JSON_PROPERTY_CREATION_DATE
- See Also:
-
JSON_PROPERTY_CREATOR_ID
- See Also:
-
JSON_PROPERTY_DICTIONARY_REFS
- See Also:
-
JSON_PROPERTY_LAST_DISABLED_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATED_DATE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_POLICY_ID
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
V1DLPPolicy
public V1DLPPolicy()
-
-
Method Details
-
active
-
getActive
Indicate whether the policy is active or not- Returns:
- active
-
setActive
-
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
-
creationDate
-
getCreationDate
Creation time of the policy in milliseconds elapsed as of epoch time.- Returns:
- creationDate
-
setCreationDate
-
creatorId
-
getCreatorId
Numeric userId of the creator- Returns:
- creatorId
-
setCreatorId
-
dictionaryRefs
-
addDictionaryRefsItem
-
getDictionaryRefs
List of dictionaries.- Returns:
- dictionaryRefs
-
setDictionaryRefs
-
lastDisabledDate
-
getLastDisabledDate
Recent disable time of the policy in milliseconds elapsed as of epoch time.- Returns:
- lastDisabledDate
-
setLastDisabledDate
-
lastUpdatedDate
-
getLastUpdatedDate
Recent update time of the policy in milliseconds elapsed as of epoch time.- Returns:
- lastUpdatedDate
-
setLastUpdatedDate
-
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
-
policyId
-
getPolicyId
Policy Id- Returns:
- policyId
-
setPolicyId
-
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
-
version
-
getVersion
The version of a dictionary, in format \"major.minor\". Initial value will set by backend as \"1.0\" when created. Whenever the dictionary version needs to be changed, the minor version by 1 unless minor == 999, then the major version is increased by 1 until it reaches 999.- Returns:
- version
-
setVersion
-
equals
Return true if this V1DLPPolicy object is equal to o. -
hashCode
public int hashCode() -
toString
-