/* 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 { Secret, SecretFromJSON, SecretFromJSONTyped, SecretToJSON, } from './'; /** * * @export * @interface GroupSecret */ export interface GroupSecret { /** * * @type {string} * @memberof GroupSecret */ id?: string; /** * * @type {string} * @memberof GroupSecret */ group_id?: string; /** * * @type {string} * @memberof GroupSecret */ uuid?: string; /** * * @type {Secret} * @memberof GroupSecret */ secret?: Secret; } export function GroupSecretFromJSON(json: any): GroupSecret { return GroupSecretFromJSONTyped(json, false); } export function GroupSecretFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSecret { if ((json === undefined) || (json === null)) { return json; } return { 'id': !exists(json, 'id') ? undefined : json['id'], 'group_id': !exists(json, 'group_id') ? undefined : json['group_id'], 'uuid': !exists(json, 'uuid') ? undefined : json['uuid'], 'secret': !exists(json, 'secret') ? undefined : SecretFromJSON(json['secret']), }; } export function GroupSecretToJSON(value?: GroupSecret | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'id': value.id, 'group_id': value.group_id, 'uuid': value.uuid, 'secret': SecretToJSON(value.secret), }; }