/*
 * Tapis Workflows API
 *
 * Create and manage pipelines
 *
 * The version of the OpenAPI document: 1.6.0
 * Contact: cicsupport@tacc.utexas.edu
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ReqUpdateGroupUser {
    #[serde(rename = "is_admin")]
    pub is_admin: bool,
}

impl ReqUpdateGroupUser {
    pub fn new(is_admin: bool) -> ReqUpdateGroupUser {
        ReqUpdateGroupUser { is_admin }
    }
}
