Package com.symphony.bdk.gen.api.model
Class V3DLPPolicy
java.lang.Object
com.symphony.bdk.gen.api.model.V3DLPPolicy
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-09-12T12:09:03.158689390Z[Etc/UTC]")
public class V3DLPPolicy
extends Object
A policy is the main entity of V3 policy/rule system. It is responsible to define rules and add scope constraints to the engine.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAppliesToItem
(V3DLPPolicyAppliesTo appliesToItem) addScopesItem
(String scopesItem) appliesTo
(List<V3DLPPolicyAppliesTo> appliesTo) creationDate
(Long creationDate) boolean
Return true if this V3DLPPolicy object is equal to o.Indicate whether the policy is active or not.Get appliesToCreation time of the policy in milliseconds elapsed as of epoch time.Numeric userId of the creator.Indicate whether the policy is deleted or not.getId()
Unique identifier for policy.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 policy, max 30 characters.Policy Id.List of communication scopes.Get systemPolicyThe version of the policy, in format \"major.minor\".int
hashCode()
lastDisabledDate
(Long lastDisabledDate) lastUpdatedDate
(Long lastUpdatedDate) void
void
setAppliesTo
(List<V3DLPPolicyAppliesTo> appliesTo) void
setCreationDate
(Long creationDate) void
setCreatorId
(Long creatorId) void
setDeleted
(Boolean deleted) void
void
setLastDisabledDate
(Long lastDisabledDate) void
setLastUpdatedDate
(Long lastUpdatedDate) void
void
setPolicyId
(String policyId) void
void
setSystemPolicy
(Boolean systemPolicy) void
setVersion
(String version) systemPolicy
(Boolean systemPolicy) toString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_POLICY_ID
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_CREATOR_ID
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
JSON_PROPERTY_APPLIES_TO
- See Also:
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_DELETED
- See Also:
-
JSON_PROPERTY_CREATION_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATED_DATE
- See Also:
-
JSON_PROPERTY_LAST_DISABLED_DATE
- See Also:
-
JSON_PROPERTY_SYSTEM_POLICY
- See Also:
-
-
Constructor Details
-
V3DLPPolicy
public V3DLPPolicy()
-
-
Method Details
-
id
-
getId
Unique identifier for policy.- Returns:
- id
-
setId
-
policyId
-
getPolicyId
Policy Id.- Returns:
- policyId
-
setPolicyId
-
version
-
getVersion
The version of the policy, in format \"major.minor\". Initial value will set by backend as \"3.0\" when created. Whenever the policy 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
-
name
-
getName
Unique name of policy, max 30 characters. Cannot be empty. All the leading and trailing blank spaces are trimmed.- Returns:
- name
-
setName
-
creatorId
-
getCreatorId
Numeric userId of the creator.- Returns:
- creatorId
-
setCreatorId
-
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
-
appliesTo
-
addAppliesToItem
-
getAppliesTo
Get appliesTo- Returns:
- appliesTo
-
setAppliesTo
-
active
-
getActive
Indicate whether the policy is active or not.- Returns:
- active
-
setActive
-
deleted
-
getDeleted
Indicate whether the policy is deleted or not.- Returns:
- deleted
-
setDeleted
-
creationDate
-
getCreationDate
Creation time of the policy in milliseconds elapsed as of epoch time.- Returns:
- creationDate
-
setCreationDate
-
lastUpdatedDate
-
getLastUpdatedDate
Recent update time of the policy in milliseconds elapsed as of epoch time.- Returns:
- lastUpdatedDate
-
setLastUpdatedDate
-
lastDisabledDate
-
getLastDisabledDate
Recent disable time of the policy in milliseconds elapsed as of epoch time.- Returns:
- lastDisabledDate
-
setLastDisabledDate
-
systemPolicy
-
getSystemPolicy
Get systemPolicy- Returns:
- systemPolicy
-
setSystemPolicy
-
equals
Return true if this V3DLPPolicy object is equal to o. -
hashCode
public int hashCode() -
toString
-