UNPKG

@microsoft/msgraph-beta-sdk-education

Version:
92 lines 6.31 kB
import { type BaseCollectionPaginationCountResponse, type EducationSubmission } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {GetRecentlyModifiedSubmissionsGetResponse} */ export declare function createGetRecentlyModifiedSubmissionsGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>); /** * The deserialization information for the current model * @param GetRecentlyModifiedSubmissionsGetResponse The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ export declare function deserializeIntoGetRecentlyModifiedSubmissionsGetResponse(getRecentlyModifiedSubmissionsGetResponse?: Partial<GetRecentlyModifiedSubmissionsGetResponse> | undefined): Record<string, (node: ParseNode) => void>; export interface GetRecentlyModifiedSubmissionsGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** * The value property */ value?: EducationSubmission[] | null; } /** * Provides operations to call the getRecentlyModifiedSubmissions method. */ export interface GetRecentlyModifiedSubmissionsRequestBuilder extends BaseRequestBuilder<GetRecentlyModifiedSubmissionsRequestBuilder> { /** * Retrieve submissions modified in the previous seven days. Only teachers and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent their work. A teacher or application with application permissions has full access to all submission objects. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students can't see the grade or feedback until the assignment is released. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<GetRecentlyModifiedSubmissionsGetResponse>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/educationclass-getrecentlymodifiedsubmissions?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<GetRecentlyModifiedSubmissionsRequestBuilderGetQueryParameters> | undefined): Promise<GetRecentlyModifiedSubmissionsGetResponse | undefined>; /** * Retrieve submissions modified in the previous seven days. Only teachers and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent their work. A teacher or application with application permissions has full access to all submission objects. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students can't see the grade or feedback until the assignment is released. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GetRecentlyModifiedSubmissionsRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Retrieve submissions modified in the previous seven days. Only teachers and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent their work. A teacher or application with application permissions has full access to all submission objects. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students can't see the grade or feedback until the assignment is released. */ export interface GetRecentlyModifiedSubmissionsRequestBuilderGetQueryParameters { /** * Include count of items */ count?: boolean; /** * Expand related entities */ expand?: string[]; /** * Filter items by property values */ filter?: string; /** * Order items by property values */ orderby?: string[]; /** * Search items by search phrases */ search?: string; /** * Select properties to be returned */ select?: string[]; /** * Skip the first n items */ skip?: number; /** * Show only the first n items */ top?: number; } /** * Serializes information the current object * @param GetRecentlyModifiedSubmissionsGetResponse The instance to serialize from. * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param writer Serialization writer to use to serialize this model */ export declare function serializeGetRecentlyModifiedSubmissionsGetResponse(writer: SerializationWriter, getRecentlyModifiedSubmissionsGetResponse?: Partial<GetRecentlyModifiedSubmissionsGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void; /** * Uri template for the request builder. */ export declare const GetRecentlyModifiedSubmissionsRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/getRecentlyModifiedSubmissions(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}"; /** * Metadata for all the requests in the request builder. */ export declare const GetRecentlyModifiedSubmissionsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map