_propDict)) { return $this->_propDict["excludeTargets"]; } else { return null; } } /** * Sets the excludeTargets * Groups of users that are excluded from a policy. * * @param ExcludeTarget[] $val The excludeTargets * * @return AuthenticationMethodConfiguration */ public function setExcludeTargets($val) { $this->_propDict["excludeTargets"] = $val; return $this; } /** * Gets the state * The state of the policy. Possible values are: enabled, disabled. * * @return AuthenticationMethodState|null The state */ public function getState() { if (array_key_exists("state", $this->_propDict)) { if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\AuthenticationMethodState") || is_null($this->_propDict["state"])) { return $this->_propDict["state"]; } else { $this->_propDict["state"] = new AuthenticationMethodState($this->_propDict["state"]); return $this->_propDict["state"]; } } return null; } /** * Sets the state * The state of the policy. Possible values are: enabled, disabled. * * @param AuthenticationMethodState $val The state * * @return AuthenticationMethodConfiguration */ public function setState($val) { $this->_propDict["state"] = $val; return $this; } }