mz_frontegg_mock/models/
scim.rs1use chrono::{DateTime, Utc};
11use serde::{Deserialize, Serialize};
12
13#[derive(Deserialize)]
14pub struct SCIM2ConfigurationCreateRequest {
15 pub source: String,
16 #[serde(rename = "connectionName")]
17 pub connection_name: String,
18 #[serde(rename = "syncToUserManagement")]
19 pub sync_to_user_management: bool,
20}
21
22#[derive(Serialize, Clone, Debug)]
23pub struct SCIM2ConfigurationResponse {
24 pub id: String,
25 pub source: String,
26 #[serde(rename = "tenantId")]
27 pub tenant_id: String,
28 #[serde(rename = "connectionName")]
29 pub connection_name: String,
30 #[serde(rename = "syncToUserManagement")]
31 pub sync_to_user_management: bool,
32 #[serde(rename = "createdAt")]
33 pub created_at: DateTime<Utc>,
34 pub token: String,
35}
36
37#[derive(Clone, Debug)]
38pub struct SCIM2ConfigurationStorage {
39 pub id: String,
40 pub source: String,
41 pub tenant_id: String,
42 pub connection_name: String,
43 pub sync_to_user_management: bool,
44 pub created_at: DateTime<Utc>,
45 pub token: String,
46}