/* 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 ReqDockerhubIdentityAllOf */ export interface ReqDockerhubIdentityAllOf { /** * * @type {ReqDockerhubCred} * @memberof ReqDockerhubIdentityAllOf */ credentials?: ReqDockerhubCred; } export function ReqDockerhubIdentityAllOfFromJSON(json: any): ReqDockerhubIdentityAllOf { return ReqDockerhubIdentityAllOfFromJSONTyped(json, false); } export function ReqDockerhubIdentityAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqDockerhubIdentityAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'credentials': !exists(json, 'credentials') ? undefined : ReqDockerhubCredFromJSON(json['credentials']), }; } export function ReqDockerhubIdentityAllOfToJSON(value?: ReqDockerhubIdentityAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'credentials': ReqDockerhubCredToJSON(value.credentials), }; }