Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Dlp Action.The Justification Text.the OData type of the object as returned by the serviceThe Policy Tip.The User Action.The Verdict Details. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
dlpAction
@SerializedName(value="dlpAction", alternate="DlpAction") @Expose @Nullable public EnumSet<ChatMessagePolicyViolationDlpActionTypes> dlpActionThe 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 justificationTextThe 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 policyTipThe 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> userActionThe 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> verdictDetailsThe 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:
additionalDataManagerin interfacecom.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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-