Class ReportSettingsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.admin.reportsettings.ReportSettingsRequestBuilder
@Generated("com.microsoft.kiota")
public class ReportSettingsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the reportSettings property of the microsoft.graph.admin entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet the tenant-level settings for Microsoft 365 reports.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
ConstructorsConstructorDescriptionReportSettingsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newReportSettingsRequestBuilderand sets the default values.ReportSettingsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newReportSettingsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property reportSettings for adminvoiddelete(Consumer<ReportSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property reportSettings for adminget()Get the tenant-level settings for Microsoft 365 reports.get(Consumer<ReportSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the tenant-level settings for Microsoft 365 reports.patch(AdminReportSettings body) Update tenant-level settings for Microsoft 365 reports.patch(AdminReportSettings body, Consumer<ReportSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update tenant-level settings for Microsoft 365 reports.com.microsoft.kiota.RequestInformationDelete navigation property reportSettings for admincom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ReportSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property reportSettings for admincom.microsoft.kiota.RequestInformationGet the tenant-level settings for Microsoft 365 reports.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ReportSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the tenant-level settings for Microsoft 365 reports.com.microsoft.kiota.RequestInformationUpdate tenant-level settings for Microsoft 365 reports.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(AdminReportSettings body, Consumer<ReportSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update tenant-level settings for Microsoft 365 reports.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ReportSettingsRequestBuilder
public ReportSettingsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newReportSettingsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ReportSettingsRequestBuilder
public ReportSettingsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newReportSettingsRequestBuilderand 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
-
delete
public void delete()Delete navigation property reportSettings for admin- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<ReportSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property reportSettings for admin- 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
Get the tenant-level settings for Microsoft 365 reports.- Returns:
- a
AdminReportSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public AdminReportSettings get(@Nullable Consumer<ReportSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the tenant-level settings for Microsoft 365 reports.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AdminReportSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update tenant-level settings for Microsoft 365 reports.- Parameters:
body- The request body- Returns:
- a
AdminReportSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public AdminReportSettings patch(@Nonnull AdminReportSettings body, @Nullable Consumer<ReportSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update tenant-level settings for Microsoft 365 reports.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AdminReportSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property reportSettings for admin- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ReportSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property reportSettings for admin- 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()Get the tenant-level settings for Microsoft 365 reports.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ReportSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the tenant-level settings for Microsoft 365 reports.- 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 AdminReportSettings body) Update tenant-level settings for Microsoft 365 reports.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull AdminReportSettings body, @Nullable Consumer<ReportSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update tenant-level settings for Microsoft 365 reports.- 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
ReportSettingsRequestBuilder
-