_propDict)) { if (is_a($this->_propDict["excludeTarget"], "\Microsoft\Graph\Model\FeatureTarget") || is_null($this->_propDict["excludeTarget"])) { return $this->_propDict["excludeTarget"]; } else { $this->_propDict["excludeTarget"] = new FeatureTarget($this->_propDict["excludeTarget"]); return $this->_propDict["excludeTarget"]; } } return null; } /** * Sets the excludeTarget * A single entity that is excluded from this feature. * * @param FeatureTarget $val The value to assign to the excludeTarget * * @return AuthenticationMethodFeatureConfiguration The AuthenticationMethodFeatureConfiguration */ public function setExcludeTarget($val) { $this->_propDict["excludeTarget"] = $val; return $this; } /** * Gets the includeTarget * A single entity that is included in this feature. * * @return FeatureTarget|null The includeTarget */ public function getIncludeTarget() { if (array_key_exists("includeTarget", $this->_propDict)) { if (is_a($this->_propDict["includeTarget"], "\Microsoft\Graph\Model\FeatureTarget") || is_null($this->_propDict["includeTarget"])) { return $this->_propDict["includeTarget"]; } else { $this->_propDict["includeTarget"] = new FeatureTarget($this->_propDict["includeTarget"]); return $this->_propDict["includeTarget"]; } } return null; } /** * Sets the includeTarget * A single entity that is included in this feature. * * @param FeatureTarget $val The value to assign to the includeTarget * * @return AuthenticationMethodFeatureConfiguration The AuthenticationMethodFeatureConfiguration */ public function setIncludeTarget($val) { $this->_propDict["includeTarget"] = $val; return $this; } /** * Gets the state * Enable or disable the feature. Possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Microsoft Entra ID for the setting. The default value is disabled. * * @return AdvancedConfigState|null The state */ public function getState() { if (array_key_exists("state", $this->_propDict)) { if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\AdvancedConfigState") || is_null($this->_propDict["state"])) { return $this->_propDict["state"]; } else { $this->_propDict["state"] = new AdvancedConfigState($this->_propDict["state"]); return $this->_propDict["state"]; } } return null; } /** * Sets the state * Enable or disable the feature. Possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Microsoft Entra ID for the setting. The default value is disabled. * * @param AdvancedConfigState $val The value to assign to the state * * @return AuthenticationMethodFeatureConfiguration The AuthenticationMethodFeatureConfiguration */ public function setState($val) { $this->_propDict["state"] = $val; return $this; } }