Class GroupItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.sites.item.termstore.groups.item.GroupItemRequestBuilder
@Generated("com.microsoft.kiota")
public class GroupItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the groups property of the microsoft.graph.termStore.store entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead the properties and relationships of a term store group object.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
ConstructorsConstructorDescriptionGroupItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGroupItemRequestBuilderand sets the default values.GroupItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGroupItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete a group object in a term [store].voiddelete(Consumer<GroupItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a group object in a term [store].get()Read the properties and relationships of a term store group object.get(Consumer<GroupItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a term store group object.Update the navigation property groups in sitespatch(Group body, Consumer<GroupItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property groups in sitessets()Provides operations to manage the sets property of the microsoft.graph.termStore.group entity.com.microsoft.kiota.RequestInformationDelete a group object in a term [store].com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<GroupItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a group object in a term [store].com.microsoft.kiota.RequestInformationRead the properties and relationships of a term store group object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<GroupItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a term store group object.com.microsoft.kiota.RequestInformationUpdate the navigation property groups in sitescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Group body, Consumer<GroupItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property groups in sitesReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
GroupItemRequestBuilder
public GroupItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGroupItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
GroupItemRequestBuilder
public GroupItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGroupItemRequestBuilderand 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
-
sets
Provides operations to manage the sets property of the microsoft.graph.termStore.group entity.- Returns:
- a
SetsRequestBuilder
-
delete
public void delete()Delete a group object in a term [store].- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<GroupItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a group object in a term [store].- 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
Read the properties and relationships of a term store group object.- Returns:
- a
Group - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public Group get(@Nullable Consumer<GroupItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a term store group object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Group - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property groups in sites- Parameters:
body- The request body- Returns:
- a
Group - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Group patch(@Nonnull Group body, @Nullable Consumer<GroupItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property groups in sites- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Group - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete a group object in a term [store].- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<GroupItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a group object in a term [store].- 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()Read the properties and relationships of a term store group object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<GroupItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a term store group object.- 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 Group body) Update the navigation property groups in sites- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Group body, @Nullable Consumer<GroupItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property groups in sites- 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
GroupItemRequestBuilder
-