/* 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 { EnumHTTPMethod, EnumHTTPMethodFromJSON, EnumHTTPMethodFromJSONTyped, EnumHTTPMethodToJSON, } from './'; /** * * @export * @interface ReqRequestTaskAllOf */ export interface ReqRequestTaskAllOf { /** * * @type {object} * @memberof ReqRequestTaskAllOf */ auth?: object; /** * * @type {object} * @memberof ReqRequestTaskAllOf */ data?: object; /** * * @type {object} * @memberof ReqRequestTaskAllOf */ headers?: object; /** * * @type {EnumHTTPMethod} * @memberof ReqRequestTaskAllOf */ http_method: EnumHTTPMethod; /** * * @type {object} * @memberof ReqRequestTaskAllOf */ query_params?: object; /** * * @type {string} * @memberof ReqRequestTaskAllOf */ url: string; } export function ReqRequestTaskAllOfFromJSON(json: any): ReqRequestTaskAllOf { return ReqRequestTaskAllOfFromJSONTyped(json, false); } export function ReqRequestTaskAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqRequestTaskAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'auth': !exists(json, 'auth') ? undefined : json['auth'], 'data': !exists(json, 'data') ? undefined : json['data'], 'headers': !exists(json, 'headers') ? undefined : json['headers'], 'http_method': EnumHTTPMethodFromJSON(json['http_method']), 'query_params': !exists(json, 'query_params') ? undefined : json['query_params'], 'url': json['url'], }; } export function ReqRequestTaskAllOfToJSON(value?: ReqRequestTaskAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'auth': value.auth, 'data': value.data, 'headers': value.headers, 'http_method': EnumHTTPMethodToJSON(value.http_method), 'query_params': value.query_params, 'url': value.url, }; }