// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Response from POST /workflows/reviews/{review_id}/approve | /reject.
/// The shape carries ``resume_status`` so callers can see whether the
/// Temporal resume signal succeeded — meta-pattern §2 action-endpoint
/// criterion #4 (divergent response shape).
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SubmitDecisionResponse {
    /// Defaults to `accepted`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub submission_status: Option<SubmissionStatus>,
    pub review: Review,
    /// Defaults to `resumed`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub resume_status: Option<ResumeStatus>,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub resume_error: Option<String>,
}
