ReleasedPropositionDto

data class ReleasedPropositionDto(val propositionId: String, val contextId: String, val status: String, val quarantined: Boolean, val quarantineReason: String?, val metadataRevised: String)

Where a proposition stands after a release: the state a caller gets back so it can see the hold is gone without a second read.

quarantined is read off the status, which is what decides whether a proposition is held, and quarantineReason off the metadata the release cleared. After a successful release both say the proposition is free: the status is whatever it carried before quarantine, and the reason is gone.

Constructors

Link copied to clipboard
constructor(propositionId: String, contextId: String, status: String, quarantined: Boolean, quarantineReason: String?, metadataRevised: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The context it belongs to.

Link copied to clipboard

When its metadata last moved, ISO-8601.

Link copied to clipboard

The released proposition's id.

Link copied to clipboard

Whether it is still held.

Link copied to clipboard

The explanation still on it, null once the release cleared it.

Link copied to clipboard

The status it carries now, restored from what it had before quarantine.