_propDict)) { return $this->_propDict["mailboxStorageUsedInBytes"]; } else { return null; } } /** * Sets the mailboxStorageUsedInBytes * The storage used in group mailbox. * * @param int $val The mailboxStorageUsedInBytes * * @return Office365GroupsActivityStorage */ public function setMailboxStorageUsedInBytes($val) { $this->_propDict["mailboxStorageUsedInBytes"] = intval($val); return $this; } /** * Gets the reportDate * The snapshot date for Exchange and SharePoint used storage. * * @return \DateTime|null The reportDate */ public function getReportDate() { if (array_key_exists("reportDate", $this->_propDict)) { if (is_a($this->_propDict["reportDate"], "\DateTime") || is_null($this->_propDict["reportDate"])) { return $this->_propDict["reportDate"]; } else { $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); return $this->_propDict["reportDate"]; } } return null; } /** * Sets the reportDate * The snapshot date for Exchange and SharePoint used storage. * * @param \DateTime $val The reportDate * * @return Office365GroupsActivityStorage */ public function setReportDate($val) { $this->_propDict["reportDate"] = $val; return $this; } /** * Gets the reportPeriod * The number of days the report covers. * * @return string|null The reportPeriod */ public function getReportPeriod() { if (array_key_exists("reportPeriod", $this->_propDict)) { return $this->_propDict["reportPeriod"]; } else { return null; } } /** * Sets the reportPeriod * The number of days the report covers. * * @param string $val The reportPeriod * * @return Office365GroupsActivityStorage */ public function setReportPeriod($val) { $this->_propDict["reportPeriod"] = $val; return $this; } /** * Gets the reportRefreshDate * The latest date of the content. * * @return \DateTime|null The reportRefreshDate */ public function getReportRefreshDate() { if (array_key_exists("reportRefreshDate", $this->_propDict)) { if (is_a($this->_propDict["reportRefreshDate"], "\DateTime") || is_null($this->_propDict["reportRefreshDate"])) { return $this->_propDict["reportRefreshDate"]; } else { $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); return $this->_propDict["reportRefreshDate"]; } } return null; } /** * Sets the reportRefreshDate * The latest date of the content. * * @param \DateTime $val The reportRefreshDate * * @return Office365GroupsActivityStorage */ public function setReportRefreshDate($val) { $this->_propDict["reportRefreshDate"] = $val; return $this; } /** * Gets the siteStorageUsedInBytes * The storage used in SharePoint document library. * * @return int|null The siteStorageUsedInBytes */ public function getSiteStorageUsedInBytes() { if (array_key_exists("siteStorageUsedInBytes", $this->_propDict)) { return $this->_propDict["siteStorageUsedInBytes"]; } else { return null; } } /** * Sets the siteStorageUsedInBytes * The storage used in SharePoint document library. * * @param int $val The siteStorageUsedInBytes * * @return Office365GroupsActivityStorage */ public function setSiteStorageUsedInBytes($val) { $this->_propDict["siteStorageUsedInBytes"] = intval($val); return $this; } }