duration = $duration; } /** * @return int */ public function getDuration() { return $this->duration; } /** * @param string */ public function setPeriodType($periodType) { $this->periodType = $periodType; } /** * @return string */ public function getPeriodType() { return $this->periodType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudChannelV1Period::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Period');