_propDict)) { if (is_a($this->_propDict["album"], "\Microsoft\Graph\Model\Album") || is_null($this->_propDict["album"])) { return $this->_propDict["album"]; } else { $this->_propDict["album"] = new Album($this->_propDict["album"]); return $this->_propDict["album"]; } } return null; } /** * Sets the album * If the bundle is an [album][], then the album property is included * * @param Album $val The value to assign to the album * * @return Bundle The Bundle */ public function setAlbum($val) { $this->_propDict["album"] = $val; return $this; } /** * Gets the childCount * Number of children contained immediately within this container. * * @return int|null The childCount */ public function getChildCount() { if (array_key_exists("childCount", $this->_propDict)) { return $this->_propDict["childCount"]; } else { return null; } } /** * Sets the childCount * Number of children contained immediately within this container. * * @param int $val The value of the childCount * * @return Bundle */ public function setChildCount($val) { $this->_propDict["childCount"] = $val; return $this; } }