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