"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.DeleteSuccessDtoToJSON = exports.DeleteSuccessDtoFromJSONTyped = exports.DeleteSuccessDtoFromJSON = exports.instanceOfDeleteSuccessDto = void 0;
/**
 * Check if a given object implements the DeleteSuccessDto interface.
 */
function instanceOfDeleteSuccessDto(value) {
    let isInstance = true;
    isInstance = isInstance && "success" in value;
    return isInstance;
}
exports.instanceOfDeleteSuccessDto = instanceOfDeleteSuccessDto;
function DeleteSuccessDtoFromJSON(json) {
    return DeleteSuccessDtoFromJSONTyped(json, false);
}
exports.DeleteSuccessDtoFromJSON = DeleteSuccessDtoFromJSON;
function DeleteSuccessDtoFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'success': json['success'],
    };
}
exports.DeleteSuccessDtoFromJSONTyped = DeleteSuccessDtoFromJSONTyped;
function DeleteSuccessDtoToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'success': value.success,
    };
}
exports.DeleteSuccessDtoToJSON = DeleteSuccessDtoToJSON;
