"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.BillingCycleDateToJSON = exports.BillingCycleDateFromJSONTyped = exports.BillingCycleDateFromJSON = void 0;
function BillingCycleDateFromJSON(json) {
    return BillingCycleDateFromJSONTyped(json, false);
}
exports.BillingCycleDateFromJSON = BillingCycleDateFromJSON;
function BillingCycleDateFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'cycleStart': (new Date(json['cycle_start'])),
        'cycleEnd': (new Date(json['cycle_end'])),
    };
}
exports.BillingCycleDateFromJSONTyped = BillingCycleDateFromJSONTyped;
function BillingCycleDateToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'cycle_start': (value.cycleStart.toISOString()),
        'cycle_end': (value.cycleEnd.toISOString()),
    };
}
exports.BillingCycleDateToJSON = BillingCycleDateToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQmlsbGluZ0N5Y2xlRGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb2RlZ2VuL21vZGVscy9CaWxsaW5nQ3ljbGVEYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9CO0FBQ3BCOzs7Ozs7Ozs7O0dBVUc7OztBQXVCSCxTQUFnQix3QkFBd0IsQ0FBQyxJQUFTO0lBQzlDLE9BQU8sNkJBQTZCLENBQUMsSUFBSSxFQUFFLEtBQUssQ0FBQyxDQUFDO0FBQ3RELENBQUM7QU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