"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.CreateWebhookArgsToJSON = exports.CreateWebhookArgsFromJSONTyped = exports.CreateWebhookArgsFromJSON = void 0;
const runtime_1 = require("../runtime");
function CreateWebhookArgsFromJSON(json) {
    return CreateWebhookArgsFromJSONTyped(json, false);
}
exports.CreateWebhookArgsFromJSON = CreateWebhookArgsFromJSON;
function CreateWebhookArgsFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'url': !(0, runtime_1.exists)(json, 'url') ? undefined : json['url'],
        'enableSignature': !(0, runtime_1.exists)(json, 'enable_signature') ? undefined : json['enable_signature'],
    };
}
exports.CreateWebhookArgsFromJSONTyped = CreateWebhookArgsFromJSONTyped;
function CreateWebhookArgsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'url': value.url,
        'enable_signature': value.enableSignature,
    };
}
exports.CreateWebhookArgsToJSON = CreateWebhookArgsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3JlYXRlV2ViaG9va0FyZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29kZWdlbi9tb2RlbHMvQ3JlYXRlV2ViaG9va0FyZ3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9CQUFvQjtBQUNwQixvQkFBb0I7QUFDcEI7Ozs7Ozs7Ozs7R0FVRzs7O0FBRUgsd0NBQStDO0FBcUIvQyxTQUFnQix5QkFBeUIsQ0FBQyxJQUFTO0lBQy9DLE9BQU8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