Class PrimaryChannelRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.teams.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.classGet the default channel, General, of 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
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 teamsvoiddelete(Consumer<PrimaryChannelRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property primaryChannel for teamsProvides operations to call the doesUserHaveAccess method.Provides operations to manage the filesFolder property of the microsoft.graph.channel entity.get()Get the default channel, General, of a team.get(Consumer<PrimaryChannelRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the default channel, General, of a 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 teamspatch(Channel body, Consumer<PrimaryChannelRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property primaryChannel in teamsProvides 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 teamscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<PrimaryChannelRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property primaryChannel for teamscom.microsoft.kiota.RequestInformationGet the default channel, General, of a team.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<PrimaryChannelRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the default channel, General, of a team.com.microsoft.kiota.RequestInformationUpdate the navigation property primaryChannel in teamscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Channel body, Consumer<PrimaryChannelRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property primaryChannel in teamsProvides 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 teams- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<PrimaryChannelRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property primaryChannel for teams- 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
Get the default channel, General, of a team.- Returns:
- a
Channel - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public Channel get(@Nullable Consumer<PrimaryChannelRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the default channel, General, of a 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- See Also:
-
patch
Update the navigation property primaryChannel in teams- 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 teams- 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 teams- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<PrimaryChannelRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property primaryChannel for teams- 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()Get the default channel, General, of a team.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<PrimaryChannelRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the default channel, General, of 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 Channel body) Update the navigation property primaryChannel in teams- 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 teams- 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
-