Class TeamsTabItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.teams.item.channels.item.tabs.item.TeamsTabItemRequestBuilder
@Generated("com.microsoft.kiota")
public class TeamsTabItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the tabs property of the microsoft.graph.channel entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRetrieve the properties and relationships of the specified tab in a channel within a team.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
ConstructorsConstructorDescriptionTeamsTabItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamsTabItemRequestBuilderand sets the default values.TeamsTabItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamsTabItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Removes (unpins) a tab from the specified channel within a team.voiddelete(Consumer<TeamsTabItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Removes (unpins) a tab from the specified channel within a team.get()Retrieve the properties and relationships of the specified tab in a channel within a team.get(Consumer<TeamsTabItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of the specified tab in a channel within a team.Update the properties of the specified tab.This API can be used to configure the content of the tab.patch(TeamsTab body, Consumer<TeamsTabItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the specified tab.This API can be used to configure the content of the tab.teamsApp()Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity.com.microsoft.kiota.RequestInformationRemoves (unpins) a tab from the specified channel within a team.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<TeamsTabItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Removes (unpins) a tab from the specified channel within a team.com.microsoft.kiota.RequestInformationRetrieve the properties and relationships of the specified tab in a channel within a team.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<TeamsTabItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of the specified tab in a channel within a team.com.microsoft.kiota.RequestInformationUpdate the properties of the specified tab.This API can be used to configure the content of the tab.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(TeamsTab body, Consumer<TeamsTabItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the specified tab.This API can be used to configure the content of the tab.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
TeamsTabItemRequestBuilder
public TeamsTabItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamsTabItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
TeamsTabItemRequestBuilder
public TeamsTabItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamsTabItemRequestBuilderand 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
-
teamsApp
Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity.- Returns:
- a
TeamsAppRequestBuilder
-
delete
public void delete()Removes (unpins) a tab from the specified channel within a team.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<TeamsTabItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Removes (unpins) a tab from the specified channel within a team.- 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 the properties and relationships of the specified tab in a channel within a team.- Returns:
- a
TeamsTab - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public TeamsTab get(@Nullable Consumer<TeamsTabItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of the specified tab in a channel within a team.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
TeamsTab - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of the specified tab.This API can be used to configure the content of the tab.- Parameters:
body- The request body- Returns:
- a
TeamsTab - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public TeamsTab patch(@Nonnull TeamsTab body, @Nullable Consumer<TeamsTabItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the specified tab.This API can be used to configure the content of the tab.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
TeamsTab - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Removes (unpins) a tab from the specified channel within a team.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<TeamsTabItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Removes (unpins) a tab from the specified channel within a team.- 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 the properties and relationships of the specified tab in a channel within a team.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<TeamsTabItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of the specified tab in a channel within a team.- 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 TeamsTab body) Update the properties of the specified tab.This API can be used to configure the content of the tab.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull TeamsTab body, @Nullable Consumer<TeamsTabItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the specified tab.This API can be used to configure the content of the tab.- 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
TeamsTabItemRequestBuilder
-