Class GetRecentlyModifiedSubmissionsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.education.classes.item.getrecentlymodifiedsubmissions.GetRecentlyModifiedSubmissionsRequestBuilder
@Generated("com.microsoft.kiota")
public class GetRecentlyModifiedSubmissionsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to call the getRecentlyModifiedSubmissions method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassRetrieve submissions modified in the previous seven days.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionGetRecentlyModifiedSubmissionsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGetRecentlyModifiedSubmissionsRequestBuilderand sets the default values.GetRecentlyModifiedSubmissionsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGetRecentlyModifiedSubmissionsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget()Retrieve submissions modified in the previous seven days.get(Consumer<GetRecentlyModifiedSubmissionsRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve submissions modified in the previous seven days.com.microsoft.kiota.RequestInformationRetrieve submissions modified in the previous seven days.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<GetRecentlyModifiedSubmissionsRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve submissions modified in the previous seven days.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
GetRecentlyModifiedSubmissionsRequestBuilder
public GetRecentlyModifiedSubmissionsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGetRecentlyModifiedSubmissionsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
GetRecentlyModifiedSubmissionsRequestBuilder
public GetRecentlyModifiedSubmissionsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGetRecentlyModifiedSubmissionsRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
get
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.- Returns:
- a
GetRecentlyModifiedSubmissionsGetResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public GetRecentlyModifiedSubmissionsGetResponse get(@Nullable Consumer<GetRecentlyModifiedSubmissionsRequestBuilder.GetRequestConfiguration> requestConfiguration) 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.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
GetRecentlyModifiedSubmissionsGetResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()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.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<GetRecentlyModifiedSubmissionsRequestBuilder.GetRequestConfiguration> requestConfiguration) 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.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
GetRecentlyModifiedSubmissionsRequestBuilder
-