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("authority", self.authority)
        writer.write_object_value("authorityTemplate", self.authority_template)
        writer.write_object_value("category", self.category)
        writer.write_object_value("categoryTemplate", self.category_template)
        writer.write_object_value("citation", self.citation)
        writer.write_object_value("citationTemplate", self.citation_template)
        writer.write_object_value("department", self.department)
        writer.write_object_value("departmentTemplate", self.department_template)
        writer.write_object_value("filePlanReference", self.file_plan_reference)
        writer.write_object_value("filePlanReferenceTemplate", self.file_plan_reference_template)

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