displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * @param string */ public function setFormattedType($formattedType) { $this->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 setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } /** * @param string */ public function setValue($value) { $this->value = $value; } /** * @return string */ public function getValue() { return $this->value; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(EmailAddress::class, 'Google_Service_PeopleService_EmailAddress');