Class: DatadogAPIClient::V2::IssueWatchAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/issue_watch_attributes.rb

Overview

Object containing the information of a watch.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#action ⇒ Object

Action applied to the issue when the watch condition is met.



25
26
27
# File 'lib/datadog_api_client/v2/models/issue_watch_attributes.rb', line 25

def action
  @action
end

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



38
39
40
# File 'lib/datadog_api_client/v2/models/issue_watch_attributes.rb', line 38

def additional_properties
  @additional_properties
end

#condition ⇒ Object

Condition that triggers the watch action. The fields that are set depend on kind: OCCURRENCES uses threshold, CARDINALITY uses threshold and projection, ELAPSED_TIME uses duration, and ANY and ALL use operands.



30
31
32
# File 'lib/datadog_api_client/v2/models/issue_watch_attributes.rb', line 30

def condition
  @condition
end

#started_at ⇒ Object

Timestamp of when the watch started.



33
34
35
# File 'lib/datadog_api_client/v2/models/issue_watch_attributes.rb', line 33

def started_at
  @started_at
end

#status ⇒ Object

Status of the watch.



36
37
38
# File 'lib/datadog_api_client/v2/models/issue_watch_attributes.rb', line 36

def status
  @status
end