Class ChatMessagePolicyViolation

java.lang.Object
com.microsoft.graph.models.ChatMessagePolicyViolation
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class ChatMessagePolicyViolation extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Chat Message Policy Violation.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • dlpAction

      @SerializedName(value="dlpAction", alternate="DlpAction") @Expose @Nullable public EnumSet<ChatMessagePolicyViolationDlpActionTypes> dlpAction
      The Dlp Action. The action taken by the DLP provider on the message with sensitive content. Supported values are: NoneNotifySender -- Inform the sender of the violation but allow readers to read the message.BlockAccess -- Block readers from reading the message.BlockAccessExternal -- Block users outside the organization from reading the message, while allowing users within the organization to read the message.
    • justificationText

      @SerializedName(value="justificationText", alternate="JustificationText") @Expose @Nullable public String justificationText
      The Justification Text. Justification text provided by the sender of the message when overriding a policy violation.
    • policyTip

      @SerializedName(value="policyTip", alternate="PolicyTip") @Expose @Nullable public ChatMessagePolicyViolationPolicyTip policyTip
      The Policy Tip. Information to display to the message sender about why the message was flagged as a violation.
    • userAction

      @SerializedName(value="userAction", alternate="UserAction") @Expose @Nullable public EnumSet<ChatMessagePolicyViolationUserActionTypes> userAction
      The User Action. Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction is not required.
    • verdictDetails

      @SerializedName(value="verdictDetails", alternate="VerdictDetails") @Expose @Nullable public EnumSet<ChatMessagePolicyViolationVerdictDetailsTypes> verdictDetails
      The Verdict Details. Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive.
  • Constructor Details

    • ChatMessagePolicyViolation

      public ChatMessagePolicyViolation()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to