Class: DatadogAPIClient::V1::MetricsQueryResponse

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

Overview

Response Object that includes your query and the list of metrics retrieved.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



51
52
53
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 51

def additional_properties
  @additional_properties
end

#errorObject

Message indicating the errors if status is not ‘ok`.



25
26
27
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 25

def error
  @error
end

#from_dateObject

Start of requested time window, milliseconds since Unix epoch.



28
29
30
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 28

def from_date
  @from_date
end

#group_byObject

List of tag keys on which to group.



31
32
33
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 31

def group_by
  @group_by
end

#messageObject

Message indicating ‘success` if status is `ok`.



34
35
36
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 34

def message
  @message
end

#queryObject

Query string



37
38
39
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 37

def query
  @query
end

#res_typeObject

Type of response.



40
41
42
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 40

def res_type
  @res_type
end

#seriesObject

List of timeseries queried.



43
44
45
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 43

def series
  @series
end

#statusObject

Status of the query.



46
47
48
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 46

def status
  @status
end

#to_dateObject

End of requested time window, milliseconds since Unix epoch.



49
50
51
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 49

def to_date
  @to_date
end