/* tslint:disable */ /* eslint-disable */ /** * gravity * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.34.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; import type { DhcpAPIScopesImporterType } from './DhcpAPIScopesImporterType'; import { DhcpAPIScopesImporterTypeFromJSON, DhcpAPIScopesImporterTypeFromJSONTyped, DhcpAPIScopesImporterTypeToJSON, DhcpAPIScopesImporterTypeToJSONTyped, } from './DhcpAPIScopesImporterType'; /** * * @export * @interface DhcpAPIScopesImportInput */ export interface DhcpAPIScopesImportInput { /** * * @type {string} * @memberof DhcpAPIScopesImportInput */ payload?: string; /** * * @type {DhcpAPIScopesImporterType} * @memberof DhcpAPIScopesImportInput */ type?: DhcpAPIScopesImporterType; } /** * Check if a given object implements the DhcpAPIScopesImportInput interface. */ export function instanceOfDhcpAPIScopesImportInput(value: object): value is DhcpAPIScopesImportInput { return true; } export function DhcpAPIScopesImportInputFromJSON(json: any): DhcpAPIScopesImportInput { return DhcpAPIScopesImportInputFromJSONTyped(json, false); } export function DhcpAPIScopesImportInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DhcpAPIScopesImportInput { if (json == null) { return json; } return { 'payload': json['payload'] == null ? undefined : json['payload'], 'type': json['type'] == null ? undefined : DhcpAPIScopesImporterTypeFromJSON(json['type']), }; } export function DhcpAPIScopesImportInputToJSON(json: any): DhcpAPIScopesImportInput { return DhcpAPIScopesImportInputToJSONTyped(json, false); } export function DhcpAPIScopesImportInputToJSONTyped(value?: DhcpAPIScopesImportInput | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'payload': value['payload'], 'type': DhcpAPIScopesImporterTypeToJSON(value['type']), }; }