/* 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 { BaseDataIntegrityProfile, BaseDataIntegrityProfileFromJSON, BaseDataIntegrityProfileFromJSONTyped, BaseDataIntegrityProfileToJSON, DoneFileDataIntegrityProfileAllOf, DoneFileDataIntegrityProfileAllOfFromJSON, DoneFileDataIntegrityProfileAllOfFromJSONTyped, DoneFileDataIntegrityProfileAllOfToJSON, } from './'; /** * * @export * @interface DoneFileDataIntegrityProfile */ export interface DoneFileDataIntegrityProfile { /** * * @type {string} * @memberof DoneFileDataIntegrityProfile */ type: string; /** * * @type {string} * @memberof DoneFileDataIntegrityProfile */ done_files_path: string; /** * * @type {Array} * @memberof DoneFileDataIntegrityProfile */ include_patterns?: Array; /** * * @type {Array} * @memberof DoneFileDataIntegrityProfile */ exclude_patterns?: Array; } export function DoneFileDataIntegrityProfileFromJSON(json: any): DoneFileDataIntegrityProfile { return DoneFileDataIntegrityProfileFromJSONTyped(json, false); } export function DoneFileDataIntegrityProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): DoneFileDataIntegrityProfile { if ((json === undefined) || (json === null)) { return json; } return { 'type': json['type'], 'done_files_path': json['done_files_path'], 'include_patterns': !exists(json, 'include_patterns') ? undefined : json['include_patterns'], 'exclude_patterns': !exists(json, 'exclude_patterns') ? undefined : json['exclude_patterns'], }; } export function DoneFileDataIntegrityProfileToJSON(value?: DoneFileDataIntegrityProfile | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'type': value.type, 'done_files_path': value.done_files_path, 'include_patterns': value.include_patterns, 'exclude_patterns': value.exclude_patterns, }; }