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.
  • Constructor Details

    • AuditLogsRequestBuilder

      public AuditLogsRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new AuditLogsRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • AuditLogsRequestBuilder

      public AuditLogsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new AuditLogsRequestBuilder and 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

      @Nonnull public DirectoryAuditsRequestBuilder directoryAudits()
      Provides operations to manage the directoryAudits property of the microsoft.graph.auditLogRoot entity.
      Returns:
      a DirectoryAuditsRequestBuilder
    • provisioning

      @Nonnull public ProvisioningRequestBuilder provisioning()
      Provides operations to manage the provisioning property of the microsoft.graph.auditLogRoot entity.
      Returns:
      a ProvisioningRequestBuilder
    • signIns

      @Nonnull public SignInsRequestBuilder signIns()
      Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity.
      Returns:
      a SignInsRequestBuilder
    • get

      @Nullable public AuditLogRoot 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

      @Nullable public AuditLogRoot patch(@Nonnull AuditLogRoot body)
      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 body
      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
    • 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 body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public AuditLogsRequestBuilder withUrl(@Nonnull String rawUrl)
      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