/* tslint:disable */ /* eslint-disable */ /** * Abaco API * Abaco (Actor Based Containers) is an API and distributed computing platform funded by the National Science Foundation to provide Functions-as-a-service to the research computing community. Abaco leverages Docker containers and the Actor Model of Concurrent Computation to provide generic function primitives that are portable, composable and scalable. * * The version of the OpenAPI document: 1 * 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'; /** * * @export * @interface ReqCreateAlias */ export interface ReqCreateAlias { /** * Actual alias for the actor; must be unique within a tenant. * @type {string} * @memberof ReqCreateAlias */ alias?: string; /** * The id for the actor associated with this alias. * @type {string} * @memberof ReqCreateAlias */ actor_id?: string; } export function ReqCreateAliasFromJSON(json: any): ReqCreateAlias { return ReqCreateAliasFromJSONTyped(json, false); } export function ReqCreateAliasFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqCreateAlias { if ((json === undefined) || (json === null)) { return json; } return { 'alias': !exists(json, 'alias') ? undefined : json['alias'], 'actor_id': !exists(json, 'actor_id') ? undefined : json['actor_id'], }; } export function ReqCreateAliasToJSON(value?: ReqCreateAlias | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'alias': value.alias, 'actor_id': value.actor_id, }; }