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.
  • Constructor Details

    • ChannelItemRequestBuilder

      public ChannelItemRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new ChannelItemRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • ChannelItemRequestBuilder

      public ChannelItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new ChannelItemRequestBuilder and 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

      @Nonnull public AllMembersRequestBuilder allMembers()
      Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
      Returns:
      a AllMembersRequestBuilder
    • archive

      @Nonnull public ArchiveRequestBuilder archive()
      Provides operations to call the archive method.
      Returns:
      a ArchiveRequestBuilder
    • completeMigration

      @Nonnull public CompleteMigrationRequestBuilder completeMigration()
      Provides operations to call the completeMigration method.
      Returns:
      a CompleteMigrationRequestBuilder
    • doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName

      @Nonnull public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName()
      Provides operations to call the doesUserHaveAccess method.
      Returns:
      a DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder
    • filesFolder

      @Nonnull public FilesFolderRequestBuilder filesFolder()
      Provides operations to manage the filesFolder property of the microsoft.graph.channel entity.
      Returns:
      a FilesFolderRequestBuilder
    • members

      @Nonnull public MembersRequestBuilder members()
      Provides operations to manage the members property of the microsoft.graph.channel entity.
      Returns:
      a MembersRequestBuilder
    • messages

      @Nonnull public MessagesRequestBuilder messages()
      Provides operations to manage the messages property of the microsoft.graph.channel entity.
      Returns:
      a MessagesRequestBuilder
    • provisionEmail

      @Nonnull public ProvisionEmailRequestBuilder provisionEmail()
      Provides operations to call the provisionEmail method.
      Returns:
      a ProvisionEmailRequestBuilder
    • removeEmail

      @Nonnull public RemoveEmailRequestBuilder removeEmail()
      Provides operations to call the removeEmail method.
      Returns:
      a RemoveEmailRequestBuilder
    • sharedWithTeams

      @Nonnull public SharedWithTeamsRequestBuilder sharedWithTeams()
      Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity.
      Returns:
      a SharedWithTeamsRequestBuilder
    • tabs

      @Nonnull public TabsRequestBuilder tabs()
      Provides operations to manage the tabs property of the microsoft.graph.channel entity.
      Returns:
      a TabsRequestBuilder
    • unarchive

      @Nonnull public UnarchiveRequestBuilder 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

      @Nullable public Channel 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

      @Nullable public Channel patch(@Nonnull Channel body)
      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 body
      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
    • 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 body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public ChannelItemRequestBuilder withUrl(@Nonnull String rawUrl)
      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