Class EducationGradingCategoryItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.education.classes.item.assignmentsettings.gradingcategories.item.EducationGradingCategoryItemRequestBuilder
@Generated("com.microsoft.kiota")
public class EducationGradingCategoryItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classWhen set, enables users to weight assignments differently when computing a class average grade.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
ConstructorsConstructorDescriptionEducationGradingCategoryItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationGradingCategoryItemRequestBuilderand sets the default values.EducationGradingCategoryItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationGradingCategoryItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property gradingCategories for educationvoiddelete(Consumer<EducationGradingCategoryItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property gradingCategories for educationget()When set, enables users to weight assignments differently when computing a class average grade.get(Consumer<EducationGradingCategoryItemRequestBuilder.GetRequestConfiguration> requestConfiguration) When set, enables users to weight assignments differently when computing a class average grade.Update a single gradingCategory on the educationAssignmentSettings.patch(EducationGradingCategory body, Consumer<EducationGradingCategoryItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update a single gradingCategory on the educationAssignmentSettings.com.microsoft.kiota.RequestInformationDelete navigation property gradingCategories for educationcom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<EducationGradingCategoryItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property gradingCategories for educationcom.microsoft.kiota.RequestInformationWhen set, enables users to weight assignments differently when computing a class average grade.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<EducationGradingCategoryItemRequestBuilder.GetRequestConfiguration> requestConfiguration) When set, enables users to weight assignments differently when computing a class average grade.com.microsoft.kiota.RequestInformationUpdate a single gradingCategory on the educationAssignmentSettings.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(EducationGradingCategory body, Consumer<EducationGradingCategoryItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update a single gradingCategory on the educationAssignmentSettings.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
EducationGradingCategoryItemRequestBuilder
public EducationGradingCategoryItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationGradingCategoryItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
EducationGradingCategoryItemRequestBuilder
public EducationGradingCategoryItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationGradingCategoryItemRequestBuilderand 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
-
delete
public void delete()Delete navigation property gradingCategories for education- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<EducationGradingCategoryItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property gradingCategories 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
When set, enables users to weight assignments differently when computing a class average grade.- Returns:
- a
EducationGradingCategory - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public EducationGradingCategory get(@Nullable Consumer<EducationGradingCategoryItemRequestBuilder.GetRequestConfiguration> requestConfiguration) When set, enables users to weight assignments differently when computing a class average grade.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationGradingCategory - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation.- Parameters:
body- The request body- Returns:
- a
EducationGradingCategory - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public EducationGradingCategory patch(@Nonnull EducationGradingCategory body, @Nullable Consumer<EducationGradingCategoryItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationGradingCategory - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property gradingCategories for education- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<EducationGradingCategoryItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property gradingCategories 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()When set, enables users to weight assignments differently when computing a class average grade.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<EducationGradingCategoryItemRequestBuilder.GetRequestConfiguration> requestConfiguration) When set, enables users to weight assignments differently when computing a class average grade.- 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 EducationGradingCategory body) Update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull EducationGradingCategory body, @Nullable Consumer<EducationGradingCategoryItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation.- 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
EducationGradingCategoryItemRequestBuilder
-