duration = $duration; } public function getDuration() { return $this->duration; } public function setPeriodType($periodType) { $this->periodType = $periodType; } public function getPeriodType() { return $this->periodType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudChannelV1alpha1Period::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1alpha1Period');