"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.instanceOfGoogleWorkspaceProviderGroupRequest = instanceOfGoogleWorkspaceProviderGroupRequest;
exports.GoogleWorkspaceProviderGroupRequestFromJSON = GoogleWorkspaceProviderGroupRequestFromJSON;
exports.GoogleWorkspaceProviderGroupRequestFromJSONTyped = GoogleWorkspaceProviderGroupRequestFromJSONTyped;
exports.GoogleWorkspaceProviderGroupRequestToJSON = GoogleWorkspaceProviderGroupRequestToJSON;
exports.GoogleWorkspaceProviderGroupRequestToJSONTyped = GoogleWorkspaceProviderGroupRequestToJSONTyped;
/**
 * Check if a given object implements the GoogleWorkspaceProviderGroupRequest interface.
 */
function instanceOfGoogleWorkspaceProviderGroupRequest(value) {
    if (!('googleId' in value) || value['googleId'] === undefined)
        return false;
    if (!('group' in value) || value['group'] === undefined)
        return false;
    if (!('provider' in value) || value['provider'] === undefined)
        return false;
    return true;
}
function GoogleWorkspaceProviderGroupRequestFromJSON(json) {
    return GoogleWorkspaceProviderGroupRequestFromJSONTyped(json, false);
}
function GoogleWorkspaceProviderGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'googleId': json['google_id'],
        'group': json['group'],
        'provider': json['provider'],
    };
}
function GoogleWorkspaceProviderGroupRequestToJSON(json) {
    return GoogleWorkspaceProviderGroupRequestToJSONTyped(json, false);
}
function GoogleWorkspaceProviderGroupRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'google_id': value['googleId'],
        'group': value['group'],
        'provider': value['provider'],
    };
}
//# sourceMappingURL=GoogleWorkspaceProviderGroupRequest.js.map