// This file is auto-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 AgentRegistration {
/// Unique identifier of the agent registration.
pub id: String,
/// The agent identity associated with this registration.
pub agent_identity: AgentRegistrationAgentIdentity,
/// Identifier of the organization the agent is registered to.
pub organization_id: String,
/// The current verification status of the registration.
pub status: AgentRegistrationStatus,
/// The kind of agent registration.
pub kind: AgentRegistrationKind,
/// The claim associated with this registration, or `null` if the registration has no claim.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub claim: Option<AgentRegistrationClaim>,
/// The timestamp when the registration was created.
pub created_at: String,
/// The timestamp when the registration was last updated.
pub updated_at: String,
}