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

resource_group.rb « ci « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c14e32d32b142cf30eba208238406178053f6dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module API
  module Entities
    module Ci
      class ResourceGroup < Grape::Entity
        expose :id, documentation: { type: 'integer', example: 1 }
        expose :key, documentation: { type: 'string', example: 'production' }
        expose :process_mode, documentation: { type: 'string', example: 'unordered' }
        expose :created_at, documentation: { type: 'dateTime', example: '2021-09-01T08:04:59.650Z' }
        expose :updated_at, documentation: { type: 'dateTime', example: '2021-09-01T08:04:59.650Z' }
      end
    end
  end
end