// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CreateUploadResponse {
    /// Underlying file ID
    #[serde(rename = "fileId")]
    pub file_id: String,
    /// Short-lived signed upload URL
    #[serde(rename = "uploadUrl")]
    pub upload_url: String,
    /// HTTP method for upload
    ///
    /// Defaults to `PUT`.
    #[serde(rename = "uploadMethod")]
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub upload_method: Option<String>,
    /// Headers required by the signed upload URL
    #[serde(rename = "uploadHeaders")]
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub upload_headers: Option<std::collections::HashMap<String, String>>,
    /// Durable Retab MIMEData reference
    #[serde(rename = "mimeData")]
    pub mime_data: MimeData,
    /// Upload URL expiration
    #[serde(rename = "expiresAt")]
    pub expires_at: String,
}
