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_int_value("failedJoinerRuns", self.failed_joiner_runs)
        writer.write_int_value("failedLeaverRuns", self.failed_leaver_runs)
        writer.write_int_value("failedMoverRuns", self.failed_mover_runs)
        writer.write_str_value("@odata.type", self.odata_type)
        writer.write_int_value("successfulJoinerRuns", self.successful_joiner_runs)
        writer.write_int_value("successfulLeaverRuns", self.successful_leaver_runs)
        writer.write_int_value("successfulMoverRuns", self.successful_mover_runs)
        writer.write_int_value("totalJoinerRuns", self.total_joiner_runs)
        writer.write_int_value("totalLeaverRuns", self.total_leaver_runs)
        writer.write_int_value("totalMoverRuns", self.total_mover_runs)
        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/identity_governance/workflows_insights_by_category.py