Package com.microsoft.graph.auditlogs
Class AuditLogsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.auditlogs.AuditLogsRequestBuilder
@Generated("com.microsoft.kiota")
public class AuditLogsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the auditLogRoot singleton.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet auditLogsclassConfiguration 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
ConstructorsConstructorDescriptionAuditLogsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuditLogsRequestBuilderand sets the default values.AuditLogsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuditLogsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the directoryAudits property of the microsoft.graph.auditLogRoot entity.get()Get auditLogsget(Consumer<AuditLogsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get auditLogspatch(AuditLogRoot body) Update auditLogspatch(AuditLogRoot body, Consumer<AuditLogsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update auditLogsProvides operations to manage the provisioning property of the microsoft.graph.auditLogRoot entity.signIns()Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity.com.microsoft.kiota.RequestInformationGet auditLogscom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<AuditLogsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get auditLogscom.microsoft.kiota.RequestInformationUpdate auditLogscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(AuditLogRoot body, Consumer<AuditLogsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update auditLogsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
AuditLogsRequestBuilder
public AuditLogsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuditLogsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
AuditLogsRequestBuilder
public AuditLogsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuditLogsRequestBuilderand 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
-
directoryAudits
Provides operations to manage the directoryAudits property of the microsoft.graph.auditLogRoot entity.- Returns:
- a
DirectoryAuditsRequestBuilder
-
provisioning
Provides operations to manage the provisioning property of the microsoft.graph.auditLogRoot entity.- Returns:
- a
ProvisioningRequestBuilder
-
signIns
Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity.- Returns:
- a
SignInsRequestBuilder
-
get
Get auditLogs- Returns:
- a
AuditLogRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public AuditLogRoot get(@Nullable Consumer<AuditLogsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get auditLogs- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AuditLogRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update auditLogs- Parameters:
body- The request body- Returns:
- a
AuditLogRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public AuditLogRoot patch(@Nonnull AuditLogRoot body, @Nullable Consumer<AuditLogsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update auditLogs- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AuditLogRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get auditLogs- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AuditLogsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get auditLogs- 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 AuditLogRoot body) Update auditLogs- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull AuditLogRoot body, @Nullable Consumer<AuditLogsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update auditLogs- 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
AuditLogsRequestBuilder
-