_propDict)) { return $this->_propDict["identityProviderType"]; } else { return null; } } /** * Sets the identityProviderType * The identity provider type. For a B2B scenario, possible values: AADSignup, MicrosoftAccount, EmailOTP. Required. * * @param string $val The identityProviderType * * @return BuiltInIdentityProvider */ public function setIdentityProviderType($val) { $this->_propDict["identityProviderType"] = $val; return $this; } /** * Gets the state * * @return IdentityProviderState|null The state */ public function getState() { if (array_key_exists("state", $this->_propDict)) { if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\IdentityProviderState") || is_null($this->_propDict["state"])) { return $this->_propDict["state"]; } else { $this->_propDict["state"] = new IdentityProviderState($this->_propDict["state"]); return $this->_propDict["state"]; } } return null; } /** * Sets the state * * @param IdentityProviderState $val The state * * @return BuiltInIdentityProvider */ public function setState($val) { $this->_propDict["state"] = $val; return $this; } }