BadgeCondition¶
Detailed information about a condition used in coloring a custom metadata badge in Atlan.
Complete reference
This is a complete reference for the BadgeCondition
struct in Atlan, showing all of its embedded properties. For an introduction, you probably want to start with:
Embedded properties¶
These are the attributes embedded within each instance of the BadgeCondition
struct in an asset:
badgeConditionOperator
Comparison operator to use when comparing a custom metadata attribute's value. | |
---|---|
1 2 |
|
-
Set the
badgeConditionOperator
for aBadgeCondition
. -
Retrieve the
badgeConditionOperator
from aBadgeCondition
.For more details
For more information, see the asset CRUD snippets on retrieving assets.
badgeConditionValue
Value against which to compare the custom metadata attribute's content. | |
---|---|
1 2 |
|
-
Set the
badgeConditionValue
for aBadgeCondition
. -
Retrieve the
badgeConditionValue
from aBadgeCondition
.For more details
For more information, see the asset CRUD snippets on retrieving assets.
badgeConditionColorhex
Color (in RGB hex, with a # prefix) to use when custom metadata attribute's content matches the value through the comparison operator. | |
---|---|
1 2 |
|
-
Set the
badgeConditionColorhex
for aBadgeCondition
. -
Retrieve the
badgeConditionColorhex
from aBadgeCondition
.For more details
For more information, see the asset CRUD snippets on retrieving assets.
badgeConditionOperator
Comparison operator to use when comparing a custom metadata attribute's value. | |
---|---|
1 2 3 4 5 |
|
-
Set the
badgeConditionOperator
for aBadgeCondition
.For more details
For more information, see the asset CRUD snippets.
badgeConditionValue
Value against which to compare the custom metadata attribute's content. | |
---|---|
1 2 3 4 5 |
|
-
Set the
badgeConditionValue
for aBadgeCondition
.For more details
For more information, see the asset CRUD snippets.
badgeConditionColorhex
Color (in RGB hex, with a # prefix) to use when custom metadata attribute's content matches the value through the comparison operator. | |
---|---|
1 2 3 4 5 |
|
-
Set the
badgeConditionColorhex
for aBadgeCondition
.For more details
For more information, see the asset CRUD snippets.