Sha256: 5318fe4822c4536683cccd08b1f35e94ddeb64999dbb400afa1ceff514add56c

Contents?: true

Size: 1.75 KB

Versions: 75

Compression:

Stored size: 1.75 KB

Contents

module Alula
  class FeatureBySubject < Alula::RestResource
    extend Alula::ResourceAttributes
    extend Alula::ApiOperations::Request
    extend Alula::ApiOperations::List
    extend Alula::ApiOperations::Save

    resource_path 'features/bysubject'
    type 'feature-bysubject'

    field :id,
          type: :string,
          sortable: false,
          filterable: false,
          creatable_by: [:system],
          patchable_by: []

    field :gp_id,
          type: :string,
          sortable: false,
          filterable: true,
          creatable_by: [:system],
          patchable_by: []

    field :subject_id,
          type: :string,
          sortable: false,
          filterable: true,
          creatable_by: [:system],
          patchable_by: []

    field :subject_type,
          type: :string,
          sortable: true,
          filterable: false,
          creatable_by: [:system],
          patchable_by: []

    field :date_start,
          type: :date,
          sortable: true,
          filterable: false,
          creatable_by: [:system],
          patchable_by: [:system]

    field :date_end,
          type: :date,
          sortable: true,
          filterable: false,
          creatable_by: [:system],
          patchable_by: [:system]

    field :date_assigned,
          type: :date,
          sortable: true,
          filterable: false,
          creatable_by: [:system],
          patchable_by: []

    field :assigned_by,
          type: :string,
          sortable: false,
          filterable: false,
          creatable_by: [:system],
          patchable_by: []

    field :assignment_type,
          type: :string,
          sortable: true,
          filterable: true,
          creatable_by: [:system],
          patchable_by: []
  end
end

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
alula-ruby-2.1.2 lib/alula/resources/feature_bysubject.rb
alula-ruby-2.1.1 lib/alula/resources/feature_bysubject.rb
alula-ruby-2.1.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-2.0.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.10.5 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.10.4 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.10.3 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.10.2 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.10.1 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.10.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.9.17 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.9.16 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.9.15 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.9.14 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.9.13 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.9.12 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.9.11 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.9.10 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.9.9 lib/alula/resources/feature_bysubject.rb
alula-ruby-1.9.8 lib/alula/resources/feature_bysubject.rb