// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Public/shared file reference used across SDK and customer-facing APIs.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct EvalPublicFileRef {
    /// ID of the file
    pub id: String,
    /// Filename of the file
    pub filename: String,
    /// MIME type of the file
    pub mime_type: String,
}
impl EvalPublicFileRef {
    /// Construct a new `EvalPublicFileRef` with the required fields set.
    #[allow(deprecated)]
    pub fn new(
        id: impl Into<String>,
        filename: impl Into<String>,
        mime_type: impl Into<String>,
    ) -> Self {
        Self {
            id: id.into(),
            filename: filename.into(),
            mime_type: mime_type.into(),
        }
    }
}
