/* 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 { Context, ContextFromJSON, ContextFromJSONTyped, ContextToJSON, Destination, DestinationFromJSON, DestinationFromJSONTyped, DestinationToJSON, EnumBuilder, EnumBuilderFromJSON, EnumBuilderFromJSONTyped, EnumBuilderToJSON, } from './'; /** * * @export * @interface ImageBuildTaskAllOf */ export interface ImageBuildTaskAllOf { /** * * @type {EnumBuilder} * @memberof ImageBuildTaskAllOf */ builder?: EnumBuilder; /** * * @type {boolean} * @memberof ImageBuildTaskAllOf */ cache?: boolean; /** * * @type {Context} * @memberof ImageBuildTaskAllOf */ context?: Context; /** * * @type {Destination} * @memberof ImageBuildTaskAllOf */ destination?: Destination; } export function ImageBuildTaskAllOfFromJSON(json: any): ImageBuildTaskAllOf { return ImageBuildTaskAllOfFromJSONTyped(json, false); } export function ImageBuildTaskAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageBuildTaskAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'builder': !exists(json, 'builder') ? undefined : EnumBuilderFromJSON(json['builder']), 'cache': !exists(json, 'cache') ? undefined : json['cache'], 'context': !exists(json, 'context') ? undefined : ContextFromJSON(json['context']), 'destination': !exists(json, 'destination') ? undefined : DestinationFromJSON(json['destination']), }; } export function ImageBuildTaskAllOfToJSON(value?: ImageBuildTaskAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'builder': EnumBuilderToJSON(value.builder), 'cache': value.cache, 'context': ContextToJSON(value.context), 'destination': DestinationToJSON(value.destination), }; }