UNPKG

@microsoft/msgraph-beta-sdk-education

Version:
78 lines 4.07 kB
import { type EducationRubric } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type RefRequestBuilder } from './ref/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the rubric property of the microsoft.graph.educationAssignment entity. */ export interface RubricRequestBuilder extends BaseRequestBuilder<RubricRequestBuilder> { /** * Provides operations to manage the collection of educationRoot entities. */ get ref(): RefRequestBuilder; /** * Delete navigation property rubric 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>; /** * When set, the grading rubric attached to this assignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<EducationRubric>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<RubricRequestBuilderGetQueryParameters> | undefined): Promise<EducationRubric | undefined>; /** * Update the navigation property rubric in education * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<EducationRubric>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: EducationRubric, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationRubric | undefined>; /** * Delete navigation property rubric for education * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * When set, the grading rubric attached to this assignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<RubricRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property rubric 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: EducationRubric, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * When set, the grading rubric attached to this assignment. */ export interface RubricRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const RubricRequestBuilderUriTemplate = "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/rubric{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const RubricRequestBuilderNavigationMetadata: Record<Exclude<keyof RubricRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const RubricRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map