Class: DatadogAPIClient::V1::HeatgridColorStop

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

Overview

A position and color in a continuous gradient.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#color ⇒ Object

A color string, or two color strings for the light and dark themes, in that order.



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

def color
  @color
end

#position ⇒ Object

Position in the gradient, from 0 to 100.



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

def position
  @position
end