_propDict)) { if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtectionAction") || is_null($this->_propDict["actions"])) { return $this->_propDict["actions"]; } else { $this->_propDict["actions"] = new InformationProtectionAction($this->_propDict["actions"]); return $this->_propDict["actions"]; } } return null; } /** * Sets the actions * The collection of actions that should be implemented by the caller. * * @param InformationProtectionAction $val The value to assign to the actions * * @return ApplyLabelAction The ApplyLabelAction */ public function setActions($val) { $this->_propDict["actions"] = $val; return $this; } /** * Gets the actionSource * Specifies why the label was selected. Possible values are: manual, automatic, recommended, default. * * @return ActionSource|null The actionSource */ public function getActionSource() { if (array_key_exists("actionSource", $this->_propDict)) { if (is_a($this->_propDict["actionSource"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ActionSource") || is_null($this->_propDict["actionSource"])) { return $this->_propDict["actionSource"]; } else { $this->_propDict["actionSource"] = new ActionSource($this->_propDict["actionSource"]); return $this->_propDict["actionSource"]; } } return null; } /** * Sets the actionSource * Specifies why the label was selected. Possible values are: manual, automatic, recommended, default. * * @param ActionSource $val The value to assign to the actionSource * * @return ApplyLabelAction The ApplyLabelAction */ public function setActionSource($val) { $this->_propDict["actionSource"] = $val; return $this; } /** * Gets the responsibleSensitiveTypeIds * If the label was the result of an automatic classification, supply the list of sensitive info type GUIDs that resulted in the returned label. * * @return string|null The responsibleSensitiveTypeIds */ public function getResponsibleSensitiveTypeIds() { if (array_key_exists("responsibleSensitiveTypeIds", $this->_propDict)) { return $this->_propDict["responsibleSensitiveTypeIds"]; } else { return null; } } /** * Sets the responsibleSensitiveTypeIds * If the label was the result of an automatic classification, supply the list of sensitive info type GUIDs that resulted in the returned label. * * @param string $val The value of the responsibleSensitiveTypeIds * * @return ApplyLabelAction */ public function setResponsibleSensitiveTypeIds($val) { $this->_propDict["responsibleSensitiveTypeIds"] = $val; return $this; } /** * Gets the sensitivityLabelId * * @return string|null The sensitivityLabelId */ public function getSensitivityLabelId() { if (array_key_exists("sensitivityLabelId", $this->_propDict)) { return $this->_propDict["sensitivityLabelId"]; } else { return null; } } /** * Sets the sensitivityLabelId * * @param string $val The value of the sensitivityLabelId * * @return ApplyLabelAction */ public function setSensitivityLabelId($val) { $this->_propDict["sensitivityLabelId"] = $val; return $this; } }