GraphErrorResponse Class
- java.
lang. Object - com.
microsoft. graph. http. GraphErrorResponse
- com.
Implements
public class GraphErrorResponse
implements IJsonBackedObject
Represents the error response body returned by the service
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
Graph |
error
The error returned by the response |
| com.google.gson.JsonObject |
rawObject
The raw representation of this class when deserialized |
Constructor Summary
| Constructor | Description | |
|---|---|---|
| GraphErrorResponse() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
final
Additional |
additionalDataManager()
Provides access to objects not anticipated in the model, as well as request and response data from the HTTP call |
|
Graph |
copy()
Make and return a deep copy of this Graph |
| void |
setRawObject(ISerializer serializer, JsonObject json)
Sets the raw JSON object |
Methods inherited from java.lang.Object
Field Details
error
public GraphError error
The error returned by the response
rawObject
public JsonObject rawObject
The raw representation of this class when deserialized
Constructor Details
GraphErrorResponse
public GraphErrorResponse()
Method Details
additionalDataManager
public final AdditionalDataManager additionalDataManager()
Provides access to objects not anticipated in the model, as well as request and response data from the HTTP call
copy
public GraphErrorResponse copy()
Make and return a deep copy of this GraphErrorResponse.
Returns:
setRawObject
public void setRawObject(ISerializer serializer, JsonObject json)
Sets the raw JSON object
Parameters: