/* 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'; /** * * @export * @interface RespPipelineLockAcquisitionAllOfResult */ export interface RespPipelineLockAcquisitionAllOfResult { /** * * @type {string} * @memberof RespPipelineLockAcquisitionAllOfResult */ pipeline_lock_uuid?: string; /** * * @type {boolean} * @memberof RespPipelineLockAcquisitionAllOfResult */ acquired?: boolean; /** * * @type {string} * @memberof RespPipelineLockAcquisitionAllOfResult */ message?: string; } export function RespPipelineLockAcquisitionAllOfResultFromJSON(json: any): RespPipelineLockAcquisitionAllOfResult { return RespPipelineLockAcquisitionAllOfResultFromJSONTyped(json, false); } export function RespPipelineLockAcquisitionAllOfResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespPipelineLockAcquisitionAllOfResult { if ((json === undefined) || (json === null)) { return json; } return { 'pipeline_lock_uuid': !exists(json, 'pipeline_lock_uuid') ? undefined : json['pipeline_lock_uuid'], 'acquired': !exists(json, 'acquired') ? undefined : json['acquired'], 'message': !exists(json, 'message') ? undefined : json['message'], }; } export function RespPipelineLockAcquisitionAllOfResultToJSON(value?: RespPipelineLockAcquisitionAllOfResult | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'pipeline_lock_uuid': value.pipeline_lock_uuid, 'acquired': value.acquired, 'message': value.message, }; }