criteria = $criteria; } /** * @return Criteria */ public function getCriteria() { return $this->criteria; } /** * @param string */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * @param TimeInterval */ public function setInterval(TimeInterval $interval) { $this->interval = $interval; } /** * @return TimeInterval */ public function getInterval() { return $this->interval; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Snooze::class, 'Google_Service_Monitoring_Snooze');