workos 1.0.0

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 DataIntegrationsListResponseData {
    /// Distinguishes the data provider object.
    pub object: String,
    /// The unique identifier of the provider.
    pub id: String,
    /// The display name of the provider (e.g., "GitHub", "Slack").
    pub name: String,
    /// A description of the provider explaining how it will be used, if configured.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub description: Option<String>,
    /// The slug identifier used in API calls (e.g., `github`, `slack`, `notion`).
    pub slug: String,
    /// The type of integration (e.g., `github`, `slack`).
    pub integration_type: String,
    /// The type of credentials used by the provider (e.g., `oauth2`).
    pub credentials_type: String,
    /// The OAuth scopes configured for this provider, or `null` if none are configured.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub scopes: Option<Vec<String>>,
    /// Whether the provider is owned by a user or organization.
    pub ownership: DataIntegrationsListResponseDataOwnership,
    /// The timestamp when the provider was created.
    pub created_at: String,
    /// The timestamp when the provider was last updated.
    pub updated_at: String,
    /// Use integration_type instead.
    #[serde(rename = "integrationType")]
    #[deprecated]
    pub integration_type_2: String,
    /// Use credentials_type instead.
    #[serde(rename = "credentialsType")]
    #[deprecated]
    pub credentials_type_2: String,
    /// Use created_at instead.
    #[serde(rename = "createdAt")]
    #[deprecated]
    pub created_at_2: String,
    /// Use updated_at instead.
    #[serde(rename = "updatedAt")]
    #[deprecated]
    pub updated_at_2: String,
    /// The user's [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null` if the user has not connected.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub connected_account: Option<DataIntegrationsListResponseDataConnectedAccount>,
}