Class LineRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.drives.item.items.item.workbook.worksheets.item.charts.item.axes.categoryaxis.majorgridlines.format.line.LineRequestBuilder
@Generated("com.microsoft.kiota")
public class LineRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the line property of the microsoft.graph.workbookChartGridlinesFormat entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRepresents chart line formatting.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
ConstructorsConstructorDescriptionLineRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newLineRequestBuilderand sets the default values.LineRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newLineRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionclear()Provides operations to call the clear method.voiddelete()Delete navigation property line for drivesvoiddelete(Consumer<LineRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property line for drivesget()Represents chart line formatting.get(Consumer<LineRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents chart line formatting.patch(WorkbookChartLineFormat body) Update the navigation property line in drivespatch(WorkbookChartLineFormat body, Consumer<LineRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property line in drivescom.microsoft.kiota.RequestInformationDelete navigation property line for drivescom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<LineRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property line for drivescom.microsoft.kiota.RequestInformationRepresents chart line formatting.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<LineRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents chart line formatting.com.microsoft.kiota.RequestInformationUpdate the navigation property line in drivescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(WorkbookChartLineFormat body, Consumer<LineRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property line in drivesReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
LineRequestBuilder
public LineRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newLineRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
LineRequestBuilder
public LineRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newLineRequestBuilderand 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
-
clear
Provides operations to call the clear method.- Returns:
- a
ClearRequestBuilder
-
delete
public void delete()Delete navigation property line for drives- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<LineRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property line 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
Represents chart line formatting. Read-only.- Returns:
- a
WorkbookChartLineFormat - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public WorkbookChartLineFormat get(@Nullable Consumer<LineRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents chart line formatting. Read-only.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WorkbookChartLineFormat - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property line in drives- Parameters:
body- The request body- Returns:
- a
WorkbookChartLineFormat - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public WorkbookChartLineFormat patch(@Nonnull WorkbookChartLineFormat body, @Nullable Consumer<LineRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property line in drives- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WorkbookChartLineFormat - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property line for drives- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<LineRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property line 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()Represents chart line formatting. Read-only.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<LineRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents chart line formatting. 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 WorkbookChartLineFormat body) Update the navigation property line in drives- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull WorkbookChartLineFormat body, @Nullable Consumer<LineRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property line 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
LineRequestBuilder
-