_propDict)) { return $this->_propDict["complianceUrl"]; } else { return null; } } /** * Sets the complianceUrl * 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) * * @param string $val The value of the complianceUrl * * @return ChatMessagePolicyViolationPolicyTip */ public function setComplianceUrl($val) { $this->_propDict["complianceUrl"] = $val; return $this; } /** * Gets the generalText * Explanatory text shown to the sender of the message. * * @return string|null The generalText */ public function getGeneralText() { if (array_key_exists("generalText", $this->_propDict)) { return $this->_propDict["generalText"]; } else { return null; } } /** * Sets the generalText * Explanatory text shown to the sender of the message. * * @param string $val The value of the generalText * * @return ChatMessagePolicyViolationPolicyTip */ public function setGeneralText($val) { $this->_propDict["generalText"] = $val; return $this; } /** * Gets the matchedConditionDescriptions * 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'. * * @return string|null The matchedConditionDescriptions */ public function getMatchedConditionDescriptions() { if (array_key_exists("matchedConditionDescriptions", $this->_propDict)) { return $this->_propDict["matchedConditionDescriptions"]; } else { return null; } } /** * Sets the matchedConditionDescriptions * 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'. * * @param string $val The value of the matchedConditionDescriptions * * @return ChatMessagePolicyViolationPolicyTip */ public function setMatchedConditionDescriptions($val) { $this->_propDict["matchedConditionDescriptions"] = $val; return $this; } }