debian-mirror-gitlab/lib/api/entities/bulk_imports/entity.rb
2022-08-27 11:52:29 +05:30

23 lines
570 B
Ruby

# frozen_string_literal: true
module API
module Entities
module BulkImports
class Entity < Grape::Entity
expose :id
expose :bulk_import_id
expose :status_name, as: :status
expose :source_full_path
expose :destination_name # deprecated
expose :destination_slug
expose :destination_namespace
expose :parent_id
expose :namespace_id
expose :project_id
expose :created_at
expose :updated_at
expose :failures, using: EntityFailure
end
end
end
end