// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Public API shape for one review. Strips internal fields.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Review {
    pub id: String,
    pub workflow_id: String,
    pub workflow_version_id: String,
    pub workflow_run_id: String,
    pub block_id: String,
    pub step_id: String,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub parent_step_id: Option<String>,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub iteration_key: Option<String>,
    pub block_type: ReviewBlockType,
    pub triggered_by: ReviewAllOfPredicatesOneOf,
    /// When the review was created.
    pub created_at: String,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub decision: Option<ReviewDecision>,
}
