/* tslint:disable */ /* eslint-disable */ /** * Nominex TMA API * API config for Nominex TMA * * The version of the OpenAPI document: 0.0.17 * * * 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 type { UpgradeableBoosterType } from './UpgradeableBoosterType'; import { UpgradeableBoosterTypeFromJSON, UpgradeableBoosterTypeFromJSONTyped, UpgradeableBoosterTypeToJSON, } from './UpgradeableBoosterType'; /** * * @export * @interface UpgradeBoosterProps */ export interface UpgradeBoosterProps { /** * * @type {UpgradeableBoosterType} * @memberof UpgradeBoosterProps */ type?: UpgradeableBoosterType; } /** * Check if a given object implements the UpgradeBoosterProps interface. */ export function instanceOfUpgradeBoosterProps(value: object): boolean { let isInstance = true; return isInstance; } export function UpgradeBoosterPropsFromJSON(json: any): UpgradeBoosterProps { return UpgradeBoosterPropsFromJSONTyped(json, false); } export function UpgradeBoosterPropsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpgradeBoosterProps { if ((json === undefined) || (json === null)) { return json; } return { 'type': !exists(json, 'type') ? undefined : UpgradeableBoosterTypeFromJSON(json['type']), }; } export function UpgradeBoosterPropsToJSON(value?: UpgradeBoosterProps | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'type': UpgradeableBoosterTypeToJSON(value.type), }; }