bitwarden_api_api/models/
granted_project_access_policy_permission_details_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GrantedProjectAccessPolicyPermissionDetailsResponseModel {
#[serde(rename = "object", skip_serializing_if = "Option::is_none")]
pub object: Option<String>,
#[serde(rename = "accessPolicy", skip_serializing_if = "Option::is_none")]
pub access_policy: Option<Box<models::GrantedProjectAccessPolicyResponseModel>>,
#[serde(rename = "hasPermission", skip_serializing_if = "Option::is_none")]
pub has_permission: Option<bool>,
}
impl GrantedProjectAccessPolicyPermissionDetailsResponseModel {
pub fn new() -> GrantedProjectAccessPolicyPermissionDetailsResponseModel {
GrantedProjectAccessPolicyPermissionDetailsResponseModel {
object: None,
access_policy: None,
has_permission: None,
}
}
}