"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.instanceOfGoogleWorkspaceProviderUserRequest = instanceOfGoogleWorkspaceProviderUserRequest;
exports.GoogleWorkspaceProviderUserRequestFromJSON = GoogleWorkspaceProviderUserRequestFromJSON;
exports.GoogleWorkspaceProviderUserRequestFromJSONTyped = GoogleWorkspaceProviderUserRequestFromJSONTyped;
exports.GoogleWorkspaceProviderUserRequestToJSON = GoogleWorkspaceProviderUserRequestToJSON;
exports.GoogleWorkspaceProviderUserRequestToJSONTyped = GoogleWorkspaceProviderUserRequestToJSONTyped;
/**
 * Check if a given object implements the GoogleWorkspaceProviderUserRequest interface.
 */
function instanceOfGoogleWorkspaceProviderUserRequest(value) {
    if (!('googleId' in value) || value['googleId'] === undefined)
        return false;
    if (!('user' in value) || value['user'] === undefined)
        return false;
    if (!('provider' in value) || value['provider'] === undefined)
        return false;
    return true;
}
function GoogleWorkspaceProviderUserRequestFromJSON(json) {
    return GoogleWorkspaceProviderUserRequestFromJSONTyped(json, false);
}
function GoogleWorkspaceProviderUserRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'googleId': json['google_id'],
        'user': json['user'],
        'provider': json['provider'],
    };
}
function GoogleWorkspaceProviderUserRequestToJSON(json) {
    return GoogleWorkspaceProviderUserRequestToJSONTyped(json, false);
}
function GoogleWorkspaceProviderUserRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'google_id': value['googleId'],
        'user': value['user'],
        'provider': value['provider'],
    };
}
//# sourceMappingURL=GoogleWorkspaceProviderUserRequest.js.map