Class V3DLPPolicyAppliesTo

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-26T16:14:53.869723549Z[Etc/UTC]") public class V3DLPPolicyAppliesTo extends Object
V3DLPPolicyAppliesTo
  • Field Details

  • Constructor Details

    • V3DLPPolicyAppliesTo

      public V3DLPPolicyAppliesTo()
  • Method Details

    • dataType

      public V3DLPPolicyAppliesTo dataType(String dataType)
    • getDataType

      public String getDataType()
      The list of data types that policy should apply to. Can't be empty. Can be [\"Messages\",\"RoomMeta\", \"SignalMeta\", \"FileContent\", \"FileMeta\"].
      Returns:
      dataType
    • setDataType

      public void setDataType(String dataType)
    • action

      public V3DLPPolicyAppliesTo action(String action)
    • getAction

      public String getAction()
      Action to be taken on violation detection. Can be [\"Block\", \"Warn\", \"LogOnly\"]. The default is \"LogOnly\".
      Returns:
      action
    • setAction

      public void setAction(String action)
    • rules

      public V3DLPPolicyAppliesTo rules(List<V3DLPRule> rules)
    • addRulesItem

      public V3DLPPolicyAppliesTo addRulesItem(V3DLPRule rulesItem)
    • getRules

      public List<V3DLPRule> getRules()
      Get rules
      Returns:
      rules
    • setRules

      public void setRules(List<V3DLPRule> rules)
    • equals

      public boolean equals(Object o)
      Return true if this V3DLPPolicyAppliesTo 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