"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.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.instanceOfPatchedGroupTelegramSourceConnectionRequest = instanceOfPatchedGroupTelegramSourceConnectionRequest;
exports.PatchedGroupTelegramSourceConnectionRequestFromJSON = PatchedGroupTelegramSourceConnectionRequestFromJSON;
exports.PatchedGroupTelegramSourceConnectionRequestFromJSONTyped = PatchedGroupTelegramSourceConnectionRequestFromJSONTyped;
exports.PatchedGroupTelegramSourceConnectionRequestToJSON = PatchedGroupTelegramSourceConnectionRequestToJSON;
exports.PatchedGroupTelegramSourceConnectionRequestToJSONTyped = PatchedGroupTelegramSourceConnectionRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedGroupTelegramSourceConnectionRequest interface.
 */
function instanceOfPatchedGroupTelegramSourceConnectionRequest(value) {
    return true;
}
function PatchedGroupTelegramSourceConnectionRequestFromJSON(json) {
    return PatchedGroupTelegramSourceConnectionRequestFromJSONTyped(json, false);
}
function PatchedGroupTelegramSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'group': json['group'] == null ? undefined : json['group'],
        'source': json['source'] == null ? undefined : json['source'],
        'identifier': json['identifier'] == null ? undefined : json['identifier'],
    };
}
function PatchedGroupTelegramSourceConnectionRequestToJSON(json) {
    return PatchedGroupTelegramSourceConnectionRequestToJSONTyped(json, false);
}
function PatchedGroupTelegramSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'group': value['group'],
        'source': value['source'],
        'identifier': value['identifier'],
    };
}
//# sourceMappingURL=PatchedGroupTelegramSourceConnectionRequest.js.map