Sha256: f8d784706cb7fac45a3e9039055ac3c3ffaecfc18d61cdc9710edb21ab714b78

Contents?: true

Size: 560 Bytes

Versions: 5

Compression:

Stored size: 560 Bytes

Contents

# frozen_string_literal: true

module ForemanWebhooks
  module Types
    class WebhookTemplate < ::Types::BaseObject
      model_class ::WebhookTemplate

      description 'A Webhook Template'

      global_id_field :id
      timestamps
      field :name, String
      field :template, String
      field :vendor, String
      field :type, String
      field :os_family, String
      field :description, String
      field :snippet, Boolean
      field :locked, Boolean
      field :default, Boolean

      has_many :webhooks, Types::Webhook
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_webhooks-4.0.0 app/graphql/foreman_webhooks/types/webhook_template.rb
foreman_webhooks-3.2.3 app/graphql/foreman_webhooks/types/webhook_template.rb
foreman_webhooks-3.2.2 app/graphql/foreman_webhooks/types/webhook_template.rb
foreman_webhooks-3.2.1 app/graphql/foreman_webhooks/types/webhook_template.rb
foreman_webhooks-3.2.0 app/graphql/foreman_webhooks/types/webhook_template.rb