Class CommunicationsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.communications.CommunicationsRequestBuilder
@Generated("com.microsoft.kiota")
public class CommunicationsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the cloudCommunications singleton.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet communicationsclassConfiguration 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
ConstructorsConstructorDescriptionCommunicationsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCommunicationsRequestBuilderand sets the default values.CommunicationsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCommunicationsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.calls()Provides operations to manage the calls property of the microsoft.graph.cloudCommunications entity.get()Get communicationsget(Consumer<CommunicationsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get communicationsProvides operations to call the getPresencesByUserId method.Provides operations to manage the onlineMeetings property of the microsoft.graph.cloudCommunications entity.patch(CloudCommunications body) Update communicationspatch(CloudCommunications body, Consumer<CommunicationsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update communicationsProvides operations to manage the presences property of the microsoft.graph.cloudCommunications entity.com.microsoft.kiota.RequestInformationGet communicationscom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<CommunicationsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get communicationscom.microsoft.kiota.RequestInformationUpdate communicationscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(CloudCommunications body, Consumer<CommunicationsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update communicationsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
CommunicationsRequestBuilder
public CommunicationsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCommunicationsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
CommunicationsRequestBuilder
public CommunicationsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCommunicationsRequestBuilderand 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
-
callRecords
Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.- Returns:
- a
CallRecordsRequestBuilder
-
calls
Provides operations to manage the calls property of the microsoft.graph.cloudCommunications entity.- Returns:
- a
CallsRequestBuilder
-
getPresencesByUserId
Provides operations to call the getPresencesByUserId method.- Returns:
- a
GetPresencesByUserIdRequestBuilder
-
onlineMeetings
Provides operations to manage the onlineMeetings property of the microsoft.graph.cloudCommunications entity.- Returns:
- a
OnlineMeetingsRequestBuilder
-
presences
Provides operations to manage the presences property of the microsoft.graph.cloudCommunications entity.- Returns:
- a
PresencesRequestBuilder
-
get
Get communications- Returns:
- a
CloudCommunications - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public CloudCommunications get(@Nullable Consumer<CommunicationsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get communications- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
CloudCommunications - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update communications- Parameters:
body- The request body- Returns:
- a
CloudCommunications - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public CloudCommunications patch(@Nonnull CloudCommunications body, @Nullable Consumer<CommunicationsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update communications- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
CloudCommunications - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get communications- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<CommunicationsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get communications- 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 CloudCommunications body) Update communications- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull CloudCommunications body, @Nullable Consumer<CommunicationsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update 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
CommunicationsRequestBuilder
-