Class PostItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.groups.item.threads.item.posts.item.PostItemRequestBuilder
@Generated("com.microsoft.kiota")
public class PostItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the posts property of the microsoft.graph.conversationThread entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet posts from groupsclassConfiguration 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
ConstructorsConstructorDescriptionPostItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPostItemRequestBuilderand sets the default values.PostItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPostItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the attachments property of the microsoft.graph.post entity.Provides operations to manage the extensions property of the microsoft.graph.post entity.forward()Provides operations to call the forward method.get()Get posts from groupsget(Consumer<PostItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get posts from groupsProvides operations to manage the inReplyTo property of the microsoft.graph.post entity.reply()Provides operations to call the reply method.com.microsoft.kiota.RequestInformationGet posts from groupscom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<PostItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get posts from groupsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
PostItemRequestBuilder
public PostItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPostItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
PostItemRequestBuilder
public PostItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPostItemRequestBuilderand 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
-
attachments
Provides operations to manage the attachments property of the microsoft.graph.post entity.- Returns:
- a
AttachmentsRequestBuilder
-
extensions
Provides operations to manage the extensions property of the microsoft.graph.post entity.- Returns:
- a
ExtensionsRequestBuilder
-
forward
Provides operations to call the forward method.- Returns:
- a
ForwardRequestBuilder
-
inReplyTo
Provides operations to manage the inReplyTo property of the microsoft.graph.post entity.- Returns:
- a
InReplyToRequestBuilder
-
reply
Provides operations to call the reply method.- Returns:
- a
ReplyRequestBuilder
-
get
Get posts from groups- Returns:
- a
Post - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public Post get(@Nullable Consumer<PostItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get posts from groups- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Post - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get posts from groups- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<PostItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get posts from groups- Parameters:
requestConfiguration- 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
PostItemRequestBuilder
-