def generated_notifications_as_notifiable_for(target_type = nil)
        target_type.nil? ?
          generated_notifications_as_notifiable.all :
          generated_notifications_as_notifiable.filtered_by_target_type(target_type.to_s.to_model_name)
      end
def generated_notifications_as_notifiable_for(target_type = nil)
        target_type.nil? ?
          generated_notifications_as_notifiable.all :
          generated_notifications_as_notifiable.filtered_by_target_type(target_type.to_s.to_model_name)
      end
Gets generated notifications for specified target type.
 @api private
 @param [String] target_type Target type of generated notifications