Class BatchResponseStep<T>

java.lang.Object
com.microsoft.graph.content.BatchStep<T>
com.microsoft.graph.content.BatchResponseStep<T>

public class BatchResponseStep<T> extends BatchStep<T>
Response for the batch step
  • Field Details

    • status

      @Expose @SerializedName("status") public int status
      Http status code of the response
    • serializer

      @Nullable protected ISerializer serializer
      Serializer to use for response deserialization
  • Constructor Details

    • BatchResponseStep

      public BatchResponseStep()
  • Method Details

    • getDeserializedBody

      @Nullable public <T2> T2 getDeserializedBody(@Nonnull Class<T2> resultClass) throws GraphServiceException, GraphFatalServiceException
      Returned the deserialized response body of the current step
      Type Parameters:
      T2 - type of the response body
      Parameters:
      resultClass - class of the resulting response body
      Returns:
      the deserialized response body
      Throws:
      GraphServiceException - when a bad request was sent
      GraphFatalServiceException - when the service did not complete the operation as expected because of an internal error