Class V1DLPPolicyRequest

java.lang.Object
com.symphony.bdk.gen.api.model.V1DLPPolicyRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-26T16:14:53.869723549Z[Etc/UTC]") public class V1DLPPolicyRequest extends Object
The policy object to use for creating/updating a policy.
  • Field Details

  • Constructor Details

    • V1DLPPolicyRequest

      public V1DLPPolicyRequest()
  • Method Details

    • contentTypes

      public V1DLPPolicyRequest contentTypes(List<String> contentTypes)
    • addContentTypesItem

      public V1DLPPolicyRequest addContentTypesItem(String contentTypesItem)
    • getContentTypes

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

      public void setContentTypes(List<String> contentTypes)
    • dictionaryIds

      public V1DLPPolicyRequest dictionaryIds(List<String> dictionaryIds)
    • addDictionaryIdsItem

      public V1DLPPolicyRequest addDictionaryIdsItem(String dictionaryIdsItem)
    • getDictionaryIds

      @Nullable public List<String> getDictionaryIds()
      List of dictionaries Ids for the policy.
      Returns:
      dictionaryIds
    • setDictionaryIds

      public void setDictionaryIds(List<String> dictionaryIds)
    • name

      public V1DLPPolicyRequest name(String name)
    • 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)
    • scopes

      public V1DLPPolicyRequest scopes(List<String> scopes)
    • addScopesItem

      public V1DLPPolicyRequest addScopesItem(String scopesItem)
    • 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)
    • type

      public V1DLPPolicyRequest type(String type)
    • getType

      public String getType()
      Type of policy. Possible values \"Block\" or \"Warn\".
      Returns:
      type
    • setType

      public void setType(String type)
    • equals

      public boolean equals(Object o)
      Return true if this V1DLPPolicyRequest object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object