bitwarden_api_api/models/
organization_integration_response_model.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct OrganizationIntegrationResponseModel {
17 #[serde(rename = "object", skip_serializing_if = "Option::is_none")]
18 pub object: Option<String>,
19 #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
20 pub id: Option<uuid::Uuid>,
21 #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
22 pub r#type: Option<models::IntegrationType>,
23 #[serde(rename = "configuration", skip_serializing_if = "Option::is_none")]
24 pub configuration: Option<String>,
25}
26
27impl OrganizationIntegrationResponseModel {
28 pub fn new() -> OrganizationIntegrationResponseModel {
29 OrganizationIntegrationResponseModel {
30 object: None,
31 id: None,
32 r#type: None,
33 configuration: None,
34 }
35 }
36}