@microsoft/msgraph-beta-sdk-education
Version:
Education fluent API for Microsoft Graph
57 lines • 2.76 kB
TypeScript
import { type User } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type MailboxSettingsRequestBuilder } from './mailboxSettings/index.js';
import { type ServiceProvisioningErrorsRequestBuilder } from './serviceProvisioningErrors/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the user property of the microsoft.graph.educationUser entity.
*/
export interface UserRequestBuilder extends BaseRequestBuilder<UserRequestBuilder> {
/**
* The mailboxSettings property
*/
get mailboxSettings(): MailboxSettingsRequestBuilder;
/**
* The serviceProvisioningErrors property
*/
get serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder;
/**
* Retrieve the simple directory user that corresponds to this educationUser.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<User>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/educationuser-get-user?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<UserRequestBuilderGetQueryParameters> | undefined): Promise<User | undefined>;
/**
* Retrieve the simple directory user that corresponds to this educationUser.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UserRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Retrieve the simple directory user that corresponds to this educationUser.
*/
export interface UserRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const UserRequestBuilderUriTemplate = "{+baseurl}/education/me/user{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const UserRequestBuilderNavigationMetadata: Record<Exclude<keyof UserRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const UserRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map