bitwarden_api_api/models/
service_account_granted_policies_request_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ServiceAccountGrantedPoliciesRequestModel {
#[serde(rename = "projectGrantedPolicyRequests")]
pub project_granted_policy_requests: Option<Vec<models::GrantedAccessPolicyRequest>>,
}
impl ServiceAccountGrantedPoliciesRequestModel {
pub fn new(
project_granted_policy_requests: Option<Vec<models::GrantedAccessPolicyRequest>>,
) -> ServiceAccountGrantedPoliciesRequestModel {
ServiceAccountGrantedPoliciesRequestModel {
project_granted_policy_requests,
}
}
}