你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphChatMessagePolicyViolationPolicyTip Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChatMessagePolicyViolationPolicyTip

Implements

public final class MicrosoftGraphChatMessagePolicyViolationPolicyTip
implements JsonSerializable<MicrosoftGraphChatMessagePolicyViolationPolicyTip>

chatMessagePolicyViolationPolicyTip.

Constructor Summary

Constructor Description
MicrosoftGraphChatMessagePolicyViolationPolicyTip()

Creates an instance of MicrosoftGraphChatMessagePolicyViolationPolicyTip class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: chatMessagePolicyViolationPolicyTip.

String complianceUrl()

Get the complianceUrl property: The URL a user can visit to read about the data loss prevention policies for the organization.

static MicrosoftGraphChatMessagePolicyViolationPolicyTip fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphChatMessagePolicyViolationPolicyTip from the JsonReader.

String generalText()

Get the generalText property: Explanatory text shown to the sender of the message.

List<String> matchedConditionDescriptions()

Get the matchedConditionDescriptions property: The list of improper data in the message that was detected by the data loss prevention app.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphChatMessagePolicyViolationPolicyTip withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: chatMessagePolicyViolationPolicyTip.

MicrosoftGraphChatMessagePolicyViolationPolicyTip withComplianceUrl(String complianceUrl)

Set the complianceUrl property: The URL a user can visit to read about the data loss prevention policies for the organization.

MicrosoftGraphChatMessagePolicyViolationPolicyTip withGeneralText(String generalText)

Set the generalText property: Explanatory text shown to the sender of the message.

MicrosoftGraphChatMessagePolicyViolationPolicyTip withMatchedConditionDescriptions(List<String> matchedConditionDescriptions)

Set the matchedConditionDescriptions property: The list of improper data in the message that was detected by the data loss prevention app.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphChatMessagePolicyViolationPolicyTip

public MicrosoftGraphChatMessagePolicyViolationPolicyTip()

Creates an instance of MicrosoftGraphChatMessagePolicyViolationPolicyTip class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: chatMessagePolicyViolationPolicyTip.

Returns:

the additionalProperties value.

complianceUrl

public String complianceUrl()

Get the complianceUrl property: The URL a user can visit to read about the data loss prevention policies for the organization. (ie, policies about what users shouldn't say in chats).

Returns:

the complianceUrl value.

fromJson

public static MicrosoftGraphChatMessagePolicyViolationPolicyTip fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphChatMessagePolicyViolationPolicyTip from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphChatMessagePolicyViolationPolicyTip if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphChatMessagePolicyViolationPolicyTip.

generalText

public String generalText()

Get the generalText property: Explanatory text shown to the sender of the message.

Returns:

the generalText value.

matchedConditionDescriptions

public List matchedConditionDescriptions()

Get the matchedConditionDescriptions property: The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include 'Credit Card Number' and 'Social Security Number'.

Returns:

the matchedConditionDescriptions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphChatMessagePolicyViolationPolicyTip withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: chatMessagePolicyViolationPolicyTip.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphChatMessagePolicyViolationPolicyTip object itself.

withComplianceUrl

public MicrosoftGraphChatMessagePolicyViolationPolicyTip withComplianceUrl(String complianceUrl)

Set the complianceUrl property: The URL a user can visit to read about the data loss prevention policies for the organization. (ie, policies about what users shouldn't say in chats).

Parameters:

complianceUrl - the complianceUrl value to set.

Returns:

the MicrosoftGraphChatMessagePolicyViolationPolicyTip object itself.

withGeneralText

public MicrosoftGraphChatMessagePolicyViolationPolicyTip withGeneralText(String generalText)

Set the generalText property: Explanatory text shown to the sender of the message.

Parameters:

generalText - the generalText value to set.

Returns:

the MicrosoftGraphChatMessagePolicyViolationPolicyTip object itself.

withMatchedConditionDescriptions

public MicrosoftGraphChatMessagePolicyViolationPolicyTip withMatchedConditionDescriptions(List matchedConditionDescriptions)

Set the matchedConditionDescriptions property: The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include 'Credit Card Number' and 'Social Security Number'.

Parameters:

matchedConditionDescriptions - the matchedConditionDescriptions value to set.

Returns:

the MicrosoftGraphChatMessagePolicyViolationPolicyTip object itself.

Applies to