/* 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. */ /** * * @export * @interface V1NMStateSpecProbeConfigurationDns */ export interface V1NMStateSpecProbeConfigurationDns { /** * * @type {any} * @memberof V1NMStateSpecProbeConfigurationDns */ host: any | null; } /** * Check if a given object implements the V1NMStateSpecProbeConfigurationDns interface. */ export function instanceOfV1NMStateSpecProbeConfigurationDns(_value: object): boolean { let isInstance = true; isInstance = isInstance && 'host' in _value; return isInstance; } export function V1NMStateSpecProbeConfigurationDnsFromJSON( json: any, ): V1NMStateSpecProbeConfigurationDns { return V1NMStateSpecProbeConfigurationDnsFromJSONTyped(json, false); } export function V1NMStateSpecProbeConfigurationDnsFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1NMStateSpecProbeConfigurationDns { if (json === undefined || json === null) { return json; } return { host: json['host'], }; } export function V1NMStateSpecProbeConfigurationDnsToJSON( value?: V1NMStateSpecProbeConfigurationDns | null, ): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { host: value.host, }; }