Class EducationAssignmentItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.education.users.item.assignments.item.EducationAssignmentItemRequestBuilder
@Generated("com.microsoft.kiota")
public class EducationAssignmentItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the assignments property of the microsoft.graph.educationUser entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classAssignments belonging to the user.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
ConstructorsConstructorDescriptionEducationAssignmentItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationAssignmentItemRequestBuilderand sets the default values.EducationAssignmentItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationAssignmentItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionactivate()Provides operations to call the activate method.Provides operations to manage the categories property of the microsoft.graph.educationAssignment entity.Provides operations to call the deactivate method.voiddelete()Delete navigation property assignments for educationvoiddelete(Consumer<EducationAssignmentItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property assignments for educationget()Assignments belonging to the user.get(Consumer<EducationAssignmentItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Assignments belonging to the user.Provides operations to manage the gradingCategory property of the microsoft.graph.educationAssignment entity.patch(EducationAssignment body) Update the navigation property assignments in educationpatch(EducationAssignment body, Consumer<EducationAssignmentItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property assignments in educationpublish()Provides operations to call the publish method.Provides operations to manage the resources property of the microsoft.graph.educationAssignment entity.rubric()Provides operations to manage the rubric property of the microsoft.graph.educationAssignment entity.Provides operations to call the setUpFeedbackResourcesFolder method.Provides operations to call the setUpResourcesFolder method.Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity.com.microsoft.kiota.RequestInformationDelete navigation property assignments for educationcom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<EducationAssignmentItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property assignments for educationcom.microsoft.kiota.RequestInformationAssignments belonging to the user.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<EducationAssignmentItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Assignments belonging to the user.com.microsoft.kiota.RequestInformationUpdate the navigation property assignments in educationcom.microsoft.kiota.RequestInformationtoPatchRequestInformation(EducationAssignment body, Consumer<EducationAssignmentItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property assignments in educationReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
EducationAssignmentItemRequestBuilder
public EducationAssignmentItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationAssignmentItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
EducationAssignmentItemRequestBuilder
public EducationAssignmentItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationAssignmentItemRequestBuilderand 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
-
activate
Provides operations to call the activate method.- Returns:
- a
ActivateRequestBuilder
-
categories
Provides operations to manage the categories property of the microsoft.graph.educationAssignment entity.- Returns:
- a
CategoriesRequestBuilder
-
deactivate
Provides operations to call the deactivate method.- Returns:
- a
DeactivateRequestBuilder
-
gradingCategory
Provides operations to manage the gradingCategory property of the microsoft.graph.educationAssignment entity.- Returns:
- a
GradingCategoryRequestBuilder
-
publish
Provides operations to call the publish method.- Returns:
- a
PublishRequestBuilder
-
resources
Provides operations to manage the resources property of the microsoft.graph.educationAssignment entity.- Returns:
- a
ResourcesRequestBuilder
-
rubric
Provides operations to manage the rubric property of the microsoft.graph.educationAssignment entity.- Returns:
- a
RubricRequestBuilder
-
setUpFeedbackResourcesFolder
Provides operations to call the setUpFeedbackResourcesFolder method.- Returns:
- a
SetUpFeedbackResourcesFolderRequestBuilder
-
setUpResourcesFolder
Provides operations to call the setUpResourcesFolder method.- Returns:
- a
SetUpResourcesFolderRequestBuilder
-
submissions
Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity.- Returns:
- a
SubmissionsRequestBuilder
-
delete
public void delete()Delete navigation property assignments for education- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<EducationAssignmentItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property assignments 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
Assignments belonging to the user.- Returns:
- a
EducationAssignment - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public EducationAssignment get(@Nullable Consumer<EducationAssignmentItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Assignments belonging to the user.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationAssignment - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property assignments in education- Parameters:
body- The request body- Returns:
- a
EducationAssignment - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public EducationAssignment patch(@Nonnull EducationAssignment body, @Nullable Consumer<EducationAssignmentItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property assignments in education- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationAssignment - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property assignments for education- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<EducationAssignmentItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property assignments 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()Assignments belonging to the user.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<EducationAssignmentItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Assignments belonging to the user.- 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 EducationAssignment body) Update the navigation property assignments in education- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull EducationAssignment body, @Nullable Consumer<EducationAssignmentItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property assignments 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
EducationAssignmentItemRequestBuilder
-