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-0.64.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.63.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.62.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.61.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.60.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.59.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.58.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.57.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.56.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.55.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.54.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.53.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.52.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.51.0 lib/alula/resources/feature_bysubject.rb
alula-ruby-0.50.1 lib/alula/resources/feature_bysubject.rb