Sha256: 834340b47c67dcc4a86f7c755415605088f7525281644823ebc04cddbab16a9c

Contents?: true

Size: 1.18 KB

Versions: 4

Compression:

Stored size: 1.18 KB

Contents

module Ecoportal
  module API
    class GraphQL
      module Base
        class Action < Ecoportal::API::GraphQL::Base::Model
          passkey :id
          passthrough :altId
          passthrough :name, :description
          passthrough :age

          passarray :tags, :location

          passthrough :status, :relativeStatus
          passboolean :archived, :attached, :standaloneAction
          passthrough :actionCategoryId

          passarray :fileContainerIds

          passarray :assignedPersonMemberIds
          passthrough :creatorId, :creatorUserId
          passthrough :updaterId, :updaterUserId
          passthrough :completerId

          passthrough :timeZone
          embeds_one :dueDate, klass: Base::DateTime
          embeds_one :reminderDate, klass: Base::DateTime
          embeds_one :createdAt, klass: Base::DateTime
          embeds_one :updatedAt, klass: Base::DateTime
          embeds_one :completedAt, klass: Base::DateTime
          embeds_one :openededAt, klass: Base::DateTime
          embeds_one :closedAt, klass: Base::DateTime
          embeds_one :dueOrClosedDate, klass: Base::DateTime
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecoportal-api-graphql-0.3.11 lib/ecoportal/api/graphql/base/action.rb
ecoportal-api-graphql-0.3.10 lib/ecoportal/api/graphql/base/action.rb
ecoportal-api-graphql-0.3.9 lib/ecoportal/api/graphql/base/action.rb
ecoportal-api-graphql-0.3.8 lib/ecoportal/api/graphql/base/action.rb