UNPKG

@microsoft/msgraph-beta-sdk-education

Version:
71 lines 4.99 kB
import { type EducationAssignmentDefaults } 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 assignmentDefaults property of the microsoft.graph.educationClass entity. */ export interface AssignmentDefaultsRequestBuilder extends BaseRequestBuilder<AssignmentDefaultsRequestBuilder> { /** * Delete navigation property assignmentDefaults 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>; /** * Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<EducationAssignmentDefaults>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/educationassignmentdefaults-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<AssignmentDefaultsRequestBuilderGetQueryParameters> | undefined): Promise<EducationAssignmentDefaults | undefined>; /** * Update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<EducationAssignmentDefaults>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/educationassignmentdefaults-update?view=graph-rest-beta|Find more info here} */ patch(body: EducationAssignmentDefaults, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationAssignmentDefaults | undefined>; /** * Delete navigation property assignmentDefaults for education * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AssignmentDefaultsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: EducationAssignmentDefaults, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. */ export interface AssignmentDefaultsRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const AssignmentDefaultsRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/assignmentDefaults{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const AssignmentDefaultsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map