/* 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 EnableResponse
 */
export interface EnableResponse {
    /**
     * 
     * @type {string}
     * @memberof EnableResponse
     */
    identity?: string;
    /**
     * 
     * @type {string}
     * @memberof EnableResponse
     */
    cfg?: string;
}

/**
 * Check if a given object implements the EnableResponse interface.
 */
export function instanceOfEnableResponse(value: object): value is EnableResponse {
    return true;
}

export function EnableResponseFromJSON(json: any): EnableResponse {
    return EnableResponseFromJSONTyped(json, false);
}

export function EnableResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnableResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'identity': json['identity'] == null ? undefined : json['identity'],
        'cfg': json['cfg'] == null ? undefined : json['cfg'],
    };
}

export function EnableResponseToJSON(value?: EnableResponse | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'identity': value['identity'],
        'cfg': value['cfg'],
    };
}

