_propDict)) { return $this->_propDict["id"]; } else { return null; } } /** * Sets the id * * @param string $val The value of the id * * @return AddIn */ public function setId($val) { $this->_propDict["id"] = $val; return $this; } /** * Gets the addInProperties * * @return KeyValue|null The addInProperties */ public function getAddInProperties() { if (array_key_exists("properties", $this->_propDict)) { if (is_a($this->_propDict["properties"], "\Microsoft\Graph\Model\KeyValue") || is_null($this->_propDict["properties"])) { return $this->_propDict["properties"]; } else { $this->_propDict["properties"] = new KeyValue($this->_propDict["properties"]); return $this->_propDict["properties"]; } } return null; } /** * Sets the addInProperties * * @param KeyValue $val The value to assign to the properties * * @return AddIn The AddIn */ public function setAddInProperties($val) { $this->_propDict["properties"] = $val; return $this; } /** * Gets the type * * @return string|null The type */ public function getType() { if (array_key_exists("type", $this->_propDict)) { return $this->_propDict["type"]; } else { return null; } } /** * Sets the type * * @param string $val The value of the type * * @return AddIn */ public function setType($val) { $this->_propDict["type"] = $val; return $this; } }