/* tslint:disable */ /* eslint-disable */ /** * Tapis Workflows API * Create and manage pipelines * * The version of the OpenAPI document: 1.6.0 * Contact: cicsupport@tacc.utexas.edu * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { exists, mapValues } from '../runtime'; /** * * @export * @interface ReqGroupUser */ export interface ReqGroupUser { /** * * @type {string} * @memberof ReqGroupUser */ username: string; /** * * @type {boolean} * @memberof ReqGroupUser */ is_admin?: boolean; } export function ReqGroupUserFromJSON(json: any): ReqGroupUser { return ReqGroupUserFromJSONTyped(json, false); } export function ReqGroupUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGroupUser { if ((json === undefined) || (json === null)) { return json; } return { 'username': json['username'], 'is_admin': !exists(json, 'is_admin') ? undefined : json['is_admin'], }; } export function ReqGroupUserToJSON(value?: ReqGroupUser | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'username': value.username, 'is_admin': value.is_admin, }; }