/* 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 ReqGithubIdentityAllOf */ export interface ReqGithubIdentityAllOf { /** * * @type {ReqGithubCred} * @memberof ReqGithubIdentityAllOf */ credentials?: ReqGithubCred; } export function ReqGithubIdentityAllOfFromJSON(json: any): ReqGithubIdentityAllOf { return ReqGithubIdentityAllOfFromJSONTyped(json, false); } export function ReqGithubIdentityAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGithubIdentityAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'credentials': !exists(json, 'credentials') ? undefined : ReqGithubCredFromJSON(json['credentials']), }; } export function ReqGithubIdentityAllOfToJSON(value?: ReqGithubIdentityAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'credentials': ReqGithubCredToJSON(value.credentials), }; }