debian-mirror-gitlab/app/graphql/types/jira_users_mapping_input_type.rb
2021-03-11 19:13:27 +05:30

19 lines
541 B
Ruby

# frozen_string_literal: true
module Types
# rubocop: disable Graphql/AuthorizeTypes
class JiraUsersMappingInputType < BaseInputObject
graphql_name 'JiraUsersMappingInputType'
argument :jira_account_id,
GraphQL::STRING_TYPE,
required: true,
description: 'Jira account ID of the user.'
argument :gitlab_id,
GraphQL::INT_TYPE,
required: false,
description: 'Id of the GitLab user.'
end
# rubocop: enable Graphql/AuthorizeTypes
end