Class PrimaryChannelRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.users.item.joinedteams.item.primarychannel.PrimaryChannelRequestBuilder
@Generated("com.microsoft.kiota")
public class PrimaryChannelRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the primaryChannel 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 general channel for 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
ConstructorsConstructorDescriptionPrimaryChannelRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrimaryChannelRequestBuilderand sets the default values.PrimaryChannelRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrimaryChannelRequestBuilderand 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 primaryChannel for usersvoiddelete(Consumer<PrimaryChannelRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property primaryChannel for usersProvides operations to call the doesUserHaveAccess method.Provides operations to manage the filesFolder property of the microsoft.graph.channel entity.get()The general channel for the team.get(Consumer<PrimaryChannelRequestBuilder.GetRequestConfiguration> requestConfiguration) The general channel for 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 primaryChannel in userspatch(Channel body, Consumer<PrimaryChannelRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property primaryChannel in usersProvides 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 primaryChannel for userscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<PrimaryChannelRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property primaryChannel for userscom.microsoft.kiota.RequestInformationThe general channel for the team.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<PrimaryChannelRequestBuilder.GetRequestConfiguration> requestConfiguration) The general channel for the team.com.microsoft.kiota.RequestInformationUpdate the navigation property primaryChannel in userscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Channel body, Consumer<PrimaryChannelRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property primaryChannel in usersProvides operations to call the unarchive method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
PrimaryChannelRequestBuilder
public PrimaryChannelRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrimaryChannelRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
PrimaryChannelRequestBuilder
public PrimaryChannelRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrimaryChannelRequestBuilderand 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 primaryChannel for users- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<PrimaryChannelRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property primaryChannel for users- 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 general channel for the team.- Returns:
- a
Channel - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public Channel get(@Nullable Consumer<PrimaryChannelRequestBuilder.GetRequestConfiguration> requestConfiguration) The general channel for 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 primaryChannel in users- 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<PrimaryChannelRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property primaryChannel in users- 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 primaryChannel for users- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<PrimaryChannelRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property primaryChannel for users- 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 general channel for the team.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<PrimaryChannelRequestBuilder.GetRequestConfiguration> requestConfiguration) The general channel for 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 primaryChannel in users- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Channel body, @Nullable Consumer<PrimaryChannelRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property primaryChannel in users- 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
PrimaryChannelRequestBuilder
-