module Alula class ReceiverConnection < Alula::RestResource extend Alula::ResourceAttributes extend Alula::ApiOperations::List # You should update this to be a slash-separated, literal path to the resource # without the prefix /api/v1 or the suffix of an ID resource_path 'receivers/connections' type 'receivers-connections' # Relationships # None # 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 :path, type: :string, sortable: true, filterable: true, creatable_by: [], patchable_by: [] field :name, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :station_id, type: :string, sortable: false, filterable: true, creatable_by: [], patchable_by: [] field :success_count, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :fail_count, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :last_success, type: :date, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :last_fail, type: :date, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :status, type: :string, sortable: false, filterable: true, creatable_by: [], patchable_by: [] field :type, type: :string, sortable: false, filterable: true, creatable_by: [], patchable_by: [] field :status_date, type: :date, sortable: true, filterable: true, creatable_by: [], patchable_by: [] end end