bitwarden_api_api/models/
granted_project_access_policy_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GrantedProjectAccessPolicyResponseModel {
#[serde(rename = "object", skip_serializing_if = "Option::is_none")]
pub object: Option<String>,
#[serde(rename = "read", skip_serializing_if = "Option::is_none")]
pub read: Option<bool>,
#[serde(rename = "write", skip_serializing_if = "Option::is_none")]
pub write: Option<bool>,
#[serde(rename = "grantedProjectId", skip_serializing_if = "Option::is_none")]
pub granted_project_id: Option<uuid::Uuid>,
#[serde(rename = "grantedProjectName", skip_serializing_if = "Option::is_none")]
pub granted_project_name: Option<String>,
}
impl GrantedProjectAccessPolicyResponseModel {
pub fn new() -> GrantedProjectAccessPolicyResponseModel {
GrantedProjectAccessPolicyResponseModel {
object: None,
read: None,
write: None,
granted_project_id: None,
granted_project_name: None,
}
}
}