Class: DatadogAPIClient::V2::CaseViewAttributes

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

Overview

Attributes of a case view, including the filter query and optional notification rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/case_view_attributes.rb', line 39

def additional_properties
  @additional_properties
end

#created_atObject

Timestamp when the view was created.



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

def created_at
  @created_at
end

#modified_atObject

Timestamp when the view was last modified.



28
29
30
# File 'lib/datadog_api_client/v2/models/case_view_attributes.rb', line 28

def modified_at
  @modified_at
end

#nameObject

A human-readable name for the view, displayed in the Case Management UI.



31
32
33
# File 'lib/datadog_api_client/v2/models/case_view_attributes.rb', line 31

def name
  @name
end

#np_rule_idObject

The identifier of a notification rule linked to this view. When set, users subscribed to the view receive alerts for matching cases.



34
35
36
# File 'lib/datadog_api_client/v2/models/case_view_attributes.rb', line 34

def np_rule_id
  @np_rule_id
end

#queryObject

The search query that determines which cases appear in this view. Uses the same syntax as the Case Management search bar (for example, status:open priority:P1).



37
38
39
# File 'lib/datadog_api_client/v2/models/case_view_attributes.rb', line 37

def query
  @query
end