UNPKG

@microsoft/msgraph-beta-sdk-education

Version:
30 lines 2.04 kB
import { type EducationAssignment } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to call the setUpResourcesFolder method. */ export interface SetUpResourcesFolderRequestBuilder extends BaseRequestBuilder<SetUpResourcesFolderRequestBuilder> { /** * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<EducationAssignment>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/educationassignment-setupresourcesfolder?view=graph-rest-beta|Find more info here} */ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationAssignment | undefined>; /** * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const SetUpResourcesFolderRequestBuilderUriTemplate = "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/setUpResourcesFolder"; /** * Metadata for all the requests in the request builder. */ export declare const SetUpResourcesFolderRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map