/* 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 { ETLEnumManifestGenerationPolicy, ETLEnumManifestGenerationPolicyFromJSON, ETLEnumManifestGenerationPolicyFromJSONTyped, ETLEnumManifestGenerationPolicyToJSON, ETLEnumManifestPriority, ETLEnumManifestPriorityFromJSON, ETLEnumManifestPriorityFromJSONTyped, ETLEnumManifestPriorityToJSON, } from './'; /** * * @export * @interface ETLManifestsSystemAllOf */ export interface ETLManifestsSystemAllOf { /** * * @type {ETLEnumManifestGenerationPolicy} * @memberof ETLManifestsSystemAllOf */ generation_policy?: ETLEnumManifestGenerationPolicy; /** * * @type {ETLEnumManifestPriority} * @memberof ETLManifestsSystemAllOf */ priority?: ETLEnumManifestPriority; } export function ETLManifestsSystemAllOfFromJSON(json: any): ETLManifestsSystemAllOf { return ETLManifestsSystemAllOfFromJSONTyped(json, false); } export function ETLManifestsSystemAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ETLManifestsSystemAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'generation_policy': !exists(json, 'generation_policy') ? undefined : ETLEnumManifestGenerationPolicyFromJSON(json['generation_policy']), 'priority': !exists(json, 'priority') ? undefined : ETLEnumManifestPriorityFromJSON(json['priority']), }; } export function ETLManifestsSystemAllOfToJSON(value?: ETLManifestsSystemAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'generation_policy': ETLEnumManifestGenerationPolicyToJSON(value.generation_policy), 'priority': ETLEnumManifestPriorityToJSON(value.priority), }; }