// Code generated by oagen. DO NOT EDIT.
#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Metadata for a stored encrypted object.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ObjectMetadata {
/// Map of values used to determine the encryption key.
pub context: std::collections::HashMap<String, String>,
/// Environment the object belongs to.
pub environment_id: String,
/// Unique identifier of the object.
pub id: String,
/// Encryption key identifier.
pub key_id: String,
/// Timestamp of the last update.
pub updated_at: String,
pub updated_by: Actor,
/// Current version identifier of the object.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub version_id: Option<String>,
}