/* tslint:disable */
/* eslint-disable */
/**
 * zrok
 * zrok client access
 *
 * The version of the OpenAPI document: 0.3.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, mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface EnableRequest
 */
export interface EnableRequest {
    /**
     * 
     * @type {string}
     * @memberof EnableRequest
     */
    description?: string;
    /**
     * 
     * @type {string}
     * @memberof EnableRequest
     */
    host?: string;
}

/**
 * Check if a given object implements the EnableRequest interface.
 */
export function instanceOfEnableRequest(value: object): boolean {
    let isInstance = true;

    return isInstance;
}

export function EnableRequestFromJSON(json: any): EnableRequest {
    return EnableRequestFromJSONTyped(json, false);
}

export function EnableRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnableRequest {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'description': !exists(json, 'description') ? undefined : json['description'],
        'host': !exists(json, 'host') ? undefined : json['host'],
    };
}

export function EnableRequestToJSON(value?: EnableRequest | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'description': value.description,
        'host': value.host,
    };
}

