DraftStatus

sealed class DraftStatus

Publish synchronization state of the DRAFT working copy. Tracks whether the current DRAFT content has been published as a version. Only authoritative when DatasetStatus == ACTIVE. Not meaningful during in-flight or failed states. Transitions: CreateDataset succeeds → MODIFIED (DRAFT has content with no published version yet) Add/Update/DeleteExamples succeed → MODIFIED (DRAFT differs from last published version) CreateDatasetVersion succeeds → UNMODIFIED (DRAFT matches the version just published)

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

DRAFT has changes not yet reflected in any published version, or no versions have been published yet.

Link copied to clipboard
data class SdkUnknown(val value: String) : DraftStatus
Link copied to clipboard

DRAFT content matches the latest published version exactly. Any example mutation transitions draftStatus back to MODIFIED.

Properties

Link copied to clipboard
abstract val value: String