Class PointsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.drives.item.items.item.workbook.worksheets.item.charts.item.series.itematwithindex.points.PointsRequestBuilder
@Generated("com.microsoft.kiota")
public class PointsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the points property of the microsoft.graph.workbookChartSeries entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA collection of all points in the series.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
ConstructorsConstructorDescriptionPointsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPointsRequestBuilderand sets the default values.PointsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPointsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget()A collection of all points in the series.get(Consumer<PointsRequestBuilder.GetRequestConfiguration> requestConfiguration) A collection of all points in the series.post(WorkbookChartPoint body) Create new navigation property to points for drivespost(WorkbookChartPoint body, Consumer<PointsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to points for drivescom.microsoft.kiota.RequestInformationA collection of all points in the series.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<PointsRequestBuilder.GetRequestConfiguration> requestConfiguration) A collection of all points in the series.com.microsoft.kiota.RequestInformationCreate new navigation property to points for drivescom.microsoft.kiota.RequestInformationtoPostRequestInformation(WorkbookChartPoint body, Consumer<PointsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to points for drivesReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
PointsRequestBuilder
public PointsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPointsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
PointsRequestBuilder
public PointsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPointsRequestBuilderand 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
-
get
A collection of all points in the series. Read-only.- Returns:
- a
WorkbookChartPointCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public WorkbookChartPointCollectionResponse get(@Nullable Consumer<PointsRequestBuilder.GetRequestConfiguration> requestConfiguration) A collection of all points in the series. Read-only.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WorkbookChartPointCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
Create new navigation property to points for drives- Parameters:
body- The request body- Returns:
- a
WorkbookChartPoint - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
@Nullable public WorkbookChartPoint post(@Nonnull WorkbookChartPoint body, @Nullable Consumer<PointsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to points for drives- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WorkbookChartPoint - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()A collection of all points in the series. Read-only.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<PointsRequestBuilder.GetRequestConfiguration> requestConfiguration) A collection of all points in the series. Read-only.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull WorkbookChartPoint body) Create new navigation property to points for drives- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull WorkbookChartPoint body, @Nullable Consumer<PointsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to points for 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
PointsRequestBuilder
-