Class GraphSitePageRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.groups.item.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 TypeClassDescriptionclassGet the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePageclassConfiguration 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()Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePageget(Consumer<GraphSitePageRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePageProvides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.com.microsoft.kiota.RequestInformationGet the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePagecom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<GraphSitePageRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePagewebParts()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
Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePage- Returns:
- a
SitePage - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public SitePage get(@Nullable Consumer<GraphSitePageRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePage- 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
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePage- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<GraphSitePageRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePage- 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
-