Package com.microsoft.graph.http
Class GraphErrorResponse
java.lang.Object
com.microsoft.graph.http.GraphErrorResponse
- All Implemented Interfaces:
IJsonBackedObject
Represents the error response body returned by the service
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe error returned by the responsecom.google.gson.JsonObjectThe raw representation of this class when deserialized -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides access to objects not anticipated in the model, as well as request and response data from the HTTP callvoidsetRawObject(ISerializer serializer, com.google.gson.JsonObject json)Sets the raw JSON object
-
Field Details
-
error
The error returned by the response -
rawObject
@Expose(serialize=false, deserialize=false) @Nullable public com.google.gson.JsonObject rawObjectThe raw representation of this class when deserialized
-
-
Constructor Details
-
GraphErrorResponse
public GraphErrorResponse()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull ISerializer serializer, @Nonnull com.google.gson.JsonObject json)Sets the raw JSON object- Specified by:
setRawObjectin interfaceIJsonBackedObject- Parameters:
serializer- the serializer for sub class deserializationjson- the JSON that this object was derived from
-
additionalDataManager
Description copied from interface:IJsonBackedObjectProvides access to objects not anticipated in the model, as well as request and response data from the HTTP call- Specified by:
additionalDataManagerin interfaceIJsonBackedObject- Returns:
- the AddtionalDataManager
-