Package com.microsoft.graph.requests
Class PostRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Post>
com.microsoft.graph.requests.PostRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
The class for the Post Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionPostRequestBuilder
(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the Post -
Method Summary
Modifier and TypeMethodDescriptionGets a request builder for the Attachment collectionattachments
(String id) Gets a request builder for the Attachment itembuildRequest
(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest
(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionsGets a request builder for the Extension collectionextensions
(String id) Gets a request builder for the Extension itemforward
(PostForwardParameterSet parameters) Gets a builder to execute the methodGets the request builder for PostGets a request builder for the MultiValueLegacyExtendedProperty collectionGets a request builder for the MultiValueLegacyExtendedProperty itemreply
(PostReplyParameterSet parameters) Gets a builder to execute the methodGets a request builder for the SingleValueLegacyExtendedProperty collectionGets a request builder for the SingleValueLegacyExtendedProperty itemMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
PostRequestBuilder
public PostRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the Post- Parameters:
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public PostRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions
- the options for this request- Returns:
- the PostRequest instance
-
buildRequest
@Nonnull public PostRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptions- Parameters:
requestOptions
- the options for this request- Returns:
- the PostRequest instance
-
attachments
Gets a request builder for the Attachment collection- Returns:
- the collection request builder
-
attachments
Gets a request builder for the Attachment item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
extensions
Gets a request builder for the Extension collection- Returns:
- the collection request builder
-
extensions
Gets a request builder for the Extension item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
inReplyTo
Gets the request builder for Post- Returns:
- the PostRequestBuilder instance
-
multiValueExtendedProperties
@Nonnull public MultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties()Gets a request builder for the MultiValueLegacyExtendedProperty collection- Returns:
- the collection request builder
-
multiValueExtendedProperties
@Nonnull public MultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(@Nonnull String id) Gets a request builder for the MultiValueLegacyExtendedProperty item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
singleValueExtendedProperties
@Nonnull public SingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties()Gets a request builder for the SingleValueLegacyExtendedProperty collection- Returns:
- the collection request builder
-
singleValueExtendedProperties
@Nonnull public SingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(@Nonnull String id) Gets a request builder for the SingleValueLegacyExtendedProperty item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
forward
Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder
-
reply
Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder
-