public class PostRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<Post>
Constructor and Description |
---|
PostRequestBuilder(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request builder for the Post
|
Modifier and Type | Method and Description |
---|---|
AttachmentCollectionRequestBuilder |
attachments()
Gets a request builder for the Attachment collection
|
AttachmentRequestBuilder |
attachments(java.lang.String id)
Gets a request builder for the Attachment item
|
PostRequest |
buildRequest(java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
Creates the request with specific requestOptions instead of the existing requestOptions
|
PostRequest |
buildRequest(com.microsoft.graph.options.Option... requestOptions)
Creates the request
|
ExtensionCollectionRequestBuilder |
extensions()
Gets a request builder for the Extension collection
|
ExtensionRequestBuilder |
extensions(java.lang.String id)
Gets a request builder for the Extension item
|
PostForwardRequestBuilder |
forward(PostForwardParameterSet parameters)
Gets a builder to execute the method
|
PostRequestBuilder |
inReplyTo()
Gets the request builder for Post
|
MultiValueLegacyExtendedPropertyCollectionRequestBuilder |
multiValueExtendedProperties()
Gets a request builder for the MultiValueLegacyExtendedProperty collection
|
MultiValueLegacyExtendedPropertyRequestBuilder |
multiValueExtendedProperties(java.lang.String id)
Gets a request builder for the MultiValueLegacyExtendedProperty item
|
PostReplyRequestBuilder |
reply(PostReplyParameterSet parameters)
Gets a builder to execute the method
|
SingleValueLegacyExtendedPropertyCollectionRequestBuilder |
singleValueExtendedProperties()
Gets a request builder for the SingleValueLegacyExtendedProperty collection
|
SingleValueLegacyExtendedPropertyRequestBuilder |
singleValueExtendedProperties(java.lang.String id)
Gets a request builder for the SingleValueLegacyExtendedProperty item
|
public PostRequestBuilder(@Nonnull java.lang.String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request@Nonnull public PostRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions)
requestOptions
- the options for this request@Nonnull public PostRequest buildRequest(@Nonnull java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestOptions
- the options for this request@Nonnull public AttachmentCollectionRequestBuilder attachments()
@Nonnull public AttachmentRequestBuilder attachments(@Nonnull java.lang.String id)
id
- the item identifier@Nonnull public ExtensionCollectionRequestBuilder extensions()
@Nonnull public ExtensionRequestBuilder extensions(@Nonnull java.lang.String id)
id
- the item identifier@Nonnull public PostRequestBuilder inReplyTo()
@Nonnull public MultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties()
@Nonnull public MultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(@Nonnull java.lang.String id)
id
- the item identifier@Nonnull public SingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties()
@Nonnull public SingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(@Nonnull java.lang.String id)
id
- the item identifier@Nonnull public PostForwardRequestBuilder forward(@Nonnull PostForwardParameterSet parameters)
parameters
- the parameters for the service method@Nonnull public PostReplyRequestBuilder reply(@Nonnull PostReplyParameterSet parameters)
parameters
- the parameters for the service method