Class BatchResponseContent

java.lang.Object
com.microsoft.graph.content.BatchResponseContent

public class BatchResponseContent extends Object
Respresents the result of a JSON batch request
  • Field Details

    • responses

      @Nullable @Expose @SerializedName("responses") public List<BatchResponseStep<com.google.gson.JsonElement>> responses
      Responses to the steps from the request
  • Constructor Details

    • BatchResponseContent

      public BatchResponseContent()
  • Method Details

    • getResponseById

      @Nullable public BatchResponseStep<com.google.gson.JsonElement> getResponseById(@Nonnull String stepId)
      Gets a response to a request in the batch by its id
      Parameters:
      stepId - Id of the request step in the batch request
      Returns:
      The step response corresponding to the ID or null