name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param GoogleCloudDialogflowV2IntentTrainingPhrasePart[] */ public function setParts($parts) { $this->parts = $parts; } /** * @return GoogleCloudDialogflowV2IntentTrainingPhrasePart[] */ public function getParts() { return $this->parts; } /** * @param int */ public function setTimesAddedCount($timesAddedCount) { $this->timesAddedCount = $timesAddedCount; } /** * @return int */ public function getTimesAddedCount() { return $this->timesAddedCount; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowV2IntentTrainingPhrase::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrase');