java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.groups.item.sites.item.pages.item.graphsitepage.canvaslayout.verticalsection.VerticalSectionRequestBuilder

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

    • VerticalSectionRequestBuilder

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

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

    • webparts

      @Nonnull public WebpartsRequestBuilder webparts()
      Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity.
      Returns:
      a WebpartsRequestBuilder
    • delete

      public void delete()
      Delete navigation property verticalSection for groups
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • delete

      public void delete(@Nullable Consumer<VerticalSectionRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property verticalSection for groups
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public VerticalSection get()
      Vertical section on the SharePoint page.
      Returns:
      a VerticalSection
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public VerticalSection get(@Nullable Consumer<VerticalSectionRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Vertical section on the SharePoint page.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a VerticalSection
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch

      @Nullable public VerticalSection patch(@Nonnull VerticalSection body)
      Update the navigation property verticalSection in groups
      Parameters:
      body - The request body
      Returns:
      a VerticalSection
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch

      @Nullable public VerticalSection patch(@Nonnull VerticalSection body, @Nullable Consumer<VerticalSectionRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property verticalSection in groups
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a VerticalSection
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()
      Delete navigation property verticalSection for groups
      Returns:
      a RequestInformation
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<VerticalSectionRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property verticalSection for groups
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      Vertical section on the SharePoint page.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<VerticalSectionRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Vertical section on the SharePoint page.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull VerticalSection body)
      Update the navigation property verticalSection in groups
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull VerticalSection body, @Nullable Consumer<VerticalSectionRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property verticalSection in groups
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

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