@microsoft/msgraph-beta-sdk-education
Version:
Education fluent API for Microsoft Graph
103 lines • 5.05 kB
TypeScript
import { type EducationUser } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type AssignmentsRequestBuilder } from './assignments/index.js';
import { type ClassesRequestBuilder } from './classes/index.js';
import { type RubricsRequestBuilder } from './rubrics/index.js';
import { type SchoolsRequestBuilder } from './schools/index.js';
import { type TaughtClassesRequestBuilder } from './taughtClasses/index.js';
import { type UserRequestBuilder } from './user/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the me property of the microsoft.graph.educationRoot entity.
*/
export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
/**
* Provides operations to manage the assignments property of the microsoft.graph.educationUser entity.
*/
get assignments(): AssignmentsRequestBuilder;
/**
* Provides operations to manage the classes property of the microsoft.graph.educationUser entity.
*/
get classes(): ClassesRequestBuilder;
/**
* Provides operations to manage the rubrics property of the microsoft.graph.educationUser entity.
*/
get rubrics(): RubricsRequestBuilder;
/**
* Provides operations to manage the schools property of the microsoft.graph.educationUser entity.
*/
get schools(): SchoolsRequestBuilder;
/**
* Provides operations to manage the taughtClasses property of the microsoft.graph.educationUser entity.
*/
get taughtClasses(): TaughtClassesRequestBuilder;
/**
* Provides operations to manage the user property of the microsoft.graph.educationUser entity.
*/
get user(): UserRequestBuilder;
/**
* Delete navigation property me for education
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Get me from education
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<EducationUser>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<MeRequestBuilderGetQueryParameters> | undefined): Promise<EducationUser | undefined>;
/**
* Update the navigation property me in education
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<EducationUser>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: EducationUser, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationUser | undefined>;
/**
* Delete navigation property me for education
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Get me from education
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MeRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property me in education
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: EducationUser, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get me from education
*/
export interface MeRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const MeRequestBuilderUriTemplate = "{+baseurl}/education/me{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const MeRequestBuilderNavigationMetadata: Record<Exclude<keyof MeRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const MeRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map