Class RecordResponseRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.communications.calls.item.recordresponse.RecordResponseRequestBuilder
@Generated("com.microsoft.kiota")
public class RecordResponseRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to call the recordResponse method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration 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
ConstructorsConstructorDescriptionRecordResponseRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRecordResponseRequestBuilderand sets the default values.RecordResponseRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRecordResponseRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionRecords a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response.post(RecordResponsePostRequestBody body, Consumer<RecordResponseRequestBuilder.PostRequestConfiguration> requestConfiguration) Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response.com.microsoft.kiota.RequestInformationRecords a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response.com.microsoft.kiota.RequestInformationtoPostRequestInformation(RecordResponsePostRequestBody body, Consumer<RecordResponseRequestBuilder.PostRequestConfiguration> requestConfiguration) Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
RecordResponseRequestBuilder
public RecordResponseRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRecordResponseRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
RecordResponseRequestBuilder
public RecordResponseRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRecordResponseRequestBuilderand 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
-
post
Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification.- Parameters:
body- The request body- Returns:
- a
RecordOperation - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public RecordOperation post(@Nonnull RecordResponsePostRequestBody body, @Nullable Consumer<RecordResponseRequestBuilder.PostRequestConfiguration> requestConfiguration) Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RecordOperation - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull RecordResponsePostRequestBody body) Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull RecordResponsePostRequestBody body, @Nullable Consumer<RecordResponseRequestBuilder.PostRequestConfiguration> requestConfiguration) Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification.- 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
RecordResponseRequestBuilder
-