Welcome to mirror list, hosted at ThFree Co, Russian Federation.

entity.rb « bulk_imports « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 142bfaf21494440bda6d737093003684bccc7c0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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