/* tslint:disable */ /* eslint-disable */ /** * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.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 { exists } from '../runtime'; import type { V1beta1NodeNetworkConfigurationEnactmentStatus } from './V1beta1NodeNetworkConfigurationEnactmentStatus'; import { V1beta1NodeNetworkConfigurationEnactmentStatusFromJSON, V1beta1NodeNetworkConfigurationEnactmentStatusToJSON, } from './V1beta1NodeNetworkConfigurationEnactmentStatus'; /** * NodeNetworkConfigurationEnactment is the Schema for the nodenetworkconfigurationenactments API * @export * @interface V1beta1NodeNetworkConfigurationEnactment */ export interface V1beta1NodeNetworkConfigurationEnactment { /** * APIVersion defines the versioned schema of this representation of an object. * Servers should convert recognized schemas to the latest internal value, and * may reject unrecognized values. * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources * @type {any} * @memberof V1beta1NodeNetworkConfigurationEnactment */ apiVersion?: any | null; /** * Kind is a string value representing the REST resource this object represents. * Servers may infer this from the endpoint the client submits requests to. * Cannot be updated. * In CamelCase. * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds * @type {any} * @memberof V1beta1NodeNetworkConfigurationEnactment */ kind?: any | null; /** * * @type {any} * @memberof V1beta1NodeNetworkConfigurationEnactment */ metadata?: any | null; /** * * @type {V1beta1NodeNetworkConfigurationEnactmentStatus} * @memberof V1beta1NodeNetworkConfigurationEnactment */ status?: V1beta1NodeNetworkConfigurationEnactmentStatus; } /** * Check if a given object implements the V1beta1NodeNetworkConfigurationEnactment interface. */ export function instanceOfV1beta1NodeNetworkConfigurationEnactment(_value: object): boolean { const isInstance = true; return isInstance; } export function V1beta1NodeNetworkConfigurationEnactmentFromJSON( json: any, ): V1beta1NodeNetworkConfigurationEnactment { return V1beta1NodeNetworkConfigurationEnactmentFromJSONTyped(json, false); } export function V1beta1NodeNetworkConfigurationEnactmentFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1beta1NodeNetworkConfigurationEnactment { if (json === undefined || json === null) { return json; } return { apiVersion: !exists(json, 'apiVersion') ? undefined : json['apiVersion'], kind: !exists(json, 'kind') ? undefined : json['kind'], metadata: !exists(json, 'metadata') ? undefined : json['metadata'], status: !exists(json, 'status') ? undefined : V1beta1NodeNetworkConfigurationEnactmentStatusFromJSON(json['status']), }; } export function V1beta1NodeNetworkConfigurationEnactmentToJSON( value?: V1beta1NodeNetworkConfigurationEnactment | null, ): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { apiVersion: value.apiVersion, kind: value.kind, metadata: value.metadata, status: V1beta1NodeNetworkConfigurationEnactmentStatusToJSON(value.status), }; }