_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * The user-friendly name of the template. * * @param string $val The description * * @return ConditionalAccessTemplate */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the details * Complete list of policy details specific to the template. This property contains the JSON of policy settings for configuring a Conditional Access policy. * * @return ConditionalAccessPolicyDetail|null The details */ public function getDetails() { if (array_key_exists("details", $this->_propDict)) { if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\ConditionalAccessPolicyDetail") || is_null($this->_propDict["details"])) { return $this->_propDict["details"]; } else { $this->_propDict["details"] = new ConditionalAccessPolicyDetail($this->_propDict["details"]); return $this->_propDict["details"]; } } return null; } /** * Sets the details * Complete list of policy details specific to the template. This property contains the JSON of policy settings for configuring a Conditional Access policy. * * @param ConditionalAccessPolicyDetail $val The details * * @return ConditionalAccessTemplate */ public function setDetails($val) { $this->_propDict["details"] = $val; return $this; } /** * Gets the name * The user-friendly name of the template. * * @return string|null The name */ public function getName() { if (array_key_exists("name", $this->_propDict)) { return $this->_propDict["name"]; } else { return null; } } /** * Sets the name * The user-friendly name of the template. * * @param string $val The name * * @return ConditionalAccessTemplate */ public function setName($val) { $this->_propDict["name"] = $val; return $this; } /** * Gets the scenarios * List of conditional access scenarios that the template is recommended for. The possible values are: new, secureFoundation, zeroTrust, remoteWork, protectAdmins, emergingThreats, unknownFutureValue. This is a multi-valued enum. Supports $filter (has). * * @return TemplateScenarios|null The scenarios */ public function getScenarios() { if (array_key_exists("scenarios", $this->_propDict)) { if (is_a($this->_propDict["scenarios"], "\Microsoft\Graph\Model\TemplateScenarios") || is_null($this->_propDict["scenarios"])) { return $this->_propDict["scenarios"]; } else { $this->_propDict["scenarios"] = new TemplateScenarios($this->_propDict["scenarios"]); return $this->_propDict["scenarios"]; } } return null; } /** * Sets the scenarios * List of conditional access scenarios that the template is recommended for. The possible values are: new, secureFoundation, zeroTrust, remoteWork, protectAdmins, emergingThreats, unknownFutureValue. This is a multi-valued enum. Supports $filter (has). * * @param TemplateScenarios $val The scenarios * * @return ConditionalAccessTemplate */ public function setScenarios($val) { $this->_propDict["scenarios"] = $val; return $this; } }