UNPKG

@microsoft/msgraph-beta-sdk-education

Version:
90 lines 5.54 kB
import { type EducationAssignmentSettings } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type DefaultGradingSchemeRequestBuilder } from './defaultGradingScheme/index.js'; import { type GradingCategoriesRequestBuilder } from './gradingCategories/index.js'; import { type GradingSchemesRequestBuilder } from './gradingSchemes/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the assignmentSettings property of the microsoft.graph.educationClass entity. */ export interface AssignmentSettingsRequestBuilder extends BaseRequestBuilder<AssignmentSettingsRequestBuilder> { /** * Provides operations to manage the defaultGradingScheme property of the microsoft.graph.educationAssignmentSettings entity. */ get defaultGradingScheme(): DefaultGradingSchemeRequestBuilder; /** * Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity. */ get gradingCategories(): GradingCategoriesRequestBuilder; /** * Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity. */ get gradingSchemes(): GradingSchemesRequestBuilder; /** * Delete navigation property assignmentSettings 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 educationAssignmentSettings object. Only teachers can perform this operation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<EducationAssignmentSettings>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/educationassignmentsettings-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<AssignmentSettingsRequestBuilderGetQueryParameters> | undefined): Promise<EducationAssignmentSettings | undefined>; /** * Update the properties of an educationAssignmentSettings 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<EducationAssignmentSettings>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/educationassignmentsettings-update?view=graph-rest-beta|Find more info here} */ patch(body: EducationAssignmentSettings, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationAssignmentSettings | undefined>; /** * Delete navigation property assignmentSettings 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 educationAssignmentSettings object. 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<AssignmentSettingsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of an educationAssignmentSettings 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: EducationAssignmentSettings, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of an educationAssignmentSettings object. Only teachers can perform this operation. */ export interface AssignmentSettingsRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const AssignmentSettingsRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const AssignmentSettingsRequestBuilderNavigationMetadata: Record<Exclude<keyof AssignmentSettingsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const AssignmentSettingsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map