use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DocumentUpdateIn {
#[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub name: Option<Option<String>>,
#[serde(rename = "attributes", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub attributes: Option<Option<std::collections::HashMap<String, models::DocumentUpdateInAttributesValue>>>,
}
impl DocumentUpdateIn {
pub fn new() -> DocumentUpdateIn {
DocumentUpdateIn {
name: None,
attributes: None,
}
}
}