_propDict)) { if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\ResourceConnectionState") || is_null($this->_propDict["state"])) { return $this->_propDict["state"]; } else { $this->_propDict["state"] = new ResourceConnectionState($this->_propDict["state"]); return $this->_propDict["state"]; } } return null; } /** * Sets the state * The state of the connection. The possible values are: connected, notAuthorized, notFound, unknownFutureValue. * * @param ResourceConnectionState $val The state * * @return ResourceConnection */ public function setState($val) { $this->_propDict["state"] = $val; return $this; } }