interactionTime = $interactionTime; } /** * @return string */ public function getInteractionTime() { return $this->interactionTime; } /** * The user that acted on the item. * * @param Principal $principal */ public function setPrincipal(Principal $principal) { $this->principal = $principal; } /** * @return Principal */ public function getPrincipal() { return $this->principal; } /** * @param self::TYPE_* $type */ public function setType($type) { $this->type = $type; } /** * @return self::TYPE_* */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Interaction::class, 'Google_Service_CloudSearch_Interaction');