2021-01-19 21:10:45 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
|
|
|
module CiConfiguration
|
|
|
|
module Sast
|
|
|
|
class EntityInputType < BaseInputObject
|
|
|
|
graphql_name 'SastCiConfigurationEntityInput'
|
|
|
|
description 'Represents an entity in SAST CI configuration'
|
|
|
|
|
2021-07-26 12:10:08 +00:00
|
|
|
argument :field, GraphQL::Types::String, required: true,
|
2021-01-19 21:10:45 +00:00
|
|
|
description: 'CI keyword of entity.'
|
|
|
|
|
2021-07-26 12:10:08 +00:00
|
|
|
argument :default_value, GraphQL::Types::String, required: true,
|
2021-01-19 21:10:45 +00:00
|
|
|
description: 'Default value that is used if value is empty.'
|
|
|
|
|
2021-07-26 12:10:08 +00:00
|
|
|
argument :value, GraphQL::Types::String, required: true,
|
2021-01-19 21:10:45 +00:00
|
|
|
description: 'Current value of the entity.'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|