/* 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 { ReqGithubCred, ReqGithubCredFromJSON, ReqGithubCredFromJSONTyped, ReqGithubCredToJSON, } from './'; /** * * @export * @interface ReqGithubContextAllOf */ export interface ReqGithubContextAllOf { /** * * @type {ReqGithubCred} * @memberof ReqGithubContextAllOf */ credentials?: ReqGithubCred; /** * * @type {string} * @memberof ReqGithubContextAllOf */ identity_uuid?: string; } export function ReqGithubContextAllOfFromJSON(json: any): ReqGithubContextAllOf { return ReqGithubContextAllOfFromJSONTyped(json, false); } export function ReqGithubContextAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGithubContextAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'credentials': !exists(json, 'credentials') ? undefined : ReqGithubCredFromJSON(json['credentials']), 'identity_uuid': !exists(json, 'identity_uuid') ? undefined : json['identity_uuid'], }; } export function ReqGithubContextAllOfToJSON(value?: ReqGithubContextAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'credentials': ReqGithubCredToJSON(value.credentials), 'identity_uuid': value.identity_uuid, }; }