Package com.symphony.api.model
Class V3DLPPolicyRequest
- java.lang.Object
-
- com.symphony.api.model.V3DLPPolicyRequest
-
public class V3DLPPolicyRequest extends Object
Request to be used to get policies.
-
-
Constructor Summary
Constructors Constructor Description V3DLPPolicyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V3DLPPolicyRequest
addAppliesToItem(V3DLPPolicyAppliesTo appliesToItem)
V3DLPPolicyRequest
addScopesItem(String scopesItem)
V3DLPPolicyRequest
appliesTo(List<V3DLPPolicyAppliesTo> appliesTo)
List<V3DLPPolicyAppliesTo>
getAppliesTo()
Get appliesToString
getName()
Unique name of a policy, max 30 characters.List<String>
getScopes()
List of communication scopes.V3DLPPolicyRequest
name(String name)
V3DLPPolicyRequest
scopes(List<String> scopes)
void
setAppliesTo(List<V3DLPPolicyAppliesTo> appliesTo)
void
setName(String name)
void
setScopes(List<String> scopes)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
Unique name of a policy, max 30 characters. Cannot be empty. All the leading and trailing blank spaces are trimmed.- Returns:
- name
-
setName
public void setName(String name)
-
name
public V3DLPPolicyRequest name(String name)
-
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
-
scopes
public V3DLPPolicyRequest scopes(List<String> scopes)
-
addScopesItem
public V3DLPPolicyRequest addScopesItem(String scopesItem)
-
getAppliesTo
public List<V3DLPPolicyAppliesTo> getAppliesTo()
Get appliesTo- Returns:
- appliesTo
-
setAppliesTo
public void setAppliesTo(List<V3DLPPolicyAppliesTo> appliesTo)
-
appliesTo
public V3DLPPolicyRequest appliesTo(List<V3DLPPolicyAppliesTo> appliesTo)
-
addAppliesToItem
public V3DLPPolicyRequest addAppliesToItem(V3DLPPolicyAppliesTo appliesToItem)
-
-