/* tslint:disable */ /* eslint-disable */ /** * KubeVirt API * This is KubeVirt API an add-on for Kubernetes. * * The version of the OpenAPI document: 1.0.0 * Contact: kubevirt-dev@googlegroups.com * * 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 } from '../runtime'; /** * * @export * @interface V1DiskIOThreads */ export interface V1DiskIOThreads { /** * SupplementalPoolThreadCount specifies how many iothreads are allocated for the supplementalPool policy. * @type {number} * @memberof V1DiskIOThreads */ supplementalPoolThreadCount?: number; } export function V1DiskIOThreadsFromJSON(json: any): V1DiskIOThreads { return V1DiskIOThreadsFromJSONTyped(json, false); } export function V1DiskIOThreadsFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1DiskIOThreads { if (json === undefined || json === null) { return json; } return { supplementalPoolThreadCount: !exists(json, 'supplementalPoolThreadCount') ? undefined : json['supplementalPoolThreadCount'], }; } export function V1DiskIOThreadsToJSON(value?: V1DiskIOThreads | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { supplementalPoolThreadCount: value.supplementalPoolThreadCount, }; }