Class EducationClassItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.education.classes.item.EducationClassItemRequestBuilder
@Generated("com.microsoft.kiota")
public class EducationClassItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the classes property of the microsoft.graph.educationRoot entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRetrieve a class from the system.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
ConstructorsConstructorDescriptionEducationClassItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationClassItemRequestBuilderand sets the default values.EducationClassItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationClassItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the assignmentCategories property of the microsoft.graph.educationClass entity.Provides operations to manage the assignmentDefaults property of the microsoft.graph.educationClass entity.Provides operations to manage the assignments property of the microsoft.graph.educationClass entity.Provides operations to manage the assignmentSettings property of the microsoft.graph.educationClass entity.voiddelete()Delete an educationClass.voiddelete(Consumer<EducationClassItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an educationClass.get()Retrieve a class from the system.get(Consumer<EducationClassItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve a class from the system.group()Provides operations to manage the group property of the microsoft.graph.educationClass entity.members()Provides operations to manage the members property of the microsoft.graph.educationClass entity.modules()Provides operations to manage the modules property of the microsoft.graph.educationClass entity.patch(EducationClass body) Update the properties of an educationClass object.patch(EducationClass body, Consumer<EducationClassItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an educationClass object.schools()Provides operations to manage the schools property of the microsoft.graph.educationClass entity.teachers()Provides operations to manage the teachers property of the microsoft.graph.educationClass entity.com.microsoft.kiota.RequestInformationDelete an educationClass.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<EducationClassItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an educationClass.com.microsoft.kiota.RequestInformationRetrieve a class from the system.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<EducationClassItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve a class from the system.com.microsoft.kiota.RequestInformationUpdate the properties of an educationClass object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(EducationClass body, Consumer<EducationClassItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an educationClass object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
EducationClassItemRequestBuilder
public EducationClassItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationClassItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
EducationClassItemRequestBuilder
public EducationClassItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationClassItemRequestBuilderand 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
-
assignmentCategories
Provides operations to manage the assignmentCategories property of the microsoft.graph.educationClass entity.- Returns:
- a
AssignmentCategoriesRequestBuilder
-
assignmentDefaults
Provides operations to manage the assignmentDefaults property of the microsoft.graph.educationClass entity.- Returns:
- a
AssignmentDefaultsRequestBuilder
-
assignments
Provides operations to manage the assignments property of the microsoft.graph.educationClass entity.- Returns:
- a
AssignmentsRequestBuilder
-
assignmentSettings
Provides operations to manage the assignmentSettings property of the microsoft.graph.educationClass entity.- Returns:
- a
AssignmentSettingsRequestBuilder
-
group
Provides operations to manage the group property of the microsoft.graph.educationClass entity.- Returns:
- a
GroupRequestBuilder
-
members
Provides operations to manage the members property of the microsoft.graph.educationClass entity.- Returns:
- a
MembersRequestBuilder
-
modules
Provides operations to manage the modules property of the microsoft.graph.educationClass entity.- Returns:
- a
ModulesRequestBuilder
-
schools
Provides operations to manage the schools property of the microsoft.graph.educationClass entity.- Returns:
- a
SchoolsRequestBuilder
-
teachers
Provides operations to manage the teachers property of the microsoft.graph.educationClass entity.- Returns:
- a
TeachersRequestBuilder
-
delete
public void delete()Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<EducationClassItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members.- Returns:
- a
EducationClass - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public EducationClass get(@Nullable Consumer<EducationClassItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationClass - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of an educationClass object.- Parameters:
body- The request body- Returns:
- a
EducationClass - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public EducationClass patch(@Nonnull EducationClass body, @Nullable Consumer<EducationClassItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an educationClass object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationClass - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<EducationClassItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group.- 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 class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<EducationClassItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members.- 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 EducationClass body) Update the properties of an educationClass object.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull EducationClass body, @Nullable Consumer<EducationClassItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an educationClass object.- 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
EducationClassItemRequestBuilder
-