tapis_apps/models/req_perms.rs
1/*
2 * Tapis Applications API
3 *
4 * The Tapis Applications API provides for management of Tapis applications including permissions.
5 *
6 * The version of the OpenAPI document: 25Q4.0
7 * Contact: cicsupport@tacc.utexas.edu
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ReqPerms {
16 #[serde(rename = "permissions")]
17 pub permissions: Vec<String>,
18}
19
20impl ReqPerms {
21 pub fn new(permissions: Vec<String>) -> ReqPerms {
22 ReqPerms { permissions }
23 }
24}