Class: DatadogAPIClient::V2::AnnotationAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AnnotationAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/annotation_attributes.rb
Overview
Attributes of an annotation returned in a response.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#author_id ⇒ Object
readonly
Identifier of the user who created the annotation.
-
#color ⇒ Object
readonly
Color used to render the annotation in the UI.
-
#created_at ⇒ Object
readonly
Creation time of the annotation in milliseconds since the Unix epoch.
-
#description ⇒ Object
readonly
User-defined text attached to the annotation.
-
#end_time ⇒ Object
End time of the annotation in milliseconds since the Unix epoch.
-
#modified_at ⇒ Object
readonly
Last modification time of the annotation in milliseconds since the Unix epoch.
-
#page_id ⇒ Object
readonly
ID of the page the annotation belongs to, prefixed with the page type and joined by a colon (for example,
dashboard:abc-def-xyzornotebook:1234567890). -
#start_time ⇒ Object
readonly
Start time of the annotation in milliseconds since the Unix epoch.
-
#type ⇒ Object
readonly
Kind of annotation.
-
#widget_ids ⇒ Object
IDs of widgets the annotation is associated with.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
56 57 58 |
# File 'lib/datadog_api_client/v2/models/annotation_attributes.rb', line 56 def additional_properties @additional_properties end |
#author_id ⇒ Object
Identifier of the user who created the annotation.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/annotation_attributes.rb', line 25 def @author_id end |
#color ⇒ Object
Color used to render the annotation in the UI.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/annotation_attributes.rb', line 28 def color @color end |
#created_at ⇒ Object
Creation time of the annotation in milliseconds since the Unix epoch.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/annotation_attributes.rb', line 31 def created_at @created_at end |
#description ⇒ Object
User-defined text attached to the annotation.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/annotation_attributes.rb', line 34 def description @description end |
#end_time ⇒ Object
End time of the annotation in milliseconds since the Unix epoch. Null for pointInTime annotations.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/annotation_attributes.rb', line 37 def end_time @end_time end |
#modified_at ⇒ Object
Last modification time of the annotation in milliseconds since the Unix epoch.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/annotation_attributes.rb', line 40 def modified_at @modified_at end |
#page_id ⇒ Object
ID of the page the annotation belongs to, prefixed with the page type and joined by a colon
(for example, dashboard:abc-def-xyz or notebook:1234567890).
44 45 46 |
# File 'lib/datadog_api_client/v2/models/annotation_attributes.rb', line 44 def page_id @page_id end |
#start_time ⇒ Object
Start time of the annotation in milliseconds since the Unix epoch.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/annotation_attributes.rb', line 47 def start_time @start_time end |
#type ⇒ Object
Kind of annotation. pointInTime annotations mark a single moment in time,
while timeRegion annotations span a window of time and require an end_time.
51 52 53 |
# File 'lib/datadog_api_client/v2/models/annotation_attributes.rb', line 51 def type @type end |
#widget_ids ⇒ Object
IDs of widgets the annotation is associated with. When empty or omitted, the annotation applies to the whole page.
54 55 56 |
# File 'lib/datadog_api_client/v2/models/annotation_attributes.rb', line 54 def @widget_ids end |