// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Approve a specific version of a review.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ApproveReviewRequest {
    /// Exact content-addressed key of the version to approve.
    pub version_id: String,
}
impl ApproveReviewRequest {
    /// Construct a new `ApproveReviewRequest` with the required fields set.
    #[allow(deprecated)]
    pub fn new(version_id: impl Into<String>) -> Self {
        Self {
            version_id: version_id.into(),
        }
    }
}
