_propDict)) { if (is_a($this->_propDict["conditions"], "\Beta\Microsoft\Graph\Model\AuthenticationConditions") || is_null($this->_propDict["conditions"])) { return $this->_propDict["conditions"]; } else { $this->_propDict["conditions"] = new AuthenticationConditions($this->_propDict["conditions"]); return $this->_propDict["conditions"]; } } return null; } /** * Sets the conditions * The conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. * * @param AuthenticationConditions $val The conditions * * @return AuthenticationEventsFlow */ public function setConditions($val) { $this->_propDict["conditions"] = $val; return $this; } /** * Gets the description * The description of the events policy. * * @return string|null The description */ public function getDescription() { if (array_key_exists("description", $this->_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * The description of the events policy. * * @param string $val The description * * @return AuthenticationEventsFlow */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the displayName * Required. The display name for the events policy. * * @return string|null The displayName */ public function getDisplayName() { if (array_key_exists("displayName", $this->_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * Required. The display name for the events policy. * * @param string $val The displayName * * @return AuthenticationEventsFlow */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the priority * The priority to use for each individual event of the events policy. If multiple competing listeners for an event have the same priority, one is chosen and an error is silently logged. Defaults to 500. * * @return int|null The priority */ public function getPriority() { if (array_key_exists("priority", $this->_propDict)) { return $this->_propDict["priority"]; } else { return null; } } /** * Sets the priority * The priority to use for each individual event of the events policy. If multiple competing listeners for an event have the same priority, one is chosen and an error is silently logged. Defaults to 500. * * @param int $val The priority * * @return AuthenticationEventsFlow */ public function setPriority($val) { $this->_propDict["priority"] = intval($val); return $this; } }