Package com.microsoft.graph.content
Class BatchResponseStep<T>
java.lang.Object
com.microsoft.graph.content.BatchStep<T>
com.microsoft.graph.content.BatchResponseStep<T>
Response for the batch step
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ISerializerSerializer to use for response deserializationintHttp status code of the response -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T2> T2getDeserializedBody(Class<T2> resultClass) Returned the deserialized response body of the current step
-
Field Details
-
status
@Expose @SerializedName("status") public int statusHttp status code of the response -
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 sentGraphFatalServiceException- when the service did not complete the operation as expected because of an internal error
-