Sha256: c7c11b119d98fb04564dae332e98119774ebbeb034fa4b52aaac6dccd1595e9b
Contents?: true
Size: 475 Bytes
Versions: 1
Compression:
Stored size: 475 Bytes
Contents
# frozen_string_literal: true module GrafanaAnnotations class Annotation < Dry::Struct attribute? :dashboardUID, Types::Strict::String.optional attribute? :panelId, Types::Strict::String.optional attribute(:time, Types::Strict::Integer.default { GrafanaAnnotations::Utils::Time.now_ms }) attribute? :timeEnd, Types::Strict::Integer attribute :tags, Types::Strict::Array.of(Types::Coercible::String) attribute :text, Types::Strict::String end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grafana_annotations-0.1.1 | lib/grafana_annotations/annotation.rb |