/* 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'; import { EnumContextType, EnumContextTypeFromJSON, EnumContextTypeFromJSONTyped, EnumContextTypeToJSON, } from './'; /** * * @export * @interface ReqBaseContext */ export interface ReqBaseContext { /** * * @type {EnumContextType} * @memberof ReqBaseContext */ type: EnumContextType; } export function ReqBaseContextFromJSON(json: any): ReqBaseContext { return ReqBaseContextFromJSONTyped(json, false); } export function ReqBaseContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqBaseContext { if ((json === undefined) || (json === null)) { return json; } return { 'type': EnumContextTypeFromJSON(json['type']), }; } export function ReqBaseContextToJSON(value?: ReqBaseContext | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'type': EnumContextTypeToJSON(value.type), }; }