workos 2.0.1

Official Rust SDK for the WorkOS API
Documentation
// Code 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 ConnectApplication {
    /// Distinguishes the connect application object.
    pub object: String,
    /// The unique ID of the connect application.
    pub id: String,
    /// The client ID of the connect application.
    pub client_id: String,
    /// A description of the connect application.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub description: Option<String>,
    /// The name of the connect application.
    pub name: String,
    /// The scopes available for this application.
    pub scopes: Vec<String>,
    /// An ISO 8601 timestamp.
    pub created_at: String,
    /// An ISO 8601 timestamp.
    pub updated_at: String,
    /// The type of the application.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub application_type: Option<String>,
    /// The redirect URIs configured for this application.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub redirect_uris: Option<Vec<ConnectApplicationRedirectUri>>,
    /// Whether the application uses PKCE for authorization.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub uses_pkce: Option<bool>,
    /// Whether the application is a first-party application.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub is_first_party: Option<bool>,
    /// Whether the application was dynamically registered.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub was_dynamically_registered: Option<bool>,
    /// The ID of the organization the application belongs to.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub organization_id: Option<String>,
}