"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.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.instanceOfDockerServiceConnectionRequest = instanceOfDockerServiceConnectionRequest;
exports.DockerServiceConnectionRequestFromJSON = DockerServiceConnectionRequestFromJSON;
exports.DockerServiceConnectionRequestFromJSONTyped = DockerServiceConnectionRequestFromJSONTyped;
exports.DockerServiceConnectionRequestToJSON = DockerServiceConnectionRequestToJSON;
exports.DockerServiceConnectionRequestToJSONTyped = DockerServiceConnectionRequestToJSONTyped;
/**
 * Check if a given object implements the DockerServiceConnectionRequest interface.
 */
function instanceOfDockerServiceConnectionRequest(value) {
    if (!('name' in value) || value['name'] === undefined)
        return false;
    if (!('url' in value) || value['url'] === undefined)
        return false;
    return true;
}
function DockerServiceConnectionRequestFromJSON(json) {
    return DockerServiceConnectionRequestFromJSONTyped(json, false);
}
function DockerServiceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'],
        'local': json['local'] == null ? undefined : json['local'],
        'url': json['url'],
        'tlsVerification': json['tls_verification'] == null ? undefined : json['tls_verification'],
        'tlsAuthentication': json['tls_authentication'] == null ? undefined : json['tls_authentication'],
    };
}
function DockerServiceConnectionRequestToJSON(json) {
    return DockerServiceConnectionRequestToJSONTyped(json, false);
}
function DockerServiceConnectionRequestToJSONTyped(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=DockerServiceConnectionRequest.js.map