leaveReason = $leaveReason; } /** * @return string */ public function getLeaveReason() { return $this->leaveReason; } /** * @param StoredParticipantId[] */ public function setParticipantId($participantId) { $this->participantId = $participantId; } /** * @return StoredParticipantId[] */ public function getParticipantId() { return $this->participantId; } /** * @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(MembershipChangeEvent::class, 'Google_Service_CloudSearch_MembershipChangeEvent');