Class PostRequestBuilder

java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Post>
com.microsoft.graph.requests.PostRequestBuilder
All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder

public class PostRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<Post>
The class for the Post Request Builder.
  • 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 URL
      client - the service client
      requestOptions - 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

      @Nonnull public AttachmentCollectionRequestBuilder attachments()
      Gets a request builder for the Attachment collection
      Returns:
      the collection request builder
    • attachments

      @Nonnull public AttachmentRequestBuilder attachments(@Nonnull String id)
      Gets a request builder for the Attachment item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • extensions

      @Nonnull public ExtensionCollectionRequestBuilder extensions()
      Gets a request builder for the Extension collection
      Returns:
      the collection request builder
    • extensions

      @Nonnull public ExtensionRequestBuilder extensions(@Nonnull String id)
      Gets a request builder for the Extension item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • inReplyTo

      @Nonnull public PostRequestBuilder 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

      @Nonnull public PostForwardRequestBuilder forward(@Nonnull PostForwardParameterSet parameters)
      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder
    • reply

      @Nonnull public PostReplyRequestBuilder reply(@Nonnull PostReplyParameterSet parameters)
      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder