Skip to main content

tapis_workflows/models/
req_update_group_user.rs

1/*
2 * Tapis Workflows API
3 *
4 * Create and manage pipelines
5 *
6 * The version of the OpenAPI document: 1.6.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 ReqUpdateGroupUser {
16    #[serde(rename = "is_admin")]
17    pub is_admin: bool,
18}
19
20impl ReqUpdateGroupUser {
21    pub fn new(is_admin: bool) -> ReqUpdateGroupUser {
22        ReqUpdateGroupUser { is_admin }
23    }
24}