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.
  • Constructor Details

    • CallRecordItemRequestBuilder

      public CallRecordItemRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new CallRecordItemRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • CallRecordItemRequestBuilder

      public CallRecordItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new CallRecordItemRequestBuilder and 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

      @Nonnull public OrganizerV2RequestBuilder organizerV2()
      Provides operations to manage the organizer_v2 property of the microsoft.graph.callRecords.callRecord entity.
      Returns:
      a OrganizerV2RequestBuilder
    • participantsV2

      @Nonnull public ParticipantsV2RequestBuilder participantsV2()
      Provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity.
      Returns:
      a ParticipantsV2RequestBuilder
    • sessions

      @Nonnull public SessionsRequestBuilder 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

      @Nullable public CallRecord 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

      @Nullable public CallRecord patch(@Nonnull CallRecord body)
      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 body
      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
    • 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 body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public CallRecordItemRequestBuilder withUrl(@Nonnull String rawUrl)
      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