Skip to content

Bedrock  >  Unions  >  RatingScaleItemValue

RatingScaleItemValue

Union Type

RatingScaleItemValue module-attribute

Defines the value for one rating in a custom metric rating scale.

Union Member Types

RatingScaleItemValueStringValue dataclass

A string representing the value for a rating in a custom metric rating scale.

Attributes

value instance-attribute
value: str

RatingScaleItemValueFloatValue dataclass

A floating point number representing the value for a rating in a custom metric rating scale.

Attributes

value instance-attribute
value: float

RatingScaleItemValueUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str