"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * Octane API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * 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.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.LimitToJSON = exports.LimitFromJSONTyped = exports.LimitFromJSON = void 0;
const Feature_1 = require("./Feature");
function LimitFromJSON(json) {
    return LimitFromJSONTyped(json, false);
}
exports.LimitFromJSON = LimitFromJSON;
function LimitFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'feature': (0, Feature_1.FeatureFromJSON)(json['feature']),
        'limit': json['limit'],
    };
}
exports.LimitFromJSONTyped = LimitFromJSONTyped;
function LimitToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'feature': (0, Feature_1.FeatureToJSON)(value.feature),
        'limit': value.limit,
    };
}
exports.LimitToJSON = LimitToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGltaXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29kZWdlbi9tb2RlbHMvTGltaXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9CQUFvQjtBQUNwQixvQkFBb0I7QUFDcEI7Ozs7Ozs7Ozs7R0FVRzs7O0FBR0gsdUNBS21CO0FBc0JuQixTQUFnQixhQUFhLENBQUMsSUFBUztJQUNuQyxPQUFPLGtCQUFrQixDQUFDLElBQUksRUFBRSxLQUFLLENBQUMsQ0FBQztBQUMzQyxDQUFDO0FBRkQsc0NBRUM7QUFFRCxTQUFnQixrQkFBa0IsQ0FBQyxJQUFTLEVBQUUsbUJBQTRCO0lBQ3RFLElBQUksQ0FBQyxJQUFJLEt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