"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-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.instanceOfMicrosoftEntraProviderGroupRequest = instanceOfMicrosoftEntraProviderGroupRequest;
exports.MicrosoftEntraProviderGroupRequestFromJSON = MicrosoftEntraProviderGroupRequestFromJSON;
exports.MicrosoftEntraProviderGroupRequestFromJSONTyped = MicrosoftEntraProviderGroupRequestFromJSONTyped;
exports.MicrosoftEntraProviderGroupRequestToJSON = MicrosoftEntraProviderGroupRequestToJSON;
exports.MicrosoftEntraProviderGroupRequestToJSONTyped = MicrosoftEntraProviderGroupRequestToJSONTyped;
/**
 * Check if a given object implements the MicrosoftEntraProviderGroupRequest interface.
 */
function instanceOfMicrosoftEntraProviderGroupRequest(value) {
    if (!('microsoftId' in value) || value['microsoftId'] === undefined)
        return false;
    if (!('group' in value) || value['group'] === undefined)
        return false;
    if (!('provider' in value) || value['provider'] === undefined)
        return false;
    return true;
}
function MicrosoftEntraProviderGroupRequestFromJSON(json) {
    return MicrosoftEntraProviderGroupRequestFromJSONTyped(json, false);
}
function MicrosoftEntraProviderGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'microsoftId': json['microsoft_id'],
        'group': json['group'],
        'provider': json['provider'],
    };
}
function MicrosoftEntraProviderGroupRequestToJSON(json) {
    return MicrosoftEntraProviderGroupRequestToJSONTyped(json, false);
}
function MicrosoftEntraProviderGroupRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'microsoft_id': value['microsoftId'],
        'group': value['group'],
        'provider': value['provider'],
    };
}
//# sourceMappingURL=MicrosoftEntraProviderGroupRequest.js.map