/* tslint:disable */
/* eslint-disable */
/**
 * OmsorgCore.Api
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.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 PasswordPolicyResponse
 */
export interface PasswordPolicyResponse {
    /**
     * 
     * @type {number}
     * @memberof PasswordPolicyResponse
     */
    minLength?: number;
}

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

export function PasswordPolicyResponseFromJSON(json: any): PasswordPolicyResponse {
    return PasswordPolicyResponseFromJSONTyped(json, false);
}

export function PasswordPolicyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordPolicyResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'minLength': json['minLength'] == null ? undefined : json['minLength'],
    };
}

export function PasswordPolicyResponseToJSON(json: any): PasswordPolicyResponse {
    return PasswordPolicyResponseToJSONTyped(json, false);
}

export function PasswordPolicyResponseToJSONTyped(value?: PasswordPolicyResponse | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'minLength': value['minLength'],
    };
}

