bitwarden_api_api/models/
group_details_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GroupDetailsResponseModel {
#[serde(rename = "object", skip_serializing_if = "Option::is_none")]
pub object: Option<String>,
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<uuid::Uuid>,
#[serde(rename = "organizationId", skip_serializing_if = "Option::is_none")]
pub organization_id: Option<uuid::Uuid>,
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
#[serde(rename = "externalId", skip_serializing_if = "Option::is_none")]
pub external_id: Option<String>,
#[serde(rename = "collections", skip_serializing_if = "Option::is_none")]
pub collections: Option<Vec<models::SelectionReadOnlyResponseModel>>,
}
impl GroupDetailsResponseModel {
pub fn new() -> GroupDetailsResponseModel {
GroupDetailsResponseModel {
object: None,
id: None,
organization_id: None,
name: None,
external_id: None,
collections: None,
}
}
}