/* 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 { DataIntegrityProfile, DataIntegrityProfileFromJSON, DataIntegrityProfileFromJSONTyped, DataIntegrityProfileToJSON, ETLDataSystemAllOf, ETLDataSystemAllOfFromJSON, ETLDataSystemAllOfFromJSONTyped, ETLDataSystemAllOfToJSON, ETLSystem, ETLSystemFromJSON, ETLSystemFromJSONTyped, ETLSystemToJSON, } from './'; /** * * @export * @interface ETLDataSystem */ export interface ETLDataSystem { /** * * @type {string} * @memberof ETLDataSystem */ system_id?: string; /** * * @type {string} * @memberof ETLDataSystem */ path?: string; /** * * @type {Array} * @memberof ETLDataSystem */ include_patterns?: Array; /** * * @type {Array} * @memberof ETLDataSystem */ exclude_patterns?: Array; /** * * @type {DataIntegrityProfile} * @memberof ETLDataSystem */ integrity_profile?: DataIntegrityProfile; } export function ETLDataSystemFromJSON(json: any): ETLDataSystem { return ETLDataSystemFromJSONTyped(json, false); } export function ETLDataSystemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ETLDataSystem { if ((json === undefined) || (json === null)) { return json; } return { 'system_id': !exists(json, 'system_id') ? undefined : json['system_id'], 'path': !exists(json, 'path') ? undefined : json['path'], 'include_patterns': !exists(json, 'include_patterns') ? undefined : json['include_patterns'], 'exclude_patterns': !exists(json, 'exclude_patterns') ? undefined : json['exclude_patterns'], 'integrity_profile': !exists(json, 'integrity_profile') ? undefined : DataIntegrityProfileFromJSON(json['integrity_profile']), }; } export function ETLDataSystemToJSON(value?: ETLDataSystem | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'system_id': value.system_id, 'path': value.path, 'include_patterns': value.include_patterns, 'exclude_patterns': value.exclude_patterns, 'integrity_profile': DataIntegrityProfileToJSON(value.integrity_profile), }; }