Package com.microsoft.graph.education
Class EducationRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.education.EducationRequestBuilder
@Generated("com.microsoft.kiota")
public class EducationRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the educationRoot singleton.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet educationclassConfiguration 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
ConstructorsConstructorDescriptionEducationRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationRequestBuilderand sets the default values.EducationRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionclasses()Provides operations to manage the classes property of the microsoft.graph.educationRoot entity.get()Get educationget(Consumer<EducationRequestBuilder.GetRequestConfiguration> requestConfiguration) Get educationme()Provides operations to manage the me property of the microsoft.graph.educationRoot entity.patch(EducationRoot body) Update educationpatch(EducationRoot body, Consumer<EducationRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update educationreports()Provides operations to manage the reports property of the microsoft.graph.educationRoot entity.schools()Provides operations to manage the schools property of the microsoft.graph.educationRoot entity.com.microsoft.kiota.RequestInformationGet educationcom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<EducationRequestBuilder.GetRequestConfiguration> requestConfiguration) Get educationcom.microsoft.kiota.RequestInformationUpdate educationcom.microsoft.kiota.RequestInformationtoPatchRequestInformation(EducationRoot body, Consumer<EducationRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update educationusers()Provides operations to manage the users property of the microsoft.graph.educationRoot entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
EducationRequestBuilder
public EducationRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
EducationRequestBuilder
public EducationRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEducationRequestBuilderand 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
-
classes
Provides operations to manage the classes property of the microsoft.graph.educationRoot entity.- Returns:
- a
ClassesRequestBuilder
-
me
Provides operations to manage the me property of the microsoft.graph.educationRoot entity.- Returns:
- a
MeRequestBuilder
-
reports
Provides operations to manage the reports property of the microsoft.graph.educationRoot entity.- Returns:
- a
ReportsRequestBuilder
-
schools
Provides operations to manage the schools property of the microsoft.graph.educationRoot entity.- Returns:
- a
SchoolsRequestBuilder
-
users
Provides operations to manage the users property of the microsoft.graph.educationRoot entity.- Returns:
- a
UsersRequestBuilder
-
get
Get education- Returns:
- a
EducationRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public EducationRoot get(@Nullable Consumer<EducationRequestBuilder.GetRequestConfiguration> requestConfiguration) Get education- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update education- Parameters:
body- The request body- Returns:
- a
EducationRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public EducationRoot patch(@Nonnull EducationRoot body, @Nullable Consumer<EducationRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update education- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get education- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<EducationRequestBuilder.GetRequestConfiguration> requestConfiguration) Get education- 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 EducationRoot body) Update education- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull EducationRoot body, @Nullable Consumer<EducationRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update 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
EducationRequestBuilder
-