summaryrefslogtreecommitdiff
path: root/lib/api/entities/bulk_imports/entity.rb
blob: e8c31256b17c3dbb655684a158976ad8d969238d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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
        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