workos 3.4.1

Official Rust SDK for the WorkOS API
Documentation
// 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};
/// The event payload.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct AgentInstanceDeletedData {
    /// Distinguishes the agent instance object.
    pub object: String,
    /// Unique identifier of the agent instance.
    pub id: String,
    /// The agent blueprint this instance was minted from.
    pub agent_blueprint_id: String,
    /// The organization the instance acts within.
    pub organization_id: String,
    /// The organization membership the instance acts on behalf of; `null` for an autonomous instance.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub organization_membership_id: Option<String>,
    /// Whether the instance acts on behalf of a user (`delegated`) or as itself within an organization (`autonomous`).
    #[serde(rename = "type")]
    pub type_: AgentInstanceDeletedDataType,
    /// The timestamp when the agent instance was created.
    pub created_at: String,
    /// The timestamp when the agent instance was last updated.
    pub updated_at: String,
}