Class GroupItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.groups.item.sites.item.termstores.item.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.classCollection of all groups available in the term store.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 navigation property groups for groupsvoiddelete(Consumer<GroupItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property groups for groupsget()Collection of all groups available in the term store.get(Consumer<GroupItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Collection of all groups available in the term store.Update the navigation property groups in groupspatch(Group body, Consumer<GroupItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property groups in groupssets()Provides operations to manage the sets property of the microsoft.graph.termStore.group entity.com.microsoft.kiota.RequestInformationDelete navigation property groups for groupscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<GroupItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property groups for groupscom.microsoft.kiota.RequestInformationCollection of all groups available in the term store.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<GroupItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Collection of all groups available in the term store.com.microsoft.kiota.RequestInformationUpdate the navigation property groups in groupscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Group body, Consumer<GroupItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property groups in groupsReturns 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 navigation property groups for groups- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<GroupItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property groups for groups- 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
Collection of all groups available in the term store.- Returns:
- a
Group - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public Group get(@Nullable Consumer<GroupItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Collection of all groups available in the term store.- 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
-
patch
Update the navigation property groups in groups- 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 groups- 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 navigation property groups for groups- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<GroupItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property groups for groups- 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()Collection of all groups available in the term store.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<GroupItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Collection of all groups available in the term store.- 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 groups- 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 groups- 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
-