1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// 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>,
}