Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/cwd/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ChatMessagePolicyViolation File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;
/**
* ChatMessagePolicyViolation class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class ChatMessagePolicyViolation extends Entity
{
/**
* Gets the dlpAction
* 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.
*
* @return ChatMessagePolicyViolationDlpActionTypes|null The dlpAction
*/
public function getDlpAction()
{
if (array_key_exists("dlpAction", $this->_propDict)) {
if (is_a($this->_propDict["dlpAction"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationDlpActionTypes") || is_null($this->_propDict["dlpAction"])) {
return $this->_propDict["dlpAction"];
} else {
$this->_propDict["dlpAction"] = new ChatMessagePolicyViolationDlpActionTypes($this->_propDict["dlpAction"]);
return $this->_propDict["dlpAction"];
}
}
return null;
}
/**
* Sets the dlpAction
* 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.
*
* @param ChatMessagePolicyViolationDlpActionTypes $val The value to assign to the dlpAction
*
* @return ChatMessagePolicyViolation The ChatMessagePolicyViolation
*/
public function setDlpAction($val)
{
$this->_propDict["dlpAction"] = $val;
return $this;
}
/**
* Gets the justificationText
* Justification text provided by the sender of the message when overriding a policy violation.
*
* @return string|null The justificationText
*/
public function getJustificationText()
{
if (array_key_exists("justificationText", $this->_propDict)) {
return $this->_propDict["justificationText"];
} else {
return null;
}
}
/**
* Sets the justificationText
* Justification text provided by the sender of the message when overriding a policy violation.
*
* @param string $val The value of the justificationText
*
* @return ChatMessagePolicyViolation
*/
public function setJustificationText($val)
{
$this->_propDict["justificationText"] = $val;
return $this;
}
/**
* Gets the policyTip
* Information to display to the message sender about why the message was flagged as a violation.
*
* @return ChatMessagePolicyViolationPolicyTip|null The policyTip
*/
public function getPolicyTip()
{
if (array_key_exists("policyTip", $this->_propDict)) {
if (is_a($this->_propDict["policyTip"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationPolicyTip") || is_null($this->_propDict["policyTip"])) {
return $this->_propDict["policyTip"];
} else {
$this->_propDict["policyTip"] = new ChatMessagePolicyViolationPolicyTip($this->_propDict["policyTip"]);
return $this->_propDict["policyTip"];
}
}
return null;
}
/**
* Sets the policyTip
* Information to display to the message sender about why the message was flagged as a violation.
*
* @param ChatMessagePolicyViolationPolicyTip $val The value to assign to the policyTip
*
* @return ChatMessagePolicyViolation The ChatMessagePolicyViolation
*/
public function setPolicyTip($val)
{
$this->_propDict["policyTip"] = $val;
return $this;
}
/**
* Gets the userAction
* 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.
*
* @return ChatMessagePolicyViolationUserActionTypes|null The userAction
*/
public function getUserAction()
{
if (array_key_exists("userAction", $this->_propDict)) {
if (is_a($this->_propDict["userAction"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationUserActionTypes") || is_null($this->_propDict["userAction"])) {
return $this->_propDict["userAction"];
} else {
$this->_propDict["userAction"] = new ChatMessagePolicyViolationUserActionTypes($this->_propDict["userAction"]);
return $this->_propDict["userAction"];
}
}
return null;
}
/**
* Sets the userAction
* 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.
*
* @param ChatMessagePolicyViolationUserActionTypes $val The value to assign to the userAction
*
* @return ChatMessagePolicyViolation The ChatMessagePolicyViolation
*/
public function setUserAction($val)
{
$this->_propDict["userAction"] = $val;
return $this;
}
/**
* Gets the verdictDetails
* 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.
*
* @return ChatMessagePolicyViolationVerdictDetailsTypes|null The verdictDetails
*/
public function getVerdictDetails()
{
if (array_key_exists("verdictDetails", $this->_propDict)) {
if (is_a($this->_propDict["verdictDetails"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationVerdictDetailsTypes") || is_null($this->_propDict["verdictDetails"])) {
return $this->_propDict["verdictDetails"];
} else {
$this->_propDict["verdictDetails"] = new ChatMessagePolicyViolationVerdictDetailsTypes($this->_propDict["verdictDetails"]);
return $this->_propDict["verdictDetails"];
}
}
return null;
}
/**
* Sets the verdictDetails
* 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.
*
* @param ChatMessagePolicyViolationVerdictDetailsTypes $val The value to assign to the verdictDetails
*
* @return ChatMessagePolicyViolation The ChatMessagePolicyViolation
*/
public function setVerdictDetails($val)
{
$this->_propDict["verdictDetails"] = $val;
return $this;
}
}