"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.instanceOfMicrosoftEntraProviderUserRequest = instanceOfMicrosoftEntraProviderUserRequest;
exports.MicrosoftEntraProviderUserRequestFromJSON = MicrosoftEntraProviderUserRequestFromJSON;
exports.MicrosoftEntraProviderUserRequestFromJSONTyped = MicrosoftEntraProviderUserRequestFromJSONTyped;
exports.MicrosoftEntraProviderUserRequestToJSON = MicrosoftEntraProviderUserRequestToJSON;
exports.MicrosoftEntraProviderUserRequestToJSONTyped = MicrosoftEntraProviderUserRequestToJSONTyped;
/**
 * Check if a given object implements the MicrosoftEntraProviderUserRequest interface.
 */
function instanceOfMicrosoftEntraProviderUserRequest(value) {
    if (!('microsoftId' in value) || value['microsoftId'] === undefined)
        return false;
    if (!('user' in value) || value['user'] === undefined)
        return false;
    if (!('provider' in value) || value['provider'] === undefined)
        return false;
    return true;
}
function MicrosoftEntraProviderUserRequestFromJSON(json) {
    return MicrosoftEntraProviderUserRequestFromJSONTyped(json, false);
}
function MicrosoftEntraProviderUserRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'microsoftId': json['microsoft_id'],
        'user': json['user'],
        'provider': json['provider'],
    };
}
function MicrosoftEntraProviderUserRequestToJSON(json) {
    return MicrosoftEntraProviderUserRequestToJSONTyped(json, false);
}
function MicrosoftEntraProviderUserRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'microsoft_id': value['microsoftId'],
        'user': value['user'],
        'provider': value['provider'],
    };
}
//# sourceMappingURL=MicrosoftEntraProviderUserRequest.js.map