/* tslint:disable */ /* eslint-disable */ /** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * AttachedVolume describes a volume attached to a node * @export * @interface IoK8sApiCoreV1AttachedVolume */ export interface IoK8sApiCoreV1AttachedVolume { /** * DevicePath represents the device path where the volume should be available * @type {string} * @memberof IoK8sApiCoreV1AttachedVolume */ devicePath: string; /** * Name of the attached volume * @type {string} * @memberof IoK8sApiCoreV1AttachedVolume */ name: string; } export function IoK8sApiCoreV1AttachedVolumeFromJSON(json: any): IoK8sApiCoreV1AttachedVolume { return IoK8sApiCoreV1AttachedVolumeFromJSONTyped(json, false); } export function IoK8sApiCoreV1AttachedVolumeFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): IoK8sApiCoreV1AttachedVolume { if (json === undefined || json === null) { return json; } return { devicePath: json['devicePath'], name: json['name'], }; } export function IoK8sApiCoreV1AttachedVolumeToJSON( value?: IoK8sApiCoreV1AttachedVolume | null, ): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { devicePath: value.devicePath, name: value.name, }; }