Class CallRecordItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.communications.callrecords.item.CallRecordItemRequestBuilder
@Generated("com.microsoft.kiota")
public class CallRecordItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the callRecords 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 callRecord 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
ConstructorsConstructorDescriptionCallRecordItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallRecordItemRequestBuilderand sets the default values.CallRecordItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallRecordItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property callRecords for communicationsvoiddelete(Consumer<CallRecordItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property callRecords for communicationsget()Retrieve the properties and relationships of a callRecord object.get(Consumer<CallRecordItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a callRecord object.Provides operations to manage the organizer_v2 property of the microsoft.graph.callRecords.callRecord entity.Provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity.patch(CallRecord body) Update the navigation property callRecords in communicationspatch(CallRecord body, Consumer<CallRecordItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property callRecords in communicationssessions()Provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity.com.microsoft.kiota.RequestInformationDelete navigation property callRecords for communicationscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<CallRecordItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property callRecords for communicationscom.microsoft.kiota.RequestInformationRetrieve the properties and relationships of a callRecord object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<CallRecordItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a callRecord object.com.microsoft.kiota.RequestInformationUpdate the navigation property callRecords in communicationscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(CallRecord body, Consumer<CallRecordItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property callRecords in communicationsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
CallRecordItemRequestBuilder
public CallRecordItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallRecordItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
CallRecordItemRequestBuilder
public CallRecordItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCallRecordItemRequestBuilderand 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
-
organizerV2
Provides operations to manage the organizer_v2 property of the microsoft.graph.callRecords.callRecord entity.- Returns:
- a
OrganizerV2RequestBuilder
-
participantsV2
Provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity.- Returns:
- a
ParticipantsV2RequestBuilder
-
sessions
Provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity.- Returns:
- a
SessionsRequestBuilder
-
delete
public void delete()Delete navigation property callRecords for communications- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<CallRecordItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property callRecords for communications- 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
Retrieve the properties and relationships of a callRecord object. You can get the id of a callRecord in two ways:* Subscribe to change notifications to the /communications/callRecords endpoint.* Use the callChainId property of a call. The call record is available only after the associated call is completed.- Returns:
- a
CallRecord - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public CallRecord get(@Nullable Consumer<CallRecordItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a callRecord object. You can get the id of a callRecord in two ways:* Subscribe to change notifications to the /communications/callRecords endpoint.* Use the callChainId property of a call. The call record is available only after the associated call is completed.- Parameters:
requestConfiguration- 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- See Also:
-
patch
Update the navigation property callRecords in communications- Parameters:
body- The request body- Returns:
- a
CallRecord - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public CallRecord patch(@Nonnull CallRecord body, @Nullable Consumer<CallRecordItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property callRecords in 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
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property callRecords for communications- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<CallRecordItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property callRecords for communications- 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 callRecord object. You can get the id of a callRecord in two ways:* Subscribe to change notifications to the /communications/callRecords endpoint.* Use the callChainId property of a call. The call record is available only after the associated call is completed.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<CallRecordItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a callRecord object. You can get the id of a callRecord in two ways:* Subscribe to change notifications to the /communications/callRecords endpoint.* Use the callChainId property of a call. The call record is available only after the associated call is completed.- 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 CallRecord body) Update the navigation property callRecords in communications- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull CallRecord body, @Nullable Consumer<CallRecordItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property callRecords 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
CallRecordItemRequestBuilder
-