bitwarden_api_api/models/
collection_details_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CollectionDetailsResponseModel {
#[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 = "readOnly", skip_serializing_if = "Option::is_none")]
pub read_only: Option<bool>,
#[serde(rename = "hidePasswords", skip_serializing_if = "Option::is_none")]
pub hide_passwords: Option<bool>,
#[serde(rename = "manage", skip_serializing_if = "Option::is_none")]
pub manage: Option<bool>,
}
impl CollectionDetailsResponseModel {
pub fn new() -> CollectionDetailsResponseModel {
CollectionDetailsResponseModel {
object: None,
id: None,
organization_id: None,
name: None,
external_id: None,
read_only: None,
hide_passwords: None,
manage: None,
}
}
}