formattedType = $formattedType; } /** * @return string */ public function getFormattedType() { return $this->formattedType; } /** * @param FieldMetadata */ public function setMetadata(FieldMetadata $metadata) { $this->metadata = $metadata; } /** * @return FieldMetadata */ public function getMetadata() { return $this->metadata; } /** * @param string */ public function setPerson($person) { $this->person = $person; } /** * @return string */ public function getPerson() { return $this->person; } /** * @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(Relation::class, 'Google_Service_PeopleService_Relation');