Class V3DLPPolicy


  • 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.
    • Constructor Detail

      • V3DLPPolicy

        public V3DLPPolicy()
    • Method Detail

      • getId

        public String getId()
        Unique identifier for policy.
        Returns:
        id
      • setId

        public void setId​(String id)
      • getPolicyId

        public String getPolicyId()
        Policy Id.
        Returns:
        policyId
      • setPolicyId

        public void setPolicyId​(String policyId)
      • getVersion

        public String 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

        public void setVersion​(String version)
      • getName

        public String getName()
        Unique name of policy, max 30 characters. Cannot be empty. All the leading and trailing blank spaces are trimmed.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getCreatorId

        public Long getCreatorId()
        Numeric userId of the creator.
        Returns:
        creatorId
      • setCreatorId

        public void setCreatorId​(Long creatorId)
      • getScopes

        public List<String> 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

        public void setScopes​(List<String> scopes)
      • isisActive

        public Boolean isisActive()
        Indicate whether the policy is active or not.
        Returns:
        active
      • setActive

        public void setActive​(Boolean active)
      • isisDeleted

        public Boolean isisDeleted()
        Indicate whether the policy is deleted or not.
        Returns:
        deleted
      • setDeleted

        public void setDeleted​(Boolean deleted)
      • getCreationDate

        public Long getCreationDate()
        Creation time of the policy in milliseconds elapsed as of epoch time.
        Returns:
        creationDate
      • setCreationDate

        public void setCreationDate​(Long creationDate)
      • getLastUpdatedDate

        public Long getLastUpdatedDate()
        Recent update time of the policy in milliseconds elapsed as of epoch. time.
        Returns:
        lastUpdatedDate
      • setLastUpdatedDate

        public void setLastUpdatedDate​(Long lastUpdatedDate)
      • lastUpdatedDate

        public V3DLPPolicy lastUpdatedDate​(Long lastUpdatedDate)
      • getLastDisabledDate

        public Long getLastDisabledDate()
        Recent disable time of the policy in milliseconds elapsed as of epoch. time.
        Returns:
        lastDisabledDate
      • setLastDisabledDate

        public void setLastDisabledDate​(Long lastDisabledDate)
      • lastDisabledDate

        public V3DLPPolicy lastDisabledDate​(Long lastDisabledDate)
      • isisSystemPolicy

        public Boolean isisSystemPolicy()
        Get systemPolicy
        Returns:
        systemPolicy
      • setSystemPolicy

        public void setSystemPolicy​(Boolean systemPolicy)