SelectOption

interface SelectOption

Represents a selectable option for a Notion select or multi-select property.

Each option has a name, a unique (but not always UUID) ID, and a color. Used for defining and working with select/multi-select property values and schemas.

Properties

Link copied to clipboard
abstract val color: Color

Color of the option.

Link copied to clipboard
abstract val id: String

ID of the option, which does not change if the name is changed. These are sometimes, but not always, UUIDs.

Link copied to clipboard
abstract val name: String

Name of the option as it appears in Notion.