Class WorkbookChartItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.drives.item.items.item.workbook.worksheets.item.charts.item.WorkbookChartItemRequestBuilder
@Generated("com.microsoft.kiota")
public class WorkbookChartItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the charts property of the microsoft.graph.workbookWorksheet entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classThe list of charts that are part of the worksheet.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
ConstructorsConstructorDescriptionWorkbookChartItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkbookChartItemRequestBuilderand sets the default values.WorkbookChartItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkbookChartItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionaxes()Provides operations to manage the axes property of the microsoft.graph.workbookChart entity.Provides operations to manage the dataLabels property of the microsoft.graph.workbookChart entity.voiddelete()Delete navigation property charts for drivesvoiddelete(Consumer<WorkbookChartItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property charts for drivesformat()Provides operations to manage the format property of the microsoft.graph.workbookChart entity.get()The list of charts that are part of the worksheet.get(Consumer<WorkbookChartItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of charts that are part of the worksheet.image()Provides operations to call the image method.imageWithWidth(Integer width) Provides operations to call the image method.imageWithWidthWithHeight(Integer height, Integer width) Provides operations to call the image method.imageWithWidthWithHeightWithFittingMode(String fittingMode, Integer height, Integer width) Provides operations to call the image method.legend()Provides operations to manage the legend property of the microsoft.graph.workbookChart entity.patch(WorkbookChart body) Update the navigation property charts in drivespatch(WorkbookChart body, Consumer<WorkbookChartItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property charts in drivesseries()Provides operations to manage the series property of the microsoft.graph.workbookChart entity.setData()Provides operations to call the setData method.Provides operations to call the setPosition method.title()Provides operations to manage the title property of the microsoft.graph.workbookChart entity.com.microsoft.kiota.RequestInformationDelete navigation property charts for drivescom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<WorkbookChartItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property charts for drivescom.microsoft.kiota.RequestInformationThe list of charts that are part of the worksheet.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<WorkbookChartItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of charts that are part of the worksheet.com.microsoft.kiota.RequestInformationUpdate the navigation property charts in drivescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(WorkbookChart body, Consumer<WorkbookChartItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property charts in drivesReturns a request builder with the provided arbitrary URL.Provides operations to manage the worksheet property of the microsoft.graph.workbookChart entity.
-
Constructor Details
-
WorkbookChartItemRequestBuilder
public WorkbookChartItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkbookChartItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
WorkbookChartItemRequestBuilder
public WorkbookChartItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkbookChartItemRequestBuilderand 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
-
axes
Provides operations to manage the axes property of the microsoft.graph.workbookChart entity.- Returns:
- a
AxesRequestBuilder
-
dataLabels
Provides operations to manage the dataLabels property of the microsoft.graph.workbookChart entity.- Returns:
- a
DataLabelsRequestBuilder
-
format
Provides operations to manage the format property of the microsoft.graph.workbookChart entity.- Returns:
- a
FormatRequestBuilder
-
image
Provides operations to call the image method.- Returns:
- a
ImageRequestBuilder
-
legend
Provides operations to manage the legend property of the microsoft.graph.workbookChart entity.- Returns:
- a
LegendRequestBuilder
-
series
Provides operations to manage the series property of the microsoft.graph.workbookChart entity.- Returns:
- a
SeriesRequestBuilder
-
setData
Provides operations to call the setData method.- Returns:
- a
SetDataRequestBuilder
-
setPosition
Provides operations to call the setPosition method.- Returns:
- a
SetPositionRequestBuilder
-
title
Provides operations to manage the title property of the microsoft.graph.workbookChart entity.- Returns:
- a
TitleRequestBuilder
-
worksheet
Provides operations to manage the worksheet property of the microsoft.graph.workbookChart entity.- Returns:
- a
WorksheetRequestBuilder
-
delete
public void delete()Delete navigation property charts for drives- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<WorkbookChartItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property charts for drives- 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
The list of charts that are part of the worksheet. Read-only.- Returns:
- a
WorkbookChart - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public WorkbookChart get(@Nullable Consumer<WorkbookChartItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of charts that are part of the worksheet. Read-only.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WorkbookChart - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
imageWithWidth
Provides operations to call the image method.- Parameters:
width- Usage: width={width}- Returns:
- a
ImageWithWidthRequestBuilder
-
imageWithWidthWithHeight
@Nonnull public ImageWithWidthWithHeightRequestBuilder imageWithWidthWithHeight(@Nonnull Integer height, @Nonnull Integer width) Provides operations to call the image method.- Parameters:
height- Usage: height={height}width- Usage: width={width}- Returns:
- a
ImageWithWidthWithHeightRequestBuilder
-
imageWithWidthWithHeightWithFittingMode
@Nonnull public ImageWithWidthWithHeightWithFittingModeRequestBuilder imageWithWidthWithHeightWithFittingMode(@Nonnull String fittingMode, @Nonnull Integer height, @Nonnull Integer width) Provides operations to call the image method.- Parameters:
fittingMode- Usage: fittingMode='{fittingMode}'height- Usage: height={height}width- Usage: width={width}- Returns:
- a
ImageWithWidthWithHeightWithFittingModeRequestBuilder
-
patch
Update the navigation property charts in drives- Parameters:
body- The request body- Returns:
- a
WorkbookChart - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public WorkbookChart patch(@Nonnull WorkbookChart body, @Nullable Consumer<WorkbookChartItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property charts in drives- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WorkbookChart - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property charts for drives- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<WorkbookChartItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property charts for drives- 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()The list of charts that are part of the worksheet. Read-only.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<WorkbookChartItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of charts that are part of the worksheet. Read-only.- 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 WorkbookChart body) Update the navigation property charts in drives- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull WorkbookChart body, @Nullable Consumer<WorkbookChartItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property charts in drives- 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
WorkbookChartItemRequestBuilder
-