"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.LimitInputArgsToJSON = exports.LimitInputArgsFromJSONTyped = exports.LimitInputArgsFromJSON = void 0;
const runtime_1 = require("../runtime");
const FeatureInputArgs_1 = require("./FeatureInputArgs");
function LimitInputArgsFromJSON(json) {
    return LimitInputArgsFromJSONTyped(json, false);
}
exports.LimitInputArgsFromJSON = LimitInputArgsFromJSON;
function LimitInputArgsFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'feature': (0, FeatureInputArgs_1.FeatureInputArgsFromJSON)(json['feature']),
        'limit': !(0, runtime_1.exists)(json, 'limit') ? undefined : json['limit'],
    };
}
exports.LimitInputArgsFromJSONTyped = LimitInputArgsFromJSONTyped;
function LimitInputArgsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'feature': (0, FeatureInputArgs_1.FeatureInputArgsToJSON)(value.feature),
        'limit': value.limit,
    };
}
exports.LimitInputArgsToJSON = LimitInputArgsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGltaXRJbnB1dEFyZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29kZWdlbi9tb2RlbHMvTGltaXRJbnB1dEFyZ3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9CQUFvQjtBQUNwQixvQkFBb0I7QUFDcEI7Ozs7Ozs7Ozs7R0FVRzs7O0FBRUgsd0NBQStDO0FBQy9DLHlEQUs0QjtBQXNCNUIsU0FBZ0Isc0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