Class EducationSubmissionItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.education.classes.item.assignments.item.submissions.item.EducationSubmissionItemRequestBuilder
@Generated("com.microsoft.kiota")
public class EducationSubmissionItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRetrieve a particular submission.classConfiguration for the request such as headers, query parameters, and middleware options.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
ConstructorsConstructorDescriptionEducationSubmissionItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationSubmissionItemRequestBuilderand sets the default values.EducationSubmissionItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationSubmissionItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property submissions for educationvoiddelete(Consumer<EducationSubmissionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property submissions for educationexcuse()Provides operations to call the excuse method.get()Retrieve a particular submission.get(Consumer<EducationSubmissionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve a particular submission.outcomes()Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity.patch(EducationSubmission body) Update the navigation property submissions in educationpatch(EducationSubmission body, Consumer<EducationSubmissionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property submissions in educationreassign()Provides operations to call the reassign method.Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity.Provides operations to call the return method.Provides operations to call the setUpResourcesFolder method.submit()Provides operations to call the submit method.Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity.com.microsoft.kiota.RequestInformationDelete navigation property submissions for educationcom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<EducationSubmissionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property submissions for educationcom.microsoft.kiota.RequestInformationRetrieve a particular submission.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<EducationSubmissionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve a particular submission.com.microsoft.kiota.RequestInformationUpdate the navigation property submissions in educationcom.microsoft.kiota.RequestInformationtoPatchRequestInformation(EducationSubmission body, Consumer<EducationSubmissionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property submissions in educationunsubmit()Provides operations to call the unsubmit method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
EducationSubmissionItemRequestBuilder
public EducationSubmissionItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationSubmissionItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
EducationSubmissionItemRequestBuilder
public EducationSubmissionItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationSubmissionItemRequestBuilderand 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
-
excuse
Provides operations to call the excuse method.- Returns:
- a
ExcuseRequestBuilder
-
outcomes
Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity.- Returns:
- a
OutcomesRequestBuilder
-
reassign
Provides operations to call the reassign method.- Returns:
- a
ReassignRequestBuilder
-
resources
Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity.- Returns:
- a
ResourcesRequestBuilder
-
returnEscaped
Provides operations to call the return method.- Returns:
- a
ReturnRequestBuilder
-
setUpResourcesFolder
Provides operations to call the setUpResourcesFolder method.- Returns:
- a
SetUpResourcesFolderRequestBuilder
-
submit
Provides operations to call the submit method.- Returns:
- a
SubmitRequestBuilder
-
submittedResources
Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity.- Returns:
- a
SubmittedResourcesRequestBuilder
-
unsubmit
Provides operations to call the unsubmit method.- Returns:
- a
UnsubmitRequestBuilder
-
delete
public void delete()Delete navigation property submissions for education- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<EducationSubmissionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property submissions for education- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
Retrieve a particular submission. Only teachers, students, 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 this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. 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 will not see the grade or feedback until the assignment has been released.- Returns:
- a
EducationSubmission - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public EducationSubmission get(@Nullable Consumer<EducationSubmissionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve a particular submission. Only teachers, students, 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 this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. 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 will not see the grade or feedback until the assignment has been released.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationSubmission - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property submissions in education- Parameters:
body- The request body- Returns:
- a
EducationSubmission - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public EducationSubmission patch(@Nonnull EducationSubmission body, @Nullable Consumer<EducationSubmissionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property submissions in education- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationSubmission - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property submissions for education- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<EducationSubmissionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property submissions for education- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Retrieve a particular submission. Only teachers, students, 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 this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. 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 will not see the grade or feedback until the assignment has been released.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<EducationSubmissionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve a particular submission. Only teachers, students, 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 this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. 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 will not see the grade or feedback until the assignment has been released.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull EducationSubmission body) Update the navigation property submissions in education- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull EducationSubmission body, @Nullable Consumer<EducationSubmissionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property submissions in education- Parameters:
body- The request bodyrequestConfiguration- 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
EducationSubmissionItemRequestBuilder
-