// 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 AgentCredentialValidation {
/// Whether the presented credential is valid.
pub valid: bool,
/// Identifier of the agent registration the credential belongs to, or `null` when the credential is invalid.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub registration_id: Option<String>,
/// The timestamp when the credential expires, or `null` when the credential is invalid.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub expires_at: Option<String>,
}