BatchResponseContent Class

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

public class BatchResponseContent

Respresents the result of a JSON batch request

Field Summary

Modifier and Type Field and Description
java.util.List<BatchResponseStep<com.google.gson.JsonElement>> responses

Responses to the steps from the request

Constructor Summary

Constructor Description
BatchResponseContent()

Method Summary

Modifier and Type Method and Description
BatchResponseStep<com.google.gson.JsonElement> getResponseById(String stepId)

Gets a response to a request in the batch by its id

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

responses

public List> responses

Responses to the steps from the request

Constructor Details

BatchResponseContent

public BatchResponseContent()

Method Details

getResponseById

public BatchResponseStep getResponseById(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

Applies to