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
18
// 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 ClaimViewResponse {
    /// The agent registration ID.
    pub id: String,
    /// Current status of the agent registration.
    pub status: ClaimViewResponseStatus,
    /// The user code the agent needs to complete the claim.
    pub user_code: String,
    /// Organizations the user belongs to, offered as placement choices.
    pub organizations: Vec<ClaimViewResponseOrganization>,
}