_propDict)) { if (is_a($this->_propDict["applicableTo"], "\Beta\Microsoft\Graph\Model\SensitivityLabelTarget") || is_null($this->_propDict["applicableTo"])) { return $this->_propDict["applicableTo"]; } else { $this->_propDict["applicableTo"] = new SensitivityLabelTarget($this->_propDict["applicableTo"]); return $this->_propDict["applicableTo"]; } } return null; } /** * Sets the applicableTo * * @param SensitivityLabelTarget $val The applicableTo * * @return SensitivityPolicySettings */ public function setApplicableTo($val) { $this->_propDict["applicableTo"] = $val; return $this; } /** * Gets the downgradeSensitivityRequiresJustification * * @return bool|null The downgradeSensitivityRequiresJustification */ public function getDowngradeSensitivityRequiresJustification() { if (array_key_exists("downgradeSensitivityRequiresJustification", $this->_propDict)) { return $this->_propDict["downgradeSensitivityRequiresJustification"]; } else { return null; } } /** * Sets the downgradeSensitivityRequiresJustification * * @param bool $val The downgradeSensitivityRequiresJustification * * @return SensitivityPolicySettings */ public function setDowngradeSensitivityRequiresJustification($val) { $this->_propDict["downgradeSensitivityRequiresJustification"] = boolval($val); return $this; } /** * Gets the helpWebUrl * * @return string|null The helpWebUrl */ public function getHelpWebUrl() { if (array_key_exists("helpWebUrl", $this->_propDict)) { return $this->_propDict["helpWebUrl"]; } else { return null; } } /** * Sets the helpWebUrl * * @param string $val The helpWebUrl * * @return SensitivityPolicySettings */ public function setHelpWebUrl($val) { $this->_propDict["helpWebUrl"] = $val; return $this; } /** * Gets the isMandatory * * @return bool|null The isMandatory */ public function getIsMandatory() { if (array_key_exists("isMandatory", $this->_propDict)) { return $this->_propDict["isMandatory"]; } else { return null; } } /** * Sets the isMandatory * * @param bool $val The isMandatory * * @return SensitivityPolicySettings */ public function setIsMandatory($val) { $this->_propDict["isMandatory"] = boolval($val); return $this; } }