2021-09-30 23:02:18 +05:30
|
|
|
# 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
|
2022-08-27 11:52:29 +05:30
|
|
|
expose :destination_name # deprecated
|
|
|
|
expose :destination_slug
|
2021-09-30 23:02:18 +05:30
|
|
|
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
|