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.")
        writer.write_object_value("attackSimulationUser", self.attack_simulation_user)
        writer.write_int_value("clickCount", self.click_count)
        writer.write_int_value("compromisedCount", self.compromised_count)
        writer.write_datetime_value("latestSimulationDateTime", self.latest_simulation_date_time)
        writer.write_str_value("@odata.type", self.odata_type)
        writer.write_int_value("simulationCount", self.simulation_count)
        writer.write_additional_data_value(self.additional_data)

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