/* 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.
 */

import { mapValues } from '../runtime';
/**
 * Group Source Connection
 * @export
 * @interface PatchedGroupPlexSourceConnectionRequest
 */
export interface PatchedGroupPlexSourceConnectionRequest {
    /**
     * 
     * @type {string}
     * @memberof PatchedGroupPlexSourceConnectionRequest
     */
    group?: string;
    /**
     * 
     * @type {string}
     * @memberof PatchedGroupPlexSourceConnectionRequest
     */
    source?: string;
    /**
     * 
     * @type {string}
     * @memberof PatchedGroupPlexSourceConnectionRequest
     */
    identifier?: string;
}

/**
 * Check if a given object implements the PatchedGroupPlexSourceConnectionRequest interface.
 */
export function instanceOfPatchedGroupPlexSourceConnectionRequest(value: object): value is PatchedGroupPlexSourceConnectionRequest {
    return true;
}

export function PatchedGroupPlexSourceConnectionRequestFromJSON(json: any): PatchedGroupPlexSourceConnectionRequest {
    return PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json, false);
}

export function PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupPlexSourceConnectionRequest {
    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'],
    };
}

export function PatchedGroupPlexSourceConnectionRequestToJSON(json: any): PatchedGroupPlexSourceConnectionRequest {
    return PatchedGroupPlexSourceConnectionRequestToJSONTyped(json, false);
}

export function PatchedGroupPlexSourceConnectionRequestToJSONTyped(value?: PatchedGroupPlexSourceConnectionRequest | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'group': value['group'],
        'source': value['source'],
        'identifier': value['identifier'],
    };
}

