Поделиться через


GraphErrorResponse Class

  • java.lang.Object
    • com.microsoft.graph.http.GraphErrorResponse

Implements

public class GraphErrorResponse
implements IJsonBackedObject

Represents the error response body returned by the service

Field Summary

Modifier and Type Field and Description
GraphError 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 AdditionalDataManager additionalDataManager()

Provides access to objects not anticipated in the model, as well as request and response data from the HTTP call

GraphErrorResponse copy()

Make and return a deep copy of this GraphErrorResponse.

void setRawObject(ISerializer serializer, JsonObject json)

Sets the raw JSON object

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

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:

The copy of this GraphErrorResponse.

setRawObject

public void setRawObject(ISerializer serializer, JsonObject json)

Sets the raw JSON object

Parameters:

serializer
json

Applies to