"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * Montelo
 * Documentation for the Montelo API.
 *
 * 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.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.HealthControllerCheck200ResponseInfoValueToJSON = exports.HealthControllerCheck200ResponseInfoValueFromJSONTyped = exports.HealthControllerCheck200ResponseInfoValueFromJSON = exports.instanceOfHealthControllerCheck200ResponseInfoValue = void 0;
/**
 * Check if a given object implements the HealthControllerCheck200ResponseInfoValue interface.
 */
function instanceOfHealthControllerCheck200ResponseInfoValue(value) {
    let isInstance = true;
    isInstance = isInstance && "status" in value;
    return isInstance;
}
exports.instanceOfHealthControllerCheck200ResponseInfoValue = instanceOfHealthControllerCheck200ResponseInfoValue;
function HealthControllerCheck200ResponseInfoValueFromJSON(json) {
    return HealthControllerCheck200ResponseInfoValueFromJSONTyped(json, false);
}
exports.HealthControllerCheck200ResponseInfoValueFromJSON = HealthControllerCheck200ResponseInfoValueFromJSON;
function HealthControllerCheck200ResponseInfoValueFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return Object.assign(Object.assign({}, json), { 'status': json['status'] });
}
exports.HealthControllerCheck200ResponseInfoValueFromJSONTyped = HealthControllerCheck200ResponseInfoValueFromJSONTyped;
function HealthControllerCheck200ResponseInfoValueToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return Object.assign(Object.assign({}, value), { 'status': value.status });
}
exports.HealthControllerCheck200ResponseInfoValueToJSON = HealthControllerCheck200ResponseInfoValueToJSON;
