Package com.microsoft.graph.content
Class BatchResponseContent
java.lang.Object
com.microsoft.graph.content.BatchResponseContent
Respresents the result of a JSON batch request
-
Field Summary
FieldsModifier and TypeFieldDescriptionList<BatchResponseStep<com.google.gson.JsonElement>>Responses to the steps from the request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBatchResponseStep<com.google.gson.JsonElement>getResponseById(String stepId) Gets a response to a request in the batch by its id
-
Field Details
-
responses
@Nullable @Expose @SerializedName("responses") public List<BatchResponseStep<com.google.gson.JsonElement>> responsesResponses 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
-