Class: DatadogAPIClient::V2::TimeseriesFormulaRequestAttributes

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

Overview

The object describing a timeseries formula request.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



42
43
44
# File 'lib/datadog_api_client/v2/models/timeseries_formula_request_attributes.rb', line 42

def additional_properties
  @additional_properties
end

#formulasObject

List of formulas to be calculated and returned as responses.



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

def formulas
  @formulas
end

#fromObject

Start date (inclusive) of the query in milliseconds since the Unix epoch.



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

def from
  @from
end

#intervalObject

A time interval in milliseconds. May be overridden by a larger interval if the query would result in too many points for the specified timeframe. Defaults to a reasonable interval for the given timeframe.



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

def interval
  @interval
end

#queriesObject

List of queries to be run and used as inputs to the formulas.



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

def queries
  @queries
end

#toObject

End date (exclusive) of the query in milliseconds since the Unix epoch.



40
41
42
# File 'lib/datadog_api_client/v2/models/timeseries_formula_request_attributes.rb', line 40

def to
  @to
end