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_object_value("abuse", self.abuse)
        writer.write_object_value("admin", self.admin)
        writer.write_object_value("billing", self.billing)
        writer.write_str_value("domainStatus", self.domain_status)
        writer.write_datetime_value("expirationDateTime", self.expiration_date_time)
        writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time)
        writer.write_object_value("host", self.host)
        writer.write_datetime_value("lastSeenDateTime", self.last_seen_date_time)
        writer.write_datetime_value("lastUpdateDateTime", self.last_update_date_time)
        writer.write_collection_of_object_values("nameservers", self.nameservers)
        writer.write_object_value("noc", self.noc)
        writer.write_str_value("rawWhoisText", self.raw_whois_text)
        writer.write_object_value("registrant", self.registrant)
        writer.write_object_value("registrar", self.registrar)
        writer.write_datetime_value("registrationDateTime", self.registration_date_time)
        writer.write_object_value("technical", self.technical)
        writer.write_str_value("whoisServer", self.whois_server)
        writer.write_object_value("zone", self.zone)

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