你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphChatMessagePolicyViolation Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphChatMessagePolicyViolation
- com.
Implements
public final class MicrosoftGraphChatMessagePolicyViolation
implements JsonSerializable<MicrosoftGraphChatMessagePolicyViolation>
chatMessagePolicyViolation.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphChatMessagePolicyViolation() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Microsoft |
dlpAction()
Get the dlp |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
justificationText()
Get the justification |
Microsoft |
policyTip()
Get the policy |
Json |
toJson(JsonWriter jsonWriter) |
Microsoft |
userAction()
Get the user |
void |
validate()
Validates the instance. |
Microsoft |
verdictDetails()
Get the verdict |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withDlpAction(MicrosoftGraphChatMessagePolicyViolationDlpActionTypes dlpAction)
Set the dlp |
Microsoft |
withJustificationText(String justificationText)
Set the justification |
Microsoft |
withPolicyTip(MicrosoftGraphChatMessagePolicyViolationPolicyTip policyTip)
Set the policy |
Microsoft |
withUserAction(MicrosoftGraphChatMessagePolicyViolationUserActionTypes userAction)
Set the user |
Microsoft |
withVerdictDetails(MicrosoftGraphChatMessagePolicyViolationVerdictDetailsTypes verdictDetails)
Set the verdict |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphChatMessagePolicyViolation
public MicrosoftGraphChatMessagePolicyViolation()
Creates an instance of MicrosoftGraphChatMessagePolicyViolation class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: chatMessagePolicyViolation.
Returns:
dlpAction
public MicrosoftGraphChatMessagePolicyViolationDlpActionTypes dlpAction()
Get the dlpAction property: chatMessagePolicyViolationDlpActionTypes.
Returns:
fromJson
public static MicrosoftGraphChatMessagePolicyViolation fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphChatMessagePolicyViolation from the JsonReader.
Parameters:
Returns:
Throws:
justificationText
public String justificationText()
Get the justificationText property: Justification text provided by the sender of the message when overriding a policy violation.
Returns:
policyTip
public MicrosoftGraphChatMessagePolicyViolationPolicyTip policyTip()
Get the policyTip property: chatMessagePolicyViolationPolicyTip.
Returns:
toJson
userAction
public MicrosoftGraphChatMessagePolicyViolationUserActionTypes userAction()
Get the userAction property: chatMessagePolicyViolationUserActionTypes.
Returns:
validate
public void validate()
Validates the instance.
verdictDetails
public MicrosoftGraphChatMessagePolicyViolationVerdictDetailsTypes verdictDetails()
Get the verdictDetails property: chatMessagePolicyViolationVerdictDetailsTypes.
Returns:
withAdditionalProperties
public MicrosoftGraphChatMessagePolicyViolation withAdditionalProperties(Map
Set the additionalProperties property: chatMessagePolicyViolation.
Parameters:
Returns:
withDlpAction
public MicrosoftGraphChatMessagePolicyViolation withDlpAction(MicrosoftGraphChatMessagePolicyViolationDlpActionTypes dlpAction)
Set the dlpAction property: chatMessagePolicyViolationDlpActionTypes.
Parameters:
Returns:
withJustificationText
public MicrosoftGraphChatMessagePolicyViolation withJustificationText(String justificationText)
Set the justificationText property: Justification text provided by the sender of the message when overriding a policy violation.
Parameters:
Returns:
withPolicyTip
public MicrosoftGraphChatMessagePolicyViolation withPolicyTip(MicrosoftGraphChatMessagePolicyViolationPolicyTip policyTip)
Set the policyTip property: chatMessagePolicyViolationPolicyTip.
Parameters:
Returns:
withUserAction
public MicrosoftGraphChatMessagePolicyViolation withUserAction(MicrosoftGraphChatMessagePolicyViolationUserActionTypes userAction)
Set the userAction property: chatMessagePolicyViolationUserActionTypes.
Parameters:
Returns:
withVerdictDetails
public MicrosoftGraphChatMessagePolicyViolation withVerdictDetails(MicrosoftGraphChatMessagePolicyViolationVerdictDetailsTypes verdictDetails)
Set the verdictDetails property: chatMessagePolicyViolationVerdictDetailsTypes.
Parameters:
Returns: