durationBasedRetention = $durationBasedRetention; } /** * @return string */ public function getDurationBasedRetention() { return $this->durationBasedRetention; } /** * @param int */ public function setQuantityBasedRetention($quantityBasedRetention) { $this->quantityBasedRetention = $quantityBasedRetention; } /** * @return int */ public function getQuantityBasedRetention() { return $this->quantityBasedRetention; } /** * @param string */ public function setRetentionUnit($retentionUnit) { $this->retentionUnit = $retentionUnit; } /** * @return string */ public function getRetentionUnit() { return $this->retentionUnit; } /** * @param string */ public function setTimeBasedRetention($timeBasedRetention) { $this->timeBasedRetention = $timeBasedRetention; } /** * @return string */ public function getTimeBasedRetention() { return $this->timeBasedRetention; } /** * @param string */ public function setTimestampBasedRetentionTime($timestampBasedRetentionTime) { $this->timestampBasedRetentionTime = $timestampBasedRetentionTime; } /** * @return string */ public function getTimestampBasedRetentionTime() { return $this->timestampBasedRetentionTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(RetentionSettings::class, 'Google_Service_CloudRedis_RetentionSettings');