UNPKG

@microsoft/msgraph-beta-sdk-education

Version:
55 lines 3.12 kB
import { type ReferenceUpdate } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the collection of educationRoot entities. */ export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder> { /** * Delete ref of 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<string>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<string | undefined>; /** * Update the ref of navigation property rubric in education * @param body The request body * @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 */ put(body: ReferenceUpdate, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Delete ref of 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<object> | undefined): RequestInformation; /** * Update the ref of 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} */ toPutRequestInformation(body: ReferenceUpdate, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const RefRequestBuilderUriTemplate = "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/rubric/$ref"; /** * Metadata for all the requests in the request builder. */ export declare const RefRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map