/*
 * 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 RespGroupUserList {
    #[serde(rename = "status")]
    pub status: String,
    #[serde(rename = "message")]
    pub message: String,
    #[serde(rename = "result")]
    pub result: Vec<models::GroupUser>,
    #[serde(rename = "version")]
    pub version: String,
    #[serde(rename = "metadata")]
    pub metadata: serde_json::Value,
}

impl RespGroupUserList {
    pub fn new(
        status: String,
        message: String,
        result: Vec<models::GroupUser>,
        version: String,
        metadata: serde_json::Value,
    ) -> RespGroupUserList {
        RespGroupUserList {
            status,
            message,
            result,
            version,
            metadata,
        }
    }
}
