"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.CustomerPortalSettingsToJSON = exports.CustomerPortalSettingsFromJSONTyped = exports.CustomerPortalSettingsFromJSON = void 0;
const runtime_1 = require("../runtime");
function CustomerPortalSettingsFromJSON(json) {
    return CustomerPortalSettingsFromJSONTyped(json, false);
}
exports.CustomerPortalSettingsFromJSON = CustomerPortalSettingsFromJSON;
function CustomerPortalSettingsFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'pricePlanNamesFilter': !(0, runtime_1.exists)(json, 'price_plan_names_filter') ? undefined : json['price_plan_names_filter'],
        'pricePlanTagsFilter': !(0, runtime_1.exists)(json, 'price_plan_tags_filter') ? undefined : json['price_plan_tags_filter'],
    };
}
exports.CustomerPortalSettingsFromJSONTyped = CustomerPortalSettingsFromJSONTyped;
function CustomerPortalSettingsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'price_plan_names_filter': value.pricePlanNamesFilter,
        'price_plan_tags_filter': value.pricePlanTagsFilter,
    };
}
exports.CustomerPortalSettingsToJSON = CustomerPortalSettingsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VzdG9tZXJQb3J0YWxTZXR0aW5ncy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb2RlZ2VuL21vZGVscy9DdXN0b21lclBvcnRhbFNldHRpbmdzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9CO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