Class GraphSitePageRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.sites.item.pages.item.graphsitepage.GraphSitePageRequestBuilder
@Generated("com.microsoft.kiota")
public class GraphSitePageRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Casts the previous resource to sitePage.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassReturns the metadata for a sitePage in the site pages list in a site.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
ConstructorsConstructorDescriptionGraphSitePageRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGraphSitePageRequestBuilderand sets the default values.GraphSitePageRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGraphSitePageRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the canvasLayout property of the microsoft.graph.sitePage entity.Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity.get()Returns the metadata for a sitePage in the site pages list in a site.get(Consumer<GraphSitePageRequestBuilder.GetRequestConfiguration> requestConfiguration) Returns the metadata for a sitePage in the site pages list in a site.Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.com.microsoft.kiota.RequestInformationReturns the metadata for a sitePage in the site pages list in a site.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<GraphSitePageRequestBuilder.GetRequestConfiguration> requestConfiguration) Returns the metadata for a sitePage in the site pages list in a site.webParts()Provides operations to manage the webParts property of the microsoft.graph.sitePage entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
GraphSitePageRequestBuilder
public GraphSitePageRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGraphSitePageRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
GraphSitePageRequestBuilder
public GraphSitePageRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGraphSitePageRequestBuilderand 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
-
canvasLayout
Provides operations to manage the canvasLayout property of the microsoft.graph.sitePage entity.- Returns:
- a
CanvasLayoutRequestBuilder
-
createdByUser
Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity.- Returns:
- a
CreatedByUserRequestBuilder
-
lastModifiedByUser
Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.- Returns:
- a
LastModifiedByUserRequestBuilder
-
webParts
Provides operations to manage the webParts property of the microsoft.graph.sitePage entity.- Returns:
- a
WebPartsRequestBuilder
-
get
Returns the metadata for a sitePage in the site pages list in a site.- Returns:
- a
SitePage - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public SitePage get(@Nullable Consumer<GraphSitePageRequestBuilder.GetRequestConfiguration> requestConfiguration) Returns the metadata for a sitePage in the site pages list in a site.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
SitePage - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Returns the metadata for a sitePage in the site pages list in a site.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<GraphSitePageRequestBuilder.GetRequestConfiguration> requestConfiguration) Returns the metadata for a sitePage in the site pages list in a site.- Parameters:
requestConfiguration- 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
GraphSitePageRequestBuilder
-