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

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

    return isInstance;
}

export function DisableRequestFromJSON(json: any): DisableRequest {
    return DisableRequestFromJSONTyped(json, false);
}

export function DisableRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DisableRequest {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'identity': !exists(json, 'identity') ? undefined : json['identity'],
    };
}

export function DisableRequestToJSON(value?: DisableRequest | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'identity': value.identity,
    };
}

