/* 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 { ReqGitlabCred, ReqGitlabCredFromJSON, ReqGitlabCredFromJSONTyped, ReqGitlabCredToJSON, } from './'; /** * * @export * @interface ReqGitlabContextAllOf */ export interface ReqGitlabContextAllOf { /** * * @type {ReqGitlabCred} * @memberof ReqGitlabContextAllOf */ credentials?: ReqGitlabCred; /** * * @type {string} * @memberof ReqGitlabContextAllOf */ identity_uuid?: string; } export function ReqGitlabContextAllOfFromJSON(json: any): ReqGitlabContextAllOf { return ReqGitlabContextAllOfFromJSONTyped(json, false); } export function ReqGitlabContextAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGitlabContextAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'credentials': !exists(json, 'credentials') ? undefined : ReqGitlabCredFromJSON(json['credentials']), 'identity_uuid': !exists(json, 'identity_uuid') ? undefined : json['identity_uuid'], }; } export function ReqGitlabContextAllOfToJSON(value?: ReqGitlabContextAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'credentials': ReqGitlabCredToJSON(value.credentials), 'identity_uuid': value.identity_uuid, }; }