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

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

export function CreateIdentityRequestFromJSON(json: any): CreateIdentityRequest {
    return CreateIdentityRequestFromJSONTyped(json, false);
}

export function CreateIdentityRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateIdentityRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'name': json['name'] == null ? undefined : json['name'],
    };
}

export function CreateIdentityRequestToJSON(value?: CreateIdentityRequest | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'name': value['name'],
    };
}

