module Alula # The Generic Preferences for a User class UserPreferences < Alula::RestResource extend Alula::ResourceAttributes extend Alula::RelationshipAttributes extend Alula::ApiOperations::Request extend Alula::ApiOperations::List resource_path 'users/preferences' type 'users-preferences' # Resource Fields # Not all params are used at the moment. See Alula::ResourceAttributes for details # on how params are parsed, field :id, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :user_id, type: :string, sortable: true, filterable: true, creatable_by: [], patchable_by: [] field :key, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :value, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :data, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :inherited, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] end end