_propDict)) { if (is_a($this->_propDict["responsiblePolicy"], "\Beta\Microsoft\Graph\Model\ResponsiblePolicy") || is_null($this->_propDict["responsiblePolicy"])) { return $this->_propDict["responsiblePolicy"]; } else { $this->_propDict["responsiblePolicy"] = new ResponsiblePolicy($this->_propDict["responsiblePolicy"]); return $this->_propDict["responsiblePolicy"]; } } return null; } /** * Sets the responsiblePolicy * * @param ResponsiblePolicy $val The value to assign to the responsiblePolicy * * @return EvaluateLabelJobResult The EvaluateLabelJobResult */ public function setResponsiblePolicy($val) { $this->_propDict["responsiblePolicy"] = $val; return $this; } /** * Gets the responsibleSensitiveTypes * * @return ResponsibleSensitiveType|null The responsibleSensitiveTypes */ public function getResponsibleSensitiveTypes() { if (array_key_exists("responsibleSensitiveTypes", $this->_propDict)) { if (is_a($this->_propDict["responsibleSensitiveTypes"], "\Beta\Microsoft\Graph\Model\ResponsibleSensitiveType") || is_null($this->_propDict["responsibleSensitiveTypes"])) { return $this->_propDict["responsibleSensitiveTypes"]; } else { $this->_propDict["responsibleSensitiveTypes"] = new ResponsibleSensitiveType($this->_propDict["responsibleSensitiveTypes"]); return $this->_propDict["responsibleSensitiveTypes"]; } } return null; } /** * Sets the responsibleSensitiveTypes * * @param ResponsibleSensitiveType $val The value to assign to the responsibleSensitiveTypes * * @return EvaluateLabelJobResult The EvaluateLabelJobResult */ public function setResponsibleSensitiveTypes($val) { $this->_propDict["responsibleSensitiveTypes"] = $val; return $this; } /** * Gets the sensitivityLabel * * @return MatchingLabel|null The sensitivityLabel */ public function getSensitivityLabel() { if (array_key_exists("sensitivityLabel", $this->_propDict)) { if (is_a($this->_propDict["sensitivityLabel"], "\Beta\Microsoft\Graph\Model\MatchingLabel") || is_null($this->_propDict["sensitivityLabel"])) { return $this->_propDict["sensitivityLabel"]; } else { $this->_propDict["sensitivityLabel"] = new MatchingLabel($this->_propDict["sensitivityLabel"]); return $this->_propDict["sensitivityLabel"]; } } return null; } /** * Sets the sensitivityLabel * * @param MatchingLabel $val The value to assign to the sensitivityLabel * * @return EvaluateLabelJobResult The EvaluateLabelJobResult */ public function setSensitivityLabel($val) { $this->_propDict["sensitivityLabel"] = $val; return $this; } }