Class CallRecordsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.communications.callrecords.CallRecordsRequestBuilder
@Generated("com.microsoft.kiota")
public class CallRecordsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet the list of callRecord objects and their properties.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
ConstructorsConstructorDescriptionCallRecordsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallRecordsRequestBuilderand sets the default values.CallRecordsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallRecordsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyCallRecordId(String callRecordId) Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.count()Provides operations to count the resources in the collection.get()Get the list of callRecord objects and their properties.get(Consumer<CallRecordsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the list of callRecord objects and their properties.microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime(OffsetDateTime fromDateTime, OffsetDateTime toDateTime) Provides operations to call the getDirectRoutingCalls method.microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime(OffsetDateTime fromDateTime, OffsetDateTime toDateTime) Provides operations to call the getPstnCalls method.post(CallRecord body) Create new navigation property to callRecords for communicationspost(CallRecord body, Consumer<CallRecordsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to callRecords for communicationscom.microsoft.kiota.RequestInformationGet the list of callRecord objects and their properties.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<CallRecordsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the list of callRecord objects and their properties.com.microsoft.kiota.RequestInformationCreate new navigation property to callRecords for communicationscom.microsoft.kiota.RequestInformationtoPostRequestInformation(CallRecord body, Consumer<CallRecordsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to callRecords for communicationsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
CallRecordsRequestBuilder
public CallRecordsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallRecordsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
CallRecordsRequestBuilder
public CallRecordsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallRecordsRequestBuilderand 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
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
byCallRecordId
Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.- Parameters:
callRecordId- The unique identifier of callRecord- Returns:
- a
CallRecordItemRequestBuilder
-
get
Get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record.- Returns:
- a
CallRecordCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public CallRecordCollectionResponse get(@Nullable Consumer<CallRecordsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
CallRecordCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime
@Nonnull public MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime(@Nonnull OffsetDateTime fromDateTime, @Nonnull OffsetDateTime toDateTime) Provides operations to call the getDirectRoutingCalls method.- Parameters:
fromDateTime- Usage: fromDateTime={fromDateTime}toDateTime- Usage: toDateTime={toDateTime}- Returns:
- a
MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder
-
microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime
@Nonnull public MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime(@Nonnull OffsetDateTime fromDateTime, @Nonnull OffsetDateTime toDateTime) Provides operations to call the getPstnCalls method.- Parameters:
fromDateTime- Usage: fromDateTime={fromDateTime}toDateTime- Usage: toDateTime={toDateTime}- Returns:
- a
MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder
-
post
Create new navigation property to callRecords for communications- Parameters:
body- The request body- Returns:
- a
CallRecord - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
@Nullable public CallRecord post(@Nonnull CallRecord body, @Nullable Consumer<CallRecordsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to callRecords for communications- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
CallRecord - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<CallRecordsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull CallRecord body) Create new navigation property to callRecords for communications- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull CallRecord body, @Nullable Consumer<CallRecordsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to callRecords for 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
CallRecordsRequestBuilder
-