/* 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 { ReqDockerhubCred, ReqDockerhubCredFromJSON, ReqDockerhubCredFromJSONTyped, ReqDockerhubCredToJSON, } from './'; /** * * @export * @interface ReqDockerhubContextAllOf */ export interface ReqDockerhubContextAllOf { /** * * @type {ReqDockerhubCred} * @memberof ReqDockerhubContextAllOf */ credentials?: ReqDockerhubCred; /** * * @type {string} * @memberof ReqDockerhubContextAllOf */ identity_uuid?: string; } export function ReqDockerhubContextAllOfFromJSON(json: any): ReqDockerhubContextAllOf { return ReqDockerhubContextAllOfFromJSONTyped(json, false); } export function ReqDockerhubContextAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqDockerhubContextAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'credentials': !exists(json, 'credentials') ? undefined : ReqDockerhubCredFromJSON(json['credentials']), 'identity_uuid': !exists(json, 'identity_uuid') ? undefined : json['identity_uuid'], }; } export function ReqDockerhubContextAllOfToJSON(value?: ReqDockerhubContextAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'credentials': ReqDockerhubCredToJSON(value.credentials), 'identity_uuid': value.identity_uuid, }; }