workos 3.1.0

Official Rust SDK for the WorkOS API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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 AgentRegistrationOrganizationSwitchedData {
    /// The agent registration that was moved.
    pub agent_registration_id: String,
    /// The agent-created organization the registration is moving off of. Migrate its resources to `to_organization_id`, then delete it.
    pub from_organization_id: String,
    /// The organization the registration now belongs to.
    pub to_organization_id: String,
}