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
// 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 ConnectApplicationOAuth {
/// 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.
pub application_type: String,
/// The redirect URIs configured for this application.
pub redirect_uris: Vec<ConnectApplicationOAuthRedirectUris>,
/// Whether the application uses PKCE for authorization.
pub uses_pkce: bool,
/// Whether the application is a first-party application.
pub is_first_party: 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>,
}