Package com.influxdb.client.domain
Class DashboardColor
java.lang.Object
com.influxdb.client.domain.DashboardColor
Defines an encoding of data value into color space.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Type is how the color is used. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getHex()
The hex number of the colorgetId()
The unique ID of the view color.getName()
The user-facing name of the hex color.getType()
Type is how the color is used.getValue()
The data value mapped to this color.int
hashCode()
void
void
void
void
void
toString()
type
(DashboardColor.TypeEnum type)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_HEX
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_VALUE
- See Also:
-
-
Constructor Details
-
DashboardColor
public DashboardColor()
-
-
Method Details
-
id
-
getId
The unique ID of the view color.- Returns:
- id
-
setId
-
type
-
getType
Type is how the color is used.- Returns:
- type
-
setType
-
hex
-
getHex
The hex number of the color- Returns:
- hex
-
setHex
-
name
-
getName
The user-facing name of the hex color.- Returns:
- name
-
setName
-
value
-
getValue
The data value mapped to this color.- Returns:
- value
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-