bitwarden_api_api/models/
collection_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CollectionResponseModel {
#[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>,
}
impl CollectionResponseModel {
pub fn new() -> CollectionResponseModel {
CollectionResponseModel {
object: None,
id: None,
organization_id: None,
name: None,
external_id: None,
}
}
}