Class: DatadogAPIClient::V2::AnnotationAttributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_idObject

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
  @author_id
end

#colorObject

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_atObject

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

#descriptionObject

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_timeObject

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_atObject

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_idObject

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_timeObject

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

#typeObject

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_idsObject

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
  @widget_ids
end