/* 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 Group */ export interface Group { /** * * @type {string} * @memberof Group */ id?: string; /** * * @type {string} * @memberof Group */ owner?: string; /** * * @type {string} * @memberof Group */ tenant_id?: string; /** * * @type {string} * @memberof Group */ uuid?: string; } export function GroupFromJSON(json: any): Group { return GroupFromJSONTyped(json, false); } export function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Group { if ((json === undefined) || (json === null)) { return json; } return { 'id': !exists(json, 'id') ? undefined : json['id'], 'owner': !exists(json, 'owner') ? undefined : json['owner'], 'tenant_id': !exists(json, 'tenant_id') ? undefined : json['tenant_id'], 'uuid': !exists(json, 'uuid') ? undefined : json['uuid'], }; } export function GroupToJSON(value?: Group | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'id': value.id, 'owner': value.owner, 'tenant_id': value.tenant_id, 'uuid': value.uuid, }; }