Class: DatadogAPIClient::V1::ComparisonDuration

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

Overview

The comparison period. Use a preset type value or set type to custom_timeframe and provide custom_timeframe with explicit millisecond epoch bounds.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



30
31
32
# File 'lib/datadog_api_client/v1/models/comparison_duration.rb', line 30

def additional_properties
  @additional_properties
end

#custom_timeframeObject

Fixed time range for a custom_timeframe comparison.



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

def custom_timeframe
  @custom_timeframe
end

#typeObject

The comparison window type.



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

def type
  @type
end