One typed outcome from the bound timeline::DocumentSession. More...
#include <control_timeline_document_session_executor.hpp>
Public Attributes | |
| bool | accepted = false |
| True when the session accepted the request. | |
| std::string | session_id |
| Session identity. Required on every accepted outcome. | |
| std::uint64_t | revision = 0 |
| Published document revision after the request. | |
| bool | applied = false |
| True when the session committed a new revision. | |
| bool | replayed = false |
| True when an identical idempotency_key replayed a cached result. | |
| std::string | diff_json |
| Change-set payload for Diff, empty otherwise. | |
| std::optional< pulp::timeline::ConflictCode > | conflict |
| The session's refusal cause. Required on every refused outcome. | |
| std::string | refusal_json |
| The offline surface's typed refusal envelope, verbatim. | |
| std::string | explanation |
| Human-readable account of the refusal. | |
One typed outcome from the bound timeline::DocumentSession.
A refusal carries the session's own ConflictCode rather than a broker-side re-interpretation, so the live surface and the offline surface refuse the same case under the same name.
| bool pulp::inspect::ControlTimelineDocumentSessionOutcome::accepted = false |
True when the session accepted the request.
| bool pulp::inspect::ControlTimelineDocumentSessionOutcome::applied = false |
True when the session committed a new revision.
| std::optional<pulp::timeline::ConflictCode> pulp::inspect::ControlTimelineDocumentSessionOutcome::conflict |
The session's refusal cause. Required on every refused outcome.
| std::string pulp::inspect::ControlTimelineDocumentSessionOutcome::diff_json |
Change-set payload for Diff, empty otherwise.
| std::string pulp::inspect::ControlTimelineDocumentSessionOutcome::explanation |
Human-readable account of the refusal.
| std::string pulp::inspect::ControlTimelineDocumentSessionOutcome::refusal_json |
The offline surface's typed refusal envelope, verbatim.
| bool pulp::inspect::ControlTimelineDocumentSessionOutcome::replayed = false |
True when an identical idempotency_key replayed a cached result.
| std::uint64_t pulp::inspect::ControlTimelineDocumentSessionOutcome::revision = 0 |
Published document revision after the request.
| std::string pulp::inspect::ControlTimelineDocumentSessionOutcome::session_id |
Session identity. Required on every accepted outcome.