/* tslint:disable */
/* eslint-disable */
/**
 * zrok
 * zrok client access
 *
 * 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 { 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): value is EnableRequest {
    return true;
}

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

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

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

