Sha256: 7ed5f1cbe9ec0512cd0b743bb38625a301a27aa6be122f7575a467e0560a52c1

Contents?: true

Size: 766 Bytes

Versions: 43

Compression:

Stored size: 766 Bytes

Contents

module Types
  class Task < Types::BaseObject
    description 'A Task'
    model_class ::ForemanTasks::Task

    global_id_field :id
    field :type, String
    field :label, String
    field :started_at, GraphQL::Types::ISO8601DateTime
    field :ended_at, GraphQL::Types::ISO8601DateTime
    field :state, String
    field :result, String
    field :external_id, String
    field :parent_task_id, String
    field :start_at, GraphQL::Types::ISO8601DateTime
    field :start_before, GraphQL::Types::ISO8601DateTime
    field :action, String
    field :user_id, Integer
    field :state_updated_at, GraphQL::Types::ISO8601DateTime

    def self.graphql_definition
      super.tap { |type| type.instance_variable_set(:@name, 'ForemanTasks::Task') }
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
foreman-tasks-8.1.2 app/graphql/types/task.rb
foreman-tasks-8.1.1 app/graphql/types/task.rb
foreman-tasks-8.1.0 app/graphql/types/task.rb
foreman-tasks-8.0.2 app/graphql/types/task.rb
foreman-tasks-8.0.1 app/graphql/types/task.rb
foreman-tasks-8.0.0 app/graphql/types/task.rb
foreman-tasks-7.2.1 app/graphql/types/task.rb
foreman-tasks-7.1.1 app/graphql/types/task.rb
foreman-tasks-7.2.0 app/graphql/types/task.rb
foreman-tasks-7.1.0 app/graphql/types/task.rb
foreman-tasks-6.0.3 app/graphql/types/task.rb
foreman-tasks-7.0.0 app/graphql/types/task.rb
foreman-tasks-6.0.2 app/graphql/types/task.rb
foreman-tasks-5.2.3 app/graphql/types/task.rb
foreman-tasks-6.0.1 app/graphql/types/task.rb
foreman-tasks-5.2.2 app/graphql/types/task.rb
foreman-tasks-6.0.0 app/graphql/types/task.rb
foreman-tasks-5.2.1 app/graphql/types/task.rb
foreman-tasks-5.3.0 app/graphql/types/task.rb
foreman-tasks-5.2.0 app/graphql/types/task.rb