"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.0-rc1
 * Contact: hello@goauthentik.io
 *
 * 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.instanceOfPatchedDockerServiceConnectionRequest = instanceOfPatchedDockerServiceConnectionRequest;
exports.PatchedDockerServiceConnectionRequestFromJSON = PatchedDockerServiceConnectionRequestFromJSON;
exports.PatchedDockerServiceConnectionRequestFromJSONTyped = PatchedDockerServiceConnectionRequestFromJSONTyped;
exports.PatchedDockerServiceConnectionRequestToJSON = PatchedDockerServiceConnectionRequestToJSON;
exports.PatchedDockerServiceConnectionRequestToJSONTyped = PatchedDockerServiceConnectionRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedDockerServiceConnectionRequest interface.
 */
function instanceOfPatchedDockerServiceConnectionRequest(value) {
    return true;
}
function PatchedDockerServiceConnectionRequestFromJSON(json) {
    return PatchedDockerServiceConnectionRequestFromJSONTyped(json, false);
}
function PatchedDockerServiceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'local': json['local'] == null ? undefined : json['local'],
        'url': json['url'] == null ? undefined : json['url'],
        'tlsVerification': json['tls_verification'] == null ? undefined : json['tls_verification'],
        'tlsAuthentication': json['tls_authentication'] == null ? undefined : json['tls_authentication'],
    };
}
function PatchedDockerServiceConnectionRequestToJSON(json) {
    return PatchedDockerServiceConnectionRequestToJSONTyped(json, false);
}
function PatchedDockerServiceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'local': value['local'],
        'url': value['url'],
        'tls_verification': value['tlsVerification'],
        'tls_authentication': value['tlsAuthentication'],
    };
}
//# sourceMappingURL=PatchedDockerServiceConnectionRequest.js.map