/* 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';
/**
 * Tenant admin group creation request serializer
 * @export
 * @interface TenantAdminGroupRequestRequest
 */
export interface TenantAdminGroupRequestRequest {
    /**
     * 
     * @type {string}
     * @memberof TenantAdminGroupRequestRequest
     */
    user: string;
}

/**
 * Check if a given object implements the TenantAdminGroupRequestRequest interface.
 */
export function instanceOfTenantAdminGroupRequestRequest(value: object): value is TenantAdminGroupRequestRequest {
    if (!('user' in value) || value['user'] === undefined) return false;
    return true;
}

export function TenantAdminGroupRequestRequestFromJSON(json: any): TenantAdminGroupRequestRequest {
    return TenantAdminGroupRequestRequestFromJSONTyped(json, false);
}

export function TenantAdminGroupRequestRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantAdminGroupRequestRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'user': json['user'],
    };
}

export function TenantAdminGroupRequestRequestToJSON(json: any): TenantAdminGroupRequestRequest {
    return TenantAdminGroupRequestRequestToJSONTyped(json, false);
}

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

    return {
        
        'user': value['user'],
    };
}

