java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.groups.item.threads.item.posts.item.inreplyto.InReplyToRequestBuilder

@Generated("com.microsoft.kiota") public class InReplyToRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the inReplyTo property of the microsoft.graph.post entity.
  • Constructor Details

    • InReplyToRequestBuilder

      public InReplyToRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new InReplyToRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • InReplyToRequestBuilder

      public InReplyToRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new InReplyToRequestBuilder and 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

      @Nonnull public AttachmentsRequestBuilder attachments()
      Provides operations to manage the attachments property of the microsoft.graph.post entity.
      Returns:
      a AttachmentsRequestBuilder
    • extensions

      @Nonnull public ExtensionsRequestBuilder extensions()
      Provides operations to manage the extensions property of the microsoft.graph.post entity.
      Returns:
      a ExtensionsRequestBuilder
    • forward

      @Nonnull public ForwardRequestBuilder forward()
      Provides operations to call the forward method.
      Returns:
      a ForwardRequestBuilder
    • reply

      @Nonnull public ReplyRequestBuilder reply()
      Provides operations to call the reply method.
      Returns:
      a ReplyRequestBuilder
    • get

      @Nullable public Post get()
      Read-only. Supports $expand.
      Returns:
      a Post
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public Post get(@Nullable Consumer<InReplyToRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Read-only. Supports $expand.
      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()
      Read-only. Supports $expand.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<InReplyToRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Read-only. Supports $expand.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public InReplyToRequestBuilder withUrl(@Nonnull String rawUrl)
      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 InReplyToRequestBuilder