def serialize(self,writer: SerializationWriter) -> None:
        """
        Serializes information the current object
        param writer: Serialization writer to use to serialize this model
        Returns: None
        """
        if writer is None:
            raise TypeError("writer cannot be null.")
        super().serialize(writer)
        writer.write_collection_of_primitive_values("additionalInformation", self.additional_information)
        writer.write_datetime_value("createdDateTime", self.created_date_time)
        writer.write_str_value("description", self.description)
        writer.write_str_value("displayName", self.display_name)
        writer.write_collection_of_primitive_values("domainNames", self.domain_names)
        writer.write_enum_value("healthIssueType", self.health_issue_type)
        writer.write_str_value("issueTypeId", self.issue_type_id)
        writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time)
        writer.write_collection_of_primitive_values("recommendations", self.recommendations)
        writer.write_collection_of_primitive_values("recommendedActionCommands", self.recommended_action_commands)
        writer.write_collection_of_primitive_values("sensorDNSNames", self.sensor_d_n_s_names)
        writer.write_enum_value("severity", self.severity)
        writer.write_enum_value("status", self.status)

        Serializes information the current object
        param writer: Serialization writer to use to serialize this model
        Returns: None
        
msgraph/generated/models/security/health_issue.py