Class DeviceManagementReportsGetDeviceNonComplianceReportRequest

java.lang.Object
com.microsoft.graph.http.BaseRequest<InputStream>
com.microsoft.graph.requests.DeviceManagementReportsGetDeviceNonComplianceReportRequest
All Implemented Interfaces:
com.microsoft.graph.http.IHttpRequest

public class DeviceManagementReportsGetDeviceNonComplianceReportRequest extends com.microsoft.graph.http.BaseRequest<InputStream>
The class for the Device Management Reports Get Device Non Compliance Report Request.
  • Field Details

  • Constructor Details

    • DeviceManagementReportsGetDeviceNonComplianceReportRequest

      public DeviceManagementReportsGetDeviceNonComplianceReportRequest(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions)
      The request for this DeviceManagementReportsGetDeviceNonComplianceReport
      Parameters:
      requestUrl - the request URL
      client - the service client
      requestOptions - the options for this request
  • Method Details

    • postAsync

      @Nonnull public CompletableFuture<InputStream> postAsync()
      Invokes the method and returns a future with the result
      Returns:
      a future with the result
    • post

      @Nullable public InputStream post() throws com.microsoft.graph.core.ClientException
      Invokes the method and returns the result
      Returns:
      result of the method invocation
      Throws:
      com.microsoft.graph.core.ClientException - an exception occurs if there was an error while the request was sent
    • select

      @Nonnull public DeviceManagementReportsGetDeviceNonComplianceReportRequest select(@Nonnull String value)
      Sets the select clause for the request
      Parameters:
      value - the select clause
      Returns:
      the updated request
    • expand

      @Nonnull public DeviceManagementReportsGetDeviceNonComplianceReportRequest expand(@Nonnull String value)
      Sets the expand clause for the request
      Parameters:
      value - the expand clause
      Returns:
      the updated request