Class CallItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.communications.calls.item.CallItemRequestBuilder
@Generated("com.microsoft.kiota")
public class CallItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the calls property of the microsoft.graph.cloudCommunications 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 a call object.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
ConstructorsConstructorDescriptionCallItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallItemRequestBuilderand sets the default values.CallItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to call the addLargeGalleryView method.answer()Provides operations to call the answer method.Provides operations to manage the audioRoutingGroups property of the microsoft.graph.call entity.Provides operations to call the cancelMediaProcessing method.Provides operations to call the changeScreenSharingRole method.Provides operations to manage the contentSharingSessions property of the microsoft.graph.call entity.voiddelete()Delete or hang up an active call.voiddelete(Consumer<CallItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete or hang up an active call.get()Retrieve the properties and relationships of a call object.get(Consumer<CallItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a call object.Provides operations to call the keepAlive method.mute()Provides operations to call the mute method.Provides operations to manage the operations property of the microsoft.graph.call entity.Provides operations to manage the participants property of the microsoft.graph.call entity.Update the navigation property calls in communicationspatch(Call body, Consumer<CallItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property calls in communicationsProvides operations to call the playPrompt method.Provides operations to call the recordResponse method.redirect()Provides operations to call the redirect method.reject()Provides operations to call the reject method.Provides operations to call the sendDtmfTones method.Provides operations to call the subscribeToTone method.com.microsoft.kiota.RequestInformationDelete or hang up an active call.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<CallItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete or hang up an active call.com.microsoft.kiota.RequestInformationRetrieve the properties and relationships of a call object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<CallItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a call object.com.microsoft.kiota.RequestInformationUpdate the navigation property calls in communicationscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Call body, Consumer<CallItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property calls in communicationstransfer()Provides operations to call the transfer method.unmute()Provides operations to call the unmute method.Provides operations to call the updateRecordingStatus method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
CallItemRequestBuilder
public CallItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
CallItemRequestBuilder
public CallItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallItemRequestBuilderand 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
-
addLargeGalleryView
Provides operations to call the addLargeGalleryView method.- Returns:
- a
AddLargeGalleryViewRequestBuilder
-
answer
Provides operations to call the answer method.- Returns:
- a
AnswerRequestBuilder
-
audioRoutingGroups
Provides operations to manage the audioRoutingGroups property of the microsoft.graph.call entity.- Returns:
- a
AudioRoutingGroupsRequestBuilder
-
cancelMediaProcessing
Provides operations to call the cancelMediaProcessing method.- Returns:
- a
CancelMediaProcessingRequestBuilder
-
changeScreenSharingRole
Provides operations to call the changeScreenSharingRole method.- Returns:
- a
ChangeScreenSharingRoleRequestBuilder
-
contentSharingSessions
Provides operations to manage the contentSharingSessions property of the microsoft.graph.call entity.- Returns:
- a
ContentSharingSessionsRequestBuilder
-
keepAlive
Provides operations to call the keepAlive method.- Returns:
- a
KeepAliveRequestBuilder
-
mute
Provides operations to call the mute method.- Returns:
- a
MuteRequestBuilder
-
operations
Provides operations to manage the operations property of the microsoft.graph.call entity.- Returns:
- a
OperationsRequestBuilder
-
participants
Provides operations to manage the participants property of the microsoft.graph.call entity.- Returns:
- a
ParticipantsRequestBuilder
-
playPrompt
Provides operations to call the playPrompt method.- Returns:
- a
PlayPromptRequestBuilder
-
recordResponse
Provides operations to call the recordResponse method.- Returns:
- a
RecordResponseRequestBuilder
-
redirect
Provides operations to call the redirect method.- Returns:
- a
RedirectRequestBuilder
-
reject
Provides operations to call the reject method.- Returns:
- a
RejectRequestBuilder
-
sendDtmfTones
Provides operations to call the sendDtmfTones method.- Returns:
- a
SendDtmfTonesRequestBuilder
-
subscribeToTone
Provides operations to call the subscribeToTone method.- Returns:
- a
SubscribeToToneRequestBuilder
-
transfer
Provides operations to call the transfer method.- Returns:
- a
TransferRequestBuilder
-
unmute
Provides operations to call the unmute method.- Returns:
- a
UnmuteRequestBuilder
-
updateRecordingStatus
Provides operations to call the updateRecordingStatus method.- Returns:
- a
UpdateRecordingStatusRequestBuilder
-
delete
public void delete()Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<CallItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue.- 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 a call object.- Returns:
- a
Call - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public Call get(@Nullable Consumer<CallItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a call object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Call - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property calls in communications- Parameters:
body- The request body- Returns:
- a
Call - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Call patch(@Nonnull Call body, @Nullable Consumer<CallItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property calls in communications- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Call - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<CallItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue.- 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 a call object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<CallItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a call object.- 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 Call body) Update the navigation property calls in communications- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Call body, @Nullable Consumer<CallItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property calls in communications- 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
CallItemRequestBuilder
-