/* 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 TapisActorTaskAllOf */ export interface TapisActorTaskAllOf { /** * * @type {boolean} * @memberof TapisActorTaskAllOf */ poll?: boolean; /** * * @type {string} * @memberof TapisActorTaskAllOf */ tapis_actor_id?: string; /** * * @type {string} * @memberof TapisActorTaskAllOf */ tapis_actor_message?: string | null; } export function TapisActorTaskAllOfFromJSON(json: any): TapisActorTaskAllOf { return TapisActorTaskAllOfFromJSONTyped(json, false); } export function TapisActorTaskAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): TapisActorTaskAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'poll': !exists(json, 'poll') ? undefined : json['poll'], 'tapis_actor_id': !exists(json, 'tapis_actor_id') ? undefined : json['tapis_actor_id'], 'tapis_actor_message': !exists(json, 'tapis_actor_message') ? undefined : json['tapis_actor_message'], }; } export function TapisActorTaskAllOfToJSON(value?: TapisActorTaskAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'poll': value.poll, 'tapis_actor_id': value.tapis_actor_id, 'tapis_actor_message': value.tapis_actor_message, }; }