/* tslint:disable */ /* eslint-disable */ /** * KubeVirt Containerized Data Importer API * Containerized Data Importer for KubeVirt. * * 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. */ /** * ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. * @export * @interface V1ServerAddressByClientCIDR */ export interface V1ServerAddressByClientCIDR { /** * The CIDR with which clients can match their IP to figure out the server address that they should use. * @type {string} * @memberof V1ServerAddressByClientCIDR */ clientCIDR: string; /** * Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. * @type {string} * @memberof V1ServerAddressByClientCIDR */ serverAddress: string; } export function V1ServerAddressByClientCIDRFromJSON(json: any): V1ServerAddressByClientCIDR { return V1ServerAddressByClientCIDRFromJSONTyped(json, false); } export function V1ServerAddressByClientCIDRFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1ServerAddressByClientCIDR { if (json === undefined || json === null) { return json; } return { clientCIDR: json['clientCIDR'], serverAddress: json['serverAddress'], }; } export function V1ServerAddressByClientCIDRToJSON(value?: V1ServerAddressByClientCIDR | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { clientCIDR: value.clientCIDR, serverAddress: value.serverAddress, }; }