_propDict)) { if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\Configuration") || is_null($this->_propDict["configuration"])) { return $this->_propDict["configuration"]; } else { $this->_propDict["configuration"] = new Configuration($this->_propDict["configuration"]); return $this->_propDict["configuration"]; } } return null; } /** * Sets the configuration * * @param Configuration $val The configuration * * @return ExternalConnection */ public function setConfiguration($val) { $this->_propDict["configuration"] = $val; return $this; } /** * Gets the description * * @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 * * @param string $val The description * * @return ExternalConnection */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the name * * @return string|null The name */ public function getName() { if (array_key_exists("name", $this->_propDict)) { return $this->_propDict["name"]; } else { return null; } } /** * Sets the name * * @param string $val The name * * @return ExternalConnection */ public function setName($val) { $this->_propDict["name"] = $val; return $this; } /** * Gets the state * * @return ConnectionState|null The state */ public function getState() { if (array_key_exists("state", $this->_propDict)) { if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ConnectionState") || is_null($this->_propDict["state"])) { return $this->_propDict["state"]; } else { $this->_propDict["state"] = new ConnectionState($this->_propDict["state"]); return $this->_propDict["state"]; } } return null; } /** * Sets the state * * @param ConnectionState $val The state * * @return ExternalConnection */ public function setState($val) { $this->_propDict["state"] = $val; return $this; } /** * Gets the groups * * @return array|null The groups */ public function getGroups() { if (array_key_exists("groups", $this->_propDict)) { return $this->_propDict["groups"]; } else { return null; } } /** * Sets the groups * * @param ExternalGroup[] $val The groups * * @return ExternalConnection */ public function setGroups($val) { $this->_propDict["groups"] = $val; return $this; } /** * Gets the items * * @return array|null The items */ public function getItems() { if (array_key_exists("items", $this->_propDict)) { return $this->_propDict["items"]; } else { return null; } } /** * Sets the items * * @param ExternalItem[] $val The items * * @return ExternalConnection */ public function setItems($val) { $this->_propDict["items"] = $val; return $this; } /** * Gets the operations * * @return array|null The operations */ public function getOperations() { if (array_key_exists("operations", $this->_propDict)) { return $this->_propDict["operations"]; } else { return null; } } /** * Sets the operations * * @param ConnectionOperation[] $val The operations * * @return ExternalConnection */ public function setOperations($val) { $this->_propDict["operations"] = $val; return $this; } /** * Gets the schema * * @return Schema|null The schema */ public function getSchema() { if (array_key_exists("schema", $this->_propDict)) { if (is_a($this->_propDict["schema"], "\Beta\Microsoft\Graph\Model\Schema") || is_null($this->_propDict["schema"])) { return $this->_propDict["schema"]; } else { $this->_propDict["schema"] = new Schema($this->_propDict["schema"]); return $this->_propDict["schema"]; } } return null; } /** * Sets the schema * * @param Schema $val The schema * * @return ExternalConnection */ public function setSchema($val) { $this->_propDict["schema"] = $val; return $this; } }