Class StarterRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.communications.onlinemeetingconversations.item.starter.StarterRequestBuilder
@Generated("com.microsoft.kiota")
public class StarterRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the starter property of the microsoft.graph.engagementConversation entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classThe first message in a Viva Engage conversation.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
ConstructorsConstructorDescriptionStarterRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newStarterRequestBuilderand sets the default values.StarterRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newStarterRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the conversation property of the microsoft.graph.engagementConversationMessage entity.voiddelete()Delete navigation property starter for communicationsvoiddelete(Consumer<StarterRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property starter for communicationsget()The first message in a Viva Engage conversation.get(Consumer<StarterRequestBuilder.GetRequestConfiguration> requestConfiguration) The first message in a Viva Engage conversation.Update the navigation property starter in communicationspatch(EngagementConversationMessage body, Consumer<StarterRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property starter in communicationsProvides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity.replies()Provides operations to manage the replies property of the microsoft.graph.engagementConversationMessage entity.replyTo()Provides operations to manage the replyTo property of the microsoft.graph.engagementConversationMessage entity.com.microsoft.kiota.RequestInformationDelete navigation property starter for communicationscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<StarterRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property starter for communicationscom.microsoft.kiota.RequestInformationThe first message in a Viva Engage conversation.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<StarterRequestBuilder.GetRequestConfiguration> requestConfiguration) The first message in a Viva Engage conversation.com.microsoft.kiota.RequestInformationUpdate the navigation property starter in communicationscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(EngagementConversationMessage body, Consumer<StarterRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property starter in communicationsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
StarterRequestBuilder
public StarterRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newStarterRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
StarterRequestBuilder
public StarterRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newStarterRequestBuilderand 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
-
conversation
Provides operations to manage the conversation property of the microsoft.graph.engagementConversationMessage entity.- Returns:
- a
ConversationRequestBuilder
-
reactions
Provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity.- Returns:
- a
ReactionsRequestBuilder
-
replies
Provides operations to manage the replies property of the microsoft.graph.engagementConversationMessage entity.- Returns:
- a
RepliesRequestBuilder
-
replyTo
Provides operations to manage the replyTo property of the microsoft.graph.engagementConversationMessage entity.- Returns:
- a
ReplyToRequestBuilder
-
delete
public void delete()Delete navigation property starter for communications- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<StarterRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property starter 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
The first message in a Viva Engage conversation.- Returns:
- a
EngagementConversationMessage - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public EngagementConversationMessage get(@Nullable Consumer<StarterRequestBuilder.GetRequestConfiguration> requestConfiguration) The first message in a Viva Engage conversation.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EngagementConversationMessage - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property starter in communications- Parameters:
body- The request body- Returns:
- a
EngagementConversationMessage - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public EngagementConversationMessage patch(@Nonnull EngagementConversationMessage body, @Nullable Consumer<StarterRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property starter in communications- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EngagementConversationMessage - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property starter for communications- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<StarterRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property starter 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()The first message in a Viva Engage conversation.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<StarterRequestBuilder.GetRequestConfiguration> requestConfiguration) The first message in a Viva Engage conversation.- 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 EngagementConversationMessage body) Update the navigation property starter in communications- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull EngagementConversationMessage body, @Nullable Consumer<StarterRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property starter 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
StarterRequestBuilder
-