Class CanvasLayoutRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.sites.item.pages.item.graphsitepage.canvaslayout.CanvasLayoutRequestBuilder
@Generated("com.microsoft.kiota")
public class CanvasLayoutRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the canvasLayout property of the microsoft.graph.sitePage entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classIndicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionCanvasLayoutRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCanvasLayoutRequestBuilderand sets the default values.CanvasLayoutRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCanvasLayoutRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property canvasLayout for sitesvoiddelete(Consumer<CanvasLayoutRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property canvasLayout for sitesget()Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections.get(Consumer<CanvasLayoutRequestBuilder.GetRequestConfiguration> requestConfiguration) Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections.Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity.patch(CanvasLayout body) Update the navigation property canvasLayout in sitespatch(CanvasLayout body, Consumer<CanvasLayoutRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property canvasLayout in sitescom.microsoft.kiota.RequestInformationDelete navigation property canvasLayout for sitescom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<CanvasLayoutRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property canvasLayout for sitescom.microsoft.kiota.RequestInformationIndicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<CanvasLayoutRequestBuilder.GetRequestConfiguration> requestConfiguration) Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections.com.microsoft.kiota.RequestInformationUpdate the navigation property canvasLayout in sitescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(CanvasLayout body, Consumer<CanvasLayoutRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property canvasLayout in sitesProvides operations to manage the verticalSection property of the microsoft.graph.canvasLayout entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
CanvasLayoutRequestBuilder
public CanvasLayoutRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCanvasLayoutRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
CanvasLayoutRequestBuilder
public CanvasLayoutRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCanvasLayoutRequestBuilderand 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
-
horizontalSections
Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity.- Returns:
- a
HorizontalSectionsRequestBuilder
-
verticalSection
Provides operations to manage the verticalSection property of the microsoft.graph.canvasLayout entity.- Returns:
- a
VerticalSectionRequestBuilder
-
delete
public void delete()Delete navigation property canvasLayout for sites- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<CanvasLayoutRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property canvasLayout for sites- 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
Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections.- Returns:
- a
CanvasLayout - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public CanvasLayout get(@Nullable Consumer<CanvasLayoutRequestBuilder.GetRequestConfiguration> requestConfiguration) Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
CanvasLayout - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property canvasLayout in sites- Parameters:
body- The request body- Returns:
- a
CanvasLayout - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public CanvasLayout patch(@Nonnull CanvasLayout body, @Nullable Consumer<CanvasLayoutRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property canvasLayout in sites- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
CanvasLayout - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property canvasLayout for sites- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<CanvasLayoutRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property canvasLayout for sites- 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()Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<CanvasLayoutRequestBuilder.GetRequestConfiguration> requestConfiguration) Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections.- 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 CanvasLayout body) Update the navigation property canvasLayout in sites- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull CanvasLayout body, @Nullable Consumer<CanvasLayoutRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property canvasLayout in sites- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
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
CanvasLayoutRequestBuilder
-