Class AssignmentSettingsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.education.classes.item.assignmentsettings.AssignmentSettingsRequestBuilder
@Generated("com.microsoft.kiota")
public class AssignmentSettingsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the assignmentSettings property of the microsoft.graph.educationClass entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classSpecifies class-level assignments settings.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
ConstructorsConstructorDescriptionAssignmentSettingsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAssignmentSettingsRequestBuilderand sets the default values.AssignmentSettingsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAssignmentSettingsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the defaultGradingScheme property of the microsoft.graph.educationAssignmentSettings entity.voiddelete()Delete navigation property assignmentSettings for educationvoiddelete(Consumer<AssignmentSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property assignmentSettings for educationget()Specifies class-level assignments settings.get(Consumer<AssignmentSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Specifies class-level assignments settings.Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity.Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity.Update the properties of an educationAssignmentSettings object.patch(EducationAssignmentSettings body, Consumer<AssignmentSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an educationAssignmentSettings object.com.microsoft.kiota.RequestInformationDelete navigation property assignmentSettings for educationcom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<AssignmentSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property assignmentSettings for educationcom.microsoft.kiota.RequestInformationSpecifies class-level assignments settings.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<AssignmentSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Specifies class-level assignments settings.com.microsoft.kiota.RequestInformationUpdate the properties of an educationAssignmentSettings object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(EducationAssignmentSettings body, Consumer<AssignmentSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an educationAssignmentSettings object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
AssignmentSettingsRequestBuilder
public AssignmentSettingsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAssignmentSettingsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
AssignmentSettingsRequestBuilder
public AssignmentSettingsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAssignmentSettingsRequestBuilderand 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
-
defaultGradingScheme
Provides operations to manage the defaultGradingScheme property of the microsoft.graph.educationAssignmentSettings entity.- Returns:
- a
DefaultGradingSchemeRequestBuilder
-
gradingCategories
Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity.- Returns:
- a
GradingCategoriesRequestBuilder
-
gradingSchemes
Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity.- Returns:
- a
GradingSchemesRequestBuilder
-
delete
public void delete()Delete navigation property assignmentSettings for education- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<AssignmentSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property assignmentSettings 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
Specifies class-level assignments settings.- Returns:
- a
EducationAssignmentSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public EducationAssignmentSettings get(@Nullable Consumer<AssignmentSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Specifies class-level assignments settings.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationAssignmentSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the properties of an educationAssignmentSettings object. Only teachers can update these settings.- Parameters:
body- The request body- Returns:
- a
EducationAssignmentSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public EducationAssignmentSettings patch(@Nonnull EducationAssignmentSettings body, @Nullable Consumer<AssignmentSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an educationAssignmentSettings object. Only teachers can update these settings.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationAssignmentSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property assignmentSettings for education- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<AssignmentSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property assignmentSettings 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()Specifies class-level assignments settings.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AssignmentSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Specifies class-level assignments settings.- 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 EducationAssignmentSettings body) Update the properties of an educationAssignmentSettings object. Only teachers can update these settings.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull EducationAssignmentSettings body, @Nullable Consumer<AssignmentSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an educationAssignmentSettings object. Only teachers can update these settings.- 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
AssignmentSettingsRequestBuilder
-