// 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 immutable review version.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ReviewVersion {
    pub id: String,
    pub review_id: String,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub parent_id: Option<String>,
    /// Actor that created the version.
    pub author: Actor,
    pub snapshot: std::collections::HashMap<String, serde_json::Value>,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub note: Option<String>,
    /// When the review version was created.
    pub created_at: String,
}
