/* 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 { PeriodicalBoosterType } from './PeriodicalBoosterType'; import { PeriodicalBoosterTypeFromJSON, PeriodicalBoosterTypeFromJSONTyped, PeriodicalBoosterTypeToJSON, } from './PeriodicalBoosterType'; /** * * @export * @interface ActivateBoosterProps */ export interface ActivateBoosterProps { /** * * @type {PeriodicalBoosterType} * @memberof ActivateBoosterProps */ type?: PeriodicalBoosterType; } /** * Check if a given object implements the ActivateBoosterProps interface. */ export function instanceOfActivateBoosterProps(value: object): boolean { let isInstance = true; return isInstance; } export function ActivateBoosterPropsFromJSON(json: any): ActivateBoosterProps { return ActivateBoosterPropsFromJSONTyped(json, false); } export function ActivateBoosterPropsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActivateBoosterProps { if ((json === undefined) || (json === null)) { return json; } return { 'type': !exists(json, 'type') ? undefined : PeriodicalBoosterTypeFromJSON(json['type']), }; } export function ActivateBoosterPropsToJSON(value?: ActivateBoosterProps | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'type': PeriodicalBoosterTypeToJSON(value.type), }; }