Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/ioki/model/operator/reporting/report_aggregation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ class ReportAggregation < Base
on: :read,
type: :string

attribute :localized_reference_timestamp,
on: :read,
type: :string

attribute :visualization,
on: :read,
type: :string
Expand Down
34 changes: 31 additions & 3 deletions lib/ioki/model/operator/reporting/report_aggregation_bucket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,51 @@ class ReportAggregationBucket < Base
on: :read,
type: :string

attribute :col,
on: :read,
type: :string

attribute :default_preset,
on: :read,
type: :string

attribute :granularities,
on: :read,
type: :array

attribute :localized_col,
on: :read,
type: :string

attribute :localized_granularities,
on: :read,
type: :array

attribute :presets,
attribute :localized_on,
on: :read,
type: :array
type: :string

attribute :localized_presets,
on: :read,
type: :array

attribute :default_preset,
attribute :localized_row,
on: :read,
type: :string

attribute :on,
on: :read,
type: :string

attribute :periodic,
on: :read,
type: :boolean

attribute :presets,
on: :read,
type: :array

attribute :row,
on: :read,
type: :string
end
Expand Down