Class ChannelItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.groups.item.team.channels.item.ChannelItemRequestBuilder
@Generated("com.microsoft.kiota")
public class ChannelItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the channels property of the microsoft.graph.team entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classThe collection of channels and messages associated with the 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
ConstructorsConstructorDescriptionChannelItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newChannelItemRequestBuilderand sets the default values.ChannelItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newChannelItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the allMembers property of the microsoft.graph.channel entity.archive()Provides operations to call the archive method.Provides operations to call the completeMigration method.voiddelete()Delete navigation property channels for groupsvoiddelete(Consumer<ChannelItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property channels for groupsProvides operations to call the doesUserHaveAccess method.Provides operations to manage the filesFolder property of the microsoft.graph.channel entity.get()The collection of channels and messages associated with the team.get(Consumer<ChannelItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The collection of channels and messages associated with the team.members()Provides operations to manage the members property of the microsoft.graph.channel entity.messages()Provides operations to manage the messages property of the microsoft.graph.channel entity.Update the navigation property channels in groupspatch(Channel body, Consumer<ChannelItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property channels in groupsProvides operations to call the provisionEmail method.Provides operations to call the removeEmail method.Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity.tabs()Provides operations to manage the tabs property of the microsoft.graph.channel entity.com.microsoft.kiota.RequestInformationDelete navigation property channels for groupscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ChannelItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property channels for groupscom.microsoft.kiota.RequestInformationThe collection of channels and messages associated with the team.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ChannelItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The collection of channels and messages associated with the team.com.microsoft.kiota.RequestInformationUpdate the navigation property channels in groupscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Channel body, Consumer<ChannelItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property channels in groupsProvides operations to call the unarchive method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ChannelItemRequestBuilder
public ChannelItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newChannelItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ChannelItemRequestBuilder
public ChannelItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newChannelItemRequestBuilderand 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
-
allMembers
Provides operations to manage the allMembers property of the microsoft.graph.channel entity.- Returns:
- a
AllMembersRequestBuilder
-
archive
Provides operations to call the archive method.- Returns:
- a
ArchiveRequestBuilder
-
completeMigration
Provides operations to call the completeMigration method.- Returns:
- a
CompleteMigrationRequestBuilder
-
doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName
@Nonnull public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName()Provides operations to call the doesUserHaveAccess method. -
filesFolder
Provides operations to manage the filesFolder property of the microsoft.graph.channel entity.- Returns:
- a
FilesFolderRequestBuilder
-
members
Provides operations to manage the members property of the microsoft.graph.channel entity.- Returns:
- a
MembersRequestBuilder
-
messages
Provides operations to manage the messages property of the microsoft.graph.channel entity.- Returns:
- a
MessagesRequestBuilder
-
provisionEmail
Provides operations to call the provisionEmail method.- Returns:
- a
ProvisionEmailRequestBuilder
-
removeEmail
Provides operations to call the removeEmail method.- Returns:
- a
RemoveEmailRequestBuilder
-
tabs
Provides operations to manage the tabs property of the microsoft.graph.channel entity.- Returns:
- a
TabsRequestBuilder
-
unarchive
Provides operations to call the unarchive method.- Returns:
- a
UnarchiveRequestBuilder
-
delete
public void delete()Delete navigation property channels for groups- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<ChannelItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property channels 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
The collection of channels and messages associated with the team.- Returns:
- a
Channel - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public Channel get(@Nullable Consumer<ChannelItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The collection of channels and messages associated with the team.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Channel - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property channels in groups- Parameters:
body- The request body- Returns:
- a
Channel - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Channel patch(@Nonnull Channel body, @Nullable Consumer<ChannelItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property channels in groups- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Channel - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property channels for groups- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ChannelItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property channels 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()The collection of channels and messages associated with the team.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ChannelItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The collection of channels and messages associated with the 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 Channel body) Update the navigation property channels in groups- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Channel body, @Nullable Consumer<ChannelItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property channels 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
ChannelItemRequestBuilder
-